This repository's detailed build, architecture, and coding guidance lives in
CLAUDE.md. Read it before making AFK changes.
When AFK command behavior, JSON shape, prompt wording, or lifecycle semantics
change, update and verify every affected agent/tool surface, not just this repo.
Treat installed afk prompt and afk <cmd> --help as the runtime contract,
then propagate wording to Codex, Claude, and Pi surfaces.
internal/commands/*internal/output/*internal/prompt/*.tmpl.mdinternal/commands/discover_stub.mdREADME.mddocs/*.mdCLAUDE.md- command/help tests under
internal/commands,internal/prompt, andcmd/afk
- Run
go test ./.... - Run
go vet ./.... - Run
just install. - Verify
/Users/vampire/go/bin/afk ..., not only source-tree behavior.
/Users/vampire/.codex/skills/afk-operational-workflows/SKILL.md/Users/vampire/.codex/skills/afk-operational-workflows/references/legacy/afk-queue-worker/references/legacy-workflow.md/Users/vampire/.codex/skills/afk-operational-workflows/references/legacy/afk-queue-worker/workflows/*.md
/Users/vampire/.claude/kb/claude-code/afk-task-authoring.md
/Users/vampire/code/ts/pi-extensions/extensions/dc-app/features/afk/index.ts/Users/vampire/code/ts/pi-extensions/extensions/dc-app/features/afk/lib/command.ts/Users/vampire/code/ts/pi-extensions/extensions/dc-app/features/afk/lib/tools.ts/Users/vampire/code/ts/pi-extensions/extensions/dc-app/features/afk/lib/afk-cli.ts/Users/vampire/code/ts/pi-extensions/extensions/dc-app/features/afk/index.test.ts/Users/vampire/code/ts/pi-extensions/extensions/dc-app/lib/work/registrations/index.ts/Users/vampire/code/ts/pi-extensions/extensions/dc-app/lib/knowledge/skill-vault/afk-queue-worker/SKILL.md/Users/vampire/code/ts/pi-extensions/README.md- relevant Pi smoke tests and changelog entries
After every AFK behavior change, search related repos and local agent surfaces for:
afk takeafk setafk prompttake --dry-runbody_truncated--summary--full--note--note-fileafk popafk doneafk failafk readyafk runHITL,approval, andpermissionwhen autonomy wording changed