Skip to content

A resident's submission records her commit, so the merge gate can land it: continuum's airc pin moves past #1660 (card c3504a71) - #5824

Merged
joelteply merged 6 commits into
canaryfrom
c3504a71/resident-submit-records-head
Nov 7, 2026
Merged

joelteply merged 6 commits into
canaryfrom
c3504a71/resident-submit-records-head

Conversation

@joelteply

Copy link
Copy Markdown
Contributor

Fable's #5821 refusal table: every resident submission carried no head, and airc #1660's merge gate
(a passed independent review at a recorded head) refuses a headless submission, so no resident's work
could ever merge, blocking goal 2 (a resident's first merged PR). continuum pinned airc at b158a7e93,
which predates #1660, so work/submit could not record one.

  • Cargo.toml: every airc crate b158a7e93 -> 22c9c0ee0 (airc canary: feat(persona): RagSourceFaculty bridge — keep roster/doctrine grounding in the Workspace brain #1660 recorded heads, feat(docker): airc grid-join overlay — persona-in-Docker-as-grid-peer #1661
    latest_submission, feat(client): continuum-client-ffi — the FFI-clean JSON-boundary SDK facade #1663 the stacked-PR gate).
  • work/submit records her checkout's committed HEAD (committed_head) as the submission's head, and
    the patch is that commit's diff against the base. While she holds changes the commit does not carry
    (tracked or untracked, outside the substrate paths the patch excludes) it is refused by name, naming
    code/git/commit: a submission is a commit, never her working tree, and the substrate never commits
    for her. A typed artifact names its head too (head param).
  • One owner of "newest": continuum's card_holder::latest_submission (a copy of submissions.first())
    is deleted; its six callers read airc's WorkCard::latest_submission().
  • Touched files leave with no self-sized sites: handoff.rs's five hand-cut ids render through
    airc_core::shown_id::shown_form; the build shas compare by prefix either way and render whole; the
    dirty paths, the diff sha256 and the obligations she resumes from render whole; work_similar's card
    text gives the embedder the whole body. latest_submission.rs runs git through one git_in helper
    (three spawn sites become one).
  • Test literals of WorkSubmission/SubmitWork carry a head (Unrecorded where heads are not the subject).

Tests: continuum-mind work:: 86 pass, continuum-rooms handoff 8 pass, rooms lib 30 pass; mind/rooms/core
--tests check clean; ratchets vs origin/canary 87/87. a_worktree_with_no_base_is_refused_by_name now
proves an uncommitted change is refused naming code/git/commit and the derived head is the commit.
Mutation: without the dirty-tree refusal, it fails.

Co-Authored-By: Claude Opus 5.5 (1M context) [email protected]
Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE

…d it: continuum's airc pin moves past #1660 (card c3504a71)

Fable's #5821 refusal table: every resident submission carried no head, and airc #1660's merge gate
(a passed independent review at a recorded head) refuses a headless submission, so no resident's work
could ever merge, blocking goal 2 (a resident's first merged PR). continuum pinned airc at b158a7e93,
which predates #1660, so work/submit could not record one.

- Cargo.toml: every airc crate b158a7e93 -> 22c9c0ee0 (airc canary: #1660 recorded heads, #1661
  latest_submission, #1663 the stacked-PR gate).
- work/submit records her checkout's committed HEAD (committed_head) as the submission's head, and
  the patch is that commit's diff against the base. While she holds changes the commit does not carry
  (tracked or untracked, outside the substrate paths the patch excludes) it is refused by name, naming
  code/git/commit: a submission is a commit, never her working tree, and the substrate never commits
  for her. A typed artifact names its head too (`head` param).
- One owner of "newest": continuum's card_holder::latest_submission (a copy of submissions.first())
  is deleted; its six callers read airc's WorkCard::latest_submission().
- Touched files leave with no self-sized sites: handoff.rs's five hand-cut ids render through
  airc_core::shown_id::shown_form; the build shas compare by prefix either way and render whole; the
  dirty paths, the diff sha256 and the obligations she resumes from render whole; work_similar's card
  text gives the embedder the whole body. latest_submission.rs runs git through one git_in helper
  (three spawn sites become one).
- Test literals of WorkSubmission/SubmitWork carry a head (Unrecorded where heads are not the subject).

Tests: continuum-mind work:: 86 pass, continuum-rooms handoff 8 pass, rooms lib 30 pass; mind/rooms/core
--tests check clean; ratchets vs origin/canary 87/87. a_worktree_with_no_base_is_refused_by_name now
proves an uncommitted change is refused naming code/git/commit and the derived head is the commit.
Mutation: without the dirty-tree refusal, it fails.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE
…ying an unpublished path is refused (Fable on #5824)

Fable: the gate merges the HEAD commit, but the artifact was candidate_diff (her checkout's diff minus
SOLUTION_PATH_EXCLUDES), so anything in her commit that the diff dropped would merge unreviewed; airc's
CLI submit enforces patch == git diff --binary base head for this reason. commit_patch now returns
exactly `git diff --binary base..head` (the same flags the patch was always rendered with), and a commit
that touches a path a submission never publishes (substrate or build byproducts) is refused by name.

Tests: continuum-mind work:: 84 pass; ratchets vs origin/canary 87/87. a_worktree_with_no_base_is_refused_by_name
now also commits .continuum/state.json and expects the refusal naming it. Mutation: without the refusal it
fails.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE
@github-actions github-actions Bot added size: L and removed size: M labels Nov 7, 2026
joelteply and others added 4 commits November 7, 2026 08:06
A typed submission is complete only with the commit it ends at (the gate refuses one without),
so the training_credit fixtures that typed base and artifact but no head fell through to
deriving from a checkout and cloned acme/ordinary-project in CI. They now type head.
head's tool doc is cut to 'Omit: your checkout's committed HEAD.' (+42 surface tokens at
bce9206 with the longer text; the exact figure is pinned from this commit's CI).

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE
@joelteply
joelteply merged commit 7a9a8c6 into canary Nov 7, 2026
44 checks passed
@joelteply
joelteply deleted the c3504a71/resident-submit-records-head branch November 7, 2026 15:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant