Repository navigation
skills: an order event names its boards; a parts order's news goes in notes - #43
Merged
Merged
Conversation
… notes The pcb-kit skill told an agent to add an [[event]] to order.toml whenever an order shipped. pcbkit production applies an event without `pcb` to every board in the order, so an event written for a parts order placed beside the boards (hand-assembly parts from a distributor) would have shown boards still in the cart as shipped. A trial run of an agent recording vendor mail caught this before anything was written. The row now says to give `pcb` unless the event is about every board, and to record a parts order's news as a dated line in the order's `notes`, which ORDER.md shows. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues remain for the documentation-only clarification of board-event scope and order-update notes.
No open issues 🎉
What changed in this PR
This documentation-only PR clarifies how agents should record order updates without incorrectly changing board production status. No runtime code changes.
Changes:
- Require an event’s
pcbfield unless the event applies to every board in the order. - Direct parts-order updates to dated order
notes, displayed in ORDER.md. - Record the guidance correction under the changelog’s Unreleased fixes.
| File | Description |
|---|---|
skills/pcb-kit/SKILL.md |
Clarifies board-event scope and where to record parts-order updates. |
CHANGELOG.md |
Documents the corrected order-recording guidance. |
Review effort: Balanced
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed
The order row in
skills/pcb-kit/SKILL.md("An order was placed, shipped, arrived or hit a problem") now says:[[event]]itspcbunless it is about every board in the order, since an event withoutpcbcounts for all of them;notesas a dated line, which ORDER.md shows.One entry under
## [Unreleased], Fixed, in CHANGELOG.md.Why
The row told an agent to add an
[[event]]whenever an order shipped.pcbkit productionapplies an event withoutpcbto every board in that order.toml (pcbkit/production.py, the loop overevents), so a "shipped" event written for a parts order would have shown boards that were still unpaid in the cart as shipped.A trial run of an agent that records vendor mail caught this before anything was written: a distributor's dispatch notice belonged to an order.toml that also holds 13 boards.
For the reviewer
pcbkit production --helpis unchanged. It already sayspcbis "one board or a list; default all"; the parts-order sentence could go there too if wanted.python3 scripts/release.py checkpasses.🤖 Generated with Claude Code