Take full custody of engineering state left by earlier sessions (5.0.0) - #126
Merged
Merged
Conversation
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>
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.
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.
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-002renamed toint-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.custody-001-integrated-leftover-retired-under-unrelated-changeon the neworders-service-integrated-leftoverfixture, with amerged_into_headpreflight check inscripts/capture_eval.py.foreign-uncommitted-work-preservedadds a forbidden attribution event in candidate arms; reconciliation cases keep their expectations.Verification
python scripts/check.py: 390 tests passed;git diff --checkclean.scripts/check_hosts.py: Codex and Claude schema validation PASS.UNVERIFIEDon both hosts; no paid run.🤖 Generated with Claude Code