Skip to content

skills: an order event names its boards; a parts order's news goes in notes - #43

Merged
somebox merged 1 commit into
mainfrom
skills-parts-order-events
Nov 18, 2026
Merged

somebox merged 1 commit into
mainfrom
skills-parts-order-events

Conversation

@somebox

@somebox somebox commented Nov 18, 2026

Copy link
Copy Markdown
Owner

What changed

The order row in skills/pcb-kit/SKILL.md ("An order was placed, shipped, arrived or hit a problem") now says:

  • give an [[event]] its pcb unless it is about every board in the order, since an event without pcb counts for all of them;
  • news of a parts order placed beside the boards (hand-assembly parts from a distributor) is not an event: it goes in the order's notes as 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 production applies an event without pcb to every board in that order.toml (pcbkit/production.py, the loop over events), 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

  • Skill text and changelog only; no code changes.
  • pcbkit production --help is unchanged. It already says pcb is "one board or a list; default all"; the parts-order sentence could go there too if wanted.
  • python3 scripts/release.py check passes.

🤖 Generated with Claude Code

… 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>
Copilot AI balanced review requested due to automatic review settings November 18, 2026 21:14

Copilot AI 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.

🟢 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 pcb field 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

@somebox
somebox merged commit f799446 into main Nov 18, 2026
6 checks passed
@somebox
somebox deleted the skills-parts-order-events branch November 18, 2026 21:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants