Skip to content

Take full custody of engineering state left by earlier sessions (5.0.0) - #126

Merged
mzored merged 1 commit into
mainfrom
release/5.0.0-full-custody
Sep 16, 2026
Merged

mzored merged 1 commit into
mainfrom
release/5.0.0-full-custody

Conversation

@mzored

@mzored mzored commented Sep 16, 2026

Copy link
Copy Markdown
Owner

Summary

Release 5.0.0. The kernel's "Work you do not own and delegates" section becomes "Custody of engineering state and delegates": every branch, worktree, checkout, checkpoint, running service, and uncommitted change in a governed project is the agent's own engineering state or another session's under the same responsibility, never described to the owner as theirs or somebody else's and never handed back as a decision.

  • A live session's lane (changes still moving, an open review, a live record, a host-listed session process) is coordinated with and never overwritten, reset, published, deleted, or quietly absorbed.
  • A finished session's leftover is finished, integrated, recorded, or retired, and the report says which. Integrated leftovers nothing holds are retired as routine hygiene on any request that changes the project. A superseded or abandoned attempt with unique commits is retired on the agent's judgment with its commit named. Uncommitted changes the run did not make stay in place. A read-only request reports and retires nothing.
  • Material deletion now names what it protects: data, history others share, and anything unrecoverable. Retiring the agent's own recoverable state is engineering.
  • Reverses the 3.0.1 INT-002 rule and the abstention half of the 4.8.0 naming rule; the 2.9.0 live-peer protection is unchanged.

Observed defect: sessions in the owner's projects, where no human writes code, kept reporting repository state as "yours" or "foreign" and leaving it; the shipped text made that answer compliant.

Corpus and repository changes

  • int-002 renamed to int-002-earlier-branch-dispositioned-under-unrelated-change; candidate arms require a stated disposition and forbid handing the branch back; every arm forbids rewriting the branch; a retired branch must have its commit named.
  • New custody-001-integrated-leftover-retired-under-unrelated-change on the new orders-service-integrated-leftover fixture, with a merged_into_head preflight check in scripts/capture_eval.py.
  • foreign-uncommitted-work-preserved adds a forbidden attribution event in candidate arms; reconciliation cases keep their expectations.
  • Decision, evidence, contract, guide, FAQ, design, and prior-art records updated; CHANGELOG 5.0.0 entry with the review record.

Verification

  • Full python scripts/check.py: 390 tests passed; git diff --check clean.
  • scripts/check_hosts.py: Codex and Claude schema validation PASS.
  • Isolated read-only Codex review raised three qualifying findings, all confirmed and fixed (recorded in the CHANGELOG); none refused.
  • Behavior under the new text is UNVERIFIED on both hosts; no paid run.

🤖 Generated with Claude Code

Release 5.0.0. Every branch, worktree, checkout, checkpoint, running
service, and uncommitted change in a governed project is the agent's own
engineering state or another session's under the same responsibility. A
live session's lane stays untouched; a finished session's leftover is
finished, integrated, recorded, or retired, and the report says which.
Integrated leftovers nothing holds are retired on any request that
changes the project; a superseded attempt with unique commits is retired
on the agent's judgment with its commit named; uncommitted changes the
run did not make stay in place; a read-only request retires nothing.

Reverses the 3.0.1 INT-002 rule and the abstention half of the 4.8.0
naming rule; keeps the 2.9.0 live-peer protection. Renames the kernel
section to "Custody of engineering state and delegates", updates the
references and workflow skills, reworks the stale-branch corpus case,
adds a custody case with a merged-leftover fixture and a merged_into_head
preflight check, and records the decision, evidence, and refused
alternatives.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@mzored
mzored merged commit eb44ac2 into main Sep 16, 2026
1 check passed
@mzored
mzored deleted the release/5.0.0-full-custody branch September 16, 2026 12:22
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