Repository navigation
Define Claude parity and verify the native Codex lifecycle - #92
Merged
Merged
Conversation
Owner
Author
|
Reviewed and merged by the sage (Claude) under autopilot, after one clean cycle on 1077f00: code review (R718) and QA (R719), CI green. The probe ran isolated and verified the spawn, result, start and stop identity join. Non-blocking findings went to #93 (probe clean-up, timeouts, safe root path, telemetry off, unit-1 wording, two flagged dictionary words). #88 stays open for the next units. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Refs #88
This first unit defines Claude parity for automatic Sage in Codex and adds a reproducible native lifecycle probe. It does not enable automatic Sage or close #88.
The owner selected parity with Claude. Sage off clears Sage/autopilot and restores direct chief edits; it does not automatically interrupt active agents. Automatic coordination with manual merging is the first delivery stage. Gated autopilot remains part of the full parity target, with separate authorization for any live merge pilot.
Design and evidence
The source audit covers owner activation, off, compaction, chief authority, task routes, briefs, roles/caps, dispatch/start/result, report correction, capacity release, reviews/repairs, manual merge, autopilot, board/status and arena. It distinguishes enforced hook behavior from chief instructions and unverified native integration.
The standalone probe runs Codex 0.160.0 in a fresh temporary profile, with local simulated model responses and only a test observer trusted there. It observes one spawn request and result, one child start and stop, and exact matching identities. Native status reports running while the child response is held, then completed with the expected marker. Six model requests comprise five root requests and one child request. No real model or owner logbook participates. This checks CLI transport, not activation in an installed desktop session.
The native task uses agent_message with an opaque payload. Exact transport delivery is checked; real-model consumption is not claimed. The initial fixture failed on a noncanonical temporary path and then an incorrect ordinary-user-message assertion. Both causes were corrected before the saved probe passed. No unchanged failure was retried until green.
Validation
Build: 228 files. Check: all checks pass. Saved native probe: exit 0, verified true, exactIdentityJoin true, zero malformed events or rejected requests. Full suite: 783 tests, 783 pass, zero failures, cancellations or skips. Diff check: exit 0.
Every test/probe used fake ps, pgrep and kill first on PATH. No new dependency, real process inspection/signal, real merge, or real push ran in a test. Generated plugin documents come from the build.
Production behavior and existing test assertions are unchanged. This is an exploratory native transport verifier, not a test of a new production feature. There is no newly activated behavior to prove failing on main.
Remaining work
Denial enforcement, event ordering under races, compaction and restoration, later-task attribution, complete policy wiring, accepted reports, authoritative capacity release, recovery, real-model consumption and the installed real-project pilot remain required. The prepared runtime is still inactive. Do not infer full Claude parity from this probe.
Shared rules stay in sage-core. Codex transport stays in sage-codex. Claude-owned issues and behavior are unchanged.