You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`ao codex stop`resolves the latest Codex transcript or history fallback, queues/persists learnings safely, and runs close-loop maintenance without depending on runtime hooks.
45
+
`ao codex stop`uses the latest transcript or history fallback to queue/persist learnings and run close-loop maintenance without runtime hooks.
| Council times out | Epic too large or too many files changed | Split post-mortem into smaller reviews or increase timeout |
1018
1008
| No next-work items harvested | Council found no tech debt or improvements | Flywheel stable — write entry with empty items array to next-work.jsonl |
1019
-
| Schema validation failed | Harvested item missing required field or has invalid enum value | Drop invalid item, log error, proceed with valid items only |
1020
1009
| Checkpoint-policy preflight blocks | Prior FAIL verdict in ratchet chain without fix | Resolve prior failure (fix + re-vibe) or skip checkpoint-policy via `--skip-checkpoint-policy` |
1021
1010
| Metadata verification fails | Plan vs actual files mismatch or missing cross-references | Include failures in council packet as `context.metadata_failures` — judges assess severity |
1022
-
| Phase 3 finds zero learnings | last-processed marker is very recent or no learnings exist | Reset marker: `date -v-30d +%Y-%m-%dT%H:%M:%S > .agents/ao/last-processed` |
1023
-
| Phase 4 promotion duplicates | MEMORY.md already has the insight | Grep-based dedup should catch this; if not, manually deduplicate MEMORY.md |
1024
-
| Phase 5 archives too aggressively | 30-day window too short for slow-cadence projects | Adjust the staleness threshold in `references/backlog-processing.md` |
|`hook-capable`| Claude/OpenCode with lifecycle hooks installed | Runtime hook or `ao inject` / `ao lookup`| Runtime hook or `ao forge transcript` + `ao flywheel close-loop`| Automatic startup/context injection and session-end maintenance when hooks are installed |
172
171
|`codex-hookless-fallback`| Codex Desktop / Codex CLI without hook surfaces |`ao codex start`|`ao codex stop`| Explicit startup context, citation tracking, transcript fallback, and close-loop metrics without hooks |
173
-
|`manual`|No hooks and no Codex-native runtime detection|`ao inject` / `ao lookup`|`ao forge transcript` + `ao flywheel close-loop`| Works everywhere, but lifecycle actions are operator-driven |
172
+
|`manual`|Codex cannot resolve repo/runtime state automatically|`ao inject` / `ao lookup`|`ao forge transcript` + `ao flywheel close-loop`| Works everywhere, but lifecycle actions are operator-driven |
174
173
175
174
## Issue Tracking
176
175
@@ -187,20 +186,13 @@ bd vc status # Inspect Dolt state if needed (JSONL auto-sync is automat
187
186
188
187
### Startup Context Loading
189
188
190
-
**Hook-capable runtimes**
191
-
1.`session-start.sh` (or equivalent) can run at session start.
192
-
2. In `manual` mode, MEMORY.md is auto-loaded and the hook points to on-demand retrieval (`ao search`, `ao lookup`).
193
-
3. In `lean` mode, the hook extracts pending knowledge and injects prior learnings with a reduced token budget.
194
-
4. This skill can be injected automatically into session context.
195
-
196
-
**Codex hookless fallback**
197
-
1. Run `ao codex start`.
189
+
1. Run `ao codex start` when Codex is detected without hooks.
3. Surfaced learnings, patterns, and findings are cited as `retrieved`.
200
-
4. Use `ao lookup` for automatic citations during work, or `ao search --cite retrieved|reference|applied` when a search result is actually adopted.
192
+
4. Use `ao lookup` for automatic citations during work, or `ao search --cite retrieved|reference|applied` when a search result is adopted.
201
193
5. End the session with `ao codex stop`, then verify loop health with `ao codex status`.
202
194
203
-
**Result:**The agent gets the RPI workflow, prior context, and a citation path in both modes. The difference is whether lifecycle work is hook-driven or command-driven.
195
+
**Result:**In hookless Codex mode, the agent still gets prior context, citations, and closeout without hidden hooks.
204
196
205
197
### Workflow Reference During Planning
206
198
@@ -229,4 +221,3 @@ bd vc status # Inspect Dolt state if needed (JSONL auto-sync is automat
`ao codex stop`resolves the latest Codex transcript or history fallback, queues/persists learnings safely, and runs close-loop maintenance without depending on runtime hooks.
58
+
`ao codex stop`uses the latest transcript or history fallback to queue/persist learnings and run close-loop maintenance without runtime hooks.
| Council times out | Epic too large or too many files changed | Split post-mortem into smaller reviews or increase timeout |
1010
1000
| No next-work items harvested | Council found no tech debt or improvements | Flywheel stable — write entry with empty items array to next-work.jsonl |
1011
-
| Schema validation failed | Harvested item missing required field or has invalid enum value | Drop invalid item, log error, proceed with valid items only |
1012
1001
| Checkpoint-policy preflight blocks | Prior FAIL verdict in ratchet chain without fix | Resolve prior failure (fix + re-vibe) or skip checkpoint-policy via `--skip-checkpoint-policy` |
1013
1002
| Metadata verification fails | Plan vs actual files mismatch or missing cross-references | Include failures in council packet as `context.metadata_failures` — judges assess severity |
1014
-
| Phase 3 finds zero learnings | last-processed marker is very recent or no learnings exist | Reset marker: `date -v-30d +%Y-%m-%dT%H:%M:%S > .agents/ao/last-processed` |
1015
-
| Phase 4 promotion duplicates | MEMORY.md already has the insight | Grep-based dedup should catch this; if not, manually deduplicate MEMORY.md |
1016
-
| Phase 5 archives too aggressively | 30-day window too short for slow-cadence projects | Adjust the staleness threshold in `references/backlog-processing.md` |
0 commit comments