Add security-audit skill install and restore paid Go crew dispatch #9

Merged
hermes merged 4 commits from fm/dotfiles-security-audit-skill into main 2026-10-24 20:45:59 -04:00
Owner

What

  • Install Cloudflare's security-audit skill from https://github.com/cloudflare/security-audit-skill through home.activation.securityAuditSkill, using Homebrew's npx (the node brew is already declared).
  • Agent scope: the CLI installs once into ~/.agents/skills/security-audit, read by Codex, Pi, and OpenCode, and links it into ~/.claude/skills for Claude Code. Grok Build is deliberately out of scope. ~/.config/opencode/skills is left alone because home-manager owns it with force = true into the dotfiles checkout.
  • The activation skips when installed (or heals a half-removed install), warns and continues when GitHub or npm is unreachable, and never fails the rebuild for a network outage.
  • Return crew dispatch to opencode-go/deepseek-v4.1-flash in both the UI rule and the default, per the captain's 2026-10-21 order, with the rationale kept in crew-dispatch.json and the AGENTS.md note corrected.
  • Fix opencode2's activation block: it called exit 0 from an inlined script, silently skipping every later block. It now skips only its own install.

Verification

  • nix build .#darwinConfigurations.lt-mbp.system passes.
  • The generated activation blocks were driven against disposable HOME directories: fresh install, idempotent skip with a dead registry, healing of a removed Claude link or SKILL.md, network failure warning with a non-fatal exit, and the missing-npx hard failure.
  • The readme install and update commands were run verbatim.
  • Not run: darwin-rebuild switch (the captain rebuilds from the active copy).

Known limitation

The skill's own README requires an OS-enforced sandbox (no external network, sanitized environment, resource limits, scratch-only writes) before it may run target-controlled builds, tests, processes, browsers, emulators, fuzzers, or fixtures. This change installs the skill only and creates no sandbox. Without one the workflow keeps such leads as needs_validation instead of executing target code.

## What - Install Cloudflare's `security-audit` skill from `https://github.com/cloudflare/security-audit-skill` through `home.activation.securityAuditSkill`, using Homebrew's `npx` (the `node` brew is already declared). - Agent scope: the CLI installs once into `~/.agents/skills/security-audit`, read by Codex, Pi, and OpenCode, and links it into `~/.claude/skills` for Claude Code. Grok Build is deliberately out of scope. `~/.config/opencode/skills` is left alone because home-manager owns it with `force = true` into the dotfiles checkout. - The activation skips when installed (or heals a half-removed install), warns and continues when GitHub or npm is unreachable, and never fails the rebuild for a network outage. - Return crew dispatch to `opencode-go/deepseek-v4.1-flash` in both the UI rule and the default, per the captain's 2026-10-21 order, with the rationale kept in `crew-dispatch.json` and the `AGENTS.md` note corrected. - Fix `opencode2`'s activation block: it called `exit 0` from an inlined script, silently skipping every later block. It now skips only its own install. ## Verification - `nix build .#darwinConfigurations.lt-mbp.system` passes. - The generated activation blocks were driven against disposable HOME directories: fresh install, idempotent skip with a dead registry, healing of a removed Claude link or SKILL.md, network failure warning with a non-fatal exit, and the missing-npx hard failure. - The readme install and update commands were run verbatim. - Not run: `darwin-rebuild switch` (the captain rebuilds from the active copy). ## Known limitation The skill's own README requires an OS-enforced sandbox (no external network, sanitized environment, resource limits, scratch-only writes) before it may run target-controlled builds, tests, processes, browsers, emulators, fuzzers, or fixtures. This change installs the skill only and creates no sandbox. Without one the workflow keeps such leads as `needs_validation` instead of executing target code.
hermes added 4 commits 2026-10-24 20:34:57 -04:00
Install cloudflare/security-audit through the Skills CLI with Homebrew npx
so the multi-file skill stays upstream-identical. The universal target
~/.agents/skills is read by OpenCode, Codex, Pi, and Grok; the CLI also
links it into ~/.claude/skills for Claude Code. Skip when installed, warn
instead of failing when GitHub is unreachable, and never target the
read-only ~/.config/opencode/skills store link.

Return crew dispatch to opencode-go/deepseek-v4.1-flash in both the UI
rule and the default, per the captain's 2026-10-21 order, and correct the
AGENTS.md routing note.

Stop opencode2's activation from calling exit 0: activation blocks are
inlined into one flat script, so it silently skipped every later block
(securityAuditSkill, setupLaunchAgents, syncMusic).
hermes merged commit d01d13ff1c into main 2026-10-24 20:45:59 -04:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: transnet/dotfiles#9