Repository navigation
Description
Problem
Teams track work on boards such as GitHub Projects, Jira or Linear. In 0.2.0 a change's state comes mostly from where its files sit, and a board knows nothing about that. Without guidance, agents invent their own columns, and board fields drift from the repository.
Proposal
A system-neutral state model
The board shows the change states. Idea comes from #36 (idea and shaping stages), and the rest from #23 (the feature-evolution pathway).
| State | Where the state comes from |
|---|---|
| Idea | The document is in ideas/ |
| Shaping | The change is in shaping/ |
| In review | The change is in shaping/, and its promotion PR is open |
| Ratified | The change is in features/<feature-id>/changes/ |
| Shipped | The change is still in features/<feature-id>/changes/, and the project's ship signal has fired. Canonization is due. |
| Canonized | The change is in features/<feature-id>/changes/archive/ |
| Dropped | The change was deleted, with an entry in features/log.md |
A promotion PR closed without merging returns the change to Shaping and adds an entry to features/log.md saying why.
The repository is the authority: paths, the promotion PR's state, and the feature-log entry that records the ship signal. When the board disagrees, the repository wins. The agent reports the drift and corrects the board once the maintainer approves.
One item per change
Each change has one board item, an issue or a draft item, never its promotion PR. A single-select field, "Spec state", holds the state. GitHub Projects' built-in workflows, such as setting a status when a pull request merges, must not write to that field. A merged promotion PR means Ratified, not done.
Spec states only
This mapping covers spec states. Delivery states, such as in progress or in code review, belong to the implementation workflow. The two can share a board as separate fields.
Per-service references
A reference for each service says which field holds the state and which events move a card. For example, opening the promotion PR moves a card to In review, merging it moves the card to Ratified, and the project's ship signal moves it to Shipped. GitHub Projects comes first, in this release. Jira follows in #45 (Jira reference for board mapping).
Acceptance criteria
- A reference file defines the neutral model, where each state comes from, the closed-PR rule and the repository-wins rule, and
SKILL.mdlinks it. - A GitHub Projects reference covers the item and field setup, which built-in workflows to leave off that field, the event-to-state moves, and correcting drift with
ghafter approval. - The reference walks through each transition, including a promotion PR closed without merging, Ratified, Shipped and Canonized, against an example board.
- The model states plainly that delivery states are out of scope.
Non-goals
- A sync bot or automation that moves cards on its own. Every board write needs maintainer approval.
- References for Jira, Linear or other services. Jira has its own issue, product-development: Jira reference for board mapping #45 (Jira reference).
- Delivery states.
Activity
test(product-development): run board helpers against gh-shaped fixtures
fix(product-development): never match a pull request when writing Spe…
fix(product-development): find promotion PRs that move files by rename
fix(product-development): link a personal project's repository by bar…
fix(product-development): turn off built-in workflows that change tra…
fix(product-development): check promotion PRs for closing references …
docs(product-development): reopen the original promotion PR in the wa…
fix(product-development): require both lineage entries when a closed …
docs(product-development): tag closing references with their PR in th…
test(product-development): pin the gh stub to the reference's exact c…
fix(product-development): read every promotion-PR commit before clear…
fix(product-development): stop board helpers on a failed or incomplet…
21 remaining items
fix(product-development): stop board helpers on a failed or incomplet…
fix(product-development): match board items on the change's repository
fix(product-development): name the promotion PR in drift-check closers
fix(product-development): turn automation off before adding board items
fix(product-development): keep a new board's project number for linking
docs(product-development): show the Shipped board write in the walkth…
fix(product-development): check sub-issue auto-add and confirm projec…
fix(product-development): check promotion_change's file count; fence …
fix(product-development): match draft items only on confirmed single-…
docs(product-development): say a drift-check closer may name another …
feat(product-development): map change states to project boards (#52)
docs(product-development): name the action beside a walkthrough PR nu…
fix(product-development): bind board reads to the repository in setup
docs(product-development): land shaping on the default branch before …
fix(product-development): resolve second release review findings (#63)