Skip to content

Fix/triage card page writes - #283

Open
damienesp wants to merge 2 commits into
mainfrom
fix/triage-card-page-writes
Open

damienesp wants to merge 2 commits into
mainfrom
fix/triage-card-page-writes

Conversation

@damienesp

Copy link
Copy Markdown
Contributor

0.41.1 — triage boards stop drawing a second outcome control

Patch release. Found while rehearsing a triage board on 0.41.0.

Problem: the triage-board recipe's prose says "lb.note + the prospecting toggles", but the card template an agent copies still drew the old Outreach section: an "Outreach result" select (a second writer of the prospecting action, beside the toggles) and a Log outreach button with nothing saying where it writes. The guide is served by leadbay_get_artifact_runtime, so every board built on 0.41.0 can copy it.

Fix:

  • The template's Outreach section drops the select, holds the four prospecting toggles, and annotates Log outreach as the note (lb.note, never lb.outreach).
  • Write-call rules now say a page never calls report_outreach before explaining how an agent hand-rolls it.

For reviewers

  • The section title "Outreach" and the "Log outreach" submit are kept: card-layout.test.ts and status-saves-on-change.test.ts pin both, and neither was the bug. No existing test file is modified.
  • Release fields bumped to 0.41.1 (package.json, both server.json versions, plugin.json). npx pins stay @0.41.
  • Tests: new triage-card-writes.test.ts (3 cases). components 567/567, core 1914/1914, mcp 1041/1043 (2 pre-existing POSIX-only), typecheck clean.

🤖 Generated with Claude Code

damienesp and others added 2 commits September 26, 2026 00:21
…describes

Found rehearsing a triage board on 0.41.0. The prose around the recipe
said "lb.note + the prospecting toggles", but the card template an agent
copies still drew the old Outreach section: an "Outreach result" select —
a second writer of the prospecting action, beside the toggles — and a Log
outreach button with no word on where it writes. A board built from the
template, which is how boards get built, shipped a duplicate control and
nothing steering it off lb.outreach.

The section keeps its "Outreach" title and its Log outreach submit, both
pinned by card-layout and status-saves-on-change and neither of them the
bug. It loses the select, gains the four prospecting toggles, and the
button is annotated as the note — lb.note, never lb.outreach.

The Write-call rules also explained how to hand-roll report_outreach
without first saying a page's buttons never call it. That sentence now
comes first; the hand-rolling rule is labelled as the agent's.

Tests: new triage-card-writes.test.ts, 3 cases. components 567/567, core
1914/1914, typecheck clean on all five.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…control

Patch release for the triage-card template fix on this branch. The guide is
compiled into the server and served by leadbay_get_artifact_runtime, so the
fix reaches agents only once a new version is deployed; until then the live
0.41.0 server keeps handing out the template with the stale "Outreach
result" select.

Bumped: packages/mcp/package.json, both server.json versions, plugin.json.
The npx pins stay @leadbay/mcp@0.41 — they track major.minor, which a patch
does not move. @anthropic-ai/sdk ^0.40.0 is an unrelated dependency.

Merging this to main releases it: auto-tag pushes mcp-v0.41.1.

Tests: mcp 1041/1043 (the 2 are the pre-existing POSIX-only ones),
typecheck clean on all five.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@damienesp damienesp self-assigned this Sep 25, 2026

@claude claude Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Clean, well-scoped fix. The triage-card template's Outreach section swaps its stray "Outreach result" <select> for the 4 prospecting-action toggles, matching both the prose that already described this layout and the already-correct ROUTE PLANNER template elsewhere in the same guide. The new triage-card-writes.test.ts pins both the template fix and the Write-call-rules reordering. artifact-runtime.generated.ts was regenerated (verified it matches usage-guide.md), not hand-edited. The version bump (package.json/server.json ×2/plugin.json/CHANGELOG) is internally consistent. No new tools or routing changes, so no WORKFLOWS.md update is needed. No issues found.

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