Goal linkage
Make the public Codex adapter safe to stage without claiming ownership of an
existing MCP registration, and prevent managed Compound Engineering activation
on an unreviewed Codex CLI version.
Dogfood evidence
Read-only MacBook preflight found two confirmed blockers:
JARVOS_MANAGED_HARNESS_ROLLBACK=1 removed and then re-added the jarvos
MCP registration.
- The shipped Compound Engineering conformance receipt records Codex
0.146.0,
while activation did not compare that evidence with the live CLI version.
The active Codex profile was not intentionally activated or modified and has no
jarvOS MCP, lifecycle hook, or Compound Engineering provider enabled.
Included scope
- Record a small owner-only receipt for only the
jarvos MCP registration that
setup creates.
- Preserve pre-existing, changed, or inconclusively inspected registrations.
- Make MCP rollback remove-only and clear the receipt only after confirmed
absence.
- Require the live Codex CLI version to exactly match the validated conformance
receipt before any managed Compound Engineering setup write; repeat the check
immediately before provider activation.
- Prove the lifecycle in disposable
CODEX_HOME fixtures and package the
receipt helper.
Explicitly excluded
- Whole-profile transactional rollback.
- Hook trust or feature-setting restoration.
- Doctor/Runtime Kit compatibility schema changes.
- Stable-runtime publication policy.
- Installation into the active Codex profile.
Those remain separate activation gates. This issue alone does not authorize a
full-profile installation.
Definition of Done
- Rollback has no path that adds an MCP registration.
- No receipt plus a pre-existing
jarvos registration preserves it and stops.
- A valid receipt authorizes removal only while the current normalized
registration still matches it.
- Partial add, missing registration, removal failure, changed registration,
invalid receipt, and inconclusive inspection outcomes are deterministic and
covered by tests.
- Version mismatch stops before MCP, hook, feature, provider, or receipt writes;
exact match permits the reviewed provider path; rollback is never version
blocked.
- Focused suites, package verification, exact-commit independent review, and
draft PR CI are green before any activation decision.
Communication contract
Keep the PR draft. Do not merge or activate from this issue alone; report the
remaining feature/trust and stable-publication gates separately.
Goal linkage
Make the public Codex adapter safe to stage without claiming ownership of an
existing MCP registration, and prevent managed Compound Engineering activation
on an unreviewed Codex CLI version.
Dogfood evidence
Read-only MacBook preflight found two confirmed blockers:
JARVOS_MANAGED_HARNESS_ROLLBACK=1removed and then re-added thejarvosMCP registration.
0.146.0,while activation did not compare that evidence with the live CLI version.
The active Codex profile was not intentionally activated or modified and has no
jarvOS MCP, lifecycle hook, or Compound Engineering provider enabled.
Included scope
jarvosMCP registration thatsetup creates.
absence.
receipt before any managed Compound Engineering setup write; repeat the check
immediately before provider activation.
CODEX_HOMEfixtures and package thereceipt helper.
Explicitly excluded
Those remain separate activation gates. This issue alone does not authorize a
full-profile installation.
Definition of Done
jarvosregistration preserves it and stops.registration still matches it.
invalid receipt, and inconclusive inspection outcomes are deterministic and
covered by tests.
exact match permits the reviewed provider path; rollback is never version
blocked.
draft PR CI are green before any activation decision.
Communication contract
Keep the PR draft. Do not merge or activate from this issue alone; report the
remaining feature/trust and stable-publication gates separately.