Repository navigation
Description
Summary
/planning:wayfind restates part of the convention-home pointer rule in its skill text instead of using the script that owns it. The two can drift, and when they do, wayfind and the work-item tracker disagree about which binding file applies: the frontier leak that #16053 fixed.
Where
- Skill text, merged in fix(planning): wayfind reads the binding's label prefix #16053 (
c51fed6c6c):plugins/planning/skills/wayfind/SKILL.md, "Pre-computed context", the Labels paragraph: "<home>isdocs/conventionsunless the rootAGENTS.md(elseCLAUDE.md) holds a<!-- BEGIN GENERATED: convention-home -->region; then it is the first backticked path in that region. A region that does not hold exactly one such path ... is a stop". - Owner of the rule:
plugins/planning/lib/resolve-convention-home.sh(the tracker seam reaches the same rule throughwit_convention_home,plugins/work-items/tools/work-item-tracker/lib/binding.shlines 41-55).
What the copy leaves out
Read from the script's header and exit paths on 2026-11-13:
- a root where no home can apply (exit 5: the root is
$HOME, an ancestor of it, or not a git work tree); - a pointer whose target directory is missing, or is reached through a symlink or a differently-cased spelling (exit 3);
- a
declinedmarker beside a pointer (exit 3 or 4 paths); - the
--refmode that reads the region at a git ref.
The skill text stops on "not exactly one path" and otherwise trusts the path. In the cases above the seam binds nothing or refuses, while wayfind would read a binding file at the named path.
Why it was written this way
The skill does not call the script because a Bash call on a plugin directory was denied in eval sandboxes (the container-label.sh denial recorded on #15824), and wayfind's eval harness note forbids Bash on a plugin directory. That is a constraint of the eval harness, not a reason for two homes of one rule.
Expected
One home for the rule. Options, cheapest first:
- A check that fails when the skill's sentence and the script's rule diverge (the repository already pins restated contract text with
contract-restatementmarkers elsewhere). - A work-items seam verb or
/work-items:trackaction that prints the resolved wayfind prefix and human-gated label, so wayfind asks the tracker instead of finding its file. This removes the copy and theprintenvcall. - Wayfind calls the planning plugin's resolver, with the eval harness note and sandbox adjusted so that call is allowed.
Either change to the skill text needs a before/after eval of the wayfind loss set (see the registrations on #16053).
Severity
Low today: this repository and the default layout use docs/conventions with no pointer, where copy and script agree. It matters for a repository with a relocated, declined or symlinked home.
Metadata
Metadata
Assignees
Labels
Type
Fields
Work status
Priority
Activity
github-actions commentedon Nov 14, 2026
Size: Medium
Complexity: Medium
Uncertainty: Known
Flags: none
Blocked by: none
#16113 (comment)
This decision settles the open questions on the approach, the eval requirement and where the verb lives. I read the work as a bounded change: add the seam verb, make wayfind ask it, and drop the restated sentence. The before/after eval is an acceptance criterion that a person may need to run. I found no duplicate and no merged fix among the open issues and recent pull requests. #16053 is the change that added the restated text.
Automated triage. A maintainer reviews it.
melodic-automation-lanes commentedon Nov 14, 2026
The latest triage verdict holds nothing: admission moved the issue to
status: confirmed; its comment says why.melodic-automation-lanes commentedon Nov 14, 2026
Refinement. A read-only run explored this repository, searched its issues and pull requests, and read the allowed docs to draft what follows. On an issue a listed human filed, it counts as the issue's spec once posted, while unedited; it is still model text, so check it.
Intended outcome: Wayfind stops restating the convention-home pointer rule and gets it from its owner, most likely through a work-items seam verb that prints the resolved prefix and human-gated label.
Related work
Open questions
RECOMMENDED: Option 2, the seam verb. It removes the copy and the printenv call, and it avoids the Bash-on-plugin-directory denial that blocks option 3. Option 1 only detects drift and leaves two homes. Basis: plugins/planning/skills/wayfind/SKILL.md:20
RECOMMENDED: Yes, require it as an acceptance criterion, run by a person if the unattended lane cannot run evals. Basis: judgment
RECOMMENDED: Yes. Reuse wit_convention_home so the verb inherits the exit-5, symlink, declined and --ref behavior, and have wayfind stop on any refusal. Basis: plugins/work-items/tools/work-item-tracker/lib/binding.sh:41
Sources read
To answer, post a comment that starts with this line:
Automated refinement by the lanes App. Answer with a comment whose first line is
**Decision recorded.**.kyle-sexton commentedon Nov 14, 2026
Decision recorded. Option 2, the work-items seam verb (owner, 2026-11-14, in the Wayfinder session, on the question as the refinement put it: "go w/ recommendations").
/work-items:trackaction) prints the resolved wayfind prefix and human-gated label; wayfind asks the tracker and its restated convention-home sentence andprintenvcall are removed.do-not-mergeuntil it reads no loss.wit_convention_home, reuses it, and fails closed (refuses, prints nothing) on the resolver's exit 3, 4 and 5; wayfind stops on any refusal.melodic-automation-lanes commentedon Nov 14, 2026
Not admitted to the issue lane: no trusted-human acceptance criteria: a listed human must put the confirmed
- [ ]criteria in the body or post them as their own comment, or, on an issue a listed human filed, intake's newest refinement comment must hold them unedited. Admission takes the issue once each of those is met, when intake triages it again (.github/actions/resolve-config/admission-rules.json).test(planning): supply the wayfind-labels reply in the wayfind label …
test(planning): accept the written-out call form in the wayfind label…
test(planning): cover more written-out call forms in the wayfind labe…
test(planning): narrow the call prefix and the hand-off grader
fix(work-items): refuse a non-string human-gated label in wayfind-labels
fix(planning): stop wayfind when work-items has no wayfind-labels action
test(work-items): cover the binding-variable paths of wayfind-labels