Repository navigation
feat(planning): prd and plan read a map issue; decompose attaches sub-issues - #15805
Conversation
…-issues - prd and plan accept a map issue as their source; context/map-source.md reads its decisions through /work-items:track view --comments (the closing comment of a closed map, else each Decisions-so-far line's resolution comment). - track view gains --comments, backed by the adapter's paginated comment recipe. - decompose attaches native sub-items whenever its source is a tracker item, and closes its report with ship run at the keyboard or the lanes. - implement-dispatch worker briefs carry a Test-first line (item 18). - prd, plan's publish step and decompose write tracker links as the item's title linked to its absolute URL; decompose keeps the Refs #<parent> opening the decomposed-parent close matches. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01VQb9Q4F46UumaUgXeUdpYZ
… grader Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01VQb9Q4F46UumaUgXeUdpYZ
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
claude-security-review reviewed Security review: PR #15805, incremental (31415c0 → 4501ade)No security issues found. I read every hunk of all 6 files on the incremental list in What changed and what I checked
Spend (not a finding)The edited eval cases use prepaid model usage when they run. They cause no real charge. critical-findings: 0 |
|
claude-review reviewed Code review: PR #15805, incremental (
|
…iner Decompose's closing text named a container id even when no spec container was published. The Parent template's Source alternative now cites the plan's PR as a titled link, matching the Links rule. The new eval cases use example.com for their made-up tracker URLs, so the online link check does not fetch them. Co-Authored-By: Claude Fable 5.2 <[email protected]> Claude-Session: https://claude.ai/code/session_01VQb9Q4F46UumaUgXeUdpYZ
No related issue: owner decisions from a planning interview on the spec flow (2026-11-12)
Summary
Three owner decisions on the spec flow (planning interview, 2026-11-12), built as decided:
/planning:prdand/planning:planaccept a map issue as their source and read its decision items./work-items:decomposeattaches native sub-issues whenever its source is a tracker issue. The worker brief/implementation:implement-dispatchwrites gains a test-first line./work-items:decompose's closing text says to run the items with/work-items:ship runat the keyboard, otherwise to leave agent-ready items for the lanes.#<n>" rule for tracker links, stated today only in/planning:wayfind, also applies to the tracker text prd, plan (publish step) and decompose write.Already existed: decompose's
#<item>source already read the body and paginated comments and extracted decisions, so a closed map handed to/work-items:decompose #<map>already worked as a source; decompose already passed--parent, but only to a spec container it created;/implementation:implementStep 3 is test-first, but the dispatch brief (items 1 to 17) had no test-first line.Fix
plugins/planning/context/map-source.md(new, shared by prd and plan): detect a map (## Destinationand## Decisions-so-far, no**Execution shape:**line), then take the decisions from the closing comment of a closed map (found by content, not position) or, for an open map, from each Decisions-so-far line'sResolved:comment, followingsuperseded bylines; open items become open questions. All reads go through/work-items:track, per ADR 0060./work-items:track view --comments: the plumbing that read needs. No track action returned comments, and ADR 0060 bars provider commands in planning skills; it uses the adapter's existing paginated "List item comments" recipe.#<map>. plan: an Action Router row and a Step 1 check. Both keep their gates inside the re-attach slice.--parent "<source-item-id>"on every item when the source is a tracker item; with a container also approved, the container goes under the source item and the items under the container. Same inre-decompose.mdandcontainer-lifecycle.md.## Next:/work-items:ship run #<container-id>at the keyboard, else the lanes.lib/issue-house-style.mdis vendored into six plugins and restates no rules, so it was left alone). Judgment call: decompose's## Parentline keeps itsRefs #<parent>opening before the titled link, because the decomposed-parent close (issue-conventions.md,track done,track audit) matches that opening; those readers' wording now says the line opens with it.Test-first:line (one failing test per behavior, seen to fail, then the smallest correct code, and the failing run's output returned beside the passing run; a project cadence replaces it; a phase with no testable logic saysTest-first: none (<reason>)). Competing-attempt briefs carry it. The implementer agents need no change: their "the brief is the contract" clause covers it.plugins/planning/evals/prd-closed-map-source-decisions-not-reasked,plugins/planning/evals/plan-open-map-source-reads-resolution-comments,plugins/work-items/evals/decompose-source-item-parent-and-titled-links,plugins/work-items/evals/decompose-closing-text-ship-run-or-lanes. The existingbrief-requires-red-run-evidenceandcontrol-docs-phase-no-red-runcases already cover the test-first line. No paid evals run.Verification
plugins/planning/tests/*.test.sh(12 files) andplugins/work-items/tests/*.test.sh(4 files): all exit 0;reattach-slice.test.sh25/0 for planning and 5/0 for implement-dispatch.plugins/work-items/skills/work/unattended-callers.test.sh: 4/0.scripts/check-changed-skills.sh origin/main: 5 skills, 0 failed (size warnings predate this change).scripts/validate-plugin-contracts.mjs: pass.scripts/check-next-graph.py: pass.scripts/check-changelog-fragments.sh --check: valid.validate-cases.pyonplugins/planning/evalsandplugins/work-items/evals: no FAIL; the new regex graders pass their samples offline..github/scripts/intake-triage/edges.test.mjsalready covers a## Depends onlist item written as a same-repository issue URL, so the titled-link form still yields the edge.Related
/planning:wayfindfiles are untouched; another pull request owns them.Follow-ups
/work-items:worktreats a native parent carrying the container label as a spec container, so an item decomposed from a map gets the map body quoted as its container Brief. Read as data, harmless, but new./work-items:ship runresolves only a spec container with an**Execution shape:**line, so the closing text names#<container-id>; plain items with no container have noship runpath.🤖 Generated with Claude Code
https://claude.ai/code/session_01VQb9Q4F46UumaUgXeUdpYZ