Skip to content

feat(delegation): delegate claimed ticket work - #790

Merged
shaug merged 10 commits into
mainfrom
scott/issue-779-delegation
Jul 29, 2026
Merged

feat(delegation): delegate claimed ticket work#790
shaug merged 10 commits into
mainfrom
scott/issue-779-delegation

Conversation

@shaug

@shaug shaug commented Jul 29, 2026

Copy link
Copy Markdown
Owner

TL;DR

Delegates one claimed Atelier assignment through the pinned Agent Scripts v2 protocol with executable checkpoints, exact authority fencing, durable delivery receipts, and recoverable handoffs.

Summary

  • Builds and seals one versioned delegated-execution invocation for a fresh worker.
  • Services one-shot checkpoints against fresh host observations, current policy, ticket, repository, claim, and authority state.
  • Verifies exact candidate head and remote ref publication, including recoverable blocked handoffs after acknowledgement failure.
  • Validates ready, blocked, and requires-epic terminal results against the pinned dependency contract without rewriting tracker state or review identity.
  • Records immutable attempt and delivery evidence while failing closed on drift, replay, foreign candidates, unsupported review mechanisms, or invalid terminal state.

Tickets

Fixes #779

Atelier Protocol Experiment added 10 commits July 29, 2026 05:48
Implement the Agent Scripts v2 delegated-execution boundary for one active claimed assignment. Prepare hash-bound invocations, service fresh-state authority checkpoints, validate ready, blocked, and requires-epic terminal results, and record immutable mailbox receipts without absorbing the dependency workflow. Update the production skill contract, host pin, policy documentation, and end-to-end contract coverage.
Persist the canonical invocation digest before handing work to a fresh worker and verify it at every checkpoint and terminal transition. Fence sequence, token, candidate identity, effective acceptance policy, tracker state, and normalized review evidence with adversarial contract coverage.
Provide a probed one-shot checkpoint adapter that captures fresh native state before every delegated decision and fences policy or canonical-base drift. Recover an exact remotely verified pushed candidate in the blocked receipt when publication acknowledgement fails, while preserving append-only claim history and fresh-clone reconstruction. Add installed-protocol, drift, and handoff contract coverage and update the delegation doctrine.
Persist each candidate-bearing authorization's exact remote ref alongside its head and require publication, downstream mutation, and blocked recovery to match both. Reject same-head substitutions onto an unauthorized ref with or without an older acknowledged candidate, while preserving the verified acknowledgement-failure recovery path.
Document candidate_remote_ref in the complete authorization shape so the contract matches the frozen schema and writer.
Honor the pinned Agent Scripts v2 blocked and requires_epic result shapes, preserve current candidate handoffs, and cover exact installed-protocol finalization.
Reject dependency review evidence that cannot be represented truthfully as review-code-change, with exact installed-protocol and no-mutation coverage.
Keep repository-owned delegation assertions active in clean CI environments while validating exact Agent Scripts v2 result shapes whenever the independent installed bundle is available.
Require the terminal pull request topology to identify the exact acknowledged candidate ref, head, and base. Cover each mismatched field and preserve mailbox state on rejection.
Require the live pull request head repository to match the acknowledged managed candidate. Reject foreign fork topology without advancing the mailbox.
@shaug
shaug merged commit aac9147 into main Jul 29, 2026
2 checks passed
@shaug
shaug deleted the scott/issue-779-delegation branch July 30, 2026 13:44
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.

Delegate one claimed ticket to Agent Scripts

1 participant