Add Codex Desktop transcript harvesting

This commit is contained in:
Kirill Kostarev
2026-06-12 16:37:23 +03:00
committed by carpedkm
parent e8c3e10b30
commit 31715a8b43
12 changed files with 479 additions and 59 deletions
+6 -1
View File
@@ -70,7 +70,7 @@ Dreams** (offline consolidation; review-then-adopt), and the **agent sleep**
idea (short-term experience → long-term competence). One "night":
```
harvest session transcripts → mine recurring tasks → replay offline
harvest Claude Code / Codex Desktop transcripts → mine recurring tasks → replay offline
→ consolidate (reflect → bounded edit → GATE on real held-out tasks)
→ stage proposal → (you) adopt
```
@@ -99,6 +99,11 @@ positive, and the gate blocks regressions
Deterministic proof (no API key): `python -m skillopt_sleep.experiments.run_experiment --persona researcher --assert-improves`.
For local sleep cycles, transcript source and replay backend are separate knobs:
use `--source claude` for Claude Code transcripts, `--source codex` for Codex
Desktop archived sessions under `~/.codex/archived_sessions`, and
`--backend codex` only when you want the replay/optimizer to spend Codex budget.
---
## Extensibility & WebUI