keeps top-level human cli conversations recognizable. preserves protected names.
pending activity ─────────┐
stock / CompactVeteran ├─► 1500-char capsule ─► 12-word label ─► /resume
young chat ───────────────┘
curl -fsSL https://raw.githubusercontent.com/lmtlssss/RecentlyDivorced/main/install.sh | shinspect first:
curl -fsSLO https://raw.githubusercontent.com/lmtlssss/RecentlyDivorced/main/install.sh
less install.sh
sh install.shsource ladder:
01 stock compaction summary + latest user turn
02 optional read-only GraphFather objective + cursor + next action
03 young first ask + latest six semantic turns
legacy and paginated top-level human cli rows are covered; subagents, exec, fork, and internal threads are excluded. local rollout reading stops at 64 kib; conversation evidence stops at 1500 characters.
meaningful activity queues locally on prompt submit and refreshes asynchronously after a response, so typing never replaces a good title with a raw prompt fragment.
preview labels without touching the cache or live thread titles:
recentlydivorced --preview THREAD_ID [THREAD_ID ...]command action
──────────────────────────────────────────────────────────────
--preview THREAD_ID ... return json labels and capsules (read-only)
--auto THREAD_ID ... opt an existing thread into automatic labels
--pin THREAD_ID ... freeze current title against automatic updates
rd="${CODEX_HOME:-$HOME/.codex}/plugins/data/recentlydivorced-recentlydivorced/recentlydivorced"
"$rd" --auto THREAD_ID
"$rd" --pin THREAD_IDboth --auto and --pin accept multiple ids and never invoke a model.
- generic openings (
continue,/resume,yes, thanks) are not tasks; labeling waits until real work appears. working-directory names give context only and the repo is never scanned for naming. - current task takes priority over an older goal. labels stay within 12 words and 120 characters; empty uncertain labels are cached until evidence changes and never overwrite an existing title.
- pre-existing titles with unknown origin and externally renamed titles are protected automatically. conditional sqlite updates write a new label only if the stored name still matches the captured name. uninstall restores only plugin-owned labels.
- platform boundary: linux x86_64 plugin targeting codex's local
state_5.sqlite, not a native cross-platform codex feature. use--pinfor explicit local locks; upstream tracking lives at openai/codex#14044.
curl -fsSL https://raw.githubusercontent.com/lmtlssss/RecentlyDivorced/main/uninstall.sh | shcargo test --locked --manifest-path plugins/recentlydivorced/runtime/Cargo.toml
cargo build --locked --manifest-path plugins/recentlydivorced/runtime/Cargo.toml
python3 scripts/prove-labels.pythe lifecycle proof runs the compiled binary against temporary codex-shaped stores with a deterministic model stub, covering task discovery, multi-task directories, cache reuse, manual renames, in-flight changes, ownership, legacy upgrades, uncertainty, and child isolation without spending model usage.