Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
4eb29cb
refactor(workforce): rename worker messages to sendMessage and onMess…
claude Oct 27, 2026
86f9091
feat(workforce): a received message is its own item, and nothing is r…
claude Oct 27, 2026
f201a3e
FIX-2238: landing rules, task-sessions refusal and one budget
claude Oct 27, 2026
9413821
FIX-2238: every worker flow on an installation hears a message
claude Oct 27, 2026
1feba42
FIX-2238: docs, changeset, goal amended, epic seams updated
claude Oct 27, 2026
b03e4fe
Merge main into FIX-2238; review fixes
claude Oct 27, 2026
acdd330
FIX-2238: one chain for a task filed held; drop the dead messaged-wor…
claude Oct 27, 2026
752d290
FIX-2238: a received message's budget is what its chain has left
claude Oct 27, 2026
367eb69
FIX-2238: an answer reaches a worker that hears only in its tasks' se…
claude Oct 27, 2026
5d7ca95
FIX-2238 goal: the ring's own hand-offs aren't stray rows; the herald…
claude Oct 27, 2026
bfbae4c
FIX-2238 goal: 3:budget-left grades what the chain had left when heard
claude Oct 27, 2026
0e91fad
FIX-2238 follow-up: a fresh budget for a task held before it starts, …
claude Oct 28, 2026
0232b15
Merge the merged FIX-2238 branch history (no changes): the follow-up …
claude Oct 28, 2026
570849b
FIX-2238 follow-up: read a finished task session the way the steer ro…
claude Oct 28, 2026
d9d39a5
goal(FIX-2238): the goal's text for sendMessage, and its verdict
claude Oct 28, 2026
c14d50c
Merge remote-tracking branch 'origin/main' into claude/project-thread…
claude Oct 28, 2026
5bb75da
goal(FIX-2238): leg 6's one failure was the goal's timing, fixed in #…
claude Oct 28, 2026
cccdd43
Merge branch 'main' into claude/project-thread-n6abql
jhoffner Oct 28, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
FIX-2238 goal: the ring's own hand-offs aren't stray rows; the herald…
… sends after a refusal

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NczDiDWiB5JZRCvyAFUpe9
  • Loading branch information
claude committed Oct 27, 2026
commit 5d7ca952bb5bf21e5ad9a0e644065232bd4712b6
7 changes: 5 additions & 2 deletions goals/shift-manager/workers-message-each-other/legs.mts
Original file line number Diff line number Diff line change
Expand Up @@ -688,7 +688,7 @@ export async function leg3(world: World): Promise<LegResult> {
// A refused send spends nothing: after a new line from the person, a refused send then a sent one, at 1.
const nobody = `nobody-${hex()}`;
const logBefore = new Set((await logOf(alice)).map((m) => m.id));
const pair = await talk(turns, "3", alice, HERALD, herald, `Do these two in order. First message the worker ${nobody} saying hi. Then message ${HELPER_A} saying "after ${ring}".`);
const pair = await talk(turns, "3", alice, HERALD, herald, `Do these two in order. First message the worker ${nobody} saying hi. Then, whether or not that worked, message ${HELPER_A} saying "after ${ring}".`);
const refusedCall = pair.calls.find((c) => c.args.to === nobody);
const afterCall = pair.calls.find((c) => c.args.to === HELPER_A && typeof c.output?.sent === "string");
const added = (await logOf(alice)).filter((m) => !logBefore.has(m.id) && m.fromSession === herald.id);
Expand Down Expand Up @@ -781,7 +781,10 @@ export async function leg4(world: World, filedGoals: readonly string[], hireChec
const session = world.conversation[worker];
if (session === undefined) continue;
const board = await boardOf(alice, session.flowKind, session.id).catch((e: unknown) => [{ error: messageOf(e) }] as Array<Record<string, unknown>>);
const stray = board.filter((row) => !filedGoals.some((goal) => String(row.goal ?? "").includes(goal)));
// Leg 3's ring hands each message on as a task for Helper B on Helper A's board, in the model's own words.
const stray = board.filter(
(row) => !filedGoals.some((goal) => String(row.goal ?? "").includes(goal)) && !(worker === HELPER_A && row.assignee === HELPER_B),
);
if (stray.length > 0) r.failures.push(`4:no-task-row — ${worker}'s board holds row(s) no leg filed: ${show(stray.map((x) => ({ assignee: x.assignee, goal: String(x.goal ?? x.error ?? "").slice(0, 120) })))}`);
}
return r;
Expand Down
Loading