rounds: stock-seat-handoff reads the successor's edge the way the daemon does #43

Open
caoer115 wants to merge 1 commit from agent/9c8c5bb3-handoff-edge-read into agent/379d2e5a-stock-skill-slash
Owner

Leader 21b7d2e1, ruling (p): r273's harness block. Stacked on #42 (branch off its head ae79007, itself on #41); merging this lands #41 and #42 with it.

r273 (results/rounds/r273.md) read GATE: block — stock-seat-handoff/claude-stock-tui (fail). The successor 71b10729 put handoff-from with its quotes inside the value. Its card reads handoff-from: "\"[[7a4e415c]]\"". The daemon reads that edge (handoff_forward.go indexHandoffEdges: every [0-9A-Za-z]+ token of the value). 66's grep handoff-from: *"\?\[\[<pred>\]\] did not.

  • hand_edge <agents dir> <pred> (lib/acts.sh) reads the edge the daemon's way, no wider: a card at agents/<x>/<x>.md, its frontmatter handoff-from value as spelled with list lines included, names <pred> when one of its tokens is <pred>; a card's own id never counts.
  • 66 reads $SR_ZT2/agents with it (the harness reads zt2's root directly, as 48 and 67 do).

Gate (~/.local/share/ucc/work/9c8c5bb3/edge-test/{test.sh,test.out} on devstation): 13 of 13.

  • r273's root copy finds 71b10729.md; the old reader found none.
  • r272's root copy finds 74e971dd.md, as the old reader did.
  • Mutations of r273's root:
    • Found: block list, flow list, [[agents/x/x]], bare [[x]].
    • None: no edge, the edge in the body only, a longer token, another seat, a card not at its agent home, the predecessor's own card naming itself, the next key naming the predecessor.
    • The old reader matched the body-only line and the own-card cases.
  • bash -n on acts.sh and 66: ok.
Leader 21b7d2e1, ruling (p): r273's harness block. Stacked on #42 (branch off its head `ae79007`, itself on #41); merging this lands #41 and #42 with it. r273 (`results/rounds/r273.md`) read `GATE: block — stock-seat-handoff/claude-stock-tui (fail)`. The successor `71b10729` put `handoff-from` with its quotes inside the value. Its card reads `handoff-from: "\"[[7a4e415c]]\""`. The daemon reads that edge (`handoff_forward.go` `indexHandoffEdges`: every `[0-9A-Za-z]+` token of the value). 66's grep `handoff-from: *"\?\[\[<pred>\]\]` did not. - `hand_edge <agents dir> <pred>` (lib/acts.sh) reads the edge the daemon's way, no wider: a card at `agents/<x>/<x>.md`, its frontmatter `handoff-from` value as spelled with list lines included, names `<pred>` when one of its tokens is `<pred>`; a card's own id never counts. - 66 reads `$SR_ZT2/agents` with it (the harness reads zt2's root directly, as 48 and 67 do). Gate (`~/.local/share/ucc/work/9c8c5bb3/edge-test/{test.sh,test.out}` on devstation): 13 of 13. - r273's root copy finds `71b10729.md`; the old reader found none. - r272's root copy finds `74e971dd.md`, as the old reader did. - Mutations of r273's root: - Found: block list, flow list, `[[agents/x/x]]`, bare `[[x]]`. - None: no edge, the edge in the body only, a longer token, another seat, a card not at its agent home, the predecessor's own card naming itself, the next key naming the predecessor. - The old reader matched the body-only line and the own-card cases. - `bash -n` on acts.sh and 66: ok.
hand_edge (lib/acts.sh): a card at agents/<x>/<x>.md whose frontmatter
handoff-from value, as spelled, list lines included, carries the
predecessor's id as one of its [0-9A-Za-z]+ tokens; a card's own id never
counts (ccc-statusd handoff_forward.go indexHandoffEdges). r273's successor
put the value with its quotes inside, an edge the daemon reads; the old
grep for [[<pred>]] after an optional quote missed it, and matched a body
line or a card naming itself (results/rounds/r273.md).
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin agent/9c8c5bb3-handoff-edge-read:agent/9c8c5bb3-handoff-edge-read
git switch agent/9c8c5bb3-handoff-edge-read

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch agent/379d2e5a-stock-skill-slash
git merge --no-ff agent/9c8c5bb3-handoff-edge-read
git switch agent/9c8c5bb3-handoff-edge-read
git rebase agent/379d2e5a-stock-skill-slash
git switch agent/379d2e5a-stock-skill-slash
git merge --ff-only agent/9c8c5bb3-handoff-edge-read
git switch agent/9c8c5bb3-handoff-edge-read
git rebase agent/379d2e5a-stock-skill-slash
git switch agent/379d2e5a-stock-skill-slash
git merge --no-ff agent/9c8c5bb3-handoff-edge-read
git switch agent/379d2e5a-stock-skill-slash
git merge --squash agent/9c8c5bb3-handoff-edge-read
git switch agent/379d2e5a-stock-skill-slash
git merge --ff-only agent/9c8c5bb3-handoff-edge-read
git switch agent/379d2e5a-stock-skill-slash
git merge agent/9c8c5bb3-handoff-edge-read
git push origin agent/379d2e5a-stock-skill-slash
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
caoer115/ucc!43
No description provided.