[P2-018] Repair claiming, handoff, follow-up and coordination - #3
Merged
Merged
Conversation
- tools/delivery.py: readiness, status and claims read only the merged Design and Plan main and the record branches, fetched into a private ref namespace, from any checkout or worktree. ready fails closed on graph or ledger errors; invalid, unknown-state or naive-timestamp records keep their item unavailable. claim/update/release write claims, leases and integration roles as compare-and-swap commits on the exact observed record and enforce claimant and epoch. The claim carries the durable handoff record. Delivered tasks return as completion follow-ups. status/show make holders, handoffs and vacant roles discoverable. build-slot run implements the workstation lock. Keys are Windows-safe (con-02), and the Design default resolves from worktrees. Offline tests cover these paths with local bare remotes. - arcforges-implementation.md, single-task-command.md (entry prompts for worker, resume, coordinator and integration owner), execution-policy.md, ledger/README.md and AGENTS.md describe the procedure. Retired arcforges-implementation-remote.md and list-remote.md are deleted. - Generated list.md and tasks/*.md regenerated: slice rows and slice prompts, and each task names its claim, branch, ledger record and integration role. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Sep 25, 2026
Merged
Merged
Merged
Merged
Merged
Merged
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.
Implements the execution-system repair for ArcForges-Design-B#3 (DLV-26/27/29/40/41/42) and addresses the independent review findings. The baseline is unchanged: complete through WP03.02, and WP03.03 has not started.
Tool (
tools/delivery.py)ready,status,show,claim,updateandreleaseread only merged Design and Planmainplus theclaims/*,leases/*androles/*branches. These are fetched into a private per-call ref namespace, so shared worktree refs never race.ready --localshows unreviewed working-tree state for review only.ready(exit 1). An unknown claim state, a timestamp without a timezone or a malformed record makes its item unavailable and is reported, instead of making it available or raising a TypeError.updateandreleaserequire the claimant and the current epoch.deliveredandcompleteare refused until the merged ledger says so.integration:<Repository>.statusshows every holder, expired and released claims (resume points), delivered tasks still waiting, and vacant integration roles.readylists completion follow-ups.build-slot runholds an atomically created lock directory in the user profile with an owner record and heartbeat, recovers stale locks and returns the command's exit code.con-02: Git for Windows rejectsclaims/con.02,task/con.02andledger/tasks/CON.02.md, which was reproduced locally.checknow also validates the ledger and planned ledger write scopes.tools/tests/test_delivery.pyhas 17 offline tests that use local bare repositories as remotes.Documents
arcforges-implementation.mdis rewritten around the tool. It covers sessions and roles, work selection, claiming, durable handoff checkpoints, review/merge fencing (--match-head-commit, and--subjectthat keeps task IDs), completion and follow-ups, interruption/handoff/recovery, and leases, roles and the build slot. The policy sections are unchanged.single-task-command.mdnow holds complete entry prompts for Worker (any scope, including pasted task rows), Resume, Coordinator and Integration owner.execution-policy.md,ledger/README.md(record schema, key naming, evidence fields including PRs, reviewed and merge commits, remaining actions) andAGENTS.mdare updated.arcforges-implementation-remote.mdandlist-remote.mdare deleted along with their references. This does not affect the Web product.list.mdandtasks/*.mdare regenerated: adoption slices now have rows and self-contained prompts, and every task prompt names its claim, task branch, ledger record and integration role.Validation
checkpassed against the Design pull request branch (529 tasks, 58 slices, 110 views current, ledger valid). A link and anchor check over the changed documents found no problems.readyandstatusagainst the real remotes, run from a retained worktree, listed ADOPT.01 only and no records.claims/*,leases/*androles/*are not configured.Merge after ArcForges-Design-B#3.
🤖 Generated with Claude Code