3 Commits

Author SHA1 Message Date
Boden Fuller 4fd2512c87 refactor: flatten CLI namespace and liquidate debt
Remove 5 namespace parent commands (know, work, quality, settings, start)
and register all 49 leaf commands directly on rootCmd. Flat namespace is
simpler for users; GroupID-based help provides visual grouping without
requiring namespace tokens.

Namespace flattening (184 files):
- Delete know.go, work.go, quality.go, settings.go, start.go
- Invert deprecatedCommands map (old namespace paths → flat paths)
- Update 127 consumer files (hooks, skills, docs, scripts, tests)

Debt liquidation (7 items from post-mortem):
- Fix 62 broken smoke test invocations
- Delete 118 LOC dead deprecatedAlias code
- Widen doctor scan to docs/, scripts/, and subdirectories
- Expand expectedCmds test to all 49 commands (floor 45)
- Add bidirectional expectedCmds sync check
- Create sweep-namespace-references.sh automation
- Fix EXPECTED_COMMANDS array to list flat commands
- Escape sed variables in sweep script

All Go tests pass (36s). All conformance checks pass.
2026-02-26 09:27:38 -05:00
Boden Fuller c32f3f19ec Wave 6: Remove inbox CLI, namespace hooks + skills + commands
- Delete inbox.go, inbox_test.go, inbox_coverage_test.go (dead skill)
- Relocate Message struct and formatAge() to fire.go (shared deps)
- Update 18 hook scripts to namespaced ao commands (know/work/quality/settings)
- Update 49 SKILL.md files with namespaced ao command references
- Reparent 38 CLI commands from rootCmd to namespace parents
2026-02-25 22:22:42 -05:00
Boden Fuller 4f1fa62759 feat(inject): work-scoped knowledge injection and predecessor context
Add bead-scoped knowledge injection (`--bead` flag) that boosts learnings
tagged with the active work item using multiplicative scoring (1.5x direct,
1.2x label, 1.1x keyword). Add predecessor context injection (`--predecessor`
flag) that extracts structured progress/blockers/next-steps from handoff
files. Wire both into SessionStart hook via Gas Town env vars.

Epic ag-9uy: 9 issues across 4 waves (schema, resolver, flags, hooks,
citation feedback pipeline, bootstrap template, docs).

New files: inject_bead.go, inject_predecessor.go, flywheel_citation_feedback.go
Tests: 26 new (bead: 12, predecessor: 8, citation: 6)
2026-02-24 12:00:13 -05:00