Skip to content

wayfind restates the convention-home pointer rule instead of using its owner #16113

Description

@kyle-sexton

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> is docs/conventions unless the root AGENTS.md (else CLAUDE.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 through wit_convention_home, plugins/work-items/tools/work-item-tracker/lib/binding.sh lines 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 declined marker beside a pointer (exit 3 or 4 paths);
  • the --ref mode 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:

  1. A check that fails when the skill's sentence and the script's rule diverge (the repository already pins restated contract text with contract-restatement markers elsewhere).
  2. A work-items seam verb or /work-items:track action 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 the printenv call.
  3. 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.

Activity

  1. added
    needs-triage
    on Nov 14, 2026
  2. github-actions commented on Nov 14, 2026

    @github-actions
    Contributor

    Size: Medium
    Complexity: Medium
    Uncertainty: Known
    Flags: none
    Blocked by: none

    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").

    1. Approach: a work-items seam verb (or /work-items:track action) prints the resolved wayfind prefix and human-gated label; wayfind asks the tracker and its restated convention-home sentence and printenv call are removed.
    2. Eval: a registered before/after eval of the wayfind loss set, as on fix(planning): wayfind reads the binding's label prefix #16053, is an acceptance criterion; the pull request carries do-not-merge until it reads no loss.
    3. The verb lives in the work-item-tracker seam beside 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.

    #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.

  3. added
    needs-owner-decision
    on Nov 14, 2026
  4. melodic-automation-lanes commented on Nov 14, 2026

    @melodic-automation-lanes
    Contributor

    The latest triage verdict holds nothing: admission moved the issue to status: confirmed; its comment says why.

  5. melodic-automation-lanes commented on Nov 14, 2026

    @melodic-automation-lanes
    Contributor

    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

    1. Which approach removes the second home of the rule: (1) a divergence check using contract-restatement markers, (2) a work-items seam verb or /work-items:track action that prints the resolved wayfind prefix and human-gated label, or (3) wayfind calling the planning resolver with the eval harness note and sandbox changed?
      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
    2. Is a before/after eval of the wayfind loss set, as registered on #​16053, required for the skill-text change, and may the eval run unattended?
      RECOMMENDED: Yes, require it as an acceptance criterion, run by a person if the unattended lane cannot run evals. Basis: judgment
    3. If option 2 is chosen, should the verb live in the work-item-tracker seam next to wit_convention_home and fail closed (refuse, print nothing) on exit 3, 4 and 5 of the resolver?
      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

    • plugins/planning/skills/wayfind/SKILL.md:20: restates the convention-home rule (docs/conventions unless a BEGIN GENERATED: convention-home region names a path in the root AGENTS.md or CLAUDE.md).
    • plugins/work-items/tools/work-item-tracker/lib/binding.sh:41: defines wit_convention_home, used at lines 142 and 168, which reaches the rule through the resolver.

    To answer, post a comment that starts with this line:

    **Decision recorded.** <answer>
    

    Automated refinement by the lanes App. Answer with a comment whose first line is **Decision recorded.**.

  6. kyle-sexton commented on Nov 14, 2026

    @kyle-sexton
    MemberAuthor

    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").

    1. Approach: a work-items seam verb (or /work-items:track action) prints the resolved wayfind prefix and human-gated label; wayfind asks the tracker and its restated convention-home sentence and printenv call are removed.
    2. Eval: a registered before/after eval of the wayfind loss set, as on fix(planning): wayfind reads the binding's label prefix #16053, is an acceptance criterion; the pull request carries do-not-merge until it reads no loss.
    3. The verb lives in the work-item-tracker seam beside 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.
  7. removed
    needs-owner-decision
    on Nov 14, 2026
  8. removed
    needs-triage
    on Nov 14, 2026
  9. melodic-automation-lanes commented on Nov 14, 2026

    @melodic-automation-lanes
    Contributor

    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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Fields

    Work status

    confirmed

    Priority

    low

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions