--- name: decisions description: >- Builds the decision board for the current project: only the choices that are genuinely the user's to make right now, each with its options and, per option, why you'd pick it, what it costs and what it unblocks. Use when the user types /decisions or says "what do I need to decide", "show me my decisions", "decision board" or "what's waiting on me". Gathers candidates from the project's CHECKPOINT.md open threads (plus an optional folder of markdown task notes), classifies each with a fixed test, prints the verdicts, then shows the survivors as a board page whose picks the next run reads back, or as a numbered list in chat when no page host is available. An empty board is a correct result. Do NOT use for listing open work in general (that is the CHECKPOINT) or for a to-do list. --- # decisions -- the decision board for one project The hard part is the classifier, not the page: a board that carries non-decisions makes the user whittle them off one at a time, and every fake decision teaches them to ignore the real ones. Classify FIRST, show the reasoning, build only what passes. Requires PowerShell 5.1+ or `pwsh` 7+ (collector) and Python 3 (renderer, validator). State lives in the project's `.decisions/` folder: `board.json` (the last board), `board.html` (a preview), `url.txt` (the hosted page, once one exists). Copy this checklist into your reply and tick each line: - [ ] 0 picks from the last board read and recorded - [ ] 1 candidates collected - [ ] 1b choices this session already offered carried - [ ] 2 verdict table printed - [ ] 3 decisions written - [ ] 4 board validated, then shown (page or chat) - [ ] 5 report ## 0 -- record the picks from the last board before anything else Picks exist in one of two places: the hosted board's database (when `.decisions/url.txt` exists and the session has the `ArtifactData` tool), or answers the user gave in chat to the last chat board. For a hosted board, `ArtifactData` `list` the `picks` collection and the `receipts` collection on that URL. Each pick is `{decision, option, note, at, rev, unpicked?}`. - **Skip** a pick whose receipt has the same `rev` and `state: "applied"`: already recorded. - **A pick:** on the CHECKPOINT Open-threads bullet the decision came from (its `sources` in `.decisions/board.json`), add `owner decision -- :