Repository navigation
fix(planning): wayfind reads the binding's label prefix - #16053
Conversation
Wayfind wrote the literal labels `wayfind: <kind>` and `needs-human`, while the work-item tracker resolves both from the binding (`config.wayfind_label_prefix`, `config.role_labels.human-gated`). A repository that remapped the prefix got map items the work-items frontier no longer excluded, so decision items became claimable build work. SKILL.md now resolves `<prefix>` and `<human-gated>` once, from the tracker binding beside the `planning.yaml` its Settings read, with the defaults stated once, and every label wayfind writes or queries (SKILL.md, context/tracker-mechanics.md, context/map-anatomy.md) uses them. The design and prototype routes name their fallback when the event-storming or prototype plugin is not enabled. Two after-only eval cases scaffold a binding with prefix `decide:` and human-gated `owner-call`: chart must write `decide: map` and `owner-call`, and unattended work must filter the `owner-call` item off the frontier. Co-authored-by: Claude Opus 5.5 <[email protected]>
The design and prototype rows of wayfind's routing table go back to their text at main, keeping only the label tokens the prefix fix needs. The "when enabled" gate and the inline prototype fallback added a behaviour nothing defines and moved a loss-set eval case, so they move to a follow-up instead of riding on the label fix. Co-authored-by: Claude Opus 5.5 <[email protected]>
Pre-registration: before/after eval of
|
Result: before/after eval of wayfind reading the binding's label prefixRun under the pre-registration. Arms: before Verdict: LOSS by the registered case rule, on one case. Validity and exclusions (
No split judge vote in any file. Loss set (a run passes when every grader in it passes; all 6 runs counted in each arm)
What the losing case shows
After-only set (after arm only; no verdict on loss)
With the binding setting Limits
Cost (list-price estimate from the result files): 14.75 USD before, 15.11 USD after, 3.59 USD after-only; 33.45 USD in all. Next. The registered action for a LOSS is that the hold stays and the text is revised before a fresh registration. Before revising text on a one-run difference in a case that fails on main, one registered confirmation of that case runs at 20 runs per arm, with a per-grader rule, so that |
Pre-registration: confirmation of one case, 20 runs per armPosted before any run of this confirmation. It follows the result of the first registration, which was a LOSS by the case rule on Why a confirmation and why a per-grader rule. The case's run-level pass rate is near zero in both arms because grader Arms. As before: before Runs. python3 <after-checkout>/plugins/evals/skills/plugin-eval/scripts/docker-links.py run -- env TMPDIR=<tmp>/lcb claude plugin eval <run-dir>/confirm-before --trust-plugin --ablation none --scaffold --allow-tools Bash --keep-temp --no-publish --runs 20 --threshold 0.67 --model claude-opus-5-5 --judge-model claude-opus-5-5 --max-cost-usd 15 --json <run-dir>/out/confirm-before.json
python3 <after-checkout>/plugins/evals/skills/plugin-eval/scripts/docker-links.py run -- env TMPDIR=<tmp>/lca claude plugin eval <run-dir>/confirm-after --trust-plugin --ablation none --scaffold --allow-tools Bash --keep-temp --no-publish --runs 20 --threshold 0.67 --model claude-opus-5-5 --judge-model claude-opus-5-5 --max-cost-usd 15 --json <run-dir>/out/confirm-after.jsonValidity and exclusions, decided before any score is read
Decision rule (on counted runs)
Outcome actions
Cost (list-price estimate, judgment): the case cost about 0.3 USD per run in the first run, so about 6 USD per arm; ceiling 15 USD per invocation. |
Result: confirmation of one case, 20 runs per armRun under the confirmation pre-registration. Case Verdict: NOT REPRODUCED by the registered rule. The first run's case-rule LOSS (1 of 6 before, 0 of 6 after) is recorded as not reproduced at 20 runs. Validity and exclusions (
One split judge vote: after arm, run 8, grader Per-grader passing runs (all 20 runs counted in each arm)
What this does not show
Found on main, listed under Follow-ups in the PR body
Cost (list-price estimate from the result files): 9.41 USD before, 9.04 USD after. With the first run, 51.90 USD for this PR's evals. |
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. |
Lane run report
Failed GitHub API calls
|
Lane-Activity: pr-refine/fix-docs
Lane run report
Failed GitHub API calls
|
|
claude-security-review reviewed Security review (incremental): PR #16053, head
|
|
claude-review reviewed Code review (incremental, blocking only): wayfind reads the binding file the tracker readsThis round covers only the changes since The earlier finding is fixed. The owner's thread reply on SKILL.md L17 says they fixed it in this head. The thread is settled, and the new text addresses the point. The "Pre-computed context" paragraph (SKILL.md L16-27) now finds the binding the way the seam's
Edge cases where the skill stops but the seam does not. I compared the text against
Stopping is the safe side in all three, and none can bring back the frontier leak, so I left them out of this blocking-only review. Evals:
Other notes:
Verifier dropped 0 of 0 candidates. |
Hold restored
Next: the fix is pushed, then one fresh registration covers the whole loss set against the new head, with its decision rule fixed before any run and a same-text control arm for the chart happy-path case, so the size of run-to-run variation on that case is measured instead of assumed. The earlier results stay as posted and are not carried into it. |
The Labels step read work-items.yaml only beside docs/conventions, while the tracker seam reads the WORK_ITEM_TRACKER_BINDING file when set, else work-items.yaml in the convention home the root AGENTS.md (or CLAUDE.md) pointer region binds. A repository with a relocated home got the default labels, the frontier leak this PR fixes. The step now names the same file: the variable's file, else <home>/work-items.yaml, the home read from the pointer region with the Read tool and docs/conventions without one. A region holding no single path, or a variable naming a missing file, stops with a report instead of taking the defaults. Adds the after-only case wayfind-chart-labels-from-relocated-home, whose binding sits at a home AGENTS.md moves to config/team. Co-authored-by: Claude Opus 5.5 <[email protected]>
Pre-registration 2: before/after eval of the current head, with a same-text controlPosted before any run of this registration. No score from it has been read and no smoke run was made. It replaces the first registration and its confirmation, whose results measured an earlier head ( Why a new registration. Two reasons, both in the hold comment: the Labels paragraph changed after review (it now reads the binding the tracker reads: the file Runner, model, flags. Arms
Runs: 54 + 54 + 18 + 20 + 20 + 20 = 186. Frozen-grader check. Run before launch and again before any score is read; it must print nothing:
Also before launch: Why the chart happy-path case is judged from 20-run copies. On main this case passes every grader in few runs (4 of 20 in the confirmation's before arm), because Validity and exclusions, decided before any score is read
Decision rules A run passes when every grader in it passes. Loss set, 8 cases (every loss-set case except the chart happy-path case), on counted runs of
Loss set, all 9 cases:
Chart happy-path case, on counted runs of the three 20-run copies. The before rate is the pooled rate of
After-only set: a case passing on fewer than 4 of its 6 counted runs is a defect in the new text, the case or the grader. Expected outcomes, stated before the run
Outcome actions
Limits, stated now
Cost (list-price estimate, judgment from the earlier result files): about 15 USD per loss arm, 5 USD after-only, 9 USD per chart copy; about 62 USD in all. Ceilings per invocation: 25, 25, 20, 15, 15, 15 USD. |
Addendum to pre-registration 2: a tighter threshold for the chart casePosted while the six runs of pre-registration 2 are in flight. No result file has been through validity yet and no score has been read. This addendum only tightens the rule; nothing in it can turn a LOSS under the posted rule into a pass. Why. The posted chart-case rule kept the 0.15 floor (3 runs of 20) from the earlier confirmation. Under that floor the earlier confirmation's numbers (every grader passing in 4 of 20 runs before, 2 of 20 after; Changed rule, chart happy-path case. For each grader and for the run-level pass, with the before rate pooled over the two before copies (40 runs):
Applied to the earlier confirmation's numbers, with its one before arm standing in for the pooled rate, this rule gives LOSS on the run-level pass (0.20 to 0.10) and on The control pair no longer softens anything. The posted text said a LOSS on a grader that the same-text pair also trips is reported as "LOSS, control also trips" with the hold kept until a decision is recorded. That stays a LOSS with the registered LOSS action: the text is revised or the change is reduced before another registration. The same-text pair is reported so the size of chance variation is on the record, and for no other purpose. Known cost of the tighter rule. At these pass rates the same text can differ from itself by 2 runs of 20, so this rule can call a LOSS where there is none. That error is accepted: it costs a revision and another run, while the opposite error ships replaced skill text that is slightly worse. Everything else in pre-registration 2 stands. |
Result: pre-registration 2Run under pre-registration 2 and its addendum. Arms: before Verdict: no loss by any registered rule; non-inferiority not shown. Validity and exclusions (
No denied tool call in any of the 186 traces, so no denial of the new Loss set, the 8 cases under the case rule (a run passes when every grader passes)
Loss set, all 9 cases
Chart happy-path case, 20-run copies (passing runs; pooled before is 40 runs)
After-only set
No after-only defect. What the two readings of the chart case show. The same case, same two texts, gave 3 of 6 against 1 of 6 in the loss-set files and 8 of 40 against 11 of 20 in the 20-run files. Those point in opposite directions. The 6-run row is one of the outcomes that row size allows; it is not set aside here, and it is the reason the registered non-inferiority check fails. Limits
Cost (list-price estimate from the result files): 16.07 and 15.87 USD for the loss arms, 5.99 USD after-only, 8.98, 9.03 and 9.23 USD for the chart copies; 65.17 USD. With the earlier rounds, 117.07 USD for this PR's evals. Next. |
Owner decision: non-inferiority waived for this PROwner, 2026-11-13 evening EST, in the session that owns this PR, answering the question "How does #16053 proceed?" with options (a) waive non-inferiority for this PR on the posted result (recommended), (b) more evidence under a new registration, (c) close the PR: "go w/ recommendations".
Still open after merge, listed under Follow-ups in the PR body: chart's happy path rarely names |
No related issue: configurability scan finding, workshop 03 (Wayfinder)
Summary
/planning:wayfindwrote the literal labelswayfind: <kind>andneeds-human, while thework-item tracker resolves both from the repository's binding:
config.wayfind_label_prefix(default
wayfind:) andconfig.role_labels.human-gated(defaultneeds-human)(
plugins/work-items/tools/work-item-tracker/lib/binding.shlines 354, 373, 379, 387). Thefrontier drops items by the resolved prefix (
lib/frontier.shline 56;tools/work-item-tracker/CONTRACT.mdlines 389-395). A repository that setwayfind_label_prefixtherefore got map items under the old prefix, which/work-items:work'sfrontier no longer excluded, so decision items became claimable build work.
Fix
SKILL.md"Pre-computed context" gains one paragraph. Wayfind reads, with the Read tool, thebinding file the tracker seam reads (
wit_find_binding,binding.shlines 137-150): theWORK_ITEM_TRACKER_BINDINGfile whenprintenvshows the variable set, else thetrackermapping of
<home>/work-items.yaml.<home>is the first backticked path in the rootAGENTS.md(elseCLAUDE.md)convention-homeregion,docs/conventionswith no region (theseam's fallback,
wit_convention_home, lines 41-55). A region with no single path, or a variablenaming a missing file, stops with a report rather than taking the defaults. The region is read
with the Read tool, not
lib/resolve-convention-home.sh, because a Bash call on a plugindirectory is what the eval sandbox denied for
container-label.shin feat(work-items): default container label is spec-container; maps are known by their wayfind label #15824. It sets<prefix>and<human-gated>, stating each default once. Amissing file or key, or an empty value, takes the default; a non-string value is a broken binding
and stops, as the seam refuses it. Both keys are team-only (
CONTRACT.mdlines 179-183), so nopersonal file is read. Each label is
<prefix>, a space, then its kind (wayfind: mapwiththe default).
/work-items:trackaction or seam verb prints binding values.labelsonly diffs the live label set (
skills/track/actions/labels.md), and the verb list(
CONTRACT.mdlines 222-242) has no config printer. The binding file is the seam's publishedcontract (
CONTRACT.md"Setup (binding file)";schemas/work-items.schema.jsonline 199).Other plugins already read
config.role_labelsfrom it directly(
plugins/source-control/skills/babysit-loop/SKILL.mdlines 228-231,plugins/plugin-quality/skills/audit/reference/session-mode.mdlines 104-108). No seam changeand no Bash call: the
container-label.shpre-computed call that feat(work-items): default container label is spec-container; maps are known by their wayfind label #15824 removed was the cause ofthat registration's before-arm denial exception.
SKILL.md,context/tracker-mechanics.mdandcontext/map-anatomy.mdnow uses<prefix>and<human-gated>.prefix
decide:and human-gatedowner-call:wayfind-chart-labels-from-binding: chart must writedecide: map,decide: <type>andowner-call.wayfind-work-frontier-uses-binding-labels: an unattended run must skip theowner-callitemand claim the
decide: designone.wayfind-chart-labels-from-relocated-home: the rootAGENTS.mdpointer moves the home toconfig/team, where the binding sits; chart must write the samedecide:andowner-calllabels.
fixtures/wayfind-charting/cases.txt. Their fixtures are underfixtures/wayfind-charting/label-prefix/, all synthetic..changes/planning/fix-wayfind-label-prefix-4c1e9a27.md,patch.Every removed or replaced line
Before (
-) and after (+), fromgit diff -U0 fb5025bbff -- plugins/planning/skills/wayfind:Left literal on purpose: the legacy
skills/wayfind/evals/evals.jsonand the existing evalfixtures and graders. They describe a repository on the default binding, so
wayfind: <kind>andneeds-humanare the right labels there.Verification
check-skill.sh plugins/planning/skills:CHECK-SKILL wayfind: PASS — 0 errors, 6 warning(s),11 passed, 0 failed.SKILL.mdgrew from 392 to 405 lines (cap 500). One new warning:SKILL.md body grew vs the merge-base with origin/HEAD: 382 -> 395 lines.validate-cases.py plugins/planning/evals: 0 FAIL. The regex graders pass their samples. Thesix new
llmgraders were calibrated with judgeclaude-opus-5-5: each agreed 6/6 runs.check-changelog-fragments.sh --check:All 37 changelog fragment(s) under .changes/ are valid.check-affected.sh --tests:check-affected: 17 passed, 2 skipped over 36 changed files since fb5025bbff0228e452cf5699eadb5766e9543e7b.check-vocabulary.pyon the changed skill, case and fragment: no output.shellcheckis clean on the three new scaffolds.Evals. Under the pre-registration,
the first run
met the case rule on one case,
wayfind-chart-happy-path-proposes-map-with-five-sections-and-typed-items(1 of 6 before, 0 of 6after). The other 8 loss-set cases were unchanged, the set was non-inferior at margin 0.05, and
both new binding cases passed 6 of 6. A
confirmation run
of that case at 20 runs per arm did
not reproduce the loss
(every grader passing: 4 before, 2 after;
five-sections14 of 20 in both arms). Its gaps wereunder the registered 3-run floor, so it shows the first run's loss was not reproduced, not that the
two texts are equal on that case. Both runs measured an earlier head (
3715346111); the Labelsparagraph has since changed to read the binding at the bound convention home (review thread on
SKILL.md), so a fresh registration ran against the current head.Pre-registration 2
with its addendum
measured
e93835a93cagainstfb5025bbff:result.
Six files VALID with no excluded run. No loss by any registered rule: the 8 loss-set cases under
the case rule were unchanged, the chart happy-path case at 20 runs per copy passed every grader in
4 and 4 of 20 before runs and 11 of 20 after runs, and the three new cases passed 6 of 6.
Non-inferiority at margin 0.05 was not shown (-0.02, interval -0.05 to +0.02): the whole shortfall
is the chart happy-path case's 6-run row (3 of 6 before, 1 of 6 after). The owner
waived non-inferiority for this PR
on that result.
Related
wayfind: mapand removedcontainer-label.sh. This PR keepsthat label as the default and makes it configurable.
Follow-ups
/event-stormingroute in wayfind's routing table on the event-storming plugin beingenabled (the
designrow), the way theresearchrow already falls back when/discovery:researchis not enabled. Kept out of this PR: it changes what the loss-set casewayfind-work-mode-routes-decision-item-to-target-skillmeasures./prototyperoutes (theprototyperow) on the prototype plugin being enabled, anddecide what a
prototypeitem does when that plugin is absent. Nothing defines an inlineprototype today, so this needs that decision first.
docs/upstream/aihero-wayfinder.mdnames the labelwayfind: map. That is a record of anupstream talk, not an instruction, so it is left as it is.
/planning:wayfind workas the next step in6 of 20 runs on main (grader
next-is-work,wayfind-chart-happy-path-proposes-map-with-five-sections-and-typed-items).in 14 of 20 runs on main (grader
five-sections, same case).🤖 Generated with Claude Code