Skip to content

feat(codex): report live unsaved threads without queueing - #194

Merged
abruption merged 1 commit into
mainfrom
fix/166-unsaved-codex-diagnostic
Sep 24, 2026
Merged

abruption merged 1 commit into
mainfrom
fix/166-unsaved-codex-diagnostic

Conversation

@abruption

Copy link
Copy Markdown
Owner

Fixes #166.

When no saved Codex thread exists, resolution now checks the UUID-specific writer lock in known homes. Exactly one stable live writer produces a distinct thread_not_yet_persisted refusal with first-turn guidance; no queueing is attempted. A missing or stale lock retains thread_not_saved_in_known_homes, and saved-thread/home selection is unchanged. Doctor performs a bounded read-only scan of the selected home and reports the count of live unsaved writers without exposing thread IDs.

Validation: 515 tests passed locally (11 skipped); generated standalone and git diff --check passed. Existing sqlite ResourceWarnings in unrelated backup snapshot tests remain.

@abruption
abruption force-pushed the fix/166-unsaved-codex-diagnostic branch from 6000cc0 to ed1034b Compare September 24, 2026 12:14
@abruption
abruption merged commit 82fc6db into main Sep 24, 2026
24 checks passed
@abruption
abruption deleted the fix/166-unsaved-codex-diagnostic branch September 27, 2026 01:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

enhancement(codex): distinguish a live but not-yet-persisted Codex thread from a missing target

1 participant