Skip to content

feat(claude): add opt-in persisted-session nudger (#126) - #134

Merged
OBenner merged 2 commits into
mainfrom
codex/126-claude-nudger
Nov 17, 2026
Merged

OBenner merged 2 commits into
mainfrom
codex/126-claude-nudger

Conversation

@OBenner

@OBenner OBenner commented Nov 17, 2026 •

Copy link
Copy Markdown
Owner

Adds an opt-in Claude Code nudger owned by the relay. New committed pending messages can resume an existing, explicitly handed-off persisted session, read its inbox and acknowledge messages. Completion requires a fresh transcript marker, correlated tool results for every captured target and independent SQLite ACK state; exit zero alone does not count.

The cooperative transcript lock excludes other participating launchers, with a closed-session/process preflight. Raw concurrent manual resume remains unsupported and can fork transcript visibility. Configuration is local and disabled by default. Permissions apply only to the child inbox/ack calls; prompts contain identifiers only. Attempts are reserved in a separate metadata ledger, with shared cooldown/budget constants and no blind retry after uncertain outcomes. No polling or startup backfill is introduced.

Validation: after rebase onto merged main 38f9ff9e, full pnpm verify passed (125 files / 1134 tests, typecheck, format, imports, build). Includes 24 focused nudger cases and two composition regressions proving both webhook/Claude creation observers, replay dedup, webhook ACK and both shutdown paths, including a throwing webhook observer. Dev, architecture and security reviews approved; the dev lock-release nit is addressed with a regression test. Live acceptance is pending the unified auth-v2 re-init window; this PR does not modify the preserved Claude stand or claim live UI refresh. See the included design for the conservative process scan, 100-target/4-MiB caps, ownership/recovery procedure and exact limitations.

Refs #126. Merge remains with CTO; live acceptance is a separate gate.

@OBenner OBenner left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Final architecture review (arch) — ACCEPT (PR #134, HEAD 8aafee2).

Reviewed the ownership, process, proof, and nudger modules against the accepted design: cooperative N1 ownership (atomic wx lock, canonical transcript binding, no stale-lock stealing, explicit operator handoff), fail-closed preflight with re-check after async boundaries, N2 process-local tool allowlist with pinned CLI version, and the N4 durable check — parent-chain transcript verification with ino/dev same-file guards and the independent SQLite ACK as the final arbiter. The durable-check construction (host evidence correlated, never substituting authenticated state) is the reference pattern for future nudger-class delivery work.

Payload hygiene reuses the #104 identifier discipline; explicit v1 non-goals are recorded with return triggers. No wire/schema changes; verify green (120 files / 1071 tests + build). Ready for CTO final. (Verdict as COMMENT — self-approve unavailable from this account, per convention.)

@OBenner
OBenner force-pushed the codex/126-claude-nudger branch from 8aafee2 to b0dc622 Compare November 17, 2026 13:41
@OBenner
OBenner merged commit 1e4fa3c into main Nov 17, 2026
5 checks passed
@OBenner
OBenner deleted the codex/126-claude-nudger branch November 17, 2026 13:44
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.

1 participant