Skip to content

fix(planning): wayfind reads the binding's label prefix - #16053

Merged
kyle-sexton merged 5 commits into
mainfrom
fix/wayfind-label-prefix
Nov 14, 2026
Merged

kyle-sexton merged 5 commits into
mainfrom
fix/wayfind-label-prefix

Conversation

@kyle-sexton

@kyle-sexton kyle-sexton commented Nov 13, 2026 •

Copy link
Copy Markdown
Member

No related issue: configurability scan finding, workshop 03 (Wayfinder)

Summary

/planning:wayfind wrote the literal labels wayfind: <kind> and needs-human, while the
work-item tracker resolves both from the repository's binding: config.wayfind_label_prefix
(default wayfind:) and config.role_labels.human-gated (default needs-human)
(plugins/work-items/tools/work-item-tracker/lib/binding.sh lines 354, 373, 379, 387). The
frontier drops items by the resolved prefix (lib/frontier.sh line 56;
tools/work-item-tracker/CONTRACT.md lines 389-395). A repository that set
wayfind_label_prefix therefore got map items under the old prefix, which /work-items:work's
frontier 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, the
    binding file the tracker seam reads (wit_find_binding, binding.sh lines 137-150): the
    WORK_ITEM_TRACKER_BINDING file when printenv shows the variable set, else the tracker
    mapping of <home>/work-items.yaml. <home> is the first backticked path in the root
    AGENTS.md (else CLAUDE.md) convention-home region, docs/conventions with no region (the
    seam's fallback, wit_convention_home, lines 41-55). A region with no single path, or a variable
    naming 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 plugin
    directory is what the eval sandbox denied for container-label.sh in 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. A
    missing 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.md lines 179-183), so no
    personal file is read. Each label is <prefix>, a space, then its kind (wayfind: map with
    the default).
  • Why this route: no /work-items:track action or seam verb prints binding values. labels
    only diffs the live label set (skills/track/actions/labels.md), and the verb list
    (CONTRACT.md lines 222-242) has no config printer. The binding file is the seam's published
    contract (CONTRACT.md "Setup (binding file)"; schemas/work-items.schema.json line 199).
    Other plugins already read config.role_labels from it directly
    (plugins/source-control/skills/babysit-loop/SKILL.md lines 228-231,
    plugins/plugin-quality/skills/audit/reference/session-mode.md lines 104-108). No seam change
    and no Bash call: the container-label.sh pre-computed call that feat(work-items): default container label is spec-container; maps are known by their wayfind label #15824 removed was the cause of
    that registration's before-arm denial exception.
  • Every label wayfind writes or queries in SKILL.md, context/tracker-mechanics.md and
    context/map-anatomy.md now uses <prefix> and <human-gated>.
  • Evals, additions only: three after-only plugin-eval cases whose scaffold writes a binding with
    prefix decide: and human-gated owner-call:
    • wayfind-chart-labels-from-binding: chart must write decide: map, decide: <type> and
      owner-call.
    • wayfind-work-frontier-uses-binding-labels: an unattended run must skip the owner-call item
      and claim the decide: design one.
    • wayfind-chart-labels-from-relocated-home: the root AGENTS.md pointer moves the home to
      config/team, where the binding sits; chart must write the same decide: and owner-call
      labels.
    • All three are added to fixtures/wayfind-charting/cases.txt. Their fixtures are under
      fixtures/wayfind-charting/label-prefix/, all synthetic.
  • Changelog fragment .changes/planning/fix-wayfind-label-prefix-4c1e9a27.md, patch.

Every removed or replaced line

Before (-) and after (+), from git diff -U0 fb5025bbff -- plugins/planning/skills/wayfind:

SKILL.md
@@ -15,0 +16,13 @@ (added, no line removed)
+Labels: resolve them first, once per session, with the Read tool from the tracker binding, the
+file the tracker reads: the one `printenv WORK_ITEM_TRACKER_BINDING` names when it prints a path,
+else `<home>/work-items.yaml` (its `tracker` mapping; both keys are team-only, so no personal file
+applies). `<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, or a variable naming a missing file, is
+a stop: report it, never take the defaults. `<prefix>` is `config.wayfind_label_prefix`, default
+`wayfind:`; `<human-gated>` is `config.role_labels.human-gated`, default `needs-human`. A missing
+file or key, or an empty value, means the default; any other value that is not a string is a broken
+binding: name the file, key and value and stop. Every wayfind label is `<prefix>`, a space, then
+its kind (`<prefix> map`, `<prefix> research`), and every label this skill writes or queries uses
+those two values. Report both in one line, each with `(default)` or `(binding)`.
@@ -17 +30 @@
-`/work-items:track list --label 'wayfind: map' --state open`, invoked via the Skill tool
+`/work-items:track list --label '<prefix> map' --state open`, invoked via the Skill tool
@@ -78 +91 @@
-| `wayfind_hitl_concurrency` | `1` | Owner decision Q330 (2026-11-12): one human-in-the-loop item at a time per person | The most `needs-human` items of one map that one person (the assignee a claim sets) may hold at once, across all of that person's sessions. Research items never count against it |
+| `wayfind_hitl_concurrency` | `1` | Owner decision Q330 (2026-11-12): one human-in-the-loop item at a time per person | The most `<human-gated>` items of one map that one person (the assignee a claim sets) may hold at once, across all of that person's sessions. Research items never count against it |
@@ -81 +94 @@
-research item only when the item carries `wayfind: research` and no `needs-human`, labels chart
+research item only when the item carries `<prefix> research` and no `<human-gated>`, labels chart
@@ -102 +115 @@
-Mode is the `needs-human` label, the human-gated role label every `/work-items` skill reads, which
+Mode is the `<human-gated>` label, the human-gated role label every `/work-items` skill reads, which
@@ -108 +121 @@
-stay out of `/work-items:work`, whose frontier leaves out every item carrying a `wayfind:` label.
+stay out of `/work-items:work`, whose frontier leaves out every item carrying a label that starts with `<prefix>`.
@@ -143 +156 @@
-| An item reference (URL, `#<n>` or tracker key) | **Work** | Work that item on its map. A reference to a map itself (it carries `wayfind: map`) is handled as *(empty)* for that map |
+| An item reference (URL, `#<n>` or tracker key) | **Work** | Work that item on its map. A reference to a map itself (it carries `<prefix> map`) is handled as *(empty)* for that map |
@@ -202 +215 @@
-   taxonomy (`wayfind: *`, `needs-human`; snippet in `context/tracker-mechanics.md`) is present:
+   taxonomy (`<prefix> *`, `<human-gated>`; snippet in `context/tracker-mechanics.md`) is present:
@@ -207 +220 @@
-   one issue labeled `wayfind: map` (+ any repo program labels). Its body carries
+   one issue labeled `<prefix> map` (+ any repo program labels). Its body carries
@@ -232 +245 @@
-5. **Materialize the mode** on each item at creation: `needs-human` only for an intent or vision
+5. **Materialize the mode** on each item at creation: `<human-gated>` only for an intent or vision
@@ -255 +268 @@
-   `needs-human` items; if that empties the frontier, STOP with a truthful "all remaining decisions
+   `<human-gated>` items; if that empties the frontier, STOP with a truthful "all remaining decisions
@@ -258,2 +271,2 @@
-   creation order. A `needs-human` item is skipped while the person this session claims as (its
-   assignee) already holds `wayfind_hitl_concurrency` claimed `needs-human` items on the map
+   creation order. A `<human-gated>` item is skipped while the person this session claims as (its
+   assignee) already holds `wayfind_hitl_concurrency` claimed `<human-gated>` items on the map
@@ -262 +275 @@
-   `needs-human` item while the slots are full, is reported with the reason and not claimed. Claim through `/work-items:track start` (the sibling
+   `<human-gated>` item while the slots are full, is reported with the reason and not claimed. Claim through `/work-items:track start` (the sibling
@@ -274 +287 @@
-   "Graduate a research item"). Never fan out a `needs-human` item.
+   "Graduate a research item"). Never fan out a `<human-gated>` item.
@@ -281,5 +294,5 @@
-   | `wayfind: research` | agent-capable | `/discovery:research` (falls back to inline research if not enabled) |
-   | `wayfind: interview` | `needs-human` (intent) | `/planning:interview` |
-   | `wayfind: design` | agent-capable unless it asks for vision | `/planning:design`, or `/event-storming:methodology` / `/event-storming:simulation` when the item is domain/event-model work |
-   | `wayfind: prototype` | `needs-human` when the user judges it | `/prototype:pressure-test` (behaviour/feasibility) or `/prototype:explore-directions` (design/UX). The item body says which. Its files go in the item's folder on the dossier branch ("Shared files"); its verdict goes in the resolution comment |
-   | `wayfind: task` | per item | Direct decision-unblocking work. No feature code, no PR tie. Its resolution records what was done and the facts later items need. Work only a human can do (a vendor sign-up, credentials, a dashboard) routes to `/wizard:generate`; its resolution records the names and locations of what was set up, never the values |
+   | `<prefix> research` | agent-capable | `/discovery:research` (falls back to inline research if not enabled) |
+   | `<prefix> interview` | `<human-gated>` (intent) | `/planning:interview` |
+   | `<prefix> design` | agent-capable unless it asks for vision | `/planning:design`, or `/event-storming:methodology` / `/event-storming:simulation` when the item is domain/event-model work |
+   | `<prefix> prototype` | `<human-gated>` when the user judges it | `/prototype:pressure-test` (behaviour/feasibility) or `/prototype:explore-directions` (design/UX). The item body says which. Its files go in the item's folder on the dossier branch ("Shared files"); its verdict goes in the resolution comment |
+   | `<prefix> task` | per item | Direct decision-unblocking work. No feature code, no PR tie. Its resolution records what was done and the facts later items need. Work only a human can do (a vendor sign-up, credentials, a dashboard) routes to `/wizard:generate`; its resolution records the names and locations of what was set up, never the values |
@@ -369 +382 @@
-  `needs-human` items out.
+  `<human-gated>` items out.
@@ -376 +389 @@
-  plugin's claim model (`/work-items:track start`); mode is the `needs-human` label; the pick is
+  plugin's claim model (`/work-items:track start`); mode is the `<human-gated>` label; the pick is

context/map-anatomy.md
@@ -3 +3 @@
-A map is one tracker issue (labeled `wayfind: map`) whose sub-issues are typed
+A map is one tracker issue (labeled `<prefix> map`, `<prefix>` per SKILL.md "Pre-computed context") whose sub-issues are typed
@@ -62 +62 @@
-nothing else, except a prototype item's, which follows "Prototype item body" below. The `wayfind: <type>` label sets the routing target (which skill resolves it); the
+nothing else, except a prototype item's, which follows "Prototype item body" below. The `<prefix> <type>` label sets the routing target (which skill resolves it); the
@@ -73 +73 @@
-Mode is materialized as the `needs-human` label (present = HITL), set only on an item that needs
+Mode is materialized as the `<human-gated>` label (present = HITL), set only on an item that needs
@@ -75 +75 @@
-`wayfind: <type>` value requires an existing routing target. Never add a type with nowhere to go.
+`<prefix> <type>` value requires an existing routing target. Never add a type with nowhere to go.

context/tracker-mechanics.md
@@ -22,0 +23,3 @@ (added, no line removed)
+`<prefix>` and `<human-gated>` below are the labels SKILL.md "Pre-computed context" resolved from
+the tracker binding.
@@ -25 +28 @@
-`/work-items:track list --label 'wayfind: map' --state open`. Name each map by title, ID as a
+`/work-items:track list --label '<prefix> map' --state open`. Name each map by title, ID as a
@@ -30 +33 @@
-`/planning:wayfind` uses its own taxonomy: `wayfind: map`, `wayfind: research|interview|design|prototype|task`
+`/planning:wayfind` uses its own taxonomy: `<prefix> map`, `<prefix> research|interview|design|prototype|task`
@@ -32 +35 @@
-can declare them verbatim), `needs-human`. At chart-mode entry, **verify** the taxonomy is present,
+can declare them verbatim), `<human-gated>`. At chart-mode entry, **verify** the taxonomy is present,
@@ -35 +38 @@
-`/work-items:track labels 'wayfind: map' 'wayfind: research' 'wayfind: interview' 'wayfind: design' 'wayfind: prototype' 'wayfind: task' needs-human`
+`/work-items:track labels '<prefix> map' '<prefix> research' '<prefix> interview' '<prefix> design' '<prefix> prototype' '<prefix> task' '<human-gated>'`
@@ -46,2 +49,2 @@
-`/work-items:track add --label 'wayfind: map' --body-file <map-body.md> "Map: <effort>"`
-(the `wayfind: map` label is what keeps the map out of triage and claimable work; a map never
+`/work-items:track add --label '<prefix> map' --body-file <map-body.md> "Map: <effort>"`
+(the `<prefix> map` label is what keeps the map out of triage and claimable work; a map never
@@ -57 +60 @@
-`/work-items:track add --parent <map-id> --label 'wayfind: <research|interview|design|prototype|task>' --body-file <item-body.md> "<topic>"`
+`/work-items:track add --parent <map-id> --label '<prefix> <research|interview|design|prototype|task>' --body-file <item-body.md> "<topic>"`
@@ -61 +64 @@
-add `--label needs-human` only when the item needs the user's intent or vision, whatever its type
+add `--label '<human-gated>'` only when the item needs the user's intent or vision, whatever its type
@@ -77 +80 @@
-`∧ NOT needs-human`):
+`∧ NOT <human-gated>`):
@@ -83 +86 @@
-in a non-interactive session also drop items labeled `needs-human`. Derive it here rather than with `/work-items:track
+in a non-interactive session also drop items labeled `<human-gated>`. Derive it here rather than with `/work-items:track
@@ -90,2 +93,2 @@
-Before claiming a `needs-human` item, count the map's open children that carry `needs-human`, do
-not carry `wayfind: research`, and are assigned to the session identity (the person the claim
+Before claiming a `<human-gated>` item, count the map's open children that carry `<human-gated>`, do
+not carry `<prefix> research`, and are assigned to the session identity (the person the claim
@@ -93 +96 @@
-Two sessions can both pass that count before either claims, so once a `needs-human` claim
+Two sessions can both pass that count before either claims, so once a `<human-gated>` claim
@@ -99 +102 @@
-`needs-human` item while the slots stay full). This holds because a claimant recounts only after
+`<human-gated>` item while the slots stay full). This holds because a claimant recounts only after

Left literal on purpose: the legacy skills/wayfind/evals/evals.json and the existing eval
fixtures and graders. They describe a repository on the default binding, so wayfind: <kind> and
needs-human are 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.md grew 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. The
    six new llm graders were calibrated with judge claude-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.py on the changed skill, case and fragment: no output.
  • shellcheck is 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 6
after). 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-sections 14 of 20 in both arms). Its gaps were
under 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 Labels
paragraph 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 e93835a93c against fb5025bbff:
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

Follow-ups

  • Gate the /event-storming route in wayfind's routing table on the event-storming plugin being
    enabled (the design row), the way the research row already falls back when
    /discovery:research is not enabled. Kept out of this PR: it changes what the loss-set case
    wayfind-work-mode-routes-decision-item-to-target-skill measures.
  • Gate the /prototype routes (the prototype row) on the prototype plugin being enabled, and
    decide what a prototype item does when that plugin is absent. Nothing defines an inline
    prototype today, so this needs that decision first.
  • docs/upstream/aihero-wayfinder.md names the label wayfind: map. That is a record of an
    upstream talk, not an instruction, so it is left as it is.
  • Pre-existing (advisory): chart's happy path names /planning:wayfind work as the next step in
    6 of 20 runs on main (grader next-is-work,
    wayfind-chart-happy-path-proposes-map-with-five-sections-and-typed-items).
  • Pre-existing (advisory): chart's happy path carries all five section names in its last message
    in 14 of 20 runs on main (grader five-sections, same case).

🤖 Generated with Claude Code

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]>
@kyle-sexton kyle-sexton added the do-not-merge Hard merge gate: do not merge while applied. label Nov 13, 2026
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]>
@kyle-sexton

Copy link
Copy Markdown
Member Author

Pre-registration: before/after eval of /planning:wayfind reading the binding's label prefix

For PR 16053. Posted before any run. No score from this comparison has been read, and no smoke
run was made.

Why. This PR replaces wayfind skill text: every literal wayfind: <kind> and needs-human
label in SKILL.md, context/tracker-mechanics.md and context/map-anatomy.md becomes <prefix> <kind> and <human-gated>, resolved once from the tracker binding. The routing table's targets
are unchanged. The repository rule says a cut to skill text
ships only with eval evidence of no loss
(plugins/playbooks/skills/skill-authoring/reference/skill-criteria.md, "Cutting text"). This run
measures that. It reuses the suite and harness of
pre-registration 1,
pre-registration 3
and the per-run exclusion rule of
the prototype round-4 registration.

Runner. claude plugin eval, on the plugin-eval cases under plugins/planning/evals/wayfind-*.
The legacy skills/wayfind/evals/evals.json is not run: earlier wayfind registrations converted
each evals.json case to one plugin-eval case under plugins/planning/evals/wayfind-<name>/
(registration 1, "Runner") and stated that the harness does not run the legacy format
(PR 15824 registration).
No evals.json case is converted for this run.

Arms

  • before: plugins/planning at 470eae9c5f38d325d2d0e2e13568f09c25f6b0dd (origin/main the
    branch was cut from).

  • after: plugins/planning at the PR head 37153461119ab78a27de918d515c81e49f8529d8.

  • Each arm is built by
    plugins/planning/evals/fixtures/wayfind-charting/prepare-arm.sh <ref> <dest> after, run from a
    checkout of the after head, so both arms carry the cases, graders, samples and fixtures as they
    are at the after head. The third argument is after for both arms (the settled-facts fixture;
    no case below reads it).

  • Each set runs from its own arm copy holding only that set's cases. No --tag filter. After
    prepare-arm.sh <ref> <dest> after, prune the copy with this loop, KEEP set to the set's
    case names (loss set: the 9 below; after-only: the 2 below), and check that ls <dest>/evals
    then lists exactly fixtures and those names:

    for d in <dest>/evals/*/; do n="$(basename "$d")"; [ "$n" = fixtures ] && continue; case " $KEEP " in *" $n "*) ;; *) rm -rf -- "<dest>/evals/$n" ;; esac; done

    Loss set KEEP="wayfind-needs-human-only-for-intent-or-vision wayfind-chart-happy-path-proposes-map-with-five-sections-and-typed-items wayfind-prototype-item-body-template wayfind-item-link-routes-to-work-on-that-item wayfind-work-mode-never-resolves-hitl-item-for-the-human wayfind-work-default-pick-and-hitl-slot wayfind-hitl-slot-counts-per-person wayfind-bare-run-with-open-map-lists-frontier-and-waits wayfind-work-mode-routes-decision-item-to-target-skill".
    After-only KEEP="wayfind-chart-labels-from-binding wayfind-work-frontier-uses-binding-labels".

  • Built before posting: <dest> is <run-dir>/loss-before (before ref),
    <run-dir>/loss-after and <run-dir>/after-only (after
    ref), pruned by <run-dir>/prune-arm.sh <dest> <case>..., the loop above as a
    script. diff -r of the two loss copies' evals/ printed nothing.

Frozen-grader check. Run before launch and again before any score is read. It must print
nothing:

git diff --stat 470eae9c5f38d325d2d0e2e13568f09c25f6b0dd 37153461119ab78a27de918d515c81e49f8529d8 -- plugins/planning/evals/wayfind-needs-human-only-for-intent-or-vision plugins/planning/evals/wayfind-chart-happy-path-proposes-map-with-five-sections-and-typed-items plugins/planning/evals/wayfind-item-link-routes-to-work-on-that-item plugins/planning/evals/wayfind-work-mode-never-resolves-hitl-item-for-the-human plugins/planning/evals/wayfind-work-default-pick-and-hitl-slot plugins/planning/evals/wayfind-hitl-slot-counts-per-person plugins/planning/evals/wayfind-bare-run-with-open-map-lists-frontier-and-waits plugins/planning/evals/wayfind-work-mode-routes-decision-item-to-target-skill plugins/planning/evals/wayfind-prototype-item-body-template plugins/planning/evals/fixtures/wayfind-charting/checkout-map

Loss set (9 cases, both arms). Each case's files are identical in both arms (the check above).
Each was chosen because the label text this PR replaces decides its outcome. None scaffolds a
binding, so the after text resolves the defaults and should behave as the before text does.

  • wayfind-needs-human-only-for-intent-or-vision: chart writes needs-human on one item and not
    the other.
  • wayfind-chart-happy-path-proposes-map-with-five-sections-and-typed-items: chart writes the map
    label and type labels.
  • wayfind-prototype-item-body-template: chart writes the prototype type label.
  • wayfind-item-link-routes-to-work-on-that-item: reads wayfind: design from a tracker export
    and routes by it.
  • wayfind-work-mode-never-resolves-hitl-item-for-the-human: unattended frontier filters by the
    human-gated label.
  • wayfind-work-default-pick-and-hitl-slot: the slot count queries the human-gated label.
  • wayfind-hitl-slot-counts-per-person: the same, per assignee.
  • wayfind-bare-run-with-open-map-lists-frontier-and-waits: the open-map listing queries the map
    label.
  • wayfind-work-mode-routes-decision-item-to-target-skill: routes an item by its design type
    label.

After-only set (2 new cases, after arm only). Labeled after-only; they hold no verdict on
loss.

  • wayfind-chart-labels-from-binding: the scaffold writes docs/conventions/work-items.yaml
    setting wayfind_label_prefix: "decide:" and role_labels.human-gated: owner-call; chart must
    write decide: map, decide: <type> and owner-call, never a wayfind: label or needs-human.
  • wayfind-work-frontier-uses-binding-labels: same binding plus a tracker export; an unattended
    run must skip the owner-call item and claim the decide: design item.
  • Their four llm graders are calibrated (see "Judge calibration" below).

Expected outcomes, stated before the run

  • wayfind-work-mode-routes-decision-item-to-target-skill is expected to fail grader
    routes-to-planning-design in most or all runs on both arms, as in registration 3's result
    (both texts allow the event-storming route, and this PR leaves that row's targets unchanged). A
    shared failure, not a loss; it stays in both means.
  • The after text reads docs/conventions/work-items.yaml with the Read tool. In the loss-set
    workspaces that file is absent; a Read of a missing file is a tool error, not a permission denial
    (run-validity.py counts a denial by the text "denied by your permission settings",
    plugins/evals/skills/plugin-eval/scripts/run-validity.py:300), so it does not exclude a run.

Runs. 6 per case per arm. Loss set 9 x 6 x 2 = 108; after-only 2 x 6 = 12; 120 runs in all.
Model claude-opus-5-5, judge claude-opus-5-5. The result states the Claude Code version.

Launch commands. Three invocations, launched at the same time, each from
<run-dir> (outside any repository). <evals-skill> is
plugins/evals/skills/plugin-eval in the after-head checkout (evals plugin 0.18.10). Each run has
its own TMPDIR. The Docker link-swap wrapper is the form
plugins/evals/skills/plugin-eval/reference/sandboxes.md "Docker link swap" gives; its three
conditions hold on this machine (DOCKER_CONFIG unset; the ~/.docker links contexts and
features.json point under /mnt/c/; no tls/ under the contexts target). Whether the earlier
wayfind runs used it is not recorded in their registrations.

python3 <after-checkout>/plugins/evals/skills/plugin-eval/scripts/docker-links.py run -- env TMPDIR=<tmp>/lpb claude plugin eval <run-dir>/loss-before --trust-plugin --ablation none --scaffold --allow-tools Bash --keep-temp --no-publish --runs 6 --threshold 0.67 --model claude-opus-5-5 --judge-model claude-opus-5-5 --max-cost-usd 25 --json <run-dir>/out/loss-before.json
python3 <after-checkout>/plugins/evals/skills/plugin-eval/scripts/docker-links.py run -- env TMPDIR=<tmp>/lpa claude plugin eval <run-dir>/loss-after --trust-plugin --ablation none --scaffold --allow-tools Bash --keep-temp --no-publish --runs 6 --threshold 0.67 --model claude-opus-5-5 --judge-model claude-opus-5-5 --max-cost-usd 25 --json <run-dir>/out/loss-after.json
python3 <after-checkout>/plugins/evals/skills/plugin-eval/scripts/docker-links.py run -- env TMPDIR=<tmp>/lpo claude plugin eval <run-dir>/after-only --trust-plugin --ablation none --scaffold --allow-tools Bash --keep-temp --no-publish --runs 6 --threshold 0.67 --model claude-opus-5-5 --judge-model claude-opus-5-5 --max-cost-usd 15 --json <run-dir>/out/after-only.json

Judge calibration (done before posting). The four new llm graders were calibrated with
calibrate-judge.py and judge claude-opus-5-5 (3 runs per sample): each agreed 6/6 runs
(100.0%) over 2 samples, verdict PASS (every grader at or above 90%); no grader or sample
changed.

Validity and exclusions, decided before any score is read

  • Each result file goes through its own command, run before the command that prints scores:
    python3 <after-checkout>/plugins/evals/skills/plugin-eval/scripts/run-validity.py <file> --runs 6 --scaffolded, <file> each of the three --json files above.
  • A run is excluded when its trace holds a denied tool call, or it has a non-null error (a
    timeout included). The excluded runs, with their arm and case, are taken from run-validity.py's
    listing and the result file's error fields and written down before any score is read.
  • Each loss-set case needs at least 4 counted runs in each arm. With fewer for any case, that set
    is relaunched once, both arms together; a second short pair ends the set with no verdict.
  • A file that is partial (a cost-ceiling hit included), holds a run count other than 6, or is
    INVALID for any reason other than denied tool calls (a harness failure, a plugin that did not
    load, a wrong model) excludes the pair; it is relaunched once, and a second exclusion ends the
    set with no verdict. An excluded pair's scores are never read.

Decision rule (loss set, on counted runs)

  • A run passes when every grader in it passes. A case's pass rate is its passing counted runs over
    its counted runs.
  • LOSS if any case's after pass rate is at or below two-thirds of its before rate and lower than
    it, or the set mean falls by 0.15 or more.
  • Non-inferiority: python3 <after-checkout>/plugins/evals/skills/plugin-eval/scripts/noise-report.py <run-dir>/out/loss-after.json --baseline <run-dir>/out/loss-before.json --margin 0.05.
    "No case drops" means no case meets the case rule and noise-report prints no case drop line.
  • The case-score change per case is reported beside the verdict, labeled as not the verdict.
  • After-only cases: one passing on fewer than 4 of its 6 counted runs is listed as a defect in the
    new text, the case or the grader.
  • No detection control runs, and the result says so.
  • Graders do not change after any score is read; a grader fix means a fresh registered run.

Outcome actions

  • No loss, non-inferior, no after-only defect: do-not-merge comes off and the PR goes through
    ready, review and merge.
  • No loss, but non-inferiority not shown: reported here with the numbers; do-not-merge stays
    until a decision is recorded on this PR.
  • After-only defect with no loss: the defect is fixed (text, case or grader) and a fresh
    registration runs the after-only set; do-not-merge stays meanwhile.
  • LOSS, or no verdict in the loss set: do-not-merge stays; the failing case and graders are
    reported, and the skill text is revised before a fresh registration.

Cost (list-price estimate, judgment). Loss set about 14 USD per arm at 6 runs, the
PR 15824 registration's
figure for its 9-case loss set; after-only 2 x 6 runs at 0.40 to 0.92 USD per run (that
registration's range for work-mode cases reading an export), 5 to 11 USD. Total about 33 to 39
USD, up to about 78 USD if every set is relaunched once. Ceilings: 25 USD per loss-set invocation,
15 USD for the after-only invocation.

@kyle-sexton

Copy link
Copy Markdown
Member Author

Result: before/after eval of wayfind reading the binding's label prefix

Run under the pre-registration. Arms: before 470eae9c5f, after 3715346111. claude-opus-5-5 for runs and judge, Claude Code 2.1.325, --runs 6, all three invocations launched together through the Docker link-swap wrapper. The frozen-grader check printed nothing before launch and again before any score was read.

Verdict: LOSS by the registered case rule, on one case. do-not-merge stays. Non-inferiority at margin 0.05 is shown for the set, and both new cases pass 6 of 6.

Validity and exclusions (run-validity.py --runs 6 --scaffolded, run on each file by its own command before any score was read)

File Verdict Excluded runs
loss set, before VALID (warnings: skill fired) none: no denied tool call in 54 traces, no run error, not partial, 6 rows per case
loss set, after VALID (warnings: skill fired) none: no denied tool call in 54 traces, no run error, not partial, 6 rows per case
after-only VALID (warnings: skill fired) none: no denied tool call in 12 traces, no run error, not partial, 6 rows per case

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)

Case Before After Failed graders, before Failed graders, after
wayfind-bare-run-with-open-map-lists-frontier-and-waits 6 of 6 6 of 6
wayfind-chart-happy-path-proposes-map-with-five-sections-and-typed-items 1 of 6 0 of 6 next-is-work x5 next-is-work x6, five-sections x2
wayfind-hitl-slot-counts-per-person 6 of 6 6 of 6
wayfind-item-link-routes-to-work-on-that-item 6 of 6 6 of 6
wayfind-needs-human-only-for-intent-or-vision 6 of 6 6 of 6
wayfind-prototype-item-body-template 6 of 6 6 of 6
wayfind-work-default-pick-and-hitl-slot 6 of 6 6 of 6
wayfind-work-mode-never-resolves-hitl-item-for-the-human 6 of 6 6 of 6
wayfind-work-mode-routes-decision-item-to-target-skill 0 of 6 0 of 6 routes-to-planning-design x6 routes-to-planning-design x6
  • Case rule: met for wayfind-chart-happy-path-proposes-map-with-five-sections-and-typed-items. Its after pass rate (0 of 6) is at or below two-thirds of its before rate (1 of 6) and lower than it. That is a LOSS as registered.
  • Set mean score: 0.948 before, 0.938 after. The mean rule (a fall of 0.15 or more) is not met.
  • Non-inferiority: noise-report.py prints with-arm change (this minus baseline), paired over 9 cases: -0.01, 95% interval -0.03 to +0.01 and compare verdict: non-inferior at margin 0.05. It prints no case drop line.
  • Case-score change, not the verdict: the chart happy-path case went from 0.86 to 0.78; every other case is unchanged.
  • wayfind-work-mode-routes-decision-item-to-target-skill failed routes-to-planning-design in all 12 runs, as the registration expected. A shared failure.

What the losing case shows

  • next-is-work failed in 5 of 6 before runs and 6 of 6 after runs: the reply ends by asking for a yes to the proposed map and does not name /planning:wayfind work as the step that follows. This failure is on main already and is not caused by this PR; it puts the case's pass rate near zero in both arms, where one run decides the case rule.
  • five-sections (a regex over the last message for the five section names) failed in 0 of 6 before runs and 2 of 6 after runs. This is the part that could be an effect of the new text. Six runs cannot tell.

After-only set (after arm only; no verdict on loss)

Case Passing runs
wayfind-chart-labels-from-binding 6 of 6
wayfind-work-frontier-uses-binding-labels 6 of 6

With the binding setting decide: and owner-call, every run wrote and queried those labels. No after-only defect.

Limits

  • No detection control ran.
  • The loss-set cases scaffold no binding, so they measure the default path only; the remapped path is measured by the two after-only cases.
  • The existing loss-set judge graders were calibrated on judge opus by an earlier registration; whether that alias was claude-opus-5-5 then is not recorded.

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 five-sections is read on its own. Its registration follows as a separate comment, posted before its runs. This step is not in the registration above and is a deviation from it; the verdict above stands whatever the confirmation shows, and the hold comes off only if the confirmation's own rule says so.

@kyle-sexton

Copy link
Copy Markdown
Member Author

Pre-registration: confirmation of one case, 20 runs per arm

Posted before any run of this confirmation. It follows the result of the first registration, which was a LOSS by the case rule on wayfind-chart-happy-path-proposes-map-with-five-sections-and-typed-items (1 of 6 before, 0 of 6 after). The first run's scores for this case are not carried into the confirmation.

Why a confirmation and why a per-grader rule. The case's run-level pass rate is near zero in both arms because grader next-is-work fails on main (5 of 6 before runs). At that rate a single run decides the registered case rule, whichever text is under test. The signal that could come from this PR is grader five-sections, which failed in 0 of 6 before runs and 2 of 6 after runs. This rule was written after seeing those numbers; it is applied only to fresh runs.

Arms. As before: before 470eae9c5f38d325d2d0e2e13568f09c25f6b0dd, after 37153461119ab78a27de918d515c81e49f8529d8. Each arm copy is a copy of the first run's loss-set arm copy, pruned to this one case plus fixtures. The frozen-grader check is the first registration's command; it must print nothing before launch and again before any score is read.

Runs. --runs 20 per arm, 40 runs. Model and judge claude-opus-5-5. Both arms launched together, same flags and wrapper as the first run, each with its own TMPDIR:

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

Validity and exclusions, decided before any score is read

  • python3 <after-checkout>/plugins/evals/skills/plugin-eval/scripts/run-validity.py <file> --runs 20, run on each file by its own command before the command that prints scores. --scaffolded is not passed: this case sets no scaffold script.
  • A run is excluded when its trace holds a denied tool call or it has a non-null error. Excluded runs are written down before any score is read.
  • Each arm needs at least 16 counted runs. With fewer in either arm, the pair is relaunched once; a second short pair ends the confirmation with no verdict.
  • A file that is partial, holds a run count other than 20, or is INVALID for any reason other than denied tool calls excludes the pair; one relaunch, then no verdict.

Decision rule (on counted runs)

  • For each of the case's graders, its pass rate is its passing counted runs over the arm's counted runs.
  • CONFIRMED LOSS if, for any grader, the after pass rate is at or below two-thirds of the before rate, and the after arm has at least 3 fewer passing runs than the before arm scaled to the same count. (The 3-run floor is there so that 1 of 20 against 0 of 20 does not decide it.)
  • CONFIRMED LOSS also if the run-level pass rate (every grader passing) meets the same two conditions.
  • NOT REPRODUCED otherwise.
  • The per-grader counts for both arms are reported in full either way.

Outcome actions

  • NOT REPRODUCED: the first run's case-rule LOSS is recorded as not reproduced at 20 runs; do-not-merge comes off and the PR goes through ready, review and merge. The next-is-work failure on main is listed under Follow-ups in the PR body.
  • CONFIRMED LOSS: do-not-merge stays; the new text is revised and a fresh registration runs the whole loss set.
  • No verdict: do-not-merge stays.

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.

@kyle-sexton

Copy link
Copy Markdown
Member Author

Result: confirmation of one case, 20 runs per arm

Run under the confirmation pre-registration. Case wayfind-chart-happy-path-proposes-map-with-five-sections-and-typed-items; arms before 470eae9c5f, after 3715346111; claude-opus-5-5 for runs and judge, Claude Code 2.1.325, --runs 20, both arms launched together. The frozen-grader check printed nothing before launch and again before any score was read.

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. do-not-merge comes off and the PR goes through ready, review and merge.

Validity and exclusions (run-validity.py --runs 20, run on each file by its own command before any score was read)

Arm Verdict Excluded runs
before VALID (warnings: skill fired) none: no denied tool call in 20 traces, no run error, not partial, 20 rows
after VALID (warnings: skill fired, judge votes) none: no denied tool call in 20 traces, no run error, not partial, 20 rows

One split judge vote: after arm, run 8, grader transactions-is-fog (PASS FAIL FAIL).

Per-grader passing runs (all 20 runs counted in each arm)

Grader Before After At or below two-thirds of before? At least 3 fewer? Rule met
db-split-out-of-scope 20 20 no no no
five-sections 14 14 no no no
next-is-work 6 4 yes no (2 fewer) no
strangler-is-item 20 18 no no (2 fewer) no
transactions-is-fog 20 19 no no (1 fewer) no
waits-for-yes 20 20 no no no
every grader passing (run level) 4 2 yes no (2 fewer) no
  • five-sections, the grader that prompted the confirmation (0 of 6 failed before, 2 of 6 after in the first run), passed 14 of 20 in both arms. It fails 6 of 20 on main.
  • Mean score: 0.833 before, 0.792 after. Not the verdict.

What this does not show

  • The after arm is lower on three graders (next-is-work 6 to 4, strangler-is-item 20 to 18, transactions-is-fog 20 to 19) and at run level (4 to 2). Each difference is under the registered 3-run floor, and 20 runs per arm cannot separate differences of that size from run-to-run variation. This result says the first run's loss was not reproduced; it does not show the two texts are equal on this case.
  • The rule was written after the first run's numbers were seen and applied only to these fresh runs.
  • No detection control ran.

Found on main, listed under Follow-ups in the PR body

  • Chart's happy path names /planning:wayfind work as the next step in 6 of 20 runs on main (next-is-work).
  • Its last message carries all five section names in 14 of 20 runs on main (five-sections).

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.

@kyle-sexton kyle-sexton removed the do-not-merge Hard merge gate: do not merge while applied. label Nov 14, 2026
@kyle-sexton
kyle-sexton marked this pull request as ready for review November 14, 2026 01:25
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 14, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-14T01:27:30.980047Z 3a22a5e Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@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 43540564649

Failed GitHub API calls

Method Path Status
GET /repos/{repo}/git/ref/tags/* 404

Lane-Activity: pr-refine/fix-docs
@github-actions

Copy link
Copy Markdown
Contributor

Lane run report

Field Value
Activity pr-refine/apply-patch
Model rung 0
Leg base
Run job success
Activity step success
Commits pushed 8ff38ad
Run 43540564649

Failed GitHub API calls

Method Path Status
GET /repos/{repo}/git/ref/tags/* 404

@github-actions

github-actions Bot commented Nov 14, 2026 •

Copy link
Copy Markdown
Contributor

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

Security review (incremental): PR #16053, head e93835a9

No security issues found. I reviewed only the changes since 8ff38adf, and I read every hunk of all 13 files in the incremental list. None of them match a trusted-path glob. Because this lane already reviewed an earlier head, this review was blocking only: it reports CRITICAL and IMPORTANT findings and leaves out suggestions.

What I checked

  • plugins/planning/skills/wayfind/SKILL.md, the Labels step. It now finds the tracker binding the same way the tracker's wit_find_binding does.
    • It first reads the file named by WORK_ITEM_TRACKER_BINDING.
    • Otherwise it reads <home>/work-items.yaml. <home> is the first backticked path in the root AGENTS.md (else CLAUDE.md) convention-home region, or docs/conventions when there is no region.
    • Both sources are already trusted inputs: the operator's own session environment, and committed repository content that only changes through a merge. The tracker seam already trusts both, so this adds no new trust boundary.
    • The values read still only become label strings. A value that is not a string still stops the run.
    • The new stop rules fail closed: a region without exactly one path, or a variable naming a missing file, stops the run instead of taking the defaults.
    • Instruction-surface lens: no rule is removed or softened. Human-gated handling still keys on the resolved label.
  • New eval case wayfind-chart-labels-from-relocated-home (scaffold.sh, an AGENTS.md fixture, graders, samples, prompt). The scaffold copies fixture files from inside the repository into the eval workspace using fixed paths and no outside input. The prompt's harness note is aimed at the model under evaluation and gives this lane no instructions.
  • cases.txt and the changelog fragment. Text only.

Settled thread. The earlier advisory finding about the skill reading the binding from a different place than the tracker was fixed at this head (owner reply, lines changed since resolution: no). I am not raising it again.

Not in this diff: no plugin manifest, workflow, token, kill-switch or merge-hold change. Nothing in the PR context or the settled threads tries to direct this lane.

Spend (not counted as a finding): one more eval case at runs: 3, which uses prepaid API credits when the eval suite runs.

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 8ff38adf6b49b89188d80984925e56506989e4bc; the summary is in this lane's pull request comment.

claude-lane: claude-review

@github-actions

github-actions Bot commented Nov 14, 2026 •

Copy link
Copy Markdown
Contributor

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

Code review (incremental, blocking only): wayfind reads the binding file the tracker reads

This round covers only the changes since 8ff38adf: the 13 files in the incremental diff. The lane already reviewed an earlier head, so this review reports blocking findings only. It found no blocking findings.

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 wit_find_binding does (binding.sh L133-150):

  • It reads the WORK_ITEM_TRACKER_BINDING file first, and a variable that names a missing file stops the run.
  • Otherwise it reads <home>/work-items.yaml.
  • <home> comes from the convention-home region of AGENTS.md (or CLAUDE.md when AGENTS.md has none), else docs/conventions.

Edge cases where the skill stops but the seam does not. I compared the text against resolve-convention-home.sh. In three cases the skill stops with a report where the seam would act differently:

  • A region with no pointer line: the seam falls back to docs/conventions.
  • A declined region: the seam binds nothing, so the tracker can't be used either way.
  • One pointer line holding two backticked tokens: the seam takes the first token.

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:

  • The new wayfind-chart-labels-from-relocated-home case copies AGENTS.md.txt (home moved to config/team) and the shared work-items.yaml.txt (prefix decide:, human-gated label owner-call) into config/team/.
  • Its graders and samples match those fixtures.
  • The two existing cases copy only work-items.yaml.txt and the map and item files, so the new shared AGENTS.md.txt does not reach them.
  • allowed_tools includes Bash for the new printenv step. The prompt's harness note forbids Bash only on skill and plugin directories.
  • The PR states that the judge graders calibrated 6/6. I ran nothing, so that is author-claimed and unverified.

Other notes:

  • The changelog fragment matches the new behaviour, and bump: patch fits.
  • No closing issue, so there are no acceptance criteria to check.
  • No plugin manifest changed, so there are no manifest lines.
  • Nothing in the PR context, the settled thread or the prior findings tried to steer this review.
  • Spend: the new eval case adds 3 runs (up to 30 turns each) to eval sweeps. That uses prepaid credits only; it is not a cost hold.

Verifier dropped 0 of 0 candidates.

@kyle-sexton kyle-sexton added the do-not-merge Hard merge gate: do not merge while applied. label Nov 14, 2026
@kyle-sexton

Copy link
Copy Markdown
Member Author

Hold restored

do-not-merge is back on this PR, for two reasons.

  1. The review finding on SKILL.md line 17 is correct and will be fixed here. The new paragraph reads the binding only at the default convention home, while the seam reads <home>/work-items.yaml at the bound home and honours WORK_ITEM_TRACKER_BINDING first. In a repository with a relocated home the skill would fall back to the defaults without saying so, which is the defect this PR exists to fix. The fix changes the skill text again, so the text that was measured is no longer the text that would merge.
  2. The hold was lifted on a rule written after the first result was seen. The confirmation cleared the first run's LOSS only through its 3-run floor, and the after arm was still lower at run level (4 of 20 before, 2 of 20 after). That is too thin a basis to merge replaced skill text on.

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]>
@kyle-sexton

Copy link
Copy Markdown
Member Author

Pre-registration 2: before/after eval of the current head, with a same-text control

Posted 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 (3715346111) and are not carried into this one.

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 WORK_ITEM_TRACKER_BINDING names, else <home>/work-items.yaml at the bound convention home, and stops instead of taking the defaults when it cannot resolve one), and the earlier hold was lifted on a rule written after the first result was seen. Every rule below is fixed now, before any run.

Runner, model, flags. claude plugin eval on the plugin-eval cases under plugins/planning/evals/wayfind-*; model and judge claude-opus-5-5; the same flags and Docker link-swap wrapper as the first registration; six invocations launched together, each from a directory outside any repository with its own TMPDIR. The result states the Claude Code version.

Arms

  • before: plugins/planning at fb5025bbff0228e452cf5699eadb5766e9543e7b, the origin/main last merged into the PR head. Nothing under plugins/planning has changed on main since.
  • after: plugins/planning at the PR head e93835a93c840bf09bf0e23ab284464949a1b980.
  • Each copy is built by plugins/planning/evals/fixtures/wayfind-charting/prepare-arm.sh <ref> <dest> after from a checkout of the after head and pruned to its set, so every copy carries the cases, graders, samples and fixtures of the after head.
Copy Ref Cases Runs per case
loss-before before the 9 loss-set cases of the first registration 6
loss-after after the same 9 6
after-only after wayfind-chart-labels-from-binding, wayfind-work-frontier-uses-binding-labels, wayfind-chart-labels-from-relocated-home 6
chart-before-1 before wayfind-chart-happy-path-proposes-map-with-five-sections-and-typed-items 20
chart-before-2 before the same case 20
chart-after after the same case 20

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:

git diff --stat fb5025bbff0228e452cf5699eadb5766e9543e7b e93835a93c840bf09bf0e23ab284464949a1b980 -- plugins/planning/evals/wayfind-needs-human-only-for-intent-or-vision plugins/planning/evals/wayfind-chart-happy-path-proposes-map-with-five-sections-and-typed-items plugins/planning/evals/wayfind-item-link-routes-to-work-on-that-item plugins/planning/evals/wayfind-work-mode-never-resolves-hitl-item-for-the-human plugins/planning/evals/wayfind-work-default-pick-and-hitl-slot plugins/planning/evals/wayfind-hitl-slot-counts-per-person plugins/planning/evals/wayfind-bare-run-with-open-map-lists-frontier-and-waits plugins/planning/evals/wayfind-work-mode-routes-decision-item-to-target-skill plugins/planning/evals/wayfind-prototype-item-body-template plugins/planning/evals/fixtures/wayfind-charting/checkout-map

Also before launch: diff -r of the evals/ trees of loss-before and loss-after, and of the three chart copies, prints nothing.

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 next-is-work and five-sections fail often on main. At that rate its 6-run row is decided by one run. So its verdict comes from the 20-run copies, against a baseline of 40 before runs, and the two before copies are compared with each other to show how far the same text differs from itself.

Validity and exclusions, decided before any score is read

  • Each result file goes through run-validity.py <file> --runs <6 or 20> (with --scaffolded for the three 6-run files, whose launches pass --scaffold and hold scaffolded cases), run by its own command before any command that prints scores.
  • A run is excluded when its trace holds a denied tool call or it has a non-null error. Excluded runs, with file and case, are written down before any score is read. The after text makes one new Bash call (printenv WORK_ITEM_TRACKER_BINDING); a denial of it excludes the run like any other, and denials of that call are counted and reported on their own line.
  • 6-run files: each case needs at least 4 counted runs in each arm. 20-run files: each needs at least 16 counted runs. A short file's set (the loss pair; the after-only file; the chart trio) is relaunched once as a whole; a second short set ends that set with no verdict.
  • A file that is partial, holds the wrong run count, or is INVALID for a reason other than denied tool calls excludes its set; one relaunch, then no verdict. An excluded set's scores are never read.
  • If the after arm loses 3 or more runs of any one file to denials of the new printenv call, that is reported as a defect of the new text whatever the scores say, and do-not-merge stays.

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-before and loss-after:

  • LOSS if any of the 8 cases has an after pass rate at or below two-thirds of its before rate and lower than it.

Loss set, all 9 cases:

  • LOSS if the set mean score falls by 0.15 or more.
  • Non-inferiority: noise-report.py loss-after.json --baseline loss-before.json --margin 0.05. Reported as shown or not shown.

Chart happy-path case, on counted runs of the three 20-run copies. The before rate is the pooled rate of chart-before-1 and chart-before-2. For each of the case's graders, and for the run-level pass (every grader passing):

  • LOSS if the after rate is at or below two-thirds of the pooled before rate and the after rate is lower than the pooled before rate by 0.15 or more (3 runs of 20).
  • LOSS also if the after mean score is lower than the pooled before mean score by 0.10 or more.
  • The control pair is reported in full beside the verdict: each grader's count in chart-before-1 and chart-before-2, and whether that pair, read as if it were a before and an after, would itself have met the rule in either direction. If it would have, the result says so in its first lines: a rule that the same text can trip is not evidence on that grader, and in that case a LOSS on that grader alone is reported as "LOSS, control also trips" and do-not-merge stays until a decision is recorded here. A pass is never upgraded by the control.

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

  • wayfind-work-mode-routes-decision-item-to-target-skill fails routes-to-planning-design in most or all runs on both arms, as in both earlier results. A shared failure; it stays in both means.
  • The chart happy-path case fails next-is-work in most runs and five-sections in about a third of runs on both texts.
  • The after arm makes one more tool call per run than the before arm and reads the root AGENTS.md or CLAUDE.md if present; the loss-set workspaces hold neither file and no binding, so the after text should resolve both defaults.

Outcome actions

  • No loss by any rule above, non-inferiority shown, no after-only defect, no printenv denial defect: do-not-merge comes off after the open review thread is resolved, and the PR goes through review and merge.
  • No loss, non-inferiority not shown: reported with the numbers; do-not-merge stays until a decision is recorded on this PR.
  • An after-only defect with no loss: fixed, then a fresh registration for the after-only set; do-not-merge stays meanwhile.
  • LOSS by any rule, or no verdict in the loss set or the chart trio: do-not-merge stays. The new text is revised, or the change is reduced, before another registration. No further confirmation run is added to this registration.

Limits, stated now

  • No detection control runs (no arm with a known regression), so the suite's ability to see a real loss is not measured; the control here measures only same-text variation on one case.
  • Twenty runs per copy can miss a real difference smaller than the 0.15 floor on a grader. The result reports every per-grader count so a smaller consistent shortfall is visible, and says in words whether the after arm is lower than both before copies on any grader.
  • The existing loss-set judge graders were calibrated on judge opus by an earlier registration; whether that alias was claude-opus-5-5 then is not recorded. The six graders of the three new cases were calibrated on claude-opus-5-5, 6 of 6 each, with sample labels set by the author alone.

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.

@kyle-sexton

Copy link
Copy Markdown
Member Author

Addendum to pre-registration 2: a tighter threshold for the chart case

Posted 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; next-is-work 6 of 20 before, 4 of 20 after) would pass again. A threshold chosen after those numbers were seen, and that those numbers clear, should not be the bar for this run.

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

  • LOSS if the after rate is at or below two-thirds of the pooled before rate and lower than it by 0.10 or more (2 runs of 20). The floor was 0.15.
  • LOSS also if the after count is lower than the count in both before copies on the run-level pass and the after mean score is lower than the mean score of both before copies. This clause is new.
  • The mean-score clause is unchanged (after lower than the pooled before mean by 0.10 or more).

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 next-is-work (0.30 to 0.20).

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.

@kyle-sexton

Copy link
Copy Markdown
Member Author

Result: pre-registration 2

Run under pre-registration 2 and its addendum. Arms: before fb5025bbff, after e93835a93c. claude-opus-5-5 for runs and judge, Claude Code 2.1.325, six invocations launched together. The frozen-grader check printed nothing before launch and again before any score was read.

Verdict: no loss by any registered rule; non-inferiority not shown. do-not-merge stays until a decision is recorded on this PR, as registered for that outcome.

Validity and exclusions (run-validity.py, run on each file by its own command before any score was read)

File Runs Verdict Excluded runs
loss set, before 54 VALID (warnings: skill fired) none
loss set, after 54 VALID (warnings: skill fired) none
after-only 18 VALID (warnings: skill fired) none
chart, before copy 1 20 VALID (warnings: skill fired, judge votes) none
chart, before copy 2 20 VALID (warnings: skill fired, judge votes) none
chart, after 20 VALID (warnings: skill fired, judge votes) none

No denied tool call in any of the 186 traces, so no denial of the new printenv call. No run error, no partial file. Three split judge votes: before copy 1 run 3 and before copy 2 run 10 (strangler-is-item), after run 14 (next-is-work).

Loss set, the 8 cases under the case rule (a run passes when every grader passes)

Case Before After
wayfind-bare-run-with-open-map-lists-frontier-and-waits 6 of 6 6 of 6
wayfind-hitl-slot-counts-per-person 6 of 6 6 of 6
wayfind-item-link-routes-to-work-on-that-item 6 of 6 6 of 6
wayfind-needs-human-only-for-intent-or-vision 6 of 6 6 of 6
wayfind-prototype-item-body-template 6 of 6 6 of 6
wayfind-work-default-pick-and-hitl-slot 6 of 6 6 of 6
wayfind-work-mode-never-resolves-hitl-item-for-the-human 6 of 6 6 of 6
wayfind-work-mode-routes-decision-item-to-target-skill 0 of 6 0 of 6
  • Case rule: not met for any of the 8. The last row is the expected shared failure of routes-to-planning-design (0 of 6 in both arms).

Loss set, all 9 cases

  • Set mean score: 0.954 before, 0.935 after, a fall of 0.019. The mean rule (0.15 or more) is not met.
  • Non-inferiority: with-arm change (this minus baseline), paired over 9 cases: -0.02, 95% interval -0.05 to +0.02 and compare verdict: not shown non-inferior at margin 0.05 (the interval's lower end -0.05 is below -0.05). Not shown.
  • The whole change in the set comes from the chart happy-path case's 6-run row: 3 of 6 before and 1 of 6 after, mean score 0.917 to 0.750 (next-is-work 3 to 1, five-sections 6 to 3, transactions-is-fog 6 to 5). The registration takes that case's verdict from the 20-run copies below, not from this row; the row still counts in the set mean and in non-inferiority, and it is why non-inferiority is not shown.

Chart happy-path case, 20-run copies (passing runs; pooled before is 40 runs)

Grader Before copy 1 Before copy 2 Pooled before rate After After rate Rule met
db-split-out-of-scope 20 20 1.000 20 1.00 no
five-sections 13 13 0.650 14 0.70 no
next-is-work 5 4 0.225 11 0.55 no
strangler-is-item 20 19 0.975 20 1.00 no
transactions-is-fog 20 20 1.000 19 0.95 no (not at or below two-thirds; lower by 0.05)
waits-for-yes 20 20 1.000 20 1.00 no
every grader passing 4 4 0.200 11 0.55 no
  • Mean score: 0.817 and 0.800 before (pooled 0.808), 0.867 after. The mean clause is not met.
  • The addendum's new clause (after below both before copies at run level and on mean score) is not met: the after arm is above both.
  • No LOSS on this case. The after arm is lower than both before copies on one grader only, transactions-is-fog (19 against 20 and 20).
  • Same-text pair, read as if it were a before and an after: it does not meet the rule on any grader in either direction (largest difference 1 run of 20).

After-only set

Case Passing runs
wayfind-chart-labels-from-binding 6 of 6
wayfind-work-frontier-uses-binding-labels 6 of 6
wayfind-chart-labels-from-relocated-home 6 of 6

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

  • No detection control ran.
  • The existing loss-set judge graders were calibrated on judge opus by an earlier registration; whether that alias was claude-opus-5-5 then is not recorded.
  • The next-is-work rate in the after arm (11 of 20) is far above both before copies (5 and 4) and above the earlier confirmation's after arm at the previous head (4 of 20). Nothing in this change targets that grader, so that gap is unexplained and should not be read as an improvement.

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. do-not-merge stays. The repository rule ships replaced skill text on non-inferiority, which this run did not show, so merging needs either the owner's waiver for this PR or more evidence under a new registration. The question is recorded for the owner; no further run is added to this registration.

@kyle-sexton

Copy link
Copy Markdown
Member Author

Owner decision: non-inferiority waived for this PR

Owner, 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".

  • The waiver covers this PR only and rests on the pre-registration 2 result: no loss by any registered rule; non-inferiority at margin 0.05 not shown (-0.02, interval -0.05 to +0.02), the whole shortfall being the chart happy-path case's 6-run row; the same case at 20 runs per copy shows no drop; the three new cases pass 6 of 6.
  • The head that was measured, e93835a93c, is the head that merges. Both review lanes reviewed it with no finding, and the one review thread is fixed in that head and resolved.
  • do-not-merge comes off.

Still open after merge, listed under Follow-ups in the PR body: chart's happy path rarely names /planning:wayfind work as the next step on main, and its last message misses a section name in about a third of runs on main.

@kyle-sexton kyle-sexton removed the do-not-merge Hard merge gate: do not merge while applied. label Nov 14, 2026
@kyle-sexton
kyle-sexton added this pull request to the merge queue Nov 14, 2026
Merged via the queue into main with commit c51fed6 Nov 14, 2026
118 of 122 checks passed
@kyle-sexton
kyle-sexton deleted the fix/wayfind-label-prefix branch November 14, 2026 03:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merge-path: owner-agent Post-merge accounting record (README.md, Merge paths)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant