2026-02-21 19:41:50 -05:00
|
|
|
# ao CLI Reference
|
|
|
|
|
|
2026-04-05 09:15:27 -04:00
|
|
|
> Auto-generated by `scripts/generate-cli-reference.sh`.
|
2026-02-21 19:41:50 -05:00
|
|
|
> Do not edit manually. Re-run the script to update.
|
|
|
|
|
|
|
|
|
|
## Global Flags
|
|
|
|
|
|
|
|
|
|
--config string Config file (default: ~/.agentops/config.yaml)
|
|
|
|
|
--dry-run Show what would happen without executing
|
|
|
|
|
-h, --help help for ao
|
2026-02-24 05:29:34 -05:00
|
|
|
--json Output as JSON (shorthand for -o json)
|
2026-02-21 19:41:50 -05:00
|
|
|
-o, --output string Output format (json, table, yaml) (default "table")
|
|
|
|
|
-v, --verbose Enable verbose output
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
|
|
## Commands
|
|
|
|
|
|
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
|
|
|
### `ao demo`
|
2026-02-21 19:41:50 -05:00
|
|
|
|
|
|
|
|
Run an interactive demonstration of AgentOps capabilities.
|
|
|
|
|
|
|
|
|
|
```
|
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
|
|
|
ao demo [flags]
|
2026-02-21 19:41:50 -05:00
|
|
|
```
|
|
|
|
|
|
|
|
|
|
**Flags:**
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
--concepts Just explain core concepts
|
|
|
|
|
-h, --help help for demo
|
|
|
|
|
--quick 2-minute quick overview
|
|
|
|
|
```
|
|
|
|
|
|
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
|
|
|
---
|
|
|
|
|
|
|
|
|
|
### `ao init`
|
2026-02-21 19:41:50 -05:00
|
|
|
|
2026-02-23 12:32:23 -05:00
|
|
|
Set up a repository for AgentOps: directories, gitignore, and optional hooks.
|
2026-02-21 19:41:50 -05:00
|
|
|
|
|
|
|
|
```
|
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
|
|
|
ao init [flags]
|
2026-02-21 19:41:50 -05:00
|
|
|
```
|
|
|
|
|
|
|
|
|
|
**Flags:**
|
|
|
|
|
|
|
|
|
|
```
|
2026-02-23 12:32:23 -05:00
|
|
|
--full With --hooks, explicitly request full coverage (legacy explicit flag)
|
|
|
|
|
-h, --help help for init
|
|
|
|
|
--hooks Also register hooks (full 12-event coverage by default; equivalent to ao hooks install --full)
|
2026-02-25 06:45:58 -05:00
|
|
|
--minimal-hooks With --hooks, install SessionStart + SessionEnd + Stop hooks (lightweight)
|
2026-02-23 12:32:23 -05:00
|
|
|
--stealth Use .git/info/exclude instead of .gitignore
|
2026-02-21 19:41:50 -05:00
|
|
|
```
|
|
|
|
|
|
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
|
|
|
---
|
|
|
|
|
|
|
|
|
|
### `ao quick-start`
|
2026-02-21 19:41:50 -05:00
|
|
|
|
2026-02-23 12:32:23 -05:00
|
|
|
Initialize AgentOps in your current project.
|
2026-02-21 19:41:50 -05:00
|
|
|
|
|
|
|
|
```
|
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
|
|
|
ao quick-start [flags]
|
2026-02-21 19:41:50 -05:00
|
|
|
```
|
|
|
|
|
|
|
|
|
|
**Flags:**
|
|
|
|
|
|
|
|
|
|
```
|
2026-02-23 12:32:23 -05:00
|
|
|
-h, --help help for quick-start
|
|
|
|
|
--minimal Minimal setup (just directories)
|
|
|
|
|
--no-beads Skip beads initialization
|
2026-02-21 19:41:50 -05:00
|
|
|
```
|
|
|
|
|
|
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
|
|
|
---
|
|
|
|
|
|
|
|
|
|
### `ao seed`
|
fix: resolve 32 vibe findings (2 critical, 7 high, 12 medium, 11 low)
Fix all findings from the v2.17.0..HEAD vibe review across 12 source files:
Critical: panic guards for negative budget in truncateToCharBudget and
dead prefix slice in generateArtifactID. High: bead override in batch
extract, json file counting in metrics, constraint index.json exclusion,
complexity reduction in curate status/verify (38→<25), flexible hook
script count assertion. Medium: truncate panic guards, error logging for
silent failures, null→[] JSON output, goals auto-detect (GOALS.md then
GOALS.yaml), raw var→getter usage, truncate-before-lock race fix. Low:
scanner.Err() checks, os.Stdout→cmd.OutOrStdout(), dry-run output
differentiation.
Docs: 5 missing INDEX.md concept links, curation-pipeline v1 status
callout. Tests: new TestSeed_DryRun_JSON. Regen: COMMANDS.md, embedded
hooks synced. All gates pass: build, vet, test, gocyclo, heal, doc-gate.
2026-02-24 16:51:26 -05:00
|
|
|
|
|
|
|
|
Plant the AgentOps seed in any repository.
|
|
|
|
|
|
|
|
|
|
```
|
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
|
|
|
ao seed [path] [flags]
|
fix: resolve 32 vibe findings (2 critical, 7 high, 12 medium, 11 low)
Fix all findings from the v2.17.0..HEAD vibe review across 12 source files:
Critical: panic guards for negative budget in truncateToCharBudget and
dead prefix slice in generateArtifactID. High: bead override in batch
extract, json file counting in metrics, constraint index.json exclusion,
complexity reduction in curate status/verify (38→<25), flexible hook
script count assertion. Medium: truncate panic guards, error logging for
silent failures, null→[] JSON output, goals auto-detect (GOALS.md then
GOALS.yaml), raw var→getter usage, truncate-before-lock race fix. Low:
scanner.Err() checks, os.Stdout→cmd.OutOrStdout(), dry-run output
differentiation.
Docs: 5 missing INDEX.md concept links, curation-pipeline v1 status
callout. Tests: new TestSeed_DryRun_JSON. Regen: COMMANDS.md, embedded
hooks synced. All gates pass: build, vet, test, gocyclo, heal, doc-gate.
2026-02-24 16:51:26 -05:00
|
|
|
```
|
|
|
|
|
|
|
|
|
|
**Flags:**
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
--force Overwrite existing seed files
|
|
|
|
|
-h, --help help for seed
|
|
|
|
|
--template string Goal template: go-cli, python-lib, web-app, rust-cli, generic (default: auto-detect)
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
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
|
|
|
### `ao anti-patterns`
|
2026-02-21 19:41:50 -05:00
|
|
|
|
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
|
|
|
List learnings that have been marked as anti-patterns.
|
2026-02-21 19:41:50 -05:00
|
|
|
|
|
|
|
|
```
|
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
|
|
|
ao anti-patterns [flags]
|
2026-02-21 19:41:50 -05:00
|
|
|
```
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
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
|
|
|
### `ao badge`
|
2026-02-26 05:48:41 -05:00
|
|
|
|
|
|
|
|
Display a visual badge showing knowledge flywheel health status.
|
|
|
|
|
|
|
|
|
|
```
|
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
|
|
|
ao badge [flags]
|
2026-02-26 05:48:41 -05:00
|
|
|
```
|
|
|
|
|
|
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
|
|
|
---
|
|
|
|
|
|
|
|
|
|
### `ao constraint`
|
2026-02-26 05:48:41 -05:00
|
|
|
|
2026-03-09 21:37:20 -04:00
|
|
|
Manage constraints compiled from promoted findings.
|
2026-02-26 05:48:41 -05:00
|
|
|
|
|
|
|
|
```
|
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
|
|
|
ao constraint [command]
|
2026-02-26 05:48:41 -05:00
|
|
|
```
|
|
|
|
|
|
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
|
|
|
**Subcommands:**
|
|
|
|
|
|
|
|
|
|
#### `ao constraint activate`
|
2026-02-26 05:48:41 -05:00
|
|
|
|
|
|
|
|
Change constraint status from draft to active
|
|
|
|
|
|
|
|
|
|
```
|
2026-02-26 06:42:03 -05:00
|
|
|
ao constraint activate <id> [flags]
|
2026-02-26 05:48:41 -05:00
|
|
|
```
|
|
|
|
|
|
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
|
|
|
#### `ao constraint list`
|
2026-02-26 05:48:41 -05:00
|
|
|
|
|
|
|
|
List all constraints with status
|
|
|
|
|
|
|
|
|
|
```
|
2026-02-26 06:42:03 -05:00
|
|
|
ao constraint list [flags]
|
2026-02-26 05:48:41 -05:00
|
|
|
```
|
|
|
|
|
|
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
|
|
|
#### `ao constraint retire`
|
2026-02-26 05:48:41 -05:00
|
|
|
|
|
|
|
|
Change constraint status from active to retired
|
|
|
|
|
|
|
|
|
|
```
|
2026-02-26 06:42:03 -05:00
|
|
|
ao constraint retire <id> [flags]
|
2026-02-26 05:48:41 -05:00
|
|
|
```
|
|
|
|
|
|
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
|
|
|
#### `ao constraint review`
|
2026-02-26 05:48:41 -05:00
|
|
|
|
|
|
|
|
List constraints compiled >90 days ago without recent citation
|
|
|
|
|
|
|
|
|
|
```
|
2026-02-26 06:42:03 -05:00
|
|
|
ao constraint review [flags]
|
2026-02-26 05:48:41 -05:00
|
|
|
```
|
|
|
|
|
|
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
|
|
|
---
|
|
|
|
|
|
|
|
|
|
### `ao contradict`
|
2026-02-26 05:48:41 -05:00
|
|
|
|
|
|
|
|
Scan learnings and patterns for potential contradictions using keyword overlap heuristics.
|
|
|
|
|
|
|
|
|
|
```
|
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
|
|
|
ao contradict [flags]
|
2026-02-26 05:48:41 -05:00
|
|
|
```
|
|
|
|
|
|
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
|
|
|
---
|
|
|
|
|
|
|
|
|
|
### `ao curate`
|
2026-02-26 05:48:41 -05:00
|
|
|
|
|
|
|
|
Curate manages the knowledge curation pipeline: catalog artifacts,
|
|
|
|
|
|
|
|
|
|
```
|
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
|
|
|
ao curate [command]
|
2026-02-26 05:48:41 -05:00
|
|
|
```
|
|
|
|
|
|
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
|
|
|
**Subcommands:**
|
|
|
|
|
|
|
|
|
|
#### `ao curate catalog`
|
2026-02-26 05:48:41 -05:00
|
|
|
|
|
|
|
|
Catalog a knowledge artifact
|
|
|
|
|
|
|
|
|
|
```
|
2026-02-26 06:42:03 -05:00
|
|
|
ao curate catalog <path> [flags]
|
2026-02-26 05:48:41 -05:00
|
|
|
```
|
|
|
|
|
|
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
|
|
|
#### `ao curate status`
|
2026-02-26 05:48:41 -05:00
|
|
|
|
|
|
|
|
Show curation pipeline status
|
|
|
|
|
|
|
|
|
|
```
|
2026-02-26 06:42:03 -05:00
|
|
|
ao curate status [flags]
|
2026-02-26 05:48:41 -05:00
|
|
|
```
|
|
|
|
|
|
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
|
|
|
#### `ao curate verify`
|
2026-02-26 05:48:41 -05:00
|
|
|
|
|
|
|
|
Verify gate health against baselines
|
2026-02-21 19:41:50 -05:00
|
|
|
|
|
|
|
|
```
|
2026-02-26 06:42:03 -05:00
|
|
|
ao curate verify [flags]
|
2026-02-21 19:41:50 -05:00
|
|
|
```
|
|
|
|
|
|
|
|
|
|
**Flags:**
|
|
|
|
|
|
|
|
|
|
```
|
2026-02-26 05:48:41 -05:00
|
|
|
-h, --help help for verify
|
|
|
|
|
--since string Filter to changes within duration (e.g. 24h, 7d)
|
2026-02-21 19:41:50 -05:00
|
|
|
```
|
|
|
|
|
|
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
|
|
|
---
|
|
|
|
|
|
|
|
|
|
### `ao dedup`
|
2026-02-21 19:41:50 -05:00
|
|
|
|
2026-02-26 05:48:41 -05:00
|
|
|
Scan learnings and patterns for near-duplicates using normalized content hashing.
|
2026-02-21 19:41:50 -05:00
|
|
|
|
|
|
|
|
```
|
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
|
|
|
ao dedup [flags]
|
2026-02-21 19:41:50 -05:00
|
|
|
```
|
|
|
|
|
|
|
|
|
|
**Flags:**
|
|
|
|
|
|
|
|
|
|
```
|
2026-02-26 05:48:41 -05:00
|
|
|
-h, --help help for dedup
|
|
|
|
|
--merge Auto-resolve duplicates: keep highest utility, archive the rest
|
2026-02-21 19:41:50 -05:00
|
|
|
```
|
|
|
|
|
|
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
|
|
|
---
|
|
|
|
|
|
|
|
|
|
### `ao doctor`
|
|
|
|
|
|
|
|
|
|
Run health checks on your AgentOps installation.
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
ao doctor [flags]
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
**Flags:**
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
-h, --help help for doctor
|
|
|
|
|
--json Output results as JSON
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
|
|
### `ao flywheel`
|
2026-02-21 19:41:50 -05:00
|
|
|
|
2026-02-26 05:48:41 -05:00
|
|
|
Knowledge flywheel operations and status.
|
|
|
|
|
|
|
|
|
|
```
|
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
|
|
|
ao flywheel [command]
|
2026-02-26 05:48:41 -05:00
|
|
|
```
|
|
|
|
|
|
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
|
|
|
**Subcommands:**
|
|
|
|
|
|
|
|
|
|
#### `ao flywheel close-loop`
|
2026-02-26 05:48:41 -05:00
|
|
|
|
|
|
|
|
Close the knowledge flywheel loop by chaining:
|
2026-02-21 19:41:50 -05:00
|
|
|
|
|
|
|
|
```
|
2026-02-26 06:42:03 -05:00
|
|
|
ao flywheel close-loop [flags]
|
2026-02-21 19:41:50 -05:00
|
|
|
```
|
|
|
|
|
|
|
|
|
|
**Flags:**
|
|
|
|
|
|
|
|
|
|
```
|
2026-02-26 05:48:41 -05:00
|
|
|
-h, --help help for close-loop
|
|
|
|
|
--pending-dir string Pending directory to ingest from (default ".agents/knowledge/pending")
|
|
|
|
|
--quiet Suppress non-essential output (hook-friendly)
|
|
|
|
|
--threshold string Minimum age for auto-promotion (default: 24h) (default "24h")
|
2026-02-21 19:41:50 -05:00
|
|
|
```
|
|
|
|
|
|
2026-04-05 09:15:27 -04:00
|
|
|
#### `ao flywheel compare`
|
|
|
|
|
|
|
|
|
|
Compare retrieval quality between primary and shadow namespaces.
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
ao flywheel compare [flags]
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
**Flags:**
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
-h, --help help for compare
|
|
|
|
|
--shadow string Shadow namespace to compare against primary (default "shadow")
|
|
|
|
|
```
|
|
|
|
|
|
2026-04-05 10:30:41 -04:00
|
|
|
#### `ao flywheel gate`
|
|
|
|
|
|
|
|
|
|
Check the post-structural readiness gate before retrieval-expansion work.
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
ao flywheel gate [flags]
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
**Flags:**
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
--corpus string Benchmark corpus directory (defaults to repo testdata)
|
|
|
|
|
-h, --help help for gate
|
|
|
|
|
```
|
|
|
|
|
|
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
|
|
|
#### `ao flywheel nudge`
|
2026-02-21 19:41:50 -05:00
|
|
|
|
2026-02-26 05:48:41 -05:00
|
|
|
Returns structured JSON combining:
|
2026-02-21 19:41:50 -05:00
|
|
|
|
2026-02-26 05:48:41 -05:00
|
|
|
```
|
2026-02-26 06:42:03 -05:00
|
|
|
ao flywheel nudge [flags]
|
2026-02-26 05:48:41 -05:00
|
|
|
```
|
|
|
|
|
|
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
|
|
|
#### `ao flywheel status`
|
2026-02-26 05:48:41 -05:00
|
|
|
|
|
|
|
|
Display comprehensive flywheel health status.
|
2026-02-21 19:41:50 -05:00
|
|
|
|
|
|
|
|
```
|
2026-02-26 06:42:03 -05:00
|
|
|
ao flywheel status [flags]
|
2026-02-21 19:41:50 -05:00
|
|
|
```
|
|
|
|
|
|
2026-02-26 05:48:41 -05:00
|
|
|
**Flags:**
|
|
|
|
|
|
|
|
|
|
```
|
2026-04-05 09:15:27 -04:00
|
|
|
--days int Period in days for metrics calculation (default 7)
|
|
|
|
|
-h, --help help for status
|
|
|
|
|
--namespace string Citation namespace to evaluate (primary by default) (default "primary")
|
2026-02-26 05:48:41 -05:00
|
|
|
```
|
|
|
|
|
|
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
|
|
|
---
|
|
|
|
|
|
|
|
|
|
### `ao gate`
|
2026-02-26 05:48:41 -05:00
|
|
|
|
|
|
|
|
Manage human review gates for bronze-tier candidates.
|
|
|
|
|
|
|
|
|
|
```
|
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
|
|
|
ao gate [command]
|
2026-02-26 05:48:41 -05:00
|
|
|
```
|
2026-02-21 19:41:50 -05:00
|
|
|
|
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
|
|
|
**Subcommands:**
|
|
|
|
|
|
|
|
|
|
#### `ao gate approve`
|
2026-02-21 19:41:50 -05:00
|
|
|
|
|
|
|
|
Approve a bronze-tier candidate for promotion.
|
|
|
|
|
|
|
|
|
|
```
|
2026-02-26 06:42:03 -05:00
|
|
|
ao gate approve <candidate-id> [flags]
|
2026-02-21 19:41:50 -05:00
|
|
|
```
|
|
|
|
|
|
|
|
|
|
**Flags:**
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
-h, --help help for approve
|
|
|
|
|
--note string Optional approval note
|
|
|
|
|
```
|
|
|
|
|
|
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
|
|
|
#### `ao gate bulk-approve`
|
2026-02-21 19:41:50 -05:00
|
|
|
|
|
|
|
|
Approve all silver-tier candidates older than a threshold.
|
|
|
|
|
|
|
|
|
|
```
|
2026-02-26 06:42:03 -05:00
|
|
|
ao gate bulk-approve [flags]
|
2026-02-21 19:41:50 -05:00
|
|
|
```
|
|
|
|
|
|
|
|
|
|
**Flags:**
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
-h, --help help for bulk-approve
|
|
|
|
|
--older-than string Age threshold for bulk approval (default "24h")
|
|
|
|
|
--tier string Tier to bulk approve (default: silver) (default "silver")
|
|
|
|
|
```
|
|
|
|
|
|
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
|
|
|
#### `ao gate pending`
|
2026-02-21 19:41:50 -05:00
|
|
|
|
|
|
|
|
List bronze-tier candidates awaiting human review.
|
|
|
|
|
|
|
|
|
|
```
|
2026-02-26 06:42:03 -05:00
|
|
|
ao gate pending [flags]
|
2026-02-21 19:41:50 -05:00
|
|
|
```
|
|
|
|
|
|
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
|
|
|
#### `ao gate reject`
|
2026-02-21 19:41:50 -05:00
|
|
|
|
|
|
|
|
Reject a candidate with a required reason.
|
|
|
|
|
|
|
|
|
|
```
|
2026-02-26 06:42:03 -05:00
|
|
|
ao gate reject <candidate-id> [flags]
|
2026-02-21 19:41:50 -05:00
|
|
|
```
|
|
|
|
|
|
|
|
|
|
**Flags:**
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
-h, --help help for reject
|
|
|
|
|
--reason string Required rejection reason
|
|
|
|
|
```
|
|
|
|
|
|
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
|
|
|
---
|
|
|
|
|
|
|
|
|
|
### `ao maturity`
|
2026-02-21 19:41:50 -05:00
|
|
|
|
2026-02-26 05:48:41 -05:00
|
|
|
Check and manage CASS (Contextual Agent Session Search) maturity levels.
|
2026-02-21 19:41:50 -05:00
|
|
|
|
2026-02-26 05:48:41 -05:00
|
|
|
```
|
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
|
|
|
ao maturity [learning-id] [flags]
|
2026-02-26 05:48:41 -05:00
|
|
|
```
|
|
|
|
|
|
|
|
|
|
**Flags:**
|
2026-02-21 19:41:50 -05:00
|
|
|
|
|
|
|
|
```
|
2026-04-05 09:15:27 -04:00
|
|
|
--apply Apply maturity transitions
|
|
|
|
|
--archive Move expired/evicted/curated files to archive (requires --expire, --evict, or --curate)
|
|
|
|
|
--curate Normalize metadata and identify low-signal or uncited stale learnings
|
|
|
|
|
--evict Identify eviction candidates (composite criteria)
|
|
|
|
|
--expire Scan for expired learnings
|
|
|
|
|
--global Operate on ~/.agents/learnings instead of the local workspace learnings
|
|
|
|
|
-h, --help help for maturity
|
|
|
|
|
--migrate-md Add default frontmatter to .md learnings missing utility field
|
|
|
|
|
--recalibrate Reset utility to 0.5 for all learnings
|
|
|
|
|
--scan Scan all learnings for pending transitions
|
|
|
|
|
--uncited-days int Archive provisional/candidate learnings with zero citations older than this many days when used with --curate (default 60)
|
2026-02-21 19:41:50 -05:00
|
|
|
```
|
|
|
|
|
|
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
|
|
|
---
|
|
|
|
|
|
|
|
|
|
### `ao metrics`
|
2026-02-26 05:48:41 -05:00
|
|
|
|
|
|
|
|
Track and report on knowledge flywheel metrics.
|
|
|
|
|
|
|
|
|
|
```
|
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
|
|
|
ao metrics [command]
|
2026-02-26 05:48:41 -05:00
|
|
|
```
|
|
|
|
|
|
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
|
|
|
**Subcommands:**
|
|
|
|
|
|
|
|
|
|
#### `ao metrics baseline`
|
2026-02-26 05:48:41 -05:00
|
|
|
|
|
|
|
|
Capture a baseline snapshot of the knowledge flywheel.
|
|
|
|
|
|
|
|
|
|
```
|
2026-02-26 06:42:03 -05:00
|
|
|
ao metrics baseline [flags]
|
2026-02-26 05:48:41 -05:00
|
|
|
```
|
|
|
|
|
|
|
|
|
|
**Flags:**
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
--days int Period in days for metrics calculation (default 7)
|
|
|
|
|
-h, --help help for baseline
|
|
|
|
|
```
|
|
|
|
|
|
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
|
|
|
#### `ao metrics cite`
|
2026-02-26 05:48:41 -05:00
|
|
|
|
|
|
|
|
Record that an artifact was cited in this session.
|
|
|
|
|
|
|
|
|
|
```
|
2026-02-26 06:42:03 -05:00
|
|
|
ao metrics cite <artifact-path> [flags]
|
2026-02-26 05:48:41 -05:00
|
|
|
```
|
|
|
|
|
|
|
|
|
|
**Flags:**
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
-h, --help help for cite
|
|
|
|
|
--query string Search query that surfaced this artifact
|
|
|
|
|
--session string Session ID (auto-detected if not provided)
|
|
|
|
|
--type string Citation type: recall, reference, applied (default "reference")
|
2026-04-05 09:15:27 -04:00
|
|
|
--vendor string Model vendor attribution: claude, codex
|
2026-02-26 05:48:41 -05:00
|
|
|
```
|
|
|
|
|
|
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
|
|
|
#### `ao metrics cite-report`
|
2026-02-26 05:48:41 -05:00
|
|
|
|
|
|
|
|
Produce an aggregated report from citation data.
|
2026-02-21 19:41:50 -05:00
|
|
|
|
2026-02-26 05:48:41 -05:00
|
|
|
```
|
2026-02-26 06:42:03 -05:00
|
|
|
ao metrics cite-report [flags]
|
2026-02-26 05:48:41 -05:00
|
|
|
```
|
|
|
|
|
|
|
|
|
|
**Flags:**
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
--days int Period in days (default 30)
|
|
|
|
|
-h, --help help for cite-report
|
|
|
|
|
--json Output as JSON
|
|
|
|
|
```
|
|
|
|
|
|
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
|
|
|
#### `ao metrics health`
|
2026-02-26 05:48:41 -05:00
|
|
|
|
|
|
|
|
Display flywheel health metrics including escape velocity status.
|
|
|
|
|
|
|
|
|
|
```
|
2026-02-26 06:42:03 -05:00
|
|
|
ao metrics health [flags]
|
2026-02-26 05:48:41 -05:00
|
|
|
```
|
|
|
|
|
|
2026-04-05 09:15:27 -04:00
|
|
|
**Flags:**
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
-h, --help help for health
|
|
|
|
|
--namespace string Citation namespace to evaluate (primary by default) (default "primary")
|
|
|
|
|
```
|
|
|
|
|
|
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
|
|
|
#### `ao metrics report`
|
2026-02-26 05:48:41 -05:00
|
|
|
|
|
|
|
|
Display a formatted report of knowledge flywheel metrics.
|
|
|
|
|
|
|
|
|
|
```
|
2026-02-26 06:42:03 -05:00
|
|
|
ao metrics report [flags]
|
2026-02-26 05:48:41 -05:00
|
|
|
```
|
|
|
|
|
|
|
|
|
|
**Flags:**
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
--days int Period in days for metrics calculation (default 7)
|
|
|
|
|
-h, --help help for report
|
|
|
|
|
```
|
|
|
|
|
|
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
|
|
|
---
|
|
|
|
|
|
|
|
|
|
### `ao pool`
|
2026-02-26 05:48:41 -05:00
|
|
|
|
|
|
|
|
Manage knowledge candidates in quality pools.
|
|
|
|
|
|
|
|
|
|
```
|
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
|
|
|
ao pool [command]
|
2026-02-26 05:48:41 -05:00
|
|
|
```
|
|
|
|
|
|
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
|
|
|
**Subcommands:**
|
|
|
|
|
|
|
|
|
|
#### `ao pool auto-promote`
|
2026-02-21 19:41:50 -05:00
|
|
|
|
2026-02-23 12:32:23 -05:00
|
|
|
Automatically approve (and optionally promote) high-quality candidates
|
2026-02-21 19:41:50 -05:00
|
|
|
|
|
|
|
|
```
|
2026-02-26 06:42:03 -05:00
|
|
|
ao pool auto-promote [flags]
|
2026-02-21 19:41:50 -05:00
|
|
|
```
|
|
|
|
|
|
|
|
|
|
**Flags:**
|
|
|
|
|
|
|
|
|
|
```
|
2026-02-23 12:32:23 -05:00
|
|
|
-h, --help help for auto-promote
|
|
|
|
|
--include-gold Include gold-tier candidates when using --promote (default true)
|
|
|
|
|
--promote Also stage+promote eligible candidates into .agents/ (not just approval)
|
|
|
|
|
--threshold string Minimum age for auto-promotion (default: 24h) (default "24h")
|
2026-02-21 19:41:50 -05:00
|
|
|
```
|
|
|
|
|
|
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
|
|
|
#### `ao pool batch-promote`
|
2026-02-21 19:41:50 -05:00
|
|
|
|
2026-02-23 12:32:23 -05:00
|
|
|
Promote pending pool candidates that meet promotion criteria.
|
2026-02-21 19:41:50 -05:00
|
|
|
|
|
|
|
|
```
|
2026-02-26 06:42:03 -05:00
|
|
|
ao pool batch-promote [flags]
|
2026-02-21 19:41:50 -05:00
|
|
|
```
|
|
|
|
|
|
2026-02-23 12:32:23 -05:00
|
|
|
**Flags:**
|
2026-02-21 19:41:50 -05:00
|
|
|
|
|
|
|
|
```
|
2026-02-23 12:32:23 -05:00
|
|
|
--dry-run Show what would be promoted without executing
|
|
|
|
|
--force Promote all pending candidates regardless of criteria
|
|
|
|
|
--min-age Minimum age threshold (default: 24h)
|
|
|
|
|
--force Promote all pending regardless of criteria
|
|
|
|
|
-h, --help help for batch-promote
|
|
|
|
|
--min-age string Minimum age for promotion eligibility (default "24h")
|
2026-02-21 19:41:50 -05:00
|
|
|
```
|
|
|
|
|
|
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
|
|
|
#### `ao pool ingest`
|
2026-02-23 12:32:23 -05:00
|
|
|
|
|
|
|
|
Ingest pending learnings into the quality pool.
|
2026-02-21 19:41:50 -05:00
|
|
|
|
|
|
|
|
```
|
2026-02-26 06:42:03 -05:00
|
|
|
ao pool ingest [<files-or-globs...>] [flags]
|
2026-02-21 19:41:50 -05:00
|
|
|
```
|
|
|
|
|
|
2026-02-23 12:32:23 -05:00
|
|
|
**Flags:**
|
2026-02-21 19:41:50 -05:00
|
|
|
|
|
|
|
|
```
|
2026-02-23 12:32:23 -05:00
|
|
|
--dir string Directory to ingest from when no args are provided (default ".agents/knowledge/pending")
|
|
|
|
|
-h, --help help for ingest
|
2026-02-21 19:41:50 -05:00
|
|
|
```
|
|
|
|
|
|
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
|
|
|
#### `ao pool list`
|
2026-02-21 19:41:50 -05:00
|
|
|
|
2026-02-23 12:32:23 -05:00
|
|
|
List knowledge candidates filtered by tier and/or status.
|
2026-02-21 19:41:50 -05:00
|
|
|
|
|
|
|
|
```
|
2026-02-26 06:42:03 -05:00
|
|
|
ao pool list [flags]
|
2026-02-21 19:41:50 -05:00
|
|
|
```
|
|
|
|
|
|
|
|
|
|
**Flags:**
|
|
|
|
|
|
|
|
|
|
```
|
2026-02-23 12:32:23 -05:00
|
|
|
-h, --help help for list
|
|
|
|
|
--limit int Maximum results to return (default 50, 0 for unlimited) (default 50)
|
|
|
|
|
--offset int Skip first N results (for pagination)
|
|
|
|
|
--status string Filter by status (pending, staged, promoted, rejected)
|
|
|
|
|
--tier string Filter by tier (gold, silver, bronze)
|
|
|
|
|
-w, --wide Show full IDs without truncation
|
2026-02-21 19:41:50 -05:00
|
|
|
```
|
|
|
|
|
|
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
|
|
|
#### `ao pool migrate-legacy`
|
2026-02-21 19:41:50 -05:00
|
|
|
|
2026-02-23 12:32:23 -05:00
|
|
|
Move legacy knowledge captures from .agents/knowledge/*.md into
|
2026-02-21 19:41:50 -05:00
|
|
|
|
|
|
|
|
```
|
2026-02-26 06:42:03 -05:00
|
|
|
ao pool migrate-legacy [flags]
|
2026-02-21 19:41:50 -05:00
|
|
|
```
|
|
|
|
|
|
|
|
|
|
**Flags:**
|
|
|
|
|
|
|
|
|
|
```
|
2026-02-23 12:32:23 -05:00
|
|
|
-h, --help help for migrate-legacy
|
|
|
|
|
--pending-dir string Pending directory for migrated captures (default ".agents/knowledge/pending")
|
|
|
|
|
--source-dir string Source directory containing legacy markdown captures (default ".agents/knowledge")
|
2026-02-21 19:41:50 -05:00
|
|
|
```
|
|
|
|
|
|
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
|
|
|
#### `ao pool promote`
|
2026-02-21 19:41:50 -05:00
|
|
|
|
2026-02-23 12:32:23 -05:00
|
|
|
Move a staged candidate to the knowledge base (.agents/learnings/ or .agents/patterns/).
|
2026-02-21 19:41:50 -05:00
|
|
|
|
|
|
|
|
```
|
2026-02-26 06:42:03 -05:00
|
|
|
ao pool promote <candidate-id> [flags]
|
2026-02-21 19:41:50 -05:00
|
|
|
```
|
|
|
|
|
|
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
|
|
|
#### `ao pool reject`
|
2026-02-21 19:41:50 -05:00
|
|
|
|
2026-02-23 12:32:23 -05:00
|
|
|
Mark a candidate as rejected and move to rejected directory.
|
2026-02-21 19:41:50 -05:00
|
|
|
|
|
|
|
|
```
|
2026-02-26 06:42:03 -05:00
|
|
|
ao pool reject <candidate-id> [flags]
|
2026-02-21 19:41:50 -05:00
|
|
|
```
|
|
|
|
|
|
|
|
|
|
**Flags:**
|
|
|
|
|
|
|
|
|
|
```
|
2026-02-23 12:32:23 -05:00
|
|
|
-h, --help help for reject
|
|
|
|
|
--reason string Reason for rejection (required)
|
2026-02-21 19:41:50 -05:00
|
|
|
```
|
|
|
|
|
|
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
|
|
|
#### `ao pool show`
|
2026-02-21 19:41:50 -05:00
|
|
|
|
2026-02-23 12:32:23 -05:00
|
|
|
Show detailed information about a pool candidate.
|
2026-02-21 19:41:50 -05:00
|
|
|
|
|
|
|
|
```
|
2026-02-26 06:42:03 -05:00
|
|
|
ao pool show <candidate-id> [flags]
|
2026-02-21 19:41:50 -05:00
|
|
|
```
|
|
|
|
|
|
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
|
|
|
#### `ao pool stage`
|
2026-02-21 19:41:50 -05:00
|
|
|
|
2026-02-23 12:32:23 -05:00
|
|
|
Move a candidate from pending to staged status.
|
2026-02-21 19:41:50 -05:00
|
|
|
|
|
|
|
|
```
|
2026-02-26 06:42:03 -05:00
|
|
|
ao pool stage <candidate-id> [flags]
|
2026-02-21 19:41:50 -05:00
|
|
|
```
|
|
|
|
|
|
|
|
|
|
**Flags:**
|
|
|
|
|
|
|
|
|
|
```
|
2026-02-23 12:32:23 -05:00
|
|
|
-h, --help help for stage
|
|
|
|
|
--min-tier string Minimum tier threshold (default: bronze)
|
2026-02-21 19:41:50 -05:00
|
|
|
```
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
2026-02-23 12:32:23 -05:00
|
|
|
### `ao status`
|
2026-02-21 19:41:50 -05:00
|
|
|
|
2026-02-23 12:32:23 -05:00
|
|
|
Display the current state of AgentOps knowledge base.
|
2026-02-21 19:41:50 -05:00
|
|
|
|
|
|
|
|
```
|
2026-02-23 12:32:23 -05:00
|
|
|
ao status [flags]
|
2026-02-21 19:41:50 -05:00
|
|
|
```
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
2026-02-23 12:32:23 -05:00
|
|
|
### `ao version`
|
2026-02-21 19:41:50 -05:00
|
|
|
|
2026-02-23 12:32:23 -05:00
|
|
|
Display the version, build information, and runtime details.
|
2026-02-21 19:41:50 -05:00
|
|
|
|
|
|
|
|
```
|
2026-02-23 12:32:23 -05:00
|
|
|
ao version [flags]
|
2026-02-21 19:41:50 -05:00
|
|
|
```
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
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
|
|
|
### `ao vibe-check`
|
2026-02-21 19:41:50 -05:00
|
|
|
|
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
|
|
|
Run a comprehensive vibe-check analysis on your repository.
|
2026-02-21 19:41:50 -05:00
|
|
|
|
|
|
|
|
```
|
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
|
|
|
ao vibe-check [flags]
|
2026-02-21 19:41:50 -05:00
|
|
|
```
|
|
|
|
|
|
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
|
|
|
**Flags:**
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
--full Show all metrics and findings (verbose)
|
|
|
|
|
-h, --help help for vibe-check
|
|
|
|
|
--markdown Output as markdown report
|
|
|
|
|
--repo string Path to git repository (default ".")
|
|
|
|
|
--since string Time window for analysis (e.g., 7d, 30d, 90d) (default "7d")
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
---
|
2026-02-26 05:48:41 -05:00
|
|
|
|
2026-04-05 09:15:27 -04:00
|
|
|
### `ao autodev`
|
|
|
|
|
|
|
|
|
|
Define, inspect, and validate the repo-local PROGRAM.md contract.
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
ao autodev [command]
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
**Flags:**
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
--file string Path to PROGRAM.md or AUTODEV.md (auto-detects PROGRAM.md then AUTODEV.md)
|
|
|
|
|
-h, --help help for autodev
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
**Subcommands:**
|
|
|
|
|
|
|
|
|
|
#### `ao autodev init`
|
|
|
|
|
|
|
|
|
|
Create a PROGRAM.md template
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
ao autodev init [objective] [flags]
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
**Flags:**
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
--force Overwrite an existing program file
|
|
|
|
|
-h, --help help for init
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
#### `ao autodev show`
|
|
|
|
|
|
|
|
|
|
Show the parsed PROGRAM.md contract
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
ao autodev show [flags]
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
#### `ao autodev validate`
|
|
|
|
|
|
|
|
|
|
Validate PROGRAM.md structure
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
ao autodev validate [flags]
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
|
|
### `ao codex`
|
|
|
|
|
|
2026-04-07 09:52:01 -04:00
|
|
|
Codex lifecycle commands for the AgentOps knowledge flywheel.
|
2026-04-05 09:15:27 -04:00
|
|
|
|
|
|
|
|
```
|
|
|
|
|
ao codex [command]
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
**Subcommands:**
|
|
|
|
|
|
|
|
|
|
#### `ao codex ensure-start`
|
|
|
|
|
|
|
|
|
|
Ensure Codex startup context exists once per thread
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
ao codex ensure-start [flags]
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
**Flags:**
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
-h, --help help for ensure-start
|
|
|
|
|
--limit int Maximum artifacts to surface per category (default 3)
|
|
|
|
|
--no-maintenance Skip safe close-loop maintenance on start
|
|
|
|
|
--query string Optional startup query (defaults to the current Codex thread name)
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
#### `ao codex ensure-stop`
|
|
|
|
|
|
|
|
|
|
Ensure Codex closeout runs once per thread
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
ao codex ensure-stop [flags]
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
**Flags:**
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
--auto-extract Write lightweight learnings and handoff artifacts during closeout (default true)
|
|
|
|
|
-h, --help help for ensure-stop
|
|
|
|
|
--no-close-loop Skip flywheel close-loop maintenance after forging
|
|
|
|
|
--no-history-fallback Disable history.jsonl fallback when no archived Codex transcript exists
|
|
|
|
|
--session string Codex session ID to close (defaults to the active thread)
|
|
|
|
|
--transcript string Explicit transcript path to forge instead of runtime discovery
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
#### `ao codex start`
|
|
|
|
|
|
2026-04-07 09:52:01 -04:00
|
|
|
Start a Codex session with explicit flywheel maintenance (fallback for pre-v0.115.0)
|
2026-04-05 09:15:27 -04:00
|
|
|
|
|
|
|
|
```
|
|
|
|
|
ao codex start [flags]
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
**Flags:**
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
-h, --help help for start
|
|
|
|
|
--limit int Maximum artifacts to surface per category (default 3)
|
|
|
|
|
--no-maintenance Skip safe close-loop maintenance on start
|
|
|
|
|
--query string Optional startup query (defaults to the current Codex thread name)
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
#### `ao codex status`
|
|
|
|
|
|
2026-04-07 09:52:01 -04:00
|
|
|
Show Codex lifecycle health (native hooks detected when available)
|
2026-04-05 09:15:27 -04:00
|
|
|
|
|
|
|
|
```
|
|
|
|
|
ao codex status [flags]
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
**Flags:**
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
--days int Citation window in days for Codex lifecycle health (default 7)
|
|
|
|
|
-h, --help help for status
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
#### `ao codex stop`
|
|
|
|
|
|
2026-04-07 09:52:01 -04:00
|
|
|
Close a Codex session explicitly (fallback for pre-v0.115.0)
|
2026-04-05 09:15:27 -04:00
|
|
|
|
|
|
|
|
```
|
|
|
|
|
ao codex stop [flags]
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
**Flags:**
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
--auto-extract Write lightweight learnings and handoff artifacts during closeout (default true)
|
|
|
|
|
-h, --help help for stop
|
|
|
|
|
--no-close-loop Skip flywheel close-loop maintenance after forging
|
|
|
|
|
--no-history-fallback Disable history.jsonl fallback when no archived Codex transcript exists
|
|
|
|
|
--session string Codex session ID to close (defaults to the active thread)
|
|
|
|
|
--transcript string Explicit transcript path to forge instead of runtime discovery
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
2026-04-11 17:23:33 -04:00
|
|
|
### `ao evolve`
|
|
|
|
|
|
|
|
|
|
Run the v2 autonomous improvement loop.
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
ao evolve [goal] [flags]
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
**Flags:**
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
--auto-clean Run stale RPI cleanup before each phased cycle
|
|
|
|
|
--auto-clean-stale-after duration Only auto-clean runs older than this age (default 24h0m0s)
|
|
|
|
|
--bd-sync-policy string Legacy bd landing checkpoint policy: auto|always|never (auto/always run 'bd export -o /dev/null' on current bd releases) (default "auto")
|
|
|
|
|
--cleanup-prune-branches Run legacy branch cleanup during supervisor cleanup
|
|
|
|
|
--cleanup-prune-worktrees Run git worktree prune during supervisor cleanup (default true)
|
|
|
|
|
--command-timeout duration Timeout for supervisor external commands (git/bd/gate scripts) (default 20m0s)
|
|
|
|
|
--compile Enable Compile producer cadence before queue selection
|
|
|
|
|
--compile-defrag Run defrag sweep after Compile mine producer tick
|
|
|
|
|
--compile-interval duration Minimum interval between Compile producer ticks (0 = every cycle) (default 30m0s)
|
|
|
|
|
--compile-since string Lookback window for Compile mine producer (default "26h")
|
|
|
|
|
--cycle-delay duration Delay between completed cycles
|
|
|
|
|
--cycle-retries int Automatic retry count per cycle after a failed attempt
|
|
|
|
|
--detached-branch-prefix string Branch prefix used by detached HEAD self-heal (default "codex/auto-rpi")
|
|
|
|
|
--detached-heal Auto-create/switch to a named branch when HEAD is detached
|
|
|
|
|
--ensure-cleanup Run stale-run cleanup after each cycle (cleanup guarantee)
|
|
|
|
|
--failure-policy string Cycle failure policy: stop|continue (default "stop")
|
|
|
|
|
--gate-fast-script string Fast validation gate script path (default "scripts/validate-go-fast.sh")
|
|
|
|
|
--gate-policy string Quality/security gate policy: off|best-effort|required (default "off")
|
|
|
|
|
--gate-security-script string Security gate script path (default "scripts/security-gate.sh")
|
|
|
|
|
-h, --help help for evolve
|
|
|
|
|
--kill-switch-path string Supervisor kill-switch file path checked at cycle boundaries (absolute or repo-relative) (default ".agents/rpi/KILL")
|
|
|
|
|
--landing-branch string Landing target branch (empty resolves origin/HEAD, then current branch, then main)
|
|
|
|
|
--landing-commit-message string Commit message template for landing policies that commit (default "chore(rpi): autonomous cycle {{cycle}}")
|
|
|
|
|
--landing-lock-path string Landing lock file path for synchronized integration (absolute or repo-relative) (default ".agents/rpi/landing.lock")
|
|
|
|
|
--landing-policy string Landing policy after successful cycle: off|commit|sync-push (default "off")
|
|
|
|
|
--lease Acquire a single-flight supervisor lease lock before running
|
|
|
|
|
--lease-path string Lease lock file path (absolute or repo-relative) (default ".agents/rpi/supervisor.lock")
|
|
|
|
|
--lease-ttl duration Lease heartbeat TTL for supervisor lock metadata (default 2m0s)
|
|
|
|
|
--max-cycles int Maximum cycles (0 = unlimited, stop when queue empty)
|
|
|
|
|
--ralph Enable Ralph-mode preset for unattended external loop supervision (implies supervisor defaults with safe nonstop settings)
|
|
|
|
|
--repo-filter string Only process queue items targeting this repo (empty = all)
|
|
|
|
|
--retry-backoff duration Backoff between cycle retry attempts (default 30s)
|
|
|
|
|
--supervisor Enable autonomous supervisor mode (lease lock, self-heal, retries, gates, cleanup) (default true)
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
2026-04-05 09:15:27 -04:00
|
|
|
### `ao factory`
|
|
|
|
|
|
|
|
|
|
Software-factory operator surface for AgentOps.
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
ao factory [command]
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
**Subcommands:**
|
|
|
|
|
|
|
|
|
|
#### `ao factory start`
|
|
|
|
|
|
|
|
|
|
Start the software-factory operator lane for a concrete goal.
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
ao factory start [flags]
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
**Flags:**
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
--goal string Goal to brief and use as the startup query
|
|
|
|
|
-h, --help help for start
|
|
|
|
|
--limit int Maximum artifacts to surface per category during startup (default 3)
|
|
|
|
|
--no-maintenance Skip safe close-loop maintenance on start
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
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
|
|
|
### `ao feedback-loop`
|
2026-02-26 05:48:41 -05:00
|
|
|
|
|
|
|
|
Automatically close the MemRL feedback loop by updating utilities of cited learnings.
|
2026-02-21 19:41:50 -05:00
|
|
|
|
|
|
|
|
```
|
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
|
|
|
ao feedback-loop [flags]
|
2026-02-21 19:41:50 -05:00
|
|
|
```
|
|
|
|
|
|
2026-02-26 05:48:41 -05:00
|
|
|
**Flags:**
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
--alpha float EMA learning rate (default 0.1)
|
|
|
|
|
--citation-type string Filter citations by type (retrieved, applied, all) (default "retrieved")
|
|
|
|
|
-h, --help help for feedback-loop
|
|
|
|
|
--reward float Override reward value (0.0-1.0); -1 = compute from transcript (default -1)
|
|
|
|
|
--session string Session ID to process
|
|
|
|
|
--transcript string Path to transcript for reward computation
|
|
|
|
|
```
|
|
|
|
|
|
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
|
|
|
---
|
|
|
|
|
|
|
|
|
|
### `ao goals`
|
2026-02-21 19:41:50 -05:00
|
|
|
|
2026-02-23 12:32:23 -05:00
|
|
|
Track, measure, and validate project fitness goals.
|
2026-02-21 19:41:50 -05:00
|
|
|
|
|
|
|
|
```
|
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
|
|
|
ao goals [command]
|
2026-02-21 19:41:50 -05:00
|
|
|
```
|
|
|
|
|
|
|
|
|
|
**Flags:**
|
|
|
|
|
|
|
|
|
|
```
|
fix: resolve 32 vibe findings (2 critical, 7 high, 12 medium, 11 low)
Fix all findings from the v2.17.0..HEAD vibe review across 12 source files:
Critical: panic guards for negative budget in truncateToCharBudget and
dead prefix slice in generateArtifactID. High: bead override in batch
extract, json file counting in metrics, constraint index.json exclusion,
complexity reduction in curate status/verify (38→<25), flexible hook
script count assertion. Medium: truncate panic guards, error logging for
silent failures, null→[] JSON output, goals auto-detect (GOALS.md then
GOALS.yaml), raw var→getter usage, truncate-before-lock race fix. Low:
scanner.Err() checks, os.Stdout→cmd.OutOrStdout(), dry-run output
differentiation.
Docs: 5 missing INDEX.md concept links, curation-pipeline v1 status
callout. Tests: new TestSeed_DryRun_JSON. Regen: COMMANDS.md, embedded
hooks synced. All gates pass: build, vet, test, gocyclo, heal, doc-gate.
2026-02-24 16:51:26 -05:00
|
|
|
--file string Path to goals file (auto-detects GOALS.md then GOALS.yaml)
|
2026-02-23 12:32:23 -05:00
|
|
|
-h, --help help for goals
|
|
|
|
|
--json Output as JSON
|
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 11:57:10 -05:00
|
|
|
--timeout int Check timeout in seconds (default 120)
|
2026-02-21 19:41:50 -05:00
|
|
|
```
|
|
|
|
|
|
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
|
|
|
**Subcommands:**
|
|
|
|
|
|
|
|
|
|
#### `ao goals measure`
|
2026-02-21 19:41:50 -05:00
|
|
|
|
2026-02-23 12:32:23 -05:00
|
|
|
Run goal checks and produce a snapshot
|
2026-02-21 19:41:50 -05:00
|
|
|
|
|
|
|
|
```
|
2026-02-26 06:42:03 -05:00
|
|
|
ao goals measure [flags]
|
2026-02-21 19:41:50 -05:00
|
|
|
```
|
|
|
|
|
|
|
|
|
|
**Flags:**
|
|
|
|
|
|
|
|
|
|
```
|
feat(cli): add GOALS.md OODA-driven intent layer with directives
GOALS.md (version 4) extends GOALS.yaml with strategic intent sections:
mission, north/anti stars, directives with steer values, and markdown
gates tables. Evolve can now act on directives when beads and gates are
empty, addressing the 58% idle rate from stagnation.
Go library:
- Directive type, GoalFile extensions (Format, NorthStars, AntiStars, Directives)
- DetectFormat/ResolveGoalsPath auto-detection (GOALS.md preferred when both exist)
- 5-function markdown parser with case-insensitive heading matching
- RenderGoalsMD template renderer, round-trip tested
- 26 new tests (19 parser + 7 format detection)
CLI commands:
- ao goals init: interactive GOALS.md bootstrap (--non-interactive)
- ao goals steer: add/remove/prioritize directives
- ao goals prune: remove stale gates referencing missing paths
- ao goals measure --directives: output directives as JSON
- ao goals validate: reports format and directive count
- ao goals add: format-aware writeback (md or yaml)
- ao goals migrate --to-md: convert YAML to markdown format
Skills:
- /goals rewritten with 5 OODA verbs (init/measure/steer/validate/prune)
- /evolve Step 3 rewritten with directive-based cascade
- Schema docs updated for both formats
Pre-mortem fixes applied: format-aware writeback, version 4 for markdown,
case-insensitive headings, --directives/--goal mutual exclusion.
2026-02-24 06:37:01 -05:00
|
|
|
--directives Output directives as JSON (skip gate checks)
|
2026-02-23 12:32:23 -05:00
|
|
|
--goal string Measure a single goal by ID
|
|
|
|
|
-h, --help help for measure
|
2026-02-21 19:41:50 -05:00
|
|
|
```
|
|
|
|
|
|
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
|
|
|
#### `ao goals validate`
|
2026-02-21 19:41:50 -05:00
|
|
|
|
2026-02-23 12:32:23 -05:00
|
|
|
Validate GOALS.yaml structure and wiring
|
2026-02-21 19:41:50 -05:00
|
|
|
|
|
|
|
|
```
|
2026-02-26 06:42:03 -05:00
|
|
|
ao goals validate [flags]
|
2026-02-21 19:41:50 -05:00
|
|
|
```
|
|
|
|
|
|
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
|
|
|
#### `ao goals drift`
|
2026-02-21 19:41:50 -05:00
|
|
|
|
2026-02-23 12:32:23 -05:00
|
|
|
Compare snapshots for regressions
|
2026-02-21 19:41:50 -05:00
|
|
|
|
|
|
|
|
```
|
2026-02-26 06:42:03 -05:00
|
|
|
ao goals drift [flags]
|
2026-02-21 19:41:50 -05:00
|
|
|
```
|
|
|
|
|
|
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
|
|
|
#### `ao goals export`
|
2026-02-21 19:41:50 -05:00
|
|
|
|
2026-02-23 12:32:23 -05:00
|
|
|
Export latest snapshot as JSON (for CI)
|
2026-02-21 19:41:50 -05:00
|
|
|
|
|
|
|
|
```
|
2026-02-26 06:42:03 -05:00
|
|
|
ao goals export [flags]
|
2026-02-21 19:41:50 -05:00
|
|
|
```
|
|
|
|
|
|
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
|
|
|
#### `ao goals history`
|
2026-02-21 19:41:50 -05:00
|
|
|
|
2026-02-23 12:32:23 -05:00
|
|
|
Show goal measurement history
|
2026-02-21 19:41:50 -05:00
|
|
|
|
|
|
|
|
```
|
2026-02-26 06:42:03 -05:00
|
|
|
ao goals history [flags]
|
2026-02-21 19:41:50 -05:00
|
|
|
```
|
|
|
|
|
|
|
|
|
|
**Flags:**
|
|
|
|
|
|
|
|
|
|
```
|
2026-02-23 12:32:23 -05:00
|
|
|
--goal string Filter history to a specific goal
|
|
|
|
|
-h, --help help for history
|
|
|
|
|
--since string Show entries since date (YYYY-MM-DD)
|
2026-02-21 19:41:50 -05:00
|
|
|
```
|
|
|
|
|
|
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
|
|
|
#### `ao goals add`
|
2026-02-21 19:41:50 -05:00
|
|
|
|
2026-02-24 07:23:29 -05:00
|
|
|
Add a new goal
|
2026-02-21 19:41:50 -05:00
|
|
|
|
|
|
|
|
```
|
2026-02-26 06:42:03 -05:00
|
|
|
ao goals add <id> <check-command> [flags]
|
2026-02-21 19:41:50 -05:00
|
|
|
```
|
|
|
|
|
|
|
|
|
|
**Flags:**
|
|
|
|
|
|
|
|
|
|
```
|
2026-02-23 12:32:23 -05:00
|
|
|
--description string Goal description
|
|
|
|
|
-h, --help help for add
|
|
|
|
|
--type string Goal type (health, architecture, quality, meta)
|
|
|
|
|
--weight int Goal weight (1-10) (default 5)
|
2026-02-21 19:41:50 -05:00
|
|
|
```
|
|
|
|
|
|
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
|
|
|
#### `ao goals init`
|
feat(cli): add GOALS.md OODA-driven intent layer with directives
GOALS.md (version 4) extends GOALS.yaml with strategic intent sections:
mission, north/anti stars, directives with steer values, and markdown
gates tables. Evolve can now act on directives when beads and gates are
empty, addressing the 58% idle rate from stagnation.
Go library:
- Directive type, GoalFile extensions (Format, NorthStars, AntiStars, Directives)
- DetectFormat/ResolveGoalsPath auto-detection (GOALS.md preferred when both exist)
- 5-function markdown parser with case-insensitive heading matching
- RenderGoalsMD template renderer, round-trip tested
- 26 new tests (19 parser + 7 format detection)
CLI commands:
- ao goals init: interactive GOALS.md bootstrap (--non-interactive)
- ao goals steer: add/remove/prioritize directives
- ao goals prune: remove stale gates referencing missing paths
- ao goals measure --directives: output directives as JSON
- ao goals validate: reports format and directive count
- ao goals add: format-aware writeback (md or yaml)
- ao goals migrate --to-md: convert YAML to markdown format
Skills:
- /goals rewritten with 5 OODA verbs (init/measure/steer/validate/prune)
- /evolve Step 3 rewritten with directive-based cascade
- Schema docs updated for both formats
Pre-mortem fixes applied: format-aware writeback, version 4 for markdown,
case-insensitive headings, --directives/--goal mutual exclusion.
2026-02-24 06:37:01 -05:00
|
|
|
|
|
|
|
|
Bootstrap a new GOALS.md file
|
|
|
|
|
|
|
|
|
|
```
|
2026-02-26 06:42:03 -05:00
|
|
|
ao goals init [flags]
|
feat(cli): add GOALS.md OODA-driven intent layer with directives
GOALS.md (version 4) extends GOALS.yaml with strategic intent sections:
mission, north/anti stars, directives with steer values, and markdown
gates tables. Evolve can now act on directives when beads and gates are
empty, addressing the 58% idle rate from stagnation.
Go library:
- Directive type, GoalFile extensions (Format, NorthStars, AntiStars, Directives)
- DetectFormat/ResolveGoalsPath auto-detection (GOALS.md preferred when both exist)
- 5-function markdown parser with case-insensitive heading matching
- RenderGoalsMD template renderer, round-trip tested
- 26 new tests (19 parser + 7 format detection)
CLI commands:
- ao goals init: interactive GOALS.md bootstrap (--non-interactive)
- ao goals steer: add/remove/prioritize directives
- ao goals prune: remove stale gates referencing missing paths
- ao goals measure --directives: output directives as JSON
- ao goals validate: reports format and directive count
- ao goals add: format-aware writeback (md or yaml)
- ao goals migrate --to-md: convert YAML to markdown format
Skills:
- /goals rewritten with 5 OODA verbs (init/measure/steer/validate/prune)
- /evolve Step 3 rewritten with directive-based cascade
- Schema docs updated for both formats
Pre-mortem fixes applied: format-aware writeback, version 4 for markdown,
case-insensitive headings, --directives/--goal mutual exclusion.
2026-02-24 06:37:01 -05:00
|
|
|
```
|
|
|
|
|
|
|
|
|
|
**Flags:**
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
-h, --help help for init
|
|
|
|
|
--non-interactive Use defaults without prompting
|
fix: resolve 32 vibe findings (2 critical, 7 high, 12 medium, 11 low)
Fix all findings from the v2.17.0..HEAD vibe review across 12 source files:
Critical: panic guards for negative budget in truncateToCharBudget and
dead prefix slice in generateArtifactID. High: bead override in batch
extract, json file counting in metrics, constraint index.json exclusion,
complexity reduction in curate status/verify (38→<25), flexible hook
script count assertion. Medium: truncate panic guards, error logging for
silent failures, null→[] JSON output, goals auto-detect (GOALS.md then
GOALS.yaml), raw var→getter usage, truncate-before-lock race fix. Low:
scanner.Err() checks, os.Stdout→cmd.OutOrStdout(), dry-run output
differentiation.
Docs: 5 missing INDEX.md concept links, curation-pipeline v1 status
callout. Tests: new TestSeed_DryRun_JSON. Regen: COMMANDS.md, embedded
hooks synced. All gates pass: build, vet, test, gocyclo, heal, doc-gate.
2026-02-24 16:51:26 -05:00
|
|
|
--template string Goal template (go-cli, python-lib, web-app, rust-cli, generic)
|
feat(cli): add GOALS.md OODA-driven intent layer with directives
GOALS.md (version 4) extends GOALS.yaml with strategic intent sections:
mission, north/anti stars, directives with steer values, and markdown
gates tables. Evolve can now act on directives when beads and gates are
empty, addressing the 58% idle rate from stagnation.
Go library:
- Directive type, GoalFile extensions (Format, NorthStars, AntiStars, Directives)
- DetectFormat/ResolveGoalsPath auto-detection (GOALS.md preferred when both exist)
- 5-function markdown parser with case-insensitive heading matching
- RenderGoalsMD template renderer, round-trip tested
- 26 new tests (19 parser + 7 format detection)
CLI commands:
- ao goals init: interactive GOALS.md bootstrap (--non-interactive)
- ao goals steer: add/remove/prioritize directives
- ao goals prune: remove stale gates referencing missing paths
- ao goals measure --directives: output directives as JSON
- ao goals validate: reports format and directive count
- ao goals add: format-aware writeback (md or yaml)
- ao goals migrate --to-md: convert YAML to markdown format
Skills:
- /goals rewritten with 5 OODA verbs (init/measure/steer/validate/prune)
- /evolve Step 3 rewritten with directive-based cascade
- Schema docs updated for both formats
Pre-mortem fixes applied: format-aware writeback, version 4 for markdown,
case-insensitive headings, --directives/--goal mutual exclusion.
2026-02-24 06:37:01 -05:00
|
|
|
```
|
|
|
|
|
|
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
|
|
|
#### `ao goals meta`
|
2026-02-21 19:41:50 -05:00
|
|
|
|
2026-02-23 12:32:23 -05:00
|
|
|
Run and report meta-goals only
|
2026-02-21 19:41:50 -05:00
|
|
|
|
2026-02-23 12:32:23 -05:00
|
|
|
```
|
2026-02-26 06:42:03 -05:00
|
|
|
ao goals meta [flags]
|
2026-02-23 12:32:23 -05:00
|
|
|
```
|
|
|
|
|
|
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
|
|
|
#### `ao goals migrate`
|
2026-02-23 12:32:23 -05:00
|
|
|
|
2026-02-24 07:41:36 -05:00
|
|
|
Migrate goals between formats.
|
2026-02-21 19:41:50 -05:00
|
|
|
|
|
|
|
|
```
|
2026-02-26 06:42:03 -05:00
|
|
|
ao goals migrate [flags]
|
2026-02-21 19:41:50 -05:00
|
|
|
```
|
|
|
|
|
|
feat(cli): add GOALS.md OODA-driven intent layer with directives
GOALS.md (version 4) extends GOALS.yaml with strategic intent sections:
mission, north/anti stars, directives with steer values, and markdown
gates tables. Evolve can now act on directives when beads and gates are
empty, addressing the 58% idle rate from stagnation.
Go library:
- Directive type, GoalFile extensions (Format, NorthStars, AntiStars, Directives)
- DetectFormat/ResolveGoalsPath auto-detection (GOALS.md preferred when both exist)
- 5-function markdown parser with case-insensitive heading matching
- RenderGoalsMD template renderer, round-trip tested
- 26 new tests (19 parser + 7 format detection)
CLI commands:
- ao goals init: interactive GOALS.md bootstrap (--non-interactive)
- ao goals steer: add/remove/prioritize directives
- ao goals prune: remove stale gates referencing missing paths
- ao goals measure --directives: output directives as JSON
- ao goals validate: reports format and directive count
- ao goals add: format-aware writeback (md or yaml)
- ao goals migrate --to-md: convert YAML to markdown format
Skills:
- /goals rewritten with 5 OODA verbs (init/measure/steer/validate/prune)
- /evolve Step 3 rewritten with directive-based cascade
- Schema docs updated for both formats
Pre-mortem fixes applied: format-aware writeback, version 4 for markdown,
case-insensitive headings, --directives/--goal mutual exclusion.
2026-02-24 06:37:01 -05:00
|
|
|
**Flags:**
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
-h, --help help for migrate
|
|
|
|
|
--to-md Convert GOALS.yaml to GOALS.md format
|
|
|
|
|
```
|
|
|
|
|
|
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
|
|
|
#### `ao goals prune`
|
feat(cli): add GOALS.md OODA-driven intent layer with directives
GOALS.md (version 4) extends GOALS.yaml with strategic intent sections:
mission, north/anti stars, directives with steer values, and markdown
gates tables. Evolve can now act on directives when beads and gates are
empty, addressing the 58% idle rate from stagnation.
Go library:
- Directive type, GoalFile extensions (Format, NorthStars, AntiStars, Directives)
- DetectFormat/ResolveGoalsPath auto-detection (GOALS.md preferred when both exist)
- 5-function markdown parser with case-insensitive heading matching
- RenderGoalsMD template renderer, round-trip tested
- 26 new tests (19 parser + 7 format detection)
CLI commands:
- ao goals init: interactive GOALS.md bootstrap (--non-interactive)
- ao goals steer: add/remove/prioritize directives
- ao goals prune: remove stale gates referencing missing paths
- ao goals measure --directives: output directives as JSON
- ao goals validate: reports format and directive count
- ao goals add: format-aware writeback (md or yaml)
- ao goals migrate --to-md: convert YAML to markdown format
Skills:
- /goals rewritten with 5 OODA verbs (init/measure/steer/validate/prune)
- /evolve Step 3 rewritten with directive-based cascade
- Schema docs updated for both formats
Pre-mortem fixes applied: format-aware writeback, version 4 for markdown,
case-insensitive headings, --directives/--goal mutual exclusion.
2026-02-24 06:37:01 -05:00
|
|
|
|
|
|
|
|
Remove goals referencing nonexistent files
|
|
|
|
|
|
|
|
|
|
```
|
2026-02-26 06:42:03 -05:00
|
|
|
ao goals prune [flags]
|
feat(cli): add GOALS.md OODA-driven intent layer with directives
GOALS.md (version 4) extends GOALS.yaml with strategic intent sections:
mission, north/anti stars, directives with steer values, and markdown
gates tables. Evolve can now act on directives when beads and gates are
empty, addressing the 58% idle rate from stagnation.
Go library:
- Directive type, GoalFile extensions (Format, NorthStars, AntiStars, Directives)
- DetectFormat/ResolveGoalsPath auto-detection (GOALS.md preferred when both exist)
- 5-function markdown parser with case-insensitive heading matching
- RenderGoalsMD template renderer, round-trip tested
- 26 new tests (19 parser + 7 format detection)
CLI commands:
- ao goals init: interactive GOALS.md bootstrap (--non-interactive)
- ao goals steer: add/remove/prioritize directives
- ao goals prune: remove stale gates referencing missing paths
- ao goals measure --directives: output directives as JSON
- ao goals validate: reports format and directive count
- ao goals add: format-aware writeback (md or yaml)
- ao goals migrate --to-md: convert YAML to markdown format
Skills:
- /goals rewritten with 5 OODA verbs (init/measure/steer/validate/prune)
- /evolve Step 3 rewritten with directive-based cascade
- Schema docs updated for both formats
Pre-mortem fixes applied: format-aware writeback, version 4 for markdown,
case-insensitive headings, --directives/--goal mutual exclusion.
2026-02-24 06:37:01 -05:00
|
|
|
```
|
|
|
|
|
|
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
|
|
|
#### `ao goals steer`
|
feat(cli): add GOALS.md OODA-driven intent layer with directives
GOALS.md (version 4) extends GOALS.yaml with strategic intent sections:
mission, north/anti stars, directives with steer values, and markdown
gates tables. Evolve can now act on directives when beads and gates are
empty, addressing the 58% idle rate from stagnation.
Go library:
- Directive type, GoalFile extensions (Format, NorthStars, AntiStars, Directives)
- DetectFormat/ResolveGoalsPath auto-detection (GOALS.md preferred when both exist)
- 5-function markdown parser with case-insensitive heading matching
- RenderGoalsMD template renderer, round-trip tested
- 26 new tests (19 parser + 7 format detection)
CLI commands:
- ao goals init: interactive GOALS.md bootstrap (--non-interactive)
- ao goals steer: add/remove/prioritize directives
- ao goals prune: remove stale gates referencing missing paths
- ao goals measure --directives: output directives as JSON
- ao goals validate: reports format and directive count
- ao goals add: format-aware writeback (md or yaml)
- ao goals migrate --to-md: convert YAML to markdown format
Skills:
- /goals rewritten with 5 OODA verbs (init/measure/steer/validate/prune)
- /evolve Step 3 rewritten with directive-based cascade
- Schema docs updated for both formats
Pre-mortem fixes applied: format-aware writeback, version 4 for markdown,
case-insensitive headings, --directives/--goal mutual exclusion.
2026-02-24 06:37:01 -05:00
|
|
|
|
|
|
|
|
Manage directives
|
|
|
|
|
|
|
|
|
|
```
|
2026-02-26 06:42:03 -05:00
|
|
|
ao goals steer [command]
|
2026-02-21 19:41:50 -05:00
|
|
|
```
|
|
|
|
|
|
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
|
|
|
##### `ao goals steer add`
|
|
|
|
|
|
|
|
|
|
Add a new directive
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
ao goals steer add <title> [flags]
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
**Flags:**
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
--description string Directive description (required)
|
|
|
|
|
-h, --help help for add
|
|
|
|
|
--steer string Steer direction (increase, decrease, hold, explore) (default "increase")
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
##### `ao goals steer prioritize`
|
|
|
|
|
|
|
|
|
|
Move a directive to a new position
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
ao goals steer prioritize <number> <new-position> [flags]
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
##### `ao goals steer remove`
|
|
|
|
|
|
|
|
|
|
Remove a directive by number
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
ao goals steer remove <number> [flags]
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
2026-03-03 14:38:28 -05:00
|
|
|
### `ao handoff`
|
|
|
|
|
|
|
|
|
|
Write a structured JSON handoff artifact that captures session context
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
ao handoff [summary] [flags]
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
**Flags:**
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
--collect Auto-collect git/bead state into the artifact
|
|
|
|
|
--dry-run Print artifact to stdout without writing file
|
|
|
|
|
--epic string Epic ID for RPI context
|
|
|
|
|
--goal string What the session was working on
|
|
|
|
|
-h, --help help for handoff
|
|
|
|
|
--no-kill Write artifact without restarting the session via tmux
|
|
|
|
|
--rpi-phase int RPI phase number (populates RPI context, sets type=rpi)
|
|
|
|
|
--run-id string Run ID for RPI context
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
2026-04-09 20:03:10 -04:00
|
|
|
### `ao overnight`
|
|
|
|
|
|
|
|
|
|
Dream is AgentOps' private overnight operator mode.
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
ao overnight [command]
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
**Subcommands:**
|
|
|
|
|
|
2026-04-12 00:24:25 -04:00
|
|
|
#### `ao overnight curator`
|
|
|
|
|
|
|
|
|
|
Inspect and operate a local Tier 1 Dream curator such as Ollama/Gemma.
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
ao overnight curator [command]
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
##### `ao overnight curator compact`
|
|
|
|
|
|
|
|
|
|
Run the local curator pending-log compactor
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
ao overnight curator compact [flags]
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
**Flags:**
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
--apply Apply pending-log compaction
|
|
|
|
|
--dry-run Preview pending-log compaction without writing
|
|
|
|
|
-h, --help help for compact
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
##### `ao overnight curator diagnose`
|
|
|
|
|
|
|
|
|
|
Explain local curator setup problems
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
ao overnight curator diagnose [flags]
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
**Flags:**
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
-h, --help help for diagnose
|
|
|
|
|
--json Render curator diagnosis as JSON
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
##### `ao overnight curator enqueue`
|
|
|
|
|
|
|
|
|
|
Enqueue an allowlisted local curator job
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
ao overnight curator enqueue [flags]
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
**Flags:**
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
--chunk-end int End chunk index for ingest-claude-session jobs
|
|
|
|
|
--chunk-start int Start chunk index for ingest-claude-session jobs
|
|
|
|
|
-h, --help help for enqueue
|
|
|
|
|
--kind string Job kind to enqueue: ingest-claude-session, lint-wiki, or dream-seed
|
|
|
|
|
--source string Source path for ingest-claude-session jobs
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
##### `ao overnight curator event`
|
|
|
|
|
|
|
|
|
|
Write a bounded needs-review escalation event
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
ao overnight curator event [flags]
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
**Flags:**
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
--budget int Maximum downstream event budget (default 1)
|
|
|
|
|
--desired-action string Requested bounded action for Tier 2 review
|
|
|
|
|
-h, --help help for event
|
|
|
|
|
--note string Optional operator note
|
|
|
|
|
--severity string Event severity: info, warn, high, or critical
|
|
|
|
|
--source string Event source, for example gemma or local-soc
|
|
|
|
|
--target string Escalation target (default "dream-council")
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
##### `ao overnight curator status`
|
|
|
|
|
|
|
|
|
|
Report local curator queue, worker, and model health
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
ao overnight curator status [flags]
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
**Flags:**
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
-h, --help help for status
|
|
|
|
|
--json Render curator status as JSON
|
|
|
|
|
```
|
|
|
|
|
|
2026-04-09 20:03:10 -04:00
|
|
|
#### `ao overnight report`
|
|
|
|
|
|
|
|
|
|
Read a Dream report from summary.json and render it as JSON, YAML, or
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
ao overnight report [flags]
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
**Flags:**
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
--from string Directory containing summary.json, or the summary.json file itself
|
|
|
|
|
-h, --help help for report
|
|
|
|
|
```
|
|
|
|
|
|
2026-04-09 21:06:05 -04:00
|
|
|
#### `ao overnight setup`
|
|
|
|
|
|
|
|
|
|
Inspect the current machine, detect available Dream runtimes and scheduler
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
ao overnight setup [flags]
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
**Flags:**
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
--apply Persist the detected Dream config and generate scheduler assistance artifacts
|
|
|
|
|
--at string Preferred local Dream run time in HH:MM (used for scheduler assistance)
|
|
|
|
|
-h, --help help for setup
|
|
|
|
|
--keep-awake Persist keep-awake on for Dream runs
|
|
|
|
|
--no-keep-awake Persist keep-awake off for Dream runs
|
|
|
|
|
--runner strings Dream runner to persist (repeatable: --runner codex --runner claude)
|
2026-04-12 00:24:25 -04:00
|
|
|
--scheduler string Scheduler mode to persist (auto, manual, launchd, cron, systemd, task-scheduler) (default "auto")
|
2026-04-09 21:06:05 -04:00
|
|
|
```
|
|
|
|
|
|
2026-04-09 20:03:10 -04:00
|
|
|
#### `ao overnight start`
|
|
|
|
|
|
|
|
|
|
Start a private overnight Dream run against the local repository.
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
ao overnight start [flags]
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
**Flags:**
|
|
|
|
|
|
|
|
|
|
```
|
2026-04-10 22:48:10 -04:00
|
|
|
--checkpoint-max-mb int Max total MB of checkpoint storage per run (default 512)
|
|
|
|
|
--creative-lane Enable the bounded wildcard lane when Dream Council is running
|
|
|
|
|
--goal string Optional goal to include in the morning report and briefing step
|
|
|
|
|
-h, --help help for start
|
|
|
|
|
--keep-awake Force keep-awake assistance on for this run
|
|
|
|
|
--max-iterations int Cap iteration count (0 = budget-bounded only)
|
|
|
|
|
--no-keep-awake Disable keep-awake assistance for this run
|
|
|
|
|
--output-dir string Directory for overnight artifacts (defaults to dream.report_dir)
|
|
|
|
|
--plateau-epsilon float Plateau threshold: |delta| below this counts as plateau (default 0.01)
|
|
|
|
|
--plateau-window int Plateau window K (consecutive sub-epsilon deltas required to halt) (default 2)
|
|
|
|
|
--queue string Operator-pinned nightly priorities (markdown file)
|
|
|
|
|
--run-timeout string Maximum duration for the overnight run (defaults to dream.run_timeout)
|
|
|
|
|
--runner strings Dream runner to execute (repeatable: --runner codex --runner claude)
|
|
|
|
|
--warn-only First-N-runs mode: warn on plateau/regression, don't halt. Default true; flip to false once thresholds are calibrated. (default true)
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
#### `ao overnight warn-only`
|
|
|
|
|
|
|
|
|
|
Dream's warn-only ratchet protects the first 2-3 production runs
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
ao overnight warn-only [command]
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
##### `ao overnight warn-only reset`
|
|
|
|
|
|
|
|
|
|
Reset .agents/overnight/warn-only-budget.json to a fresh state.
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
ao overnight warn-only reset [flags]
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
**Flags:**
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
-h, --help help for reset
|
|
|
|
|
--initial int Initial rescue ceiling (defaults to 3)
|
|
|
|
|
--json Emit the reset result as JSON instead of human-readable text
|
2026-04-09 20:03:10 -04:00
|
|
|
```
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
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
|
|
|
### `ao ratchet`
|
2026-02-21 19:41:50 -05:00
|
|
|
|
2026-04-05 09:15:27 -04:00
|
|
|
Track progress through the phased RPI workflow.
|
2026-02-21 19:41:50 -05:00
|
|
|
|
|
|
|
|
```
|
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
|
|
|
ao ratchet [command]
|
2026-02-21 19:41:50 -05:00
|
|
|
```
|
|
|
|
|
|
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
|
|
|
**Subcommands:**
|
|
|
|
|
|
|
|
|
|
#### `ao ratchet check`
|
2026-02-21 19:41:50 -05:00
|
|
|
|
|
|
|
|
Check if prerequisites are satisfied for a workflow step.
|
|
|
|
|
|
|
|
|
|
```
|
2026-02-26 06:42:03 -05:00
|
|
|
ao ratchet check <step> [flags]
|
2026-02-21 19:41:50 -05:00
|
|
|
```
|
|
|
|
|
|
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
|
|
|
#### `ao ratchet next`
|
2026-02-21 19:41:50 -05:00
|
|
|
|
|
|
|
|
Show the next pending step in the RPI workflow.
|
|
|
|
|
|
|
|
|
|
```
|
2026-02-26 06:42:03 -05:00
|
|
|
ao ratchet next [flags]
|
2026-02-21 19:41:50 -05:00
|
|
|
```
|
|
|
|
|
|
|
|
|
|
**Flags:**
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
--epic string Filter by epic ID
|
|
|
|
|
-h, --help help for next
|
|
|
|
|
```
|
|
|
|
|
|
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
|
|
|
#### `ao ratchet spec`
|
2026-02-21 19:41:50 -05:00
|
|
|
|
|
|
|
|
Find and output the current spec artifact path.
|
|
|
|
|
|
|
|
|
|
```
|
2026-02-26 06:42:03 -05:00
|
|
|
ao ratchet spec [flags]
|
2026-02-21 19:41:50 -05:00
|
|
|
```
|
|
|
|
|
|
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
|
|
|
#### `ao ratchet status`
|
2026-02-21 19:41:50 -05:00
|
|
|
|
|
|
|
|
Display the current state of the ratchet chain.
|
|
|
|
|
|
|
|
|
|
```
|
2026-02-26 06:42:03 -05:00
|
|
|
ao ratchet status [flags]
|
2026-02-21 19:41:50 -05:00
|
|
|
```
|
|
|
|
|
|
|
|
|
|
**Flags:**
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
--chain string Filter by chain ID
|
|
|
|
|
--epic string Filter by epic ID
|
|
|
|
|
-h, --help help for status
|
|
|
|
|
```
|
|
|
|
|
|
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
|
|
|
#### `ao ratchet validate`
|
2026-02-21 19:41:50 -05:00
|
|
|
|
|
|
|
|
Validate that an artifact meets quality requirements.
|
|
|
|
|
|
|
|
|
|
```
|
2026-02-26 06:42:03 -05:00
|
|
|
ao ratchet validate <step> [flags]
|
2026-02-21 19:41:50 -05:00
|
|
|
```
|
|
|
|
|
|
|
|
|
|
**Flags:**
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
--changes strings Files to validate
|
|
|
|
|
-h, --help help for validate
|
|
|
|
|
--lenient Allow legacy artifacts without schema_version (expires in 90 days)
|
|
|
|
|
--lenient-expiry int Days until lenient bypass expires (default 90)
|
|
|
|
|
```
|
|
|
|
|
|
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
|
|
|
#### `ao ratchet promote`
|
2026-02-21 19:41:50 -05:00
|
|
|
|
|
|
|
|
Record promotion of an artifact to a higher tier.
|
|
|
|
|
|
|
|
|
|
```
|
2026-02-26 06:42:03 -05:00
|
|
|
ao ratchet promote <artifact> [flags]
|
2026-02-21 19:41:50 -05:00
|
|
|
```
|
|
|
|
|
|
|
|
|
|
**Flags:**
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
-h, --help help for promote
|
|
|
|
|
--to int Target tier (0-4, required) (default -1)
|
|
|
|
|
```
|
|
|
|
|
|
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
|
|
|
#### `ao ratchet record`
|
2026-02-21 19:41:50 -05:00
|
|
|
|
|
|
|
|
Record that a workflow step has been completed.
|
|
|
|
|
|
|
|
|
|
```
|
2026-02-26 06:42:03 -05:00
|
|
|
ao ratchet record <step> [flags]
|
2026-02-21 19:41:50 -05:00
|
|
|
```
|
|
|
|
|
|
|
|
|
|
**Flags:**
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
--cycle int RPI cycle number (1 for first, 2+ for iterations)
|
|
|
|
|
-h, --help help for record
|
|
|
|
|
--input string Input artifact path
|
|
|
|
|
--lock Lock the step (engage ratchet) (default true)
|
|
|
|
|
--output string Output artifact path (required)
|
|
|
|
|
--parent-epic string Parent epic ID from prior RPI cycle
|
|
|
|
|
--tier int Quality tier (0-4) (default -1)
|
|
|
|
|
```
|
|
|
|
|
|
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
|
|
|
#### `ao ratchet skip`
|
2026-02-21 19:41:50 -05:00
|
|
|
|
|
|
|
|
Record that a step was intentionally skipped.
|
|
|
|
|
|
|
|
|
|
```
|
2026-02-26 06:42:03 -05:00
|
|
|
ao ratchet skip <step> [flags]
|
2026-02-21 19:41:50 -05:00
|
|
|
```
|
|
|
|
|
|
|
|
|
|
**Flags:**
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
-h, --help help for skip
|
|
|
|
|
--reason string Reason for skipping (required)
|
|
|
|
|
```
|
|
|
|
|
|
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
|
|
|
#### `ao ratchet find`
|
2026-02-21 19:41:50 -05:00
|
|
|
|
|
|
|
|
Search for artifacts across all locations.
|
|
|
|
|
|
|
|
|
|
```
|
2026-02-26 06:42:03 -05:00
|
|
|
ao ratchet find <pattern> [flags]
|
2026-02-21 19:41:50 -05:00
|
|
|
```
|
|
|
|
|
|
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
|
|
|
#### `ao ratchet trace`
|
2026-02-21 19:41:50 -05:00
|
|
|
|
|
|
|
|
Trace an artifact back through the ratchet chain.
|
|
|
|
|
|
|
|
|
|
```
|
2026-02-26 06:42:03 -05:00
|
|
|
ao ratchet trace <artifact> [flags]
|
2026-02-21 19:41:50 -05:00
|
|
|
```
|
|
|
|
|
|
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
|
|
|
#### `ao ratchet migrate`
|
2026-02-21 19:41:50 -05:00
|
|
|
|
|
|
|
|
Migrate chain from legacy YAML format to JSONL.
|
|
|
|
|
|
|
|
|
|
```
|
2026-02-26 06:42:03 -05:00
|
|
|
ao ratchet migrate [flags]
|
2026-02-21 19:41:50 -05:00
|
|
|
```
|
|
|
|
|
|
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
|
|
|
#### `ao ratchet migrate-artifacts`
|
2026-02-21 19:41:50 -05:00
|
|
|
|
|
|
|
|
Add schema_version: 1 to existing .agents/ artifacts.
|
|
|
|
|
|
|
|
|
|
```
|
2026-02-26 06:42:03 -05:00
|
|
|
ao ratchet migrate-artifacts [path] [flags]
|
2026-02-21 19:41:50 -05:00
|
|
|
```
|
|
|
|
|
|
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
|
|
|
---
|
|
|
|
|
|
|
|
|
|
### `ao rpi`
|
2026-02-21 19:41:50 -05:00
|
|
|
|
2026-04-05 09:15:27 -04:00
|
|
|
Commands for automating the RPI lifecycle.
|
2026-02-21 19:41:50 -05:00
|
|
|
|
|
|
|
|
```
|
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
|
|
|
ao rpi [command]
|
2026-02-21 19:41:50 -05:00
|
|
|
```
|
|
|
|
|
|
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
|
|
|
**Subcommands:**
|
|
|
|
|
|
|
|
|
|
#### `ao rpi cancel`
|
2026-02-21 19:41:50 -05:00
|
|
|
|
2026-02-21 21:46:54 -05:00
|
|
|
Cancel active RPI orchestration runs via a CLI kill switch.
|
2026-02-21 19:41:50 -05:00
|
|
|
|
|
|
|
|
```
|
2026-02-26 06:42:03 -05:00
|
|
|
ao rpi cancel [flags]
|
2026-02-21 19:41:50 -05:00
|
|
|
```
|
|
|
|
|
|
|
|
|
|
**Flags:**
|
|
|
|
|
|
|
|
|
|
```
|
2026-02-21 21:46:54 -05:00
|
|
|
--all Cancel all active runs discovered under current/sibling roots
|
|
|
|
|
--dry-run Show what would be cancelled without sending signals
|
|
|
|
|
-h, --help help for cancel
|
|
|
|
|
--run-id string Cancel one active run by run ID
|
|
|
|
|
--signal string Signal to send: TERM|KILL|INT (default "TERM")
|
2026-02-21 19:41:50 -05:00
|
|
|
```
|
|
|
|
|
|
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
|
|
|
#### `ao rpi cleanup`
|
2026-02-21 21:18:52 -05:00
|
|
|
|
2026-02-21 21:46:54 -05:00
|
|
|
Detect and clean up stale RPI phased runs.
|
2026-02-21 21:18:52 -05:00
|
|
|
|
|
|
|
|
```
|
2026-02-26 06:42:03 -05:00
|
|
|
ao rpi cleanup [flags]
|
2026-02-21 21:18:52 -05:00
|
|
|
```
|
|
|
|
|
|
|
|
|
|
**Flags:**
|
|
|
|
|
|
|
|
|
|
```
|
2026-02-21 21:46:54 -05:00
|
|
|
--all Clean up all stale runs
|
|
|
|
|
--dry-run Show what would be done without making changes
|
|
|
|
|
-h, --help help for cleanup
|
|
|
|
|
--prune-branches Delete legacy RPI branches (rpi/*, codex/auto-rpi-*)
|
|
|
|
|
--prune-worktrees Run 'git worktree prune' after cleanup
|
|
|
|
|
--run-id string Clean up a specific run by ID
|
|
|
|
|
--stale-after duration Only clean runs older than this age (0 disables age filtering)
|
2026-02-21 21:18:52 -05:00
|
|
|
```
|
|
|
|
|
|
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
|
|
|
#### `ao rpi loop`
|
2026-02-21 19:41:50 -05:00
|
|
|
|
|
|
|
|
Execute RPI cycles in a loop, consuming from next-work.jsonl.
|
|
|
|
|
|
|
|
|
|
```
|
2026-02-26 06:42:03 -05:00
|
|
|
ao rpi loop [goal] [flags]
|
2026-02-21 19:41:50 -05:00
|
|
|
```
|
|
|
|
|
|
|
|
|
|
**Flags:**
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
--auto-clean Run stale RPI cleanup before each phased cycle
|
|
|
|
|
--auto-clean-stale-after duration Only auto-clean runs older than this age (default 24h0m0s)
|
2026-03-07 13:26:49 -05:00
|
|
|
--bd-sync-policy string Legacy bd landing checkpoint policy: auto|always|never (auto/always run 'bd export -o /dev/null' on current bd releases) (default "auto")
|
2026-02-21 21:46:54 -05:00
|
|
|
--cleanup-prune-branches Run legacy branch cleanup during supervisor cleanup
|
2026-02-21 19:41:50 -05:00
|
|
|
--cleanup-prune-worktrees Run git worktree prune during supervisor cleanup (default true)
|
2026-02-21 21:18:52 -05:00
|
|
|
--command-timeout duration Timeout for supervisor external commands (git/bd/gate scripts) (default 20m0s)
|
feat(knowledge): rename athena → compile + add Karpathy-style knowledge compiler
Rename the athena skill to compile — a descriptive name that communicates
what it actually does. Extend with Karpathy's LLM Knowledge Bases architecture:
- New compile phase: LLM reads raw .agents/ artifacts and produces interlinked
markdown wiki at .agents/compiled/ with index.md, log.md, backlinks
- New lint phase: detects contradictions, orphan pages, stale claims, coverage gaps
- Pluggable compute backend via AGENTOPS_COMPILE_RUNTIME (ollama|claude|openai)
- Hash-based incremental compilation (only recompile changed sources)
- compile.sh engine with security fixes (no shell injection, path traversal guard)
- Full rename across 93 files: skills, docs, CLI, tests, hooks, scripts, codex
Existing Mine → Grow → Defrag cycle preserved as phases within the larger
compile workflow. No vector DB — compiled wiki IS the retrieval layer.
2026-04-05 17:57:40 -04:00
|
|
|
--compile Enable Compile producer cadence before queue selection
|
|
|
|
|
--compile-defrag Run defrag sweep after Compile mine producer tick
|
|
|
|
|
--compile-interval duration Minimum interval between Compile producer ticks (0 = every cycle) (default 30m0s)
|
|
|
|
|
--compile-since string Lookback window for Compile mine producer (default "26h")
|
2026-02-21 19:41:50 -05:00
|
|
|
--cycle-delay duration Delay between completed cycles
|
|
|
|
|
--cycle-retries int Automatic retry count per cycle after a failed attempt
|
|
|
|
|
--detached-branch-prefix string Branch prefix used by detached HEAD self-heal (default "codex/auto-rpi")
|
|
|
|
|
--detached-heal Auto-create/switch to a named branch when HEAD is detached
|
|
|
|
|
--ensure-cleanup Run stale-run cleanup after each cycle (cleanup guarantee)
|
|
|
|
|
--failure-policy string Cycle failure policy: stop|continue (default "stop")
|
|
|
|
|
--gate-fast-script string Fast validation gate script path (default "scripts/validate-go-fast.sh")
|
|
|
|
|
--gate-policy string Quality/security gate policy: off|best-effort|required (default "off")
|
|
|
|
|
--gate-security-script string Security gate script path (default "scripts/security-gate.sh")
|
|
|
|
|
-h, --help help for loop
|
2026-02-21 21:46:54 -05:00
|
|
|
--kill-switch-path string Supervisor kill-switch file path checked at cycle boundaries (absolute or repo-relative) (default ".agents/rpi/KILL")
|
2026-02-21 19:41:50 -05:00
|
|
|
--landing-branch string Landing target branch (empty resolves origin/HEAD, then current branch, then main)
|
|
|
|
|
--landing-commit-message string Commit message template for landing policies that commit (default "chore(rpi): autonomous cycle {{cycle}}")
|
2026-02-21 21:18:52 -05:00
|
|
|
--landing-lock-path string Landing lock file path for synchronized integration (absolute or repo-relative) (default ".agents/rpi/landing.lock")
|
2026-02-21 21:46:54 -05:00
|
|
|
--landing-policy string Landing policy after successful cycle: off|commit|sync-push (default "off")
|
2026-02-21 19:41:50 -05:00
|
|
|
--lease Acquire a single-flight supervisor lease lock before running
|
|
|
|
|
--lease-path string Lease lock file path (absolute or repo-relative) (default ".agents/rpi/supervisor.lock")
|
|
|
|
|
--lease-ttl duration Lease heartbeat TTL for supervisor lock metadata (default 2m0s)
|
|
|
|
|
--max-cycles int Maximum cycles (0 = unlimited, stop when queue empty)
|
2026-02-26 21:35:05 -05:00
|
|
|
--ralph Enable Ralph-mode preset for unattended external loop supervision (implies supervisor defaults with safe nonstop settings)
|
2026-02-21 19:41:50 -05:00
|
|
|
--repo-filter string Only process queue items targeting this repo (empty = all)
|
|
|
|
|
--retry-backoff duration Backoff between cycle retry attempts (default 30s)
|
|
|
|
|
--supervisor Enable autonomous supervisor mode (lease lock, self-heal, retries, gates, cleanup)
|
|
|
|
|
```
|
|
|
|
|
|
2026-02-26 21:35:05 -05:00
|
|
|
#### `ao rpi nudge`
|
|
|
|
|
|
|
|
|
|
Send a message to an active tmux-backed RPI phase session.
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
ao rpi nudge [message] [flags]
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
**Flags:**
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
--all-workers Send nudge to every worker session for the phase
|
|
|
|
|
-h, --help help for nudge
|
|
|
|
|
--message string Nudge message to send
|
|
|
|
|
--phase int Phase number to target (1-3; defaults to run's current phase)
|
|
|
|
|
--run-id string Run ID to target (defaults to latest phased state)
|
|
|
|
|
--worker int Send nudge to one worker (for example: 1)
|
|
|
|
|
```
|
|
|
|
|
|
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
|
|
|
#### `ao rpi parallel`
|
2026-02-24 05:29:34 -05:00
|
|
|
|
|
|
|
|
Run multiple RPI epics concurrently, each in an isolated git worktree.
|
|
|
|
|
|
|
|
|
|
```
|
2026-02-26 06:42:03 -05:00
|
|
|
ao rpi parallel [goals...] [flags]
|
2026-02-24 05:29:34 -05:00
|
|
|
```
|
|
|
|
|
|
|
|
|
|
**Flags:**
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
--gate-script string Validation script to run after all merges (e.g., scripts/ci-local-release.sh)
|
|
|
|
|
-h, --help help for parallel
|
|
|
|
|
--manifest string Path to epic manifest file (JSON)
|
|
|
|
|
--merge-order string Comma-separated epic names for merge order (default: manifest order or arg order)
|
|
|
|
|
--no-merge Skip auto-merge (leave worktrees for manual review)
|
|
|
|
|
--phase-timeout duration Timeout per epic (kills subprocess if exceeded) (default 1h30m0s)
|
|
|
|
|
--runtime-cmd string Runtime command for phased sessions (default: claude)
|
|
|
|
|
--tmux Spawn epics in tmux windows for interactive visibility
|
|
|
|
|
```
|
|
|
|
|
|
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
|
|
|
#### `ao rpi phased`
|
2026-02-21 19:41:50 -05:00
|
|
|
|
|
|
|
|
Orchestrate the full RPI lifecycle using 3 consolidated phases.
|
|
|
|
|
|
|
|
|
|
```
|
2026-02-26 06:42:03 -05:00
|
|
|
ao rpi phased <goal> [flags]
|
2026-02-21 19:41:50 -05:00
|
|
|
```
|
|
|
|
|
|
|
|
|
|
**Flags:**
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
--auto-clean-stale Run stale-run cleanup before starting phased execution
|
|
|
|
|
--auto-clean-stale-after duration Only clean stale runs older than this age when auto-clean is enabled (default 24h0m0s)
|
2026-03-03 14:38:28 -05:00
|
|
|
--budget string Override phase budgets in seconds (<phase>:<seconds>, comma-separated), e.g. discovery:300,validation:120
|
2026-04-11 10:19:50 -04:00
|
|
|
--discovery-artifact string Path to a pre-validated discovery artifact (markdown) used to skip Phase 1 when combined with --from=implementation
|
2026-02-21 19:41:50 -05:00
|
|
|
--fast-path Force fast path (--quick for gates)
|
|
|
|
|
--from string Start from phase (discovery, implementation, validation; aliases: research, plan, pre-mortem, crank, vibe, post-mortem) (default "discovery")
|
|
|
|
|
-h, --help help for phased
|
|
|
|
|
--interactive Enable human gates at research and plan phases
|
|
|
|
|
--live-status Stream phase progress to a live-status.md file
|
|
|
|
|
--max-retries int Maximum retry attempts per gate (default: 3) (default 3)
|
2026-04-05 09:15:27 -04:00
|
|
|
--mixed Enable cross-vendor mixed-model execution (planner and reviewer from different vendors)
|
2026-03-03 14:38:28 -05:00
|
|
|
--no-budget Disable all phase budgets and run without time-box transitions
|
|
|
|
|
--no-dashboard Disable auto-opening the web dashboard
|
|
|
|
|
--no-test-first Opt out of strict-quality spec-first execution (do not pass --test-first to /crank)
|
2026-02-21 19:41:50 -05:00
|
|
|
--no-worktree Disable worktree isolation (run in current directory)
|
|
|
|
|
--phase-timeout duration Maximum wall-clock runtime per phase (0 disables timeout) (default 1h30m0s)
|
2026-02-26 21:35:05 -05:00
|
|
|
--runtime string Phase runtime mode: auto|direct|stream|tmux (default "auto")
|
2026-02-26 14:08:15 -05:00
|
|
|
--runtime-cmd string Runtime command used for phase prompts (Claude uses '-p'; Codex uses 'exec') (default "claude")
|
2026-02-21 19:41:50 -05:00
|
|
|
--stall-timeout duration Maximum time without progress before declaring stall (0 disables) (default 10m0s)
|
|
|
|
|
--stream-startup-timeout duration Maximum time to wait for first stream event before falling back to direct execution (0 disables) (default 45s)
|
|
|
|
|
--swarm-first Default each phase to swarm/agent-team execution; fall back to direct execution if swarm runtime is unavailable (default true)
|
2026-03-03 14:38:28 -05:00
|
|
|
--test-first Default to strict-quality spec-first execution by passing --test-first to /crank (default true)
|
2026-02-26 21:35:05 -05:00
|
|
|
--tmux-workers int When --runtime tmux, number of worker sessions spawned per phase (default 1)
|
2026-02-21 19:41:50 -05:00
|
|
|
```
|
|
|
|
|
|
2026-02-28 19:56:10 -05:00
|
|
|
#### `ao rpi serve`
|
|
|
|
|
|
2026-03-01 06:41:02 -05:00
|
|
|
Start a production RPI orchestration run or stream its live dashboard.
|
2026-02-28 19:56:10 -05:00
|
|
|
|
|
|
|
|
```
|
2026-03-01 06:41:02 -05:00
|
|
|
ao rpi serve [goal | run-id] [flags]
|
2026-02-28 19:56:10 -05:00
|
|
|
```
|
|
|
|
|
|
|
|
|
|
**Flags:**
|
|
|
|
|
|
|
|
|
|
```
|
2026-04-05 09:15:27 -04:00
|
|
|
-h, --help help for serve
|
|
|
|
|
--no-open Do not open browser automatically
|
|
|
|
|
--orchestrate Treat first argument as a goal and run full RPI orchestration
|
|
|
|
|
--port int Port to listen on (default 7799)
|
|
|
|
|
--run-id string Run ID to watch explicitly (must match rpi-<8-12 hex> or <12 hex>)
|
|
|
|
|
--runtime string Phase runtime mode for orchestration: auto|direct|stream|tmux
|
|
|
|
|
--runtime-cmd string Runtime command for orchestration phase prompts (Claude uses '-p'; Codex uses 'exec')
|
2026-02-28 19:56:10 -05:00
|
|
|
```
|
|
|
|
|
|
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
|
|
|
#### `ao rpi status`
|
2026-02-21 19:41:50 -05:00
|
|
|
|
|
|
|
|
Display active and recent RPI phased runs.
|
|
|
|
|
|
|
|
|
|
```
|
2026-02-26 06:42:03 -05:00
|
|
|
ao rpi status [flags]
|
2026-02-21 19:41:50 -05:00
|
|
|
```
|
|
|
|
|
|
|
|
|
|
**Flags:**
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
-h, --help help for status
|
|
|
|
|
--watch Poll every 5s and redraw (Ctrl-C to exit)
|
|
|
|
|
```
|
|
|
|
|
|
2026-02-26 21:35:05 -05:00
|
|
|
#### `ao rpi stream`
|
|
|
|
|
|
|
|
|
|
Read normalized per-run C2 events from events.jsonl.
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
ao rpi stream [flags]
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
**Flags:**
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
--follow Follow for newly appended events
|
|
|
|
|
--format string Output format: human|json|sse (default "human")
|
|
|
|
|
-h, --help help for stream
|
|
|
|
|
--run-id string Run ID to stream (defaults to latest phased state)
|
|
|
|
|
```
|
|
|
|
|
|
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
|
|
|
#### `ao rpi verify`
|
2026-02-21 19:41:50 -05:00
|
|
|
|
|
|
|
|
Verify integrity of the RPI ledger.
|
|
|
|
|
|
|
|
|
|
```
|
2026-02-26 06:42:03 -05:00
|
|
|
ao rpi verify [flags]
|
2026-02-21 19:41:50 -05:00
|
|
|
```
|
|
|
|
|
|
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
|
|
|
---
|
|
|
|
|
|
|
|
|
|
### `ao session`
|
2026-02-21 19:41:50 -05:00
|
|
|
|
|
|
|
|
Session lifecycle operations.
|
|
|
|
|
|
|
|
|
|
```
|
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
|
|
|
ao session [command]
|
2026-02-21 19:41:50 -05:00
|
|
|
```
|
|
|
|
|
|
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
|
|
|
**Subcommands:**
|
|
|
|
|
|
|
|
|
|
#### `ao session close`
|
2026-02-21 19:41:50 -05:00
|
|
|
|
|
|
|
|
Close a session by forging its transcript, extracting learnings,
|
|
|
|
|
|
|
|
|
|
```
|
2026-02-26 06:42:03 -05:00
|
|
|
ao session close [flags]
|
2026-02-21 19:41:50 -05:00
|
|
|
```
|
|
|
|
|
|
|
|
|
|
**Flags:**
|
|
|
|
|
|
|
|
|
|
```
|
2026-04-05 09:15:27 -04:00
|
|
|
--auto-extract Extract lightweight learnings (quality-filtered) and write handoff artifact
|
2026-02-21 19:41:50 -05:00
|
|
|
-h, --help help for close
|
|
|
|
|
--session string Session ID to close (default: most recent transcript)
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
2026-02-23 12:32:23 -05:00
|
|
|
### `ao completion`
|
2026-02-21 19:41:50 -05:00
|
|
|
|
2026-02-23 12:32:23 -05:00
|
|
|
Generate shell completion scripts for ao.
|
2026-02-21 19:41:50 -05:00
|
|
|
|
|
|
|
|
```
|
2026-02-23 12:32:23 -05:00
|
|
|
ao completion [bash|zsh|fish]
|
2026-02-21 19:41:50 -05:00
|
|
|
```
|
|
|
|
|
|
2026-02-23 12:32:23 -05:00
|
|
|
---
|
2026-02-21 19:41:50 -05:00
|
|
|
|
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
|
|
|
### `ao config`
|
2026-02-21 19:41:50 -05:00
|
|
|
|
2026-02-23 12:32:23 -05:00
|
|
|
View and manage AgentOps configuration.
|
2026-02-21 19:41:50 -05:00
|
|
|
|
2026-02-23 12:32:23 -05:00
|
|
|
```
|
2026-04-05 09:15:27 -04:00
|
|
|
ao config [command]
|
2026-02-23 12:32:23 -05:00
|
|
|
```
|
2026-02-21 19:41:50 -05:00
|
|
|
|
2026-02-23 12:32:23 -05:00
|
|
|
**Flags:**
|
2026-02-21 19:41:50 -05:00
|
|
|
|
|
|
|
|
```
|
2026-02-23 12:32:23 -05:00
|
|
|
-h, --help help for config
|
|
|
|
|
--show Show resolved configuration with sources
|
2026-02-21 19:41:50 -05:00
|
|
|
```
|
|
|
|
|
|
2026-04-05 09:15:27 -04:00
|
|
|
**Subcommands:**
|
|
|
|
|
|
|
|
|
|
#### `ao config models`
|
|
|
|
|
|
|
|
|
|
Display the current model cost tier settings with sources.
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
ao config models [flags]
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
**Flags:**
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
-h, --help help for models
|
|
|
|
|
--set-skill string Set a skill-specific tier override (e.g. council=quality)
|
|
|
|
|
--set-tier string Set the default model cost tier (quality, balanced, budget)
|
|
|
|
|
```
|
|
|
|
|
|
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
|
|
|
---
|
|
|
|
|
|
|
|
|
|
### `ao hooks`
|
2026-02-21 19:41:50 -05:00
|
|
|
|
2026-04-05 09:15:27 -04:00
|
|
|
The hooks command manages runtime hooks that automate the CASS knowledge flywheel.
|
2026-02-21 19:41:50 -05:00
|
|
|
|
|
|
|
|
```
|
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
|
|
|
ao hooks [command]
|
2026-02-21 19:41:50 -05:00
|
|
|
```
|
|
|
|
|
|
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
|
|
|
**Subcommands:**
|
|
|
|
|
|
|
|
|
|
#### `ao hooks init`
|
2026-02-21 19:41:50 -05:00
|
|
|
|
2026-04-05 09:15:27 -04:00
|
|
|
Generate hooks configuration for the CASS knowledge flywheel (Claude Code format).
|
2026-02-21 19:41:50 -05:00
|
|
|
|
|
|
|
|
```
|
2026-02-26 06:42:03 -05:00
|
|
|
ao hooks init [flags]
|
2026-02-21 19:41:50 -05:00
|
|
|
```
|
|
|
|
|
|
|
|
|
|
**Flags:**
|
|
|
|
|
|
|
|
|
|
```
|
2026-02-23 12:32:23 -05:00
|
|
|
--format string Output format: json, shell (default "json")
|
|
|
|
|
-h, --help help for init
|
2026-02-21 19:41:50 -05:00
|
|
|
```
|
|
|
|
|
|
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
|
|
|
#### `ao hooks install`
|
2026-02-21 19:41:50 -05:00
|
|
|
|
2026-02-23 12:32:23 -05:00
|
|
|
Install ao hooks to ~/.claude/settings.json.
|
2026-02-21 19:41:50 -05:00
|
|
|
|
|
|
|
|
```
|
2026-02-26 06:42:03 -05:00
|
|
|
ao hooks install [flags]
|
2026-02-21 19:41:50 -05:00
|
|
|
```
|
|
|
|
|
|
|
|
|
|
**Flags:**
|
|
|
|
|
|
|
|
|
|
```
|
2026-02-23 12:32:23 -05:00
|
|
|
--dry-run Show what would be installed without making changes
|
|
|
|
|
--force Overwrite existing ao hooks
|
|
|
|
|
--full Install all hook events from hooks.json with scripts copied to ~/.agentops/
|
|
|
|
|
-h, --help help for install
|
|
|
|
|
--source-dir string Path to agentops repo checkout (for --full script installation)
|
2026-02-21 19:41:50 -05:00
|
|
|
```
|
|
|
|
|
|
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
|
|
|
#### `ao hooks show`
|
2026-02-21 19:41:50 -05:00
|
|
|
|
2026-04-05 09:15:27 -04:00
|
|
|
Display the current hooks configuration from ~/.claude/settings.json (Claude Code runtime).
|
2026-02-21 19:41:50 -05:00
|
|
|
|
|
|
|
|
```
|
2026-02-26 06:42:03 -05:00
|
|
|
ao hooks show [flags]
|
2026-02-21 19:41:50 -05:00
|
|
|
```
|
|
|
|
|
|
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
|
|
|
#### `ao hooks test`
|
2026-02-23 12:32:23 -05:00
|
|
|
|
|
|
|
|
Test that all hook dependencies are available and working.
|
2026-02-21 19:41:50 -05:00
|
|
|
|
|
|
|
|
```
|
2026-02-26 06:42:03 -05:00
|
|
|
ao hooks test [flags]
|
2026-02-21 19:41:50 -05:00
|
|
|
```
|
|
|
|
|
|
2026-02-23 12:32:23 -05:00
|
|
|
**Flags:**
|
2026-02-21 19:41:50 -05:00
|
|
|
|
|
|
|
|
```
|
2026-02-23 12:32:23 -05:00
|
|
|
--dry-run Show test steps without running hooks
|
|
|
|
|
-h, --help help for test
|
2026-02-21 19:41:50 -05:00
|
|
|
```
|
|
|
|
|
|
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
|
|
|
---
|
|
|
|
|
|
|
|
|
|
### `ao memory`
|
2026-02-21 19:41:50 -05:00
|
|
|
|
2026-02-26 05:48:41 -05:00
|
|
|
Manage repo-root MEMORY.md for cross-runtime access
|
2026-02-21 19:41:50 -05:00
|
|
|
|
|
|
|
|
```
|
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
|
|
|
ao memory [command]
|
2026-02-21 19:41:50 -05:00
|
|
|
```
|
|
|
|
|
|
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
|
|
|
**Subcommands:**
|
|
|
|
|
|
|
|
|
|
#### `ao memory sync`
|
2026-02-21 19:41:50 -05:00
|
|
|
|
2026-02-26 05:48:41 -05:00
|
|
|
Write recent session history to a repo-root MEMORY.md with managed block markers.
|
2026-02-21 19:41:50 -05:00
|
|
|
|
|
|
|
|
```
|
2026-02-26 06:42:03 -05:00
|
|
|
ao memory sync [flags]
|
2026-02-21 19:41:50 -05:00
|
|
|
```
|
|
|
|
|
|
2026-02-26 05:48:41 -05:00
|
|
|
**Flags:**
|
2026-02-21 19:41:50 -05:00
|
|
|
|
2026-02-23 12:32:23 -05:00
|
|
|
```
|
2026-03-02 07:30:30 -05:00
|
|
|
-h, --help help for sync
|
|
|
|
|
--max-entries int Maximum session entries to keep (default 10)
|
|
|
|
|
--output-file string Output path (default: MEMORY.md in repo root)
|
|
|
|
|
--quiet Suppress output
|
2026-02-23 12:32:23 -05:00
|
|
|
```
|
2026-02-21 19:41:50 -05:00
|
|
|
|
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
|
|
|
---
|
|
|
|
|
|
|
|
|
|
### `ao notebook`
|
2026-02-26 05:48:41 -05:00
|
|
|
|
|
|
|
|
Manage the session notebook (MEMORY.md)
|
2026-02-21 19:41:50 -05:00
|
|
|
|
|
|
|
|
```
|
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
|
|
|
ao notebook [command]
|
2026-02-21 19:41:50 -05:00
|
|
|
```
|
|
|
|
|
|
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
|
|
|
**Subcommands:**
|
|
|
|
|
|
|
|
|
|
#### `ao notebook update`
|
2026-02-23 12:32:23 -05:00
|
|
|
|
2026-02-26 05:48:41 -05:00
|
|
|
Reads the most recent session data and updates MEMORY.md with a "Last Session"
|
2026-02-21 19:41:50 -05:00
|
|
|
|
|
|
|
|
```
|
2026-02-26 06:42:03 -05:00
|
|
|
ao notebook update [flags]
|
2026-02-21 19:41:50 -05:00
|
|
|
```
|
|
|
|
|
|
2026-02-26 05:48:41 -05:00
|
|
|
**Flags:**
|
fix: resolve 32 vibe findings (2 critical, 7 high, 12 medium, 11 low)
Fix all findings from the v2.17.0..HEAD vibe review across 12 source files:
Critical: panic guards for negative budget in truncateToCharBudget and
dead prefix slice in generateArtifactID. High: bead override in batch
extract, json file counting in metrics, constraint index.json exclusion,
complexity reduction in curate status/verify (38→<25), flexible hook
script count assertion. Medium: truncate panic guards, error logging for
silent failures, null→[] JSON output, goals auto-detect (GOALS.md then
GOALS.yaml), raw var→getter usage, truncate-before-lock race fix. Low:
scanner.Err() checks, os.Stdout→cmd.OutOrStdout(), dry-run output
differentiation.
Docs: 5 missing INDEX.md concept links, curation-pipeline v1 status
callout. Tests: new TestSeed_DryRun_JSON. Regen: COMMANDS.md, embedded
hooks synced. All gates pass: build, vet, test, gocyclo, heal, doc-gate.
2026-02-24 16:51:26 -05:00
|
|
|
|
|
|
|
|
```
|
2026-02-26 05:48:41 -05:00
|
|
|
-h, --help help for update
|
|
|
|
|
--max-lines int Maximum lines in MEMORY.md (default 190)
|
|
|
|
|
--memory-file string Path to MEMORY.md (auto-detected if omitted)
|
|
|
|
|
--quiet Suppress output (for hooks)
|
|
|
|
|
--session string Specific session ID to update from
|
|
|
|
|
--source string Source: auto|sessions|pending (default "auto")
|
fix: resolve 32 vibe findings (2 critical, 7 high, 12 medium, 11 low)
Fix all findings from the v2.17.0..HEAD vibe review across 12 source files:
Critical: panic guards for negative budget in truncateToCharBudget and
dead prefix slice in generateArtifactID. High: bead override in batch
extract, json file counting in metrics, constraint index.json exclusion,
complexity reduction in curate status/verify (38→<25), flexible hook
script count assertion. Medium: truncate panic guards, error logging for
silent failures, null→[] JSON output, goals auto-detect (GOALS.md then
GOALS.yaml), raw var→getter usage, truncate-before-lock race fix. Low:
scanner.Err() checks, os.Stdout→cmd.OutOrStdout(), dry-run output
differentiation.
Docs: 5 missing INDEX.md concept links, curation-pipeline v1 status
callout. Tests: new TestSeed_DryRun_JSON. Regen: COMMANDS.md, embedded
hooks synced. All gates pass: build, vet, test, gocyclo, heal, doc-gate.
2026-02-24 16:51:26 -05:00
|
|
|
```
|
|
|
|
|
|
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
|
|
|
---
|
|
|
|
|
|
|
|
|
|
### `ao plans`
|
fix: resolve 32 vibe findings (2 critical, 7 high, 12 medium, 11 low)
Fix all findings from the v2.17.0..HEAD vibe review across 12 source files:
Critical: panic guards for negative budget in truncateToCharBudget and
dead prefix slice in generateArtifactID. High: bead override in batch
extract, json file counting in metrics, constraint index.json exclusion,
complexity reduction in curate status/verify (38→<25), flexible hook
script count assertion. Medium: truncate panic guards, error logging for
silent failures, null→[] JSON output, goals auto-detect (GOALS.md then
GOALS.yaml), raw var→getter usage, truncate-before-lock race fix. Low:
scanner.Err() checks, os.Stdout→cmd.OutOrStdout(), dry-run output
differentiation.
Docs: 5 missing INDEX.md concept links, curation-pipeline v1 status
callout. Tests: new TestSeed_DryRun_JSON. Regen: COMMANDS.md, embedded
hooks synced. All gates pass: build, vet, test, gocyclo, heal, doc-gate.
2026-02-24 16:51:26 -05:00
|
|
|
|
2026-02-26 05:48:41 -05:00
|
|
|
Plans manages the plan manifest at .agents/plans/manifest.jsonl.
|
fix: resolve 32 vibe findings (2 critical, 7 high, 12 medium, 11 low)
Fix all findings from the v2.17.0..HEAD vibe review across 12 source files:
Critical: panic guards for negative budget in truncateToCharBudget and
dead prefix slice in generateArtifactID. High: bead override in batch
extract, json file counting in metrics, constraint index.json exclusion,
complexity reduction in curate status/verify (38→<25), flexible hook
script count assertion. Medium: truncate panic guards, error logging for
silent failures, null→[] JSON output, goals auto-detect (GOALS.md then
GOALS.yaml), raw var→getter usage, truncate-before-lock race fix. Low:
scanner.Err() checks, os.Stdout→cmd.OutOrStdout(), dry-run output
differentiation.
Docs: 5 missing INDEX.md concept links, curation-pipeline v1 status
callout. Tests: new TestSeed_DryRun_JSON. Regen: COMMANDS.md, embedded
hooks synced. All gates pass: build, vet, test, gocyclo, heal, doc-gate.
2026-02-24 16:51:26 -05:00
|
|
|
|
|
|
|
|
```
|
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
|
|
|
ao plans [command]
|
fix: resolve 32 vibe findings (2 critical, 7 high, 12 medium, 11 low)
Fix all findings from the v2.17.0..HEAD vibe review across 12 source files:
Critical: panic guards for negative budget in truncateToCharBudget and
dead prefix slice in generateArtifactID. High: bead override in batch
extract, json file counting in metrics, constraint index.json exclusion,
complexity reduction in curate status/verify (38→<25), flexible hook
script count assertion. Medium: truncate panic guards, error logging for
silent failures, null→[] JSON output, goals auto-detect (GOALS.md then
GOALS.yaml), raw var→getter usage, truncate-before-lock race fix. Low:
scanner.Err() checks, os.Stdout→cmd.OutOrStdout(), dry-run output
differentiation.
Docs: 5 missing INDEX.md concept links, curation-pipeline v1 status
callout. Tests: new TestSeed_DryRun_JSON. Regen: COMMANDS.md, embedded
hooks synced. All gates pass: build, vet, test, gocyclo, heal, doc-gate.
2026-02-24 16:51:26 -05:00
|
|
|
```
|
|
|
|
|
|
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
|
|
|
**Subcommands:**
|
|
|
|
|
|
|
|
|
|
#### `ao plans diff`
|
fix: resolve 32 vibe findings (2 critical, 7 high, 12 medium, 11 low)
Fix all findings from the v2.17.0..HEAD vibe review across 12 source files:
Critical: panic guards for negative budget in truncateToCharBudget and
dead prefix slice in generateArtifactID. High: bead override in batch
extract, json file counting in metrics, constraint index.json exclusion,
complexity reduction in curate status/verify (38→<25), flexible hook
script count assertion. Medium: truncate panic guards, error logging for
silent failures, null→[] JSON output, goals auto-detect (GOALS.md then
GOALS.yaml), raw var→getter usage, truncate-before-lock race fix. Low:
scanner.Err() checks, os.Stdout→cmd.OutOrStdout(), dry-run output
differentiation.
Docs: 5 missing INDEX.md concept links, curation-pipeline v1 status
callout. Tests: new TestSeed_DryRun_JSON. Regen: COMMANDS.md, embedded
hooks synced. All gates pass: build, vet, test, gocyclo, heal, doc-gate.
2026-02-24 16:51:26 -05:00
|
|
|
|
2026-02-26 05:48:41 -05:00
|
|
|
Diff compares the plan manifest against beads reality.
|
fix: resolve 32 vibe findings (2 critical, 7 high, 12 medium, 11 low)
Fix all findings from the v2.17.0..HEAD vibe review across 12 source files:
Critical: panic guards for negative budget in truncateToCharBudget and
dead prefix slice in generateArtifactID. High: bead override in batch
extract, json file counting in metrics, constraint index.json exclusion,
complexity reduction in curate status/verify (38→<25), flexible hook
script count assertion. Medium: truncate panic guards, error logging for
silent failures, null→[] JSON output, goals auto-detect (GOALS.md then
GOALS.yaml), raw var→getter usage, truncate-before-lock race fix. Low:
scanner.Err() checks, os.Stdout→cmd.OutOrStdout(), dry-run output
differentiation.
Docs: 5 missing INDEX.md concept links, curation-pipeline v1 status
callout. Tests: new TestSeed_DryRun_JSON. Regen: COMMANDS.md, embedded
hooks synced. All gates pass: build, vet, test, gocyclo, heal, doc-gate.
2026-02-24 16:51:26 -05:00
|
|
|
|
|
|
|
|
```
|
2026-02-26 06:42:03 -05:00
|
|
|
ao plans diff [flags]
|
fix: resolve 32 vibe findings (2 critical, 7 high, 12 medium, 11 low)
Fix all findings from the v2.17.0..HEAD vibe review across 12 source files:
Critical: panic guards for negative budget in truncateToCharBudget and
dead prefix slice in generateArtifactID. High: bead override in batch
extract, json file counting in metrics, constraint index.json exclusion,
complexity reduction in curate status/verify (38→<25), flexible hook
script count assertion. Medium: truncate panic guards, error logging for
silent failures, null→[] JSON output, goals auto-detect (GOALS.md then
GOALS.yaml), raw var→getter usage, truncate-before-lock race fix. Low:
scanner.Err() checks, os.Stdout→cmd.OutOrStdout(), dry-run output
differentiation.
Docs: 5 missing INDEX.md concept links, curation-pipeline v1 status
callout. Tests: new TestSeed_DryRun_JSON. Regen: COMMANDS.md, embedded
hooks synced. All gates pass: build, vet, test, gocyclo, heal, doc-gate.
2026-02-24 16:51:26 -05:00
|
|
|
```
|
|
|
|
|
|
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
|
|
|
#### `ao plans list`
|
fix: resolve 32 vibe findings (2 critical, 7 high, 12 medium, 11 low)
Fix all findings from the v2.17.0..HEAD vibe review across 12 source files:
Critical: panic guards for negative budget in truncateToCharBudget and
dead prefix slice in generateArtifactID. High: bead override in batch
extract, json file counting in metrics, constraint index.json exclusion,
complexity reduction in curate status/verify (38→<25), flexible hook
script count assertion. Medium: truncate panic guards, error logging for
silent failures, null→[] JSON output, goals auto-detect (GOALS.md then
GOALS.yaml), raw var→getter usage, truncate-before-lock race fix. Low:
scanner.Err() checks, os.Stdout→cmd.OutOrStdout(), dry-run output
differentiation.
Docs: 5 missing INDEX.md concept links, curation-pipeline v1 status
callout. Tests: new TestSeed_DryRun_JSON. Regen: COMMANDS.md, embedded
hooks synced. All gates pass: build, vet, test, gocyclo, heal, doc-gate.
2026-02-24 16:51:26 -05:00
|
|
|
|
2026-02-26 05:48:41 -05:00
|
|
|
List shows all plans in the manifest.
|
fix: resolve 32 vibe findings (2 critical, 7 high, 12 medium, 11 low)
Fix all findings from the v2.17.0..HEAD vibe review across 12 source files:
Critical: panic guards for negative budget in truncateToCharBudget and
dead prefix slice in generateArtifactID. High: bead override in batch
extract, json file counting in metrics, constraint index.json exclusion,
complexity reduction in curate status/verify (38→<25), flexible hook
script count assertion. Medium: truncate panic guards, error logging for
silent failures, null→[] JSON output, goals auto-detect (GOALS.md then
GOALS.yaml), raw var→getter usage, truncate-before-lock race fix. Low:
scanner.Err() checks, os.Stdout→cmd.OutOrStdout(), dry-run output
differentiation.
Docs: 5 missing INDEX.md concept links, curation-pipeline v1 status
callout. Tests: new TestSeed_DryRun_JSON. Regen: COMMANDS.md, embedded
hooks synced. All gates pass: build, vet, test, gocyclo, heal, doc-gate.
2026-02-24 16:51:26 -05:00
|
|
|
|
|
|
|
|
```
|
2026-02-26 06:42:03 -05:00
|
|
|
ao plans list [flags]
|
fix: resolve 32 vibe findings (2 critical, 7 high, 12 medium, 11 low)
Fix all findings from the v2.17.0..HEAD vibe review across 12 source files:
Critical: panic guards for negative budget in truncateToCharBudget and
dead prefix slice in generateArtifactID. High: bead override in batch
extract, json file counting in metrics, constraint index.json exclusion,
complexity reduction in curate status/verify (38→<25), flexible hook
script count assertion. Medium: truncate panic guards, error logging for
silent failures, null→[] JSON output, goals auto-detect (GOALS.md then
GOALS.yaml), raw var→getter usage, truncate-before-lock race fix. Low:
scanner.Err() checks, os.Stdout→cmd.OutOrStdout(), dry-run output
differentiation.
Docs: 5 missing INDEX.md concept links, curation-pipeline v1 status
callout. Tests: new TestSeed_DryRun_JSON. Regen: COMMANDS.md, embedded
hooks synced. All gates pass: build, vet, test, gocyclo, heal, doc-gate.
2026-02-24 16:51:26 -05:00
|
|
|
```
|
|
|
|
|
|
2026-02-26 05:48:41 -05:00
|
|
|
**Flags:**
|
fix: resolve 32 vibe findings (2 critical, 7 high, 12 medium, 11 low)
Fix all findings from the v2.17.0..HEAD vibe review across 12 source files:
Critical: panic guards for negative budget in truncateToCharBudget and
dead prefix slice in generateArtifactID. High: bead override in batch
extract, json file counting in metrics, constraint index.json exclusion,
complexity reduction in curate status/verify (38→<25), flexible hook
script count assertion. Medium: truncate panic guards, error logging for
silent failures, null→[] JSON output, goals auto-detect (GOALS.md then
GOALS.yaml), raw var→getter usage, truncate-before-lock race fix. Low:
scanner.Err() checks, os.Stdout→cmd.OutOrStdout(), dry-run output
differentiation.
Docs: 5 missing INDEX.md concept links, curation-pipeline v1 status
callout. Tests: new TestSeed_DryRun_JSON. Regen: COMMANDS.md, embedded
hooks synced. All gates pass: build, vet, test, gocyclo, heal, doc-gate.
2026-02-24 16:51:26 -05:00
|
|
|
|
|
|
|
|
```
|
2026-02-26 05:48:41 -05:00
|
|
|
-h, --help help for list
|
|
|
|
|
--project string Filter by project path
|
|
|
|
|
--status string Filter by status (active, completed, abandoned, superseded)
|
fix: resolve 32 vibe findings (2 critical, 7 high, 12 medium, 11 low)
Fix all findings from the v2.17.0..HEAD vibe review across 12 source files:
Critical: panic guards for negative budget in truncateToCharBudget and
dead prefix slice in generateArtifactID. High: bead override in batch
extract, json file counting in metrics, constraint index.json exclusion,
complexity reduction in curate status/verify (38→<25), flexible hook
script count assertion. Medium: truncate panic guards, error logging for
silent failures, null→[] JSON output, goals auto-detect (GOALS.md then
GOALS.yaml), raw var→getter usage, truncate-before-lock race fix. Low:
scanner.Err() checks, os.Stdout→cmd.OutOrStdout(), dry-run output
differentiation.
Docs: 5 missing INDEX.md concept links, curation-pipeline v1 status
callout. Tests: new TestSeed_DryRun_JSON. Regen: COMMANDS.md, embedded
hooks synced. All gates pass: build, vet, test, gocyclo, heal, doc-gate.
2026-02-24 16:51:26 -05:00
|
|
|
```
|
|
|
|
|
|
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
|
|
|
#### `ao plans register`
|
2026-02-24 21:19:46 -05:00
|
|
|
|
2026-02-26 05:48:41 -05:00
|
|
|
Register adds a plan to the manifest.jsonl for discovery.
|
2026-02-24 21:19:46 -05:00
|
|
|
|
|
|
|
|
```
|
2026-02-26 06:42:03 -05:00
|
|
|
ao plans register <plan-path> [flags]
|
2026-02-24 21:19:46 -05:00
|
|
|
```
|
|
|
|
|
|
2026-02-26 05:48:41 -05:00
|
|
|
**Flags:**
|
fix: resolve 32 vibe findings (2 critical, 7 high, 12 medium, 11 low)
Fix all findings from the v2.17.0..HEAD vibe review across 12 source files:
Critical: panic guards for negative budget in truncateToCharBudget and
dead prefix slice in generateArtifactID. High: bead override in batch
extract, json file counting in metrics, constraint index.json exclusion,
complexity reduction in curate status/verify (38→<25), flexible hook
script count assertion. Medium: truncate panic guards, error logging for
silent failures, null→[] JSON output, goals auto-detect (GOALS.md then
GOALS.yaml), raw var→getter usage, truncate-before-lock race fix. Low:
scanner.Err() checks, os.Stdout→cmd.OutOrStdout(), dry-run output
differentiation.
Docs: 5 missing INDEX.md concept links, curation-pipeline v1 status
callout. Tests: new TestSeed_DryRun_JSON. Regen: COMMANDS.md, embedded
hooks synced. All gates pass: build, vet, test, gocyclo, heal, doc-gate.
2026-02-24 16:51:26 -05:00
|
|
|
|
|
|
|
|
```
|
2026-02-26 05:48:41 -05:00
|
|
|
--beads-id string Beads issue/epic ID this plan implements
|
|
|
|
|
-h, --help help for register
|
|
|
|
|
--name string Human-readable plan name
|
|
|
|
|
--project string Project path this plan applies to
|
fix: resolve 32 vibe findings (2 critical, 7 high, 12 medium, 11 low)
Fix all findings from the v2.17.0..HEAD vibe review across 12 source files:
Critical: panic guards for negative budget in truncateToCharBudget and
dead prefix slice in generateArtifactID. High: bead override in batch
extract, json file counting in metrics, constraint index.json exclusion,
complexity reduction in curate status/verify (38→<25), flexible hook
script count assertion. Medium: truncate panic guards, error logging for
silent failures, null→[] JSON output, goals auto-detect (GOALS.md then
GOALS.yaml), raw var→getter usage, truncate-before-lock race fix. Low:
scanner.Err() checks, os.Stdout→cmd.OutOrStdout(), dry-run output
differentiation.
Docs: 5 missing INDEX.md concept links, curation-pipeline v1 status
callout. Tests: new TestSeed_DryRun_JSON. Regen: COMMANDS.md, embedded
hooks synced. All gates pass: build, vet, test, gocyclo, heal, doc-gate.
2026-02-24 16:51:26 -05:00
|
|
|
```
|
|
|
|
|
|
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
|
|
|
#### `ao plans search`
|
fix: resolve 32 vibe findings (2 critical, 7 high, 12 medium, 11 low)
Fix all findings from the v2.17.0..HEAD vibe review across 12 source files:
Critical: panic guards for negative budget in truncateToCharBudget and
dead prefix slice in generateArtifactID. High: bead override in batch
extract, json file counting in metrics, constraint index.json exclusion,
complexity reduction in curate status/verify (38→<25), flexible hook
script count assertion. Medium: truncate panic guards, error logging for
silent failures, null→[] JSON output, goals auto-detect (GOALS.md then
GOALS.yaml), raw var→getter usage, truncate-before-lock race fix. Low:
scanner.Err() checks, os.Stdout→cmd.OutOrStdout(), dry-run output
differentiation.
Docs: 5 missing INDEX.md concept links, curation-pipeline v1 status
callout. Tests: new TestSeed_DryRun_JSON. Regen: COMMANDS.md, embedded
hooks synced. All gates pass: build, vet, test, gocyclo, heal, doc-gate.
2026-02-24 16:51:26 -05:00
|
|
|
|
2026-02-26 05:48:41 -05:00
|
|
|
Search plans by name or project
|
fix: resolve 32 vibe findings (2 critical, 7 high, 12 medium, 11 low)
Fix all findings from the v2.17.0..HEAD vibe review across 12 source files:
Critical: panic guards for negative budget in truncateToCharBudget and
dead prefix slice in generateArtifactID. High: bead override in batch
extract, json file counting in metrics, constraint index.json exclusion,
complexity reduction in curate status/verify (38→<25), flexible hook
script count assertion. Medium: truncate panic guards, error logging for
silent failures, null→[] JSON output, goals auto-detect (GOALS.md then
GOALS.yaml), raw var→getter usage, truncate-before-lock race fix. Low:
scanner.Err() checks, os.Stdout→cmd.OutOrStdout(), dry-run output
differentiation.
Docs: 5 missing INDEX.md concept links, curation-pipeline v1 status
callout. Tests: new TestSeed_DryRun_JSON. Regen: COMMANDS.md, embedded
hooks synced. All gates pass: build, vet, test, gocyclo, heal, doc-gate.
2026-02-24 16:51:26 -05:00
|
|
|
|
|
|
|
|
```
|
2026-02-26 06:42:03 -05:00
|
|
|
ao plans search <query> [flags]
|
fix: resolve 32 vibe findings (2 critical, 7 high, 12 medium, 11 low)
Fix all findings from the v2.17.0..HEAD vibe review across 12 source files:
Critical: panic guards for negative budget in truncateToCharBudget and
dead prefix slice in generateArtifactID. High: bead override in batch
extract, json file counting in metrics, constraint index.json exclusion,
complexity reduction in curate status/verify (38→<25), flexible hook
script count assertion. Medium: truncate panic guards, error logging for
silent failures, null→[] JSON output, goals auto-detect (GOALS.md then
GOALS.yaml), raw var→getter usage, truncate-before-lock race fix. Low:
scanner.Err() checks, os.Stdout→cmd.OutOrStdout(), dry-run output
differentiation.
Docs: 5 missing INDEX.md concept links, curation-pipeline v1 status
callout. Tests: new TestSeed_DryRun_JSON. Regen: COMMANDS.md, embedded
hooks synced. All gates pass: build, vet, test, gocyclo, heal, doc-gate.
2026-02-24 16:51:26 -05:00
|
|
|
```
|
|
|
|
|
|
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
|
|
|
#### `ao plans sync`
|
fix: resolve 32 vibe findings (2 critical, 7 high, 12 medium, 11 low)
Fix all findings from the v2.17.0..HEAD vibe review across 12 source files:
Critical: panic guards for negative budget in truncateToCharBudget and
dead prefix slice in generateArtifactID. High: bead override in batch
extract, json file counting in metrics, constraint index.json exclusion,
complexity reduction in curate status/verify (38→<25), flexible hook
script count assertion. Medium: truncate panic guards, error logging for
silent failures, null→[] JSON output, goals auto-detect (GOALS.md then
GOALS.yaml), raw var→getter usage, truncate-before-lock race fix. Low:
scanner.Err() checks, os.Stdout→cmd.OutOrStdout(), dry-run output
differentiation.
Docs: 5 missing INDEX.md concept links, curation-pipeline v1 status
callout. Tests: new TestSeed_DryRun_JSON. Regen: COMMANDS.md, embedded
hooks synced. All gates pass: build, vet, test, gocyclo, heal, doc-gate.
2026-02-24 16:51:26 -05:00
|
|
|
|
2026-02-26 05:48:41 -05:00
|
|
|
Sync pulls plan metadata from beads to prevent drift.
|
fix: resolve 32 vibe findings (2 critical, 7 high, 12 medium, 11 low)
Fix all findings from the v2.17.0..HEAD vibe review across 12 source files:
Critical: panic guards for negative budget in truncateToCharBudget and
dead prefix slice in generateArtifactID. High: bead override in batch
extract, json file counting in metrics, constraint index.json exclusion,
complexity reduction in curate status/verify (38→<25), flexible hook
script count assertion. Medium: truncate panic guards, error logging for
silent failures, null→[] JSON output, goals auto-detect (GOALS.md then
GOALS.yaml), raw var→getter usage, truncate-before-lock race fix. Low:
scanner.Err() checks, os.Stdout→cmd.OutOrStdout(), dry-run output
differentiation.
Docs: 5 missing INDEX.md concept links, curation-pipeline v1 status
callout. Tests: new TestSeed_DryRun_JSON. Regen: COMMANDS.md, embedded
hooks synced. All gates pass: build, vet, test, gocyclo, heal, doc-gate.
2026-02-24 16:51:26 -05:00
|
|
|
|
|
|
|
|
```
|
2026-02-26 06:42:03 -05:00
|
|
|
ao plans sync [flags]
|
fix: resolve 32 vibe findings (2 critical, 7 high, 12 medium, 11 low)
Fix all findings from the v2.17.0..HEAD vibe review across 12 source files:
Critical: panic guards for negative budget in truncateToCharBudget and
dead prefix slice in generateArtifactID. High: bead override in batch
extract, json file counting in metrics, constraint index.json exclusion,
complexity reduction in curate status/verify (38→<25), flexible hook
script count assertion. Medium: truncate panic guards, error logging for
silent failures, null→[] JSON output, goals auto-detect (GOALS.md then
GOALS.yaml), raw var→getter usage, truncate-before-lock race fix. Low:
scanner.Err() checks, os.Stdout→cmd.OutOrStdout(), dry-run output
differentiation.
Docs: 5 missing INDEX.md concept links, curation-pipeline v1 status
callout. Tests: new TestSeed_DryRun_JSON. Regen: COMMANDS.md, embedded
hooks synced. All gates pass: build, vet, test, gocyclo, heal, doc-gate.
2026-02-24 16:51:26 -05:00
|
|
|
```
|
|
|
|
|
|
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
|
|
|
#### `ao plans update`
|
fix: resolve 32 vibe findings (2 critical, 7 high, 12 medium, 11 low)
Fix all findings from the v2.17.0..HEAD vibe review across 12 source files:
Critical: panic guards for negative budget in truncateToCharBudget and
dead prefix slice in generateArtifactID. High: bead override in batch
extract, json file counting in metrics, constraint index.json exclusion,
complexity reduction in curate status/verify (38→<25), flexible hook
script count assertion. Medium: truncate panic guards, error logging for
silent failures, null→[] JSON output, goals auto-detect (GOALS.md then
GOALS.yaml), raw var→getter usage, truncate-before-lock race fix. Low:
scanner.Err() checks, os.Stdout→cmd.OutOrStdout(), dry-run output
differentiation.
Docs: 5 missing INDEX.md concept links, curation-pipeline v1 status
callout. Tests: new TestSeed_DryRun_JSON. Regen: COMMANDS.md, embedded
hooks synced. All gates pass: build, vet, test, gocyclo, heal, doc-gate.
2026-02-24 16:51:26 -05:00
|
|
|
|
2026-02-26 05:48:41 -05:00
|
|
|
Update a plan's status or metadata
|
fix: resolve 32 vibe findings (2 critical, 7 high, 12 medium, 11 low)
Fix all findings from the v2.17.0..HEAD vibe review across 12 source files:
Critical: panic guards for negative budget in truncateToCharBudget and
dead prefix slice in generateArtifactID. High: bead override in batch
extract, json file counting in metrics, constraint index.json exclusion,
complexity reduction in curate status/verify (38→<25), flexible hook
script count assertion. Medium: truncate panic guards, error logging for
silent failures, null→[] JSON output, goals auto-detect (GOALS.md then
GOALS.yaml), raw var→getter usage, truncate-before-lock race fix. Low:
scanner.Err() checks, os.Stdout→cmd.OutOrStdout(), dry-run output
differentiation.
Docs: 5 missing INDEX.md concept links, curation-pipeline v1 status
callout. Tests: new TestSeed_DryRun_JSON. Regen: COMMANDS.md, embedded
hooks synced. All gates pass: build, vet, test, gocyclo, heal, doc-gate.
2026-02-24 16:51:26 -05:00
|
|
|
|
|
|
|
|
```
|
2026-02-26 06:42:03 -05:00
|
|
|
ao plans update <plan-path> [flags]
|
fix: resolve 32 vibe findings (2 critical, 7 high, 12 medium, 11 low)
Fix all findings from the v2.17.0..HEAD vibe review across 12 source files:
Critical: panic guards for negative budget in truncateToCharBudget and
dead prefix slice in generateArtifactID. High: bead override in batch
extract, json file counting in metrics, constraint index.json exclusion,
complexity reduction in curate status/verify (38→<25), flexible hook
script count assertion. Medium: truncate panic guards, error logging for
silent failures, null→[] JSON output, goals auto-detect (GOALS.md then
GOALS.yaml), raw var→getter usage, truncate-before-lock race fix. Low:
scanner.Err() checks, os.Stdout→cmd.OutOrStdout(), dry-run output
differentiation.
Docs: 5 missing INDEX.md concept links, curation-pipeline v1 status
callout. Tests: new TestSeed_DryRun_JSON. Regen: COMMANDS.md, embedded
hooks synced. All gates pass: build, vet, test, gocyclo, heal, doc-gate.
2026-02-24 16:51:26 -05:00
|
|
|
```
|
|
|
|
|
|
|
|
|
|
**Flags:**
|
|
|
|
|
|
|
|
|
|
```
|
2026-02-26 05:48:41 -05:00
|
|
|
--beads-id string Update beads ID
|
|
|
|
|
-h, --help help for update
|
|
|
|
|
--status string New status for the plan
|
fix: resolve 32 vibe findings (2 critical, 7 high, 12 medium, 11 low)
Fix all findings from the v2.17.0..HEAD vibe review across 12 source files:
Critical: panic guards for negative budget in truncateToCharBudget and
dead prefix slice in generateArtifactID. High: bead override in batch
extract, json file counting in metrics, constraint index.json exclusion,
complexity reduction in curate status/verify (38→<25), flexible hook
script count assertion. Medium: truncate panic guards, error logging for
silent failures, null→[] JSON output, goals auto-detect (GOALS.md then
GOALS.yaml), raw var→getter usage, truncate-before-lock race fix. Low:
scanner.Err() checks, os.Stdout→cmd.OutOrStdout(), dry-run output
differentiation.
Docs: 5 missing INDEX.md concept links, curation-pipeline v1 status
callout. Tests: new TestSeed_DryRun_JSON. Regen: COMMANDS.md, embedded
hooks synced. All gates pass: build, vet, test, gocyclo, heal, doc-gate.
2026-02-24 16:51:26 -05:00
|
|
|
```
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
feat(ao): add 'ao beads verify|lint|harvest' stale-citation tooling
Three subcommands under a new 'ao beads' command group that complement
the bd CLI without replacing it. All commands degrade gracefully when
bd is not on PATH (warn + exit 0).
## Commands
### ao beads verify <bead-id>
Reads 'bd show <id>', extracts file paths, function references, and
backticked symbols from the description (or close reason for closed
beads), and checks each citation against HEAD. Reports FRESH / STALE /
UNKNOWN status per citation.
Bare filenames (e.g. 'loop.go' with no path) are treated specially:
the verifier walks cli/, skills/, docs/, scripts/, .agents/ to find
matches and reports FRESH if unique, UNKNOWN if ambiguous (with the
resolved path suggestions), STALE if zero matches.
Exit codes: 0 clean, 1 stale found, 2 bd error.
### ao beads lint [--status=open]
Batch-runs verify across every bead matching a status filter and
aggregates results. Exit code signals overall staleness — suitable
as a weekly audit or pre-release gate.
### ao beads harvest <bead-id>
Materialises a closed bead's close reason as a learning file at
.agents/learnings/YYYY-MM-DD-<id>-<slug>.md with frontmatter. Only
operates on closed beads. --dry-run prints to stdout instead of writing.
Compresses the bd-close → learnings pipeline into one command, so
operators running 'bd close <id> --reason "..."' can immediately
promote the reason into the knowledge flywheel.
## Design
* execBD / bdAvailable are package-level function vars so tests can
inject fakes without touching PATH (pattern consistent with existing
cmd/ao test hooks).
* parseBDShow is tolerant of both open and closed bead formats. Closed
beads hide their original description and surface a 'Close reason:'
line instead; the parser captures both and Body() prefers CloseReason.
* listBeadIDs uses a permissive <rig>-<ident> grammar so it handles
flat rows, hierarchy rows (├──/└── tree chars), and future bd shape
tweaks without breaking.
* No hard dependency on bd for tests — all L2 tests mock execBD and
drive the parse/verify/render logic directly.
## Tests
cli/cmd/ao/beads_test.go (L2, 23 tests):
* beadSlugify: basic, punctuation, truncation, empty, punct-only
* parseBDShow: canonical open, closed with Close reason, empty errors
* bdShowParsed.Body: prefers CloseReason, falls back to Description
* extractCitations: file+line, function refs, backticked symbols, dedup
* verifyFileCitation: fresh, stale, line-suffix handling
* isClosedStatus: substring matching across bd status-field shapes
* listBeadIDs: flat + tree output, non-bead lines skipped
* verifyBead: bd-absent graceful degradation + end-to-end with fake
* renderLearningBody: frontmatter + body composition
cli/cmd/ao/cobra_commands_test.go:
* beads added to expectedCmds + parentExpectations (verify|lint|harvest)
## Smoke test
Ran against na-h61 (the bead closed earlier today). Found:
- 4 FRESH, 0 STALE, 1 UNKNOWN (ambiguous bare 'types.go' — resolved
to 6 candidates, correctly suggested full paths)
- harvest --dry-run produced a clean learning file with frontmatter
- lint --status=closed found 49 clean / 1 genuinely stale (na-63f.8
references summary.json/summary.md which doesn't exist anywhere)
## Files
cli/cmd/ao/beads.go (new, ~550 LOC)
cli/cmd/ao/beads_test.go (new, ~280 LOC)
cli/cmd/ao/cobra_commands_test.go (+3 lines — beads in registry)
cli/docs/COMMANDS.md (regenerated)
## Why
Closes the last 3 items of the 7-item summary table from today's
retrospective. The first 4 items (--evidence, --commit-ready,
--discovery-artifact, stale-scope planning rule) landed in 63c8b81a.
The na-h61 session earlier today showed that bead descriptions drift
from HEAD within hours of being filed. Two of the five beads I closed
today had factually wrong descriptions (na-h61 cited a nonexistent
cli/cmd/ao/fitness.go; na-khk cited a non-reproducible env leak).
'ao beads verify' catches exactly this pattern before a new session
commits to the wrong mental model.
2026-04-11 08:36:23 -04:00
|
|
|
### `ao beads`
|
|
|
|
|
|
|
|
|
|
Commands that help maintain the bd issue tracker alongside the main
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
ao beads [command]
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
**Subcommands:**
|
|
|
|
|
|
|
|
|
|
#### `ao beads harvest`
|
|
|
|
|
|
|
|
|
|
Reads a closed bead via 'bd show <id>' and writes its closure reason
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
ao beads harvest <bead-id> [flags]
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
**Flags:**
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
--dry-run Print the learning content to stdout without writing a file
|
|
|
|
|
-h, --help help for harvest
|
|
|
|
|
--out-dir string Directory to write the learning file into (default ".agents/learnings")
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
#### `ao beads lint`
|
|
|
|
|
|
|
|
|
|
Runs 'ao beads verify' on every bead matching a status filter and
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
ao beads lint [flags]
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
**Flags:**
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
-h, --help help for lint
|
|
|
|
|
--json Emit lint report as JSON
|
|
|
|
|
--status string bd status filter (open, closed, all) (default "open")
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
#### `ao beads verify`
|
|
|
|
|
|
|
|
|
|
Reads a bead description via 'bd show <id>' and checks every file
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
ao beads verify <bead-id> [flags]
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
**Flags:**
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
-h, --help help for verify
|
|
|
|
|
--json Emit verification report as JSON instead of human-readable text
|
|
|
|
|
--verbose Include FRESH citations in the output (default: stale only)
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
2026-04-11 21:58:46 -04:00
|
|
|
### `ao compile`
|
|
|
|
|
|
|
|
|
|
Compile makes the existing AgentOps knowledge compiler available through the ao CLI.
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
ao compile [flags]
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
**Flags:**
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
--compile-only Skip mine and defrag; run compile plus lint
|
|
|
|
|
--defrag-only Only run mechanical defrag cleanup
|
|
|
|
|
--force Recompile all source artifacts regardless of hashes
|
|
|
|
|
--full Run the full mine, compile, lint, and defrag cycle
|
|
|
|
|
-h, --help help for compile
|
|
|
|
|
--incremental Compile only changed source artifacts (default true)
|
|
|
|
|
--lint-only Only lint the existing compiled wiki
|
|
|
|
|
--mine-only Only mine new knowledge signal
|
|
|
|
|
--output-dir string Compiled wiki output directory (default ".agents/compiled")
|
|
|
|
|
--quiet Suppress human progress output
|
|
|
|
|
--runtime string LLM runtime override for headless compilation (ollama, claude, openai)
|
|
|
|
|
--since string Mine lookback window for full and mine-only modes (default "26h")
|
|
|
|
|
--sources string Source .agents root to compile (default ".agents")
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
2026-04-10 22:48:10 -04:00
|
|
|
### `ao corpus`
|
|
|
|
|
|
|
|
|
|
Commands that inspect the local .agents/ corpus quality.
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
ao corpus [command]
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
**Subcommands:**
|
|
|
|
|
|
|
|
|
|
#### `ao corpus fitness`
|
|
|
|
|
|
|
|
|
|
Compute the corpus-quality fitness vector for the current .agents/
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
ao corpus fitness [flags]
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
**Flags:**
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
-h, --help help for fitness
|
|
|
|
|
--json Emit the fitness vector as JSON
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
2026-03-01 17:58:00 -05:00
|
|
|
### `ao defrag`
|
|
|
|
|
|
|
|
|
|
Defrag performs mechanical cleanup of the knowledge base:
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
ao defrag [flags]
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
**Flags:**
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
--dedup Flag learnings with >80% content similarity
|
|
|
|
|
-h, --help help for defrag
|
|
|
|
|
--oscillation-sweep Flag evolve goals alternating improved/fail >=3 consecutive cycles
|
2026-03-02 07:30:30 -05:00
|
|
|
--output-dir string Directory for defrag report JSON (default ".agents/defrag")
|
2026-03-01 17:58:00 -05:00
|
|
|
--prune Find orphaned learnings not referenced in patterns or research
|
|
|
|
|
--quiet Suppress progress output
|
|
|
|
|
--stale-days int Days after which an unreferenced learning is considered stale (default 30)
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
2026-04-05 09:15:27 -04:00
|
|
|
### `ao findings`
|
|
|
|
|
|
|
|
|
|
Manage promoted finding artifacts under .agents/findings/.
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
ao findings [command]
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
**Subcommands:**
|
|
|
|
|
|
|
|
|
|
#### `ao findings export`
|
|
|
|
|
|
|
|
|
|
Export finding artifacts to another repo or findings directory
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
ao findings export <id...> [flags]
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
**Flags:**
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
--all Export every local finding
|
|
|
|
|
--force Overwrite destination files if they already exist
|
|
|
|
|
-h, --help help for export
|
|
|
|
|
--to string Destination repo root or .agents/findings directory
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
#### `ao findings list`
|
|
|
|
|
|
|
|
|
|
List active findings
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
ao findings list [query] [flags]
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
**Flags:**
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
--all Include retired and superseded findings
|
|
|
|
|
-h, --help help for list
|
|
|
|
|
--limit int Maximum findings to return (default 20)
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
#### `ao findings pull`
|
|
|
|
|
|
|
|
|
|
Pull finding artifacts from another repo or findings directory
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
ao findings pull <id...> [flags]
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
**Flags:**
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
--all Pull every source finding
|
|
|
|
|
--force Overwrite local files if they already exist
|
|
|
|
|
--from string Source repo root or .agents/findings directory
|
|
|
|
|
-h, --help help for pull
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
#### `ao findings retire`
|
|
|
|
|
|
|
|
|
|
Retire a finding artifact
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
ao findings retire <id> [flags]
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
**Flags:**
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
--by string Retired-by marker (defaults to current user or ao findings retire)
|
|
|
|
|
-h, --help help for retire
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
#### `ao findings stats`
|
|
|
|
|
|
|
|
|
|
Summarize local finding artifact inventory
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
ao findings stats [flags]
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
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
|
|
|
### `ao forge`
|
2026-02-24 21:19:46 -05:00
|
|
|
|
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
|
|
|
The forge command extracts knowledge candidates from various sources.
|
2026-02-24 21:19:46 -05:00
|
|
|
|
|
|
|
|
```
|
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
|
|
|
ao forge [command]
|
2026-02-24 21:19:46 -05:00
|
|
|
```
|
|
|
|
|
|
2026-02-26 05:48:41 -05:00
|
|
|
**Subcommands:**
|
2026-02-24 21:19:46 -05:00
|
|
|
|
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
|
|
|
#### `ao forge batch`
|
2026-02-21 19:41:50 -05:00
|
|
|
|
2026-02-26 05:48:41 -05:00
|
|
|
Find and process pending transcripts in bulk.
|
2026-02-21 19:41:50 -05:00
|
|
|
|
|
|
|
|
```
|
2026-02-26 06:42:03 -05:00
|
|
|
ao forge batch [flags]
|
2026-02-21 19:41:50 -05:00
|
|
|
```
|
|
|
|
|
|
|
|
|
|
**Flags:**
|
|
|
|
|
|
|
|
|
|
```
|
2026-02-26 05:48:41 -05:00
|
|
|
--dir string Specific directory to scan (default: all Claude project dirs)
|
|
|
|
|
--extract Trigger extraction after forging
|
|
|
|
|
-h, --help help for batch
|
|
|
|
|
--max int Maximum transcripts to process (0 = all)
|
2026-02-21 19:41:50 -05:00
|
|
|
```
|
|
|
|
|
|
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
|
|
|
#### `ao forge markdown`
|
2026-02-21 19:41:50 -05:00
|
|
|
|
2026-02-26 05:48:41 -05:00
|
|
|
Parse markdown (.md) files and extract knowledge candidates.
|
2026-02-21 19:41:50 -05:00
|
|
|
|
|
|
|
|
```
|
2026-02-26 06:42:03 -05:00
|
|
|
ao forge markdown <path-or-glob> [flags]
|
2026-02-21 19:41:50 -05:00
|
|
|
```
|
|
|
|
|
|
2026-02-26 05:48:41 -05:00
|
|
|
**Flags:**
|
2026-02-21 19:41:50 -05:00
|
|
|
|
2026-02-26 05:48:41 -05:00
|
|
|
```
|
|
|
|
|
-h, --help help for markdown
|
|
|
|
|
--queue Queue for learning extraction at next session start
|
|
|
|
|
--quiet Suppress all output (for hooks)
|
|
|
|
|
```
|
|
|
|
|
|
2026-04-12 00:55:33 -04:00
|
|
|
#### `ao forge review`
|
|
|
|
|
|
|
|
|
|
Review draft session pages in .agents/ao/sessions/ and promote
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
ao forge review [flags]
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
**Flags:**
|
|
|
|
|
|
|
|
|
|
```
|
2026-04-12 05:31:49 -04:00
|
|
|
--dry-run Show what would be promoted without writing
|
|
|
|
|
--eval string Evaluate review decisions against a labeled JSON manifest without writing
|
|
|
|
|
-h, --help help for review
|
|
|
|
|
--sessions-dir string Directory containing session pages (default: .agents/ao/sessions)
|
2026-04-12 00:55:33 -04:00
|
|
|
```
|
|
|
|
|
|
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
|
|
|
#### `ao forge transcript`
|
2026-02-26 05:48:41 -05:00
|
|
|
|
|
|
|
|
Parse Claude Code JSONL transcript files and extract knowledge candidates.
|
2026-02-21 19:41:50 -05:00
|
|
|
|
|
|
|
|
```
|
2026-02-26 06:42:03 -05:00
|
|
|
ao forge transcript <path-or-glob> [flags]
|
2026-02-21 19:41:50 -05:00
|
|
|
```
|
|
|
|
|
|
|
|
|
|
**Flags:**
|
|
|
|
|
|
|
|
|
|
```
|
2026-04-12 00:24:25 -04:00
|
|
|
-h, --help help for transcript
|
|
|
|
|
--last-session Process only the most recent transcript
|
|
|
|
|
--llm-endpoint string Ollama HTTP endpoint for --tier=1 (default: $AGENTOPS_LLM_ENDPOINT or http://localhost:11434)
|
|
|
|
|
--model string LLM model tag for --tier=1 (e.g. gemma2:9b)
|
|
|
|
|
--queue Queue session for learning extraction at next session start
|
|
|
|
|
--quiet Suppress all output (for hooks)
|
|
|
|
|
--tier int Tier 1 local-LLM summarization pipeline (requires --model, --llm-endpoint optional)
|
2026-02-21 19:41:50 -05:00
|
|
|
```
|
|
|
|
|
|
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
|
|
|
---
|
|
|
|
|
|
2026-04-05 09:15:27 -04:00
|
|
|
### `ao harvest`
|
|
|
|
|
|
|
|
|
|
Walks all .agents/ directories across the workspace, extracts learnings,
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
ao harvest [flags]
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
**Flags:**
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
-h, --help help for harvest
|
|
|
|
|
--include string Artifact types to include (comma-separated) (default "learnings,patterns,research")
|
|
|
|
|
--max-file-size int Skip files larger than this (bytes) (default 1048576)
|
|
|
|
|
--min-confidence float Minimum confidence for promotion (default 0.5)
|
|
|
|
|
--output-dir string Directory for harvest catalog output (default ".agents/harvest")
|
|
|
|
|
--promote-to string Promotion destination for high-value artifacts (default ~/.agents/learnings)
|
|
|
|
|
--quiet Suppress progress output
|
|
|
|
|
--roots string Base directories to scan (comma-separated) (default ~/gt)
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
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
|
|
|
### `ao inject`
|
2026-02-21 19:41:50 -05:00
|
|
|
|
2026-02-23 12:32:23 -05:00
|
|
|
Inject searches and outputs relevant knowledge for session startup.
|
2026-02-21 19:41:50 -05:00
|
|
|
|
|
|
|
|
```
|
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
|
|
|
ao inject [context] [flags]
|
2026-02-21 19:41:50 -05:00
|
|
|
```
|
|
|
|
|
|
|
|
|
|
**Flags:**
|
|
|
|
|
|
|
|
|
|
```
|
2026-03-05 15:18:46 -05:00
|
|
|
--apply-decay Apply confidence decay before ranking
|
|
|
|
|
--bead string Bead ID for work-scoped knowledge injection
|
|
|
|
|
--context string Context query for filtering (alternative to positional arg)
|
|
|
|
|
--for string Skill name — assembles context per skill's context declaration
|
|
|
|
|
--format string Output format: markdown, json (default "markdown")
|
|
|
|
|
-h, --help help for inject
|
|
|
|
|
--index-only Output compact knowledge index table instead of full content
|
|
|
|
|
--max-tokens int Maximum tokens to output (default 1500)
|
|
|
|
|
--no-cite Disable citation recording
|
|
|
|
|
--predecessor string Path to predecessor handoff file for context injection
|
|
|
|
|
--profile Include .agents/profile.md identity artifact in output
|
|
|
|
|
--quarantine-flagged Quarantine flagged learnings from quality report
|
|
|
|
|
--session string Session ID for citation tracking (auto-generated if empty)
|
|
|
|
|
--session-type string Session type for scoring boost (career, research, debug, implement, brainstorm)
|
2026-02-21 19:41:50 -05:00
|
|
|
```
|
|
|
|
|
|
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
|
|
|
---
|
|
|
|
|
|
2026-04-05 09:15:27 -04:00
|
|
|
### `ao knowledge`
|
|
|
|
|
|
|
|
|
|
Knowledge turns a mature .agents corpus into operator-ready surfaces.
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
ao knowledge [command]
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
**Subcommands:**
|
|
|
|
|
|
|
|
|
|
#### `ao knowledge activate`
|
|
|
|
|
|
|
|
|
|
Run the full knowledge activation outer loop
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
ao knowledge activate [flags]
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
**Flags:**
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
--goal string Optional goal for briefing compilation during activation
|
|
|
|
|
-h, --help help for activate
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
#### `ao knowledge beliefs`
|
|
|
|
|
|
|
|
|
|
Refresh the belief book from promoted evidence
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
ao knowledge beliefs [flags]
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
#### `ao knowledge brief`
|
|
|
|
|
|
|
|
|
|
Compile a goal-time briefing
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
ao knowledge brief [flags]
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
**Flags:**
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
--goal string Goal to compile into a briefing
|
|
|
|
|
-h, --help help for brief
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
#### `ao knowledge gaps`
|
|
|
|
|
|
|
|
|
|
Report thin topics, promotion gaps, and next mining work
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
ao knowledge gaps [flags]
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
#### `ao knowledge playbooks`
|
|
|
|
|
|
|
|
|
|
Refresh playbook candidates from healthy topics
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
ao knowledge playbooks [flags]
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
**Flags:**
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
-h, --help help for playbooks
|
|
|
|
|
--include-thin Include thin topics when building playbook candidates
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
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
|
|
|
### `ao lookup`
|
2026-02-24 21:19:46 -05:00
|
|
|
|
|
|
|
|
Lookup retrieves full content of specific knowledge artifacts.
|
|
|
|
|
|
|
|
|
|
```
|
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
|
|
|
ao lookup [id] [flags]
|
2026-02-24 21:19:46 -05:00
|
|
|
```
|
|
|
|
|
|
|
|
|
|
**Flags:**
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
--bead string Filter by source bead ID
|
2026-04-05 09:15:27 -04:00
|
|
|
--cite string Citation type to record for returned artifacts: retrieved, reference, applied (default "retrieved")
|
2026-02-24 21:19:46 -05:00
|
|
|
-h, --help help for lookup
|
|
|
|
|
--json JSON output
|
|
|
|
|
--limit int Maximum results to return (default 3)
|
|
|
|
|
--no-cite Skip citation recording
|
|
|
|
|
--query string Search query for relevance matching
|
|
|
|
|
--session string Session ID for citation tracking
|
|
|
|
|
```
|
|
|
|
|
|
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
|
|
|
---
|
|
|
|
|
|
feat: add ao mind command and standardize skill YAML frontmatter
Integrate mind knowledge graph tool as `ao mind` subcommand (scan,
normalize, link, index, all, graph) wrapping python3 -m mind. Update
all 9 skill output templates to emit standardized YAML frontmatter
(id, type, date) with source wikilinks for RPI chain skills. Mirror
all changes to skills-codex/ for parity.
Also includes: hooks coverage test updates, go-complexity precommit
guard, ci-local-release allowlist fix, and new integration/lint tests.
2026-02-26 11:54:10 -05:00
|
|
|
### `ao mind`
|
|
|
|
|
|
|
|
|
|
Scan, normalize, link, and index .agents/ markdown into an Obsidian knowledge graph.
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
ao mind [command]
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
**Subcommands:**
|
|
|
|
|
|
|
|
|
|
#### `ao mind all`
|
|
|
|
|
|
|
|
|
|
Run full pipeline (normalize → link → index)
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
ao mind all [flags]
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
#### `ao mind graph`
|
|
|
|
|
|
|
|
|
|
Show graph statistics
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
ao mind graph [flags]
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
#### `ao mind index`
|
|
|
|
|
|
|
|
|
|
Rebuild the graph index
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
ao mind index [flags]
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
#### `ao mind link`
|
|
|
|
|
|
|
|
|
|
Insert wikilinks between related artifacts
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
ao mind link [flags]
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
#### `ao mind normalize`
|
|
|
|
|
|
|
|
|
|
Add/fix YAML frontmatter on .agents/ markdown
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
ao mind normalize [flags]
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
#### `ao mind scan`
|
|
|
|
|
|
|
|
|
|
Show what needs normalization
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
ao mind scan [flags]
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
2026-03-01 17:58:00 -05:00
|
|
|
### `ao mine`
|
|
|
|
|
|
|
|
|
|
Mine scans all reachable data sources for patterns and insights
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
ao mine [flags]
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
**Flags:**
|
|
|
|
|
|
|
|
|
|
```
|
2026-03-02 06:48:56 -05:00
|
|
|
--emit-work-items Append actionable mine findings to .agents/rpi/next-work.jsonl for evolve to pick up
|
|
|
|
|
-h, --help help for mine
|
|
|
|
|
--output-dir string Directory for mine output JSON (default ".agents/mine")
|
|
|
|
|
--quiet Suppress progress output
|
|
|
|
|
--since string How far back to look (e.g. 26h, 7d) (default "26h")
|
2026-03-06 08:03:07 -05:00
|
|
|
--sources string Comma-separated sources to mine (git, agents, code, events) (default "git,agents,code")
|
2026-03-01 17:58:00 -05:00
|
|
|
```
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
2026-04-05 09:15:27 -04:00
|
|
|
### `ao retrieval-bench`
|
|
|
|
|
|
|
|
|
|
Measure Precision@K and MRR against a curated corpus of learning artifacts.
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
ao retrieval-bench [flags]
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
**Flags:**
|
|
|
|
|
|
|
|
|
|
```
|
2026-04-12 04:53:23 -04:00
|
|
|
--corpus string Path to benchmark corpus directory
|
|
|
|
|
--global Include ~/.agents/learnings/ (cross-rig aggregated store, requires --live)
|
|
|
|
|
-h, --help help for retrieval-bench
|
|
|
|
|
--json JSON output
|
|
|
|
|
--k int K for Precision@K (default 3)
|
|
|
|
|
--live Benchmark against real .agents/learnings/ instead of synthetic corpus
|
|
|
|
|
--search-eval string Path to an ao-search eval manifest with queries and ground_truth paths
|
|
|
|
|
--search-root string Repo root to search for --search-eval (defaults to current directory)
|
2026-04-05 09:15:27 -04:00
|
|
|
```
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
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
|
|
|
### `ao search`
|
2026-02-21 19:41:50 -05:00
|
|
|
|
2026-04-05 09:15:27 -04:00
|
|
|
Search workspace session history and repo-local AgentOps knowledge.
|
2026-02-25 06:10:51 -05:00
|
|
|
|
|
|
|
|
```
|
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
|
|
|
ao search <query> [flags]
|
2026-02-25 06:10:51 -05:00
|
|
|
```
|
|
|
|
|
|
|
|
|
|
**Flags:**
|
|
|
|
|
|
|
|
|
|
```
|
2026-04-05 09:15:27 -04:00
|
|
|
--cass Require upstream cass session-history search
|
|
|
|
|
--cite string Optional citation type to record for matching repo-local artifacts: retrieved, reference, applied
|
|
|
|
|
-h, --help help for search
|
|
|
|
|
--limit int Maximum results to return (default 10)
|
|
|
|
|
--local Force repo-local AgentOps search only
|
|
|
|
|
--session string Session ID for citation tracking (defaults to the active runtime session)
|
2026-04-11 21:58:46 -04:00
|
|
|
--type string Filter by type: session(s), learning(s), pattern(s), finding(s), research, compiled, decision(s), knowledge
|
2026-04-05 09:15:27 -04:00
|
|
|
--use-sc Try Smart Connections semantic search first (requires Obsidian)
|
2026-02-25 06:10:51 -05:00
|
|
|
```
|
|
|
|
|
|
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
|
|
|
---
|
|
|
|
|
|
|
|
|
|
### `ao trace`
|
2026-02-23 12:32:23 -05:00
|
|
|
|
|
|
|
|
Trace the provenance of an artifact back to its source transcript.
|
2026-02-21 19:41:50 -05:00
|
|
|
|
|
|
|
|
```
|
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
|
|
|
ao trace <artifact-path> [flags]
|
2026-02-21 19:41:50 -05:00
|
|
|
```
|
|
|
|
|
|
|
|
|
|
**Flags:**
|
|
|
|
|
|
|
|
|
|
```
|
2026-02-23 12:32:23 -05:00
|
|
|
--graph Show ASCII provenance graph
|
|
|
|
|
-h, --help help for trace
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
2026-02-24 07:41:36 -05:00
|
|
|
### `ao extract`
|
|
|
|
|
|
|
|
|
|
Check for pending session extractions and output a prompt for Claude to process.
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
ao extract [flags]
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
**Flags:**
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
--all Process all pending entries
|
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 11:57:10 -05:00
|
|
|
--bead string Bead ID to tag extracted learnings with
|
2026-02-24 07:41:36 -05:00
|
|
|
--clear Clear pending queue without processing
|
|
|
|
|
-h, --help help for extract
|
|
|
|
|
--max-content int Maximum characters of session content to include (default 3000)
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
2026-02-23 12:32:23 -05:00
|
|
|
### `ao help`
|
|
|
|
|
|
|
|
|
|
Help provides help for any command in the application.
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
ao help [command] [flags]
|
2026-02-21 19:41:50 -05:00
|
|
|
```
|
|
|
|
|
|
|
|
|
|
---
|
2026-02-21 21:46:54 -05:00
|
|
|
|
2026-04-05 09:15:27 -04:00
|
|
|
### `ao scenario`
|
|
|
|
|
|
|
|
|
|
Create, list, and validate holdout scenarios stored in .agents/holdout/.
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
ao scenario [command]
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
**Subcommands:**
|
|
|
|
|
|
|
|
|
|
#### `ao scenario init`
|
|
|
|
|
|
|
|
|
|
Initialize .agents/holdout/ directory for scenario storage
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
ao scenario init [flags]
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
#### `ao scenario list`
|
|
|
|
|
|
|
|
|
|
List holdout scenarios
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
ao scenario list [flags]
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
**Flags:**
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
-h, --help help for list
|
|
|
|
|
--status string Filter by status (active, draft, retired)
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
#### `ao scenario validate`
|
|
|
|
|
|
|
|
|
|
Validate holdout scenarios against schema
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
ao scenario validate [flags]
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|