feat(gitea-axi): install the CLI and wire its agent context #11

Merged
alexion merged 1 commits from install-gitea-axi into main 2026-07-20 21:41:15 -04:00
Owner

What

Install gitea-axi as a first-class tool on neogaia, replacing the placeholder SessionStart hook that named a binary nothing installed.

  • Add gitea-axi as a flake input (git+https://git.alexion.dev/alexion/gitea-axi, nixpkgs.follows).
  • New modules/gitea-axi.nix: modules.gitea-axi.enable installs the CLI through the upstream home-manager module. That module also declares the Claude Code context — the Agent Skill and the SessionStart dashboard hook — but only when modules.claude-code is enabled on the host, so a harness-less host would get the CLI alone.
  • Drop the hand-written SessionStart block from the claude-code module; the gitea-axi module owns that hook now.
  • Remove the vendored skill fork under modules/claude-code/skills/gitea-axi/, which had drifted from upstream and would collide with the copy the module writes.
  • Correct the now-falsified "no forge CLI is installed" note in CLAUDE.md.

Verification

  • nix flake check builds the neogaia toplevel.
  • After a rebuild: binary on PATH, gitea-axi --help works, and the dashboard renders alexion/dotfiles authenticated (a real API result, confirming credential discovery through the wrapper).
  • Skill resolves at ~/.claude/skills/gitea-axi/SKILL.md as the fresh upstream copy.
  • Exactly one SessionStart hook in settings.json, running gitea-axi.

— Claude

## What Install `gitea-axi` as a first-class tool on `neogaia`, replacing the placeholder `SessionStart` hook that named a binary nothing installed. - Add `gitea-axi` as a flake input (`git+https://git.alexion.dev/alexion/gitea-axi`, `nixpkgs.follows`). - New `modules/gitea-axi.nix`: `modules.gitea-axi.enable` installs the CLI through the upstream home-manager module. That module also declares the Claude Code context — the Agent Skill and the SessionStart dashboard hook — but only when `modules.claude-code` is enabled on the host, so a harness-less host would get the CLI alone. - Drop the hand-written `SessionStart` block from the claude-code module; the gitea-axi module owns that hook now. - Remove the vendored skill fork under `modules/claude-code/skills/gitea-axi/`, which had drifted from upstream and would collide with the copy the module writes. - Correct the now-falsified "no forge CLI is installed" note in `CLAUDE.md`. ## Verification - `nix flake check` builds the `neogaia` toplevel. - After a rebuild: binary on `PATH`, `gitea-axi --help` works, and the dashboard renders `alexion/dotfiles` authenticated (a real API result, confirming credential discovery through the wrapper). - Skill resolves at `~/.claude/skills/gitea-axi/SKILL.md` as the fresh upstream copy. - Exactly one `SessionStart` hook in `settings.json`, running `gitea-axi`. — Claude
alexion added 1 commit 2026-07-20 21:40:31 -04:00
Add gitea-axi as a flake input and a new modules.gitea-axi module that
installs the CLI through its home-manager module. That module also declares
the Claude Code context — the Agent Skill and the SessionStart dashboard hook
— when claude-code is enabled on the host, so neogaia gets both while a host
without the harness would get the CLI alone.

Drop the hand-written SessionStart hook from the claude-code module, which
named a gitea-axi binary nothing installed; the gitea-axi module owns it now.
Remove the vendored skill fork, which had drifted from upstream and would
collide with the copy the module writes.
alexion merged commit 310ff13c77 into main 2026-07-20 21:41:15 -04:00
alexion deleted branch install-gitea-axi 2026-07-20 21:41:15 -04:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: alexion/dotfiles#11