Skip to content

fix(recipe): a round card carries its instance's own repo, and a failed birth archives its room - #3986

Merged
joelteply merged 5 commits into
canaryfrom
fix/a-round-card-carries-its-instances-repo-and-a-failed-birth-is-archived
Sep 13, 2026
Merged

joelteply merged 5 commits into
canaryfrom
fix/a-round-card-carries-its-instances-repo-and-a-failed-birth-is-archived

Conversation

@joelteply

Copy link
Copy Markdown
Contributor

See the commit (card 5f36ce37). A seeded Verified round was born with zero cards (round-wide repo into every card); now each card carries its instance's repo and a failed birth archives the room instead of leaving it bound and empty.

🤖 Generated with Claude Code

https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

…ed birth archives its room

2026-09-13 00:56Z: a seeded Verified team round (sample 8, seed 4) was born with ZERO cards —
the round recipe passed a round-wide `$args.repo` into every work/create, a seeded Verified
round mixes repositories and has none, and work/create refused "invalid repo: Empty" at item 0.
The room stayed bound and empty (the rail listed it, the reconciler reseated it) — the same
half-born class as the two Rust rounds earlier that day (card 5f36ce37).

- `benchmark/import` rows carry `repo`: a SWE instance's own repo; a gym task's from the new
  import `repo` param. The round recipe creates each card under `$item.repo`.
- `activity/spawn`: when the recipe's pipeline fails after the room is bound, the room is
  archived with the failure as its standing note (`activity.birth_failed_archived`), and the
  refusal says so.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
joelteply and others added 4 commits September 12, 2026 20:46
…solver from the join to the cards

Second seed-4 birth on b72098a (02:10Z): step 0 joined the room as the CLI's agent
self-peer, step 3 (`work/create --room <new room>`) ran as the operator (the pipeline
dispatched with no caller) and was refused "room … is not among the rooms this caller is
in" — zero cards again, the room archived by the previous fix.

- `operator_peer::acting_caller`: the identity a verb's sub-dispatches act as — a signed
  caller passes through unchanged; an agent/operator session becomes its self-peer as a
  local caller. `acting` now resolves a self-peer presenting itself back to its own
  runtime and kind (was: kind Persona, runtime from the citizen registry only).
- `PipelineExecutor::with_caller`: every step dispatches through `execute_with_caller`.
- `spawn_activity_room` takes the caller; `activity/spawn` threads `acting_caller`;
  the pipeline-less births (hard-rs, card rooms) pass none.
- Regression test: a signed caller round-trips `acting_caller` → `acting` as the same
  peer and kind.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
… the self-peer kind default

Birth #3 on c159646 posted 5 cards (Kira claimed one within a minute) and then failed at
step 4: activity/invite refuses an empty member list, and the recipe's own doc says an empty
team means the resume pass seats the live roster — the step is conditioned on $args.team now.
The failed-birth archive then archived a LIVE round (reopened by hand); a recipe declares its
optional steps, the archive policy stands.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
@joelteply
joelteply merged commit cbbfa6e into canary Sep 13, 2026
5 checks passed
@joelteply
joelteply deleted the fix/a-round-card-carries-its-instances-repo-and-a-failed-birth-is-archived branch September 13, 2026 03:21
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