[bug] prior-session recall (ContextSearch) never sees conversations held through the…
What happened
prior-session recall (ContextSearch) never sees conversations held through the Codex front door, although the bridge keeps Claude-shaped shadow transcripts
Summary
Component: Cortex recall, skills/Cortex/Tools/ContextSearch.ts (PROJECTS_ROOT, line 25 on current main), with the Codex front door
What happens: prior-session search (/cs, the Cortex recall intent) walks only the projects/ directory of the Claude Code config root, where Claude Code writes its transcripts. Conversations held through the Codex front door never land there, so they cannot be recalled: a search for words said in a Codex session returns nothing, while files touched in that session can still be found through the work registry.
Why it looks like a gap in the design rather than a choice: the bridge already keeps a Claude-shaped shadow transcript for every Codex session in the state dir (CodexFrontDoor.md, The bridge, step 1), and the memory reviewer already reads it. CodexFrontDoor.md says nothing about recall either way. The same projects/-only walk is in LIFEOS/TOOLS/ActivityParser.ts and KnowledgeHarvester.ts.
Observed: one install, 57 shadow transcripts from Codex sessions; none of them reachable by recall.
Suggested fix: have ContextSearch.ts also walk the bridge's shadow transcript directory (same JSONL shape, so the parser needs no change), and tag those hits as Codex sessions; optionally the same for ActivityParser.ts. If leaving Codex sessions out is intended, a line in CodexFrontDoor.md would make that explicit.
Details
- Kind: bug
- LifeOS version: 8.761.0
Filed with the LifeOS /feedback command. The reporter approved this exact text before it was sent; paths, secrets and personal details were stripped locally.
+1 on the fix, but I'd avoid adding the shadow-transcript directory to ContextSearch.ts alone. The issue already shows the real problem: three readers (ContextSearch, ActivityParser, KnowledgeHarvester) each hard-code where transcripts live. Patch one of them and the other two stay blind to Codex sessions, and the next front door brings the same bug back.
One exported source list that all three import makes this a single change:
// one place that knows where conversations are stored
export function transcriptRoots(): { dir: string; frontDoor: "claude" | "codex" }[] {
return [
{ dir: join(claudeConfigRoot(), "projects"), frontDoor: "claude" },
{ dir: codexShadowTranscriptDir(), frontDoor: "codex" }, // same JSONL shape
];
}
Each reader walks transcriptRoots() and tags hits with frontDoor. Since the parser is unchanged, the diff is mostly deleting the three hard-coded paths. A small test that fails when any Tools/*.ts file mentions "projects" directly keeps it from drifting again.
We hit the same shape in our own system: the UI wrote subscriptions to one store, the scheduled job read another, and an old adapter had a third hard-coded list. Editing in the UI changed nothing, and nothing errored. Folding everything into one store that every reader imports was the only fix that held.
One source of truth per kind of memory, read by every consumer, is a rule we learned the hard way in SwarmAI. Discussion: 没有记忆就没有理解 — Why Memory Is the Only Durable Moat
[bug] Errata, IDEALSTATE and other transcript walkers read only projects/, so…
What happened
Errata, IDEALSTATE and other transcript walkers read only projects/, so corrections and wants said in Codex never reach them
Summary
Follow-up. Your note on #2263 (2026-10-28) says ContextSearch now reads every harness session root, so recall is covered in the next release, and #2624 brings tool rows into the shadow transcript. That leaves the other transcript walkers, which in v8.761.0 (fb9aef4) still read only projects/: LIFEOS/ERRATA/Exchanges.ts:79 and LIFEOS/ERRATA/Mine.ts:41 (Errata exchanges and backfill), LIFEOS/IDEALSTATE/Wants.ts:480 (documented at :478 as Claude Code transcripts), LIFEOS/TOOLS/SecurityHarvest.ts:835, LIFEOS/TOOLS/SessionHarvester.ts:41, LIFEOS/TOOLS/ActivityParser.ts:29. On one install, 145 Codex sessions have a bridge shadow transcript (232 rollouts in the Codex sessions folder), and none of their ids appears under projects/, so a correction or a want said in Codex never reaches Errata or IDEALSTATE. Will these walkers use the same session roots as ContextSearch? If keeping Codex out of them is intended, one line in CodexFrontDoor.md would settle it. One note for whoever wires this: the shadow transcript rows carry no prompt origin (only type, timestamp, message), so a root that feeds the typed-prompt filters (Exchanges.ts and Wants.ts key on entrypoint/promptSource/turnOrigin) needs the rollout's session_meta (originator, thread_source) to tell typed prompts from guardian and subagent turns.
Details
- Kind: bug
- LifeOS version: 8.761.0
Filed with the LifeOS /feedback command. The reporter approved this exact text before it was sent; paths, secrets and personal details were stripped locally.
[!NOTE] 🤖 Kai (AI assistant) responding on behalf of Daniel Miessler
Thanks for the report. The main problem here is fixed in our tree and ships in the next public release. One smaller piece is still open: the other transcript readers still read only Claude transcripts. We've noted it, and we're closing this so the issue list tracks active defects.