Task: Add the trade group and its membership
Table of Contents
This page documents a task in the Trace a process run and the trade groups it creates — the remaining work story. It captures the goal, current status, acceptance, and any notes or results.
1. Goal
A run's trade group names every trade it read or wrote and the role each played.
2. Status
| Field | Value |
|---|---|
| State | BACKLOG |
| Parent story | Trace a process run and the trade groups it creates — the remaining work |
| Now | Not yet started. |
| Waiting on | The run record, which the group keys to. |
| Next | Add the group, then its membership. |
| Last touched | 2026-10-08 |
3. Acceptance
- The trade group carries a foreign key to its run, and the membership is keyed by the group and the trade with enforced foreign keys.
- The role comes from the process the run is a run of, not from a global list.
- The roles tell what the run read from what it wrote, and a trade may be in both.
- No row of the membership references a trade activity: the activity is the stamp on an amendment, and the run is the parent here.
4. Plan
(Implementation strategy. Written when work starts; key decisions
are distilled into the parent story's * Decisions at close, but the
plan itself stays — it is the historical record of what we did.)
5. Measurements
Every number this task claims about a tree, with the command that produced it
and the commit it was measured at. A number without both is not a measurement,
because a clean-up record describes a tree and trunk moves under a branch: a
consumer count, a gate's component count and a suite's size all change with no
code changing, and the reader of a bare number cannot tell which tree it came
from. Where the raw output matters, put it in an evidence/ file beside the
task and name that file in the Command column.
| What | Value | Command | Commit |
|---|---|---|---|
6. Notes
7. Test Scenarios
Manual QA scenarios (scaffolded via compass add test_scenario)
that verify this task. Link
new ones here as they're created; the scenario doc itself links back
via its "Verifies task" field.
| Scenario | State | Notes |
|---|---|---|
8. PRs
| PR | Title |
|---|---|
9. Review
| Comment summary | File | Decision | Notes |
|---|---|---|---|