Skip to content

fix: planning: a wayfind map's dossier branch has no deleter unless the map goes straight to decompose - #17816

Merged
kyle-sexton merged 3 commits into
mainfrom
work-resolve-issue/issue-17037-44866387528-1
Nov 21, 2026
Merged

kyle-sexton merged 3 commits into
mainfrom
work-resolve-issue/issue-17037-44866387528-1

Conversation

@melodic-automation-lanes

@melodic-automation-lanes melodic-automation-lanes Bot commented Nov 21, 2026 •

Copy link
Copy Markdown
Contributor

Closes #17037

Summary

Opened by the work-resolve-issue lane. The run's own summary:

This builds the recorded decision (revised option A). The dossier-branch step moved out of decompose's container-lifecycle.md into one shared file, plugins/work-items/reference/dossier-branch-step.md, with its behavior unchanged. Three sites now point at that file instead of copying it: the container close, decompose publishing from a map with no container, and wayfind's map close. Wayfind reaches the step through a new public action, /work-items:track dossier-branches, so it cites no path under decompose/context/. I chose the shared file plus a track action, of the two surfaces the decision allows, because wayfind already reaches work-items only through /work-items:track actions, and the seam-phrasing contract treats skill invocation as the cross-plugin surface. Wayfind now hands a Source map: #<n> line to /planning:plan and /planning:prd. Those two skills copy it into PLAN.md and PRD.md, because decompose reads those files and not the original task description. Decompose accepts the line only when the named item carries the <prefix> map label.

Not verified

  • tidy skipped: the change spans two areas (plugins/planning and plugins/work-items) and more than 10 files, beyond the tidy cutoffs of 1 area and 10 files
  • check-affected skipped these locally: comment-hygiene (network fetch denied), size-check (script missing in the lane), typos (not installed), validate-plugins sub-checks and changed-skills inside check-affected (they run code from the checked tree); all are left to the PR's CI
  • eval cases were not run (needs a model runner); CI only: eval-cases and evals-schema are left to the PR's CI
  • verify: there is no build or test suite for these markdown skill files; not run
  • The existing case 33 (selected-service-receiving-user-data-gets-one-data-sharing-item) is also missing from cases.txt, as the reviewer noted; I left it alone because it is outside this issue
  • Untracked dotfiles at the checkout root (.bashrc, .bash_profile, .gitconfig, .idea, .mcp.json, .profile, .ripgreprc, .vscode, .zprofile, .zshrc) are sandbox artifacts this run did not create; leave them out of the patch

Fix

  • plugins/work-items/reference/dossier-branch-step.md: new, the one shared copy of the step: prefix lookup, branch-name validation, the two report-only cases, attended show-and-confirm, unattended never deletes; plus a table of the three sites that cite it
  • plugins/work-items/skills/decompose/context/container-lifecycle.md: the close ritual cites the shared step instead of holding it; the container gets --parent from an accepted Source map: line; the Spec container comment is also posted on that map; the Spec container line sits after any Source map:…
  • plugins/work-items/skills/decompose/SKILL.md: Step 1 reads and checks a Source map: line; Step 4 uses the accepted map as the source item for --parent and the ## Parent line; after publishing from a map with no container, decompose runs the dossier-branch step and comments the result on the map;…
  • plugins/work-items/skills/track/actions/dossier-branches.md: new action that runs the shared step for one item and prints its report
  • plugins/work-items/skills/track/SKILL.md: dossier-branches added to the argument list, the action table and the no-checklist list
  • plugins/planning/skills/wayfind/SKILL.md: the PRD and plan rows hand on a Source map: line; the text under the table gives the delete-or-report point for every destination; on the three routes that create no container, map close runs /work-items:track dossier-branches before the closing comment,…
  • plugins/planning/skills/wayfind/context/map-anatomy.md: the old 'deleted when the container closes' sentence now points to step 8
  • plugins/planning/skills/plan/SKILL.md: copies a Source map: line from the task description or the topic's PRD.md into PLAN.md under ## Brief (or after the No Brief: line)
  • plugins/planning/skills/prd/SKILL.md: copies a Source map: line from the task description into PRD.md after the frontmatter
  • plugins/planning/skills/wayfind/evals/evals.json: case 30 now expects the Source map: line and no longer says the branch waits for a container; new case 34 covers the decision-record route
  • plugins/planning/evals/wayfind-build-set-closes-to-plan-and-keeps-dossier-branch/: kept; prompt.md expected_outcome updated to match; new regex grader source-map-line plus its samples
  • plugins/planning/evals/wayfind-decision-record-close-runs-dossier-branch-step/: new eval case (prompt, two llm graders, samples): checks that map close calls /work-items:track dossier-branches and never deletes the branch any other way
  • plugins/planning/evals/wayfind-prd-destination-closes-to-prd-with-source-map-line/: new eval case for the PRD route: a regex grader for the Source map: line plus llm graders for the handoff to /planning:prd and the branch kept at map close
  • plugins/work-items/evals/decompose-source-map-line-unlabeled-not-accepted/: new eval case: a Source map: line naming an item without the map label is not accepted, gets no --parent, and is named in the Step 5 report
  • plugins/work-items/evals/decompose-source-map-labeled-no-container-dossier-step/: new eval case: a labeled map with the container declined gives each item --parent on the map, then runs the dossier-branch step after publish, asking before any delete
  • plugins/planning/evals/fixtures/wayfind-charting/cases.txt: lists both new wayfind cases so the suite runs them
  • .changes/work-items/work-resolve-issue-issue-17037-44866387528-1-2c6785e3.md: minor fragment
  • .changes/planning/work-resolve-issue-issue-17037-44866387528-1-02e731c5.md: minor fragment

Verification

The runner ran each check from the base copy against 59a96bb:

  • scripts/check-changelog-fragments.sh --check: passed
  • scripts/check-changed-skills.sh --merge-base: passed

The run reports:

  • check-changelog-fragments: all 4 fragments valid
  • check-changed-skills: 5 skills checked (plan, prd, wayfind, decompose, track), 0 failed; warnings are size and description-length notes that were already there
  • check-affected: first run failed spoke-plugin-root (the new track action used ${CLAUDE_PLUGIN_ROOT}); after switching it to a relative link, 14 passed, 9 skipped, 0 failed
  • check-evals-quality plugins/planning/skills/wayfind/evals/evals.json: PASS, 0 warnings
  • fresh-context review subagent over the whole diff: 9 findings (2 medium, 7 low), all fixed (decompose trigger now 'no container was published'; branch found per the step's Which branches section; wayfind step order and the kept-for-decompose note; ## Brief / No Brief placement; cases.txt entry;…
  • The lane run: https://github.com/melodic-software/claude-code-plugins/actions/runs/44866387528
  • Review-feedback round: the three new eval cases' regex samples were checked by reading each pattern against each sample; validate-cases was not run locally, and CI runs it on the new head

Left out: the items under Not verified, and an eval case for the /planning:prd Source map: copy step.

Related

#17037

Lane-Activity: work-resolve-issue/resolve-issue
@github-actions

Copy link
Copy Markdown
Contributor

Lane run report

Field Value
Activity pr-refine/fix-docs
Model rung 0
Leg handoff
Run job success
Activity step success
Commits pushed none (read lane)
Run 44871577959

Failed GitHub API calls

No failed call recorded by the run job's scripts.

@github-actions

github-actions Bot commented Nov 21, 2026 •

Copy link
Copy Markdown
Contributor

claude-security-review reviewed 407cc17732b2c23176008e608a1f58d2bf5deb8c: read 2 of 2 changed file(s); 0 finding(s), 0 as inline comments.

Security review: PR #17816 (incremental, head 407cc17)

No security issues found. This lane has already reviewed an earlier head, so this pass reports only blocking findings (CRITICAL and IMPORTANT).

Scope: the 2 files changed since 12e5ee0. I read every hunk of both in the incremental diff.

  • plugins/planning/skills/prd/SKILL.md: wording-only edits to a skill body.
    • I read it under the instruction-surface lens and checked each rule the diff touches. Every rule still forbids what it did before:
      • The PRD is never an implementation plan.
      • An existing PRD.md is never silently overwritten.
      • A consequential recommendation must be grounded before it is presented.
      • The pitch view goes to the OS temp directory, never beside PRD.md.
      • The ${user_config.medium} value is never used in a shell (that text is unchanged).
    • No rule is removed, narrowed or softened. These are compressions only.
  • plugins/work-items/reference/dossier-branch-step.md: one documentation link moves from a raw.githubusercontent.com URL to the same file's github.com/.../blob/main/... URL. Both point at the same repository and path. It is a reference for readers, and no code fetches or runs it.

None of these files is code, a workflow, a plugin manifest, a trust control or a merge hold. No text in them is aimed at the review lane.

critical-findings: 0

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

claude-review: 1 inline finding(s) on 59a96bba47b54333aea2930ddc62e5d1496c4f75; the summary is in this lane's pull request comment.

claude-lane: claude-review

@github-actions

github-actions Bot commented Nov 21, 2026 •

Copy link
Copy Markdown
Contributor

claude-review reviewed 407cc17732b2c23176008e608a1f58d2bf5deb8c: read 2 of 2 changed file(s); 0 finding(s), 0 as inline comments.

Code review (incremental, 12e5ee0 → 407cc17): PR #17816

I found nothing blocking. This lane already reviewed an earlier head, so this review was blocking only: I would have posted only blocking findings, and dropped advisory ones.

Scope. I read every hunk of both files in the incremental diff.

  • plugins/planning/skills/prd/SKILL.md: this push tightens the wording in Steps 1, 2, 3, 4 and 5, and nothing else changes. I compared each rewritten sentence with the one it replaces, and the instructions stay the same:

    • the resume, revise and start-fresh restart note;
    • frontier-round ordering;
    • the Basis: grounding rule;
    • the non-goals ledger: one file per concept, created on the first permanent rejection;
    • who owns the test seams;
    • the HTML pitch-view rules: written to the temp directory, and terminal skips the offer.

    No required section, threshold or gate was removed.

  • plugins/work-items/reference/dossier-branch-step.md: the config-resolution.md link now points to the GitHub blob/main page instead of raw.githubusercontent.com. It still names the same file on the same branch and the same "YAML keys" section.

Earlier finding. The thread on decompose/SKILL.md:46 stays resolved. Its lines have not changed since it was resolved, and this push does not touch that file.

Other checks

  • Loosened checks: none. This push only changes prose and a link target.
    • Loosened checks would be marked: fail. That is the default, because the prompt had no loosened_check_verdict: or loosened_check_patterns: line, so there were 0 patterns.
    • The prompt had no loosened_check_decision_record: line, so I did not check the citation requirement.
  • Manifests: no plugin manifest changed.
  • Embedded instructions: none in the settled-threads or prior-findings files.
  • Spend: none.

Verifier dropped 0 of 0 candidates.

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

Unattended merge: native auto-merge leaves this pull request unarmed at head 59a96bba47b54333aea2930ddc62e5d1496c4f75. No person needs to act: a lane clears this reason, and the next scheduled run judges it again.

pr-merge's gate refuses its verifier verdict (verify:missing)

@github-actions

Copy link
Copy Markdown
Contributor

Lane run report

Field Value
Activity pr-unblock/address-feedback

Run 44872577511, attempt 1

Field Value
Model rung 0
Leg handoff
Run job success
Activity step success
Commits pushed none (read lane)
Run 44872577511

Failed GitHub API calls

No failed call recorded by the run job's scripts.

Lane-Activity: pr-unblock/address-feedback
Lane-Thread: PRRT_kwDOTCGFQM66Shke
@github-actions

Copy link
Copy Markdown
Contributor

Lane run report

Field Value
Activity pr-unblock/apply-feedback-patch

Run 44872577511, attempt 1

Field Value
Model rung 0
Leg base
Run job success
Activity step success
Commits pushed 12e5ee0
Run 44872577511

Failed GitHub API calls

No failed call recorded by the run job's scripts.

@github-actions

github-actions Bot commented Nov 21, 2026 •

Copy link
Copy Markdown
Contributor

Lane run report

Field Value
Activity pr-unblock/fix-ci

Run 44876558115, attempt 1

Field Value
Model rung 0
Leg handoff
Run job success
Activity step success
Commits pushed none (read lane)
Run 44876558115

Failed GitHub API calls

No failed call recorded by the run job's scripts.

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

pr-unblock / address-feedback finished round 1 of max 4 on 12e5ee0.

@github-actions

Copy link
Copy Markdown
Contributor

Lane run report

Field Value
Activity pr-unblock/publish-feedback

Run 44872577511, attempt 1

Field Value
Model rung 0
Leg base
Run job success
Activity step success
Commits pushed none recorded
Run 44872577511

Failed GitHub API calls

No failed call recorded by the run job's scripts.

@github-actions

Copy link
Copy Markdown
Contributor

Lane run report

Field Value
Activity pr-unblock/apply-patch

Run 44876558115, attempt 1

Field Value
Model rung 0
Leg base
Run job success
Activity step success
Commits pushed 407cc17
Run 44876558115

Failed GitHub API calls

No failed call recorded by the run job's scripts.

@kyle-sexton
kyle-sexton added this pull request to the merge queue Nov 21, 2026
Merged via the queue into main with commit 81495b5 Nov 21, 2026
45 checks passed
@kyle-sexton
kyle-sexton deleted the work-resolve-issue/issue-17037-44866387528-1 branch November 21, 2026 07:31
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.

planning: a wayfind map's dossier branch has no deleter unless the map goes straight to decompose

1 participant