Skip to content

feat(work-items): default container label is spec-container; maps are known by their wayfind label - #15824

Merged
kyle-sexton merged 6 commits into
mainfrom
feat/container-label-spec-container
Nov 13, 2026
Merged

kyle-sexton merged 6 commits into
mainfrom
feat/container-label-spec-container

Conversation

@kyle-sexton

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

Copy link
Copy Markdown
Member

No related issue: owner decision to give wayfind maps and spec containers one label each (2026-11-12)

session: Wayfinder

Summary

One label per kind: a spec container carries spec-container, a /planning:wayfind map carries wayfind: map, and work-map is retired. This PR moves the shipped default of tracker.config.container_label from work-map to spec-container, teaches the work-items surfaces that knew a map only by the container label to also recognize any item carrying a label that starts with the wayfind prefix, and switches wayfind itself to create and find maps by wayfind: map only.

Fix

  • Defaults. WIT_DEFAULT_CONTAINER_LABEL in plugins/work-items/tools/work-item-tracker/lib/labels.sh and ROUTING_DEFAULTS.container in .github/actions/check-born-triaged/check-born-triaged.mjs (read by check-wip-cap, intake re-entry, the triage sweep, check-blockers and label-unblocked) are now spec-container; the schema description follows. Every test that asserted the default now asserts spec-container, and near-miss and remap fixtures that used work-map because it was the default moved to spec-container / spec-container-old. Two new assertions show a bare work-map is no longer the default container label (frontier, check-born-triaged).
  • Prefix rule. reference/label-taxonomy.md gains "Maps and containers", stating once that an item carrying the container label or a wayfind:-prefixed label is never intake, never claimable, never drain-gating backlog, and closed only by its owning skill. track add (no category:general default, no needs-triage floor), triage (attention view), work-loop and mode-drain.md (drain exit), and issue-conventions.md (decomposed-parent close) now apply it and point at that section. No code change was needed for the rule: list-frontier and routingLabel already skip the prefix.
  • Wayfind switch. A new map is created with wayfind: map and no container label, open maps are listed by wayfind: map, and the label check lists it (skills/wayfind/SKILL.md, context/tracker-mechanics.md, context/map-anatomy.md). The "Resolve the container label" section and scripts/container-label.sh with its test are removed. Eval cases 4 and 6 and the map-300, map-40 and map-700 fixtures carry the new label; no grader changes what it judges.
  • Docs and evals. CONTRACT.md "Containers and state", label-taxonomy "Container label", README, execution-shape, decompose container-lifecycle, ship, work, the check-born-triaged README, /planning:plan close-out, and the sh-* and decompose-container-offer-and-execution-shape evals name spec-container as the default. Sentences that said wayfind maps share the container label now say a map is known by its wayfind label. label-taxonomy carries the one migration sentence: a repository still carrying only work-map sets tracker.config.container_label: work-map until it relabels.
  • Changelog fragments: work-items, pr-pipeline and planning are all major. A repository that relied on the shipped default changes behaviour with no config edit, and a map that carries only the container label is no longer found: add wayfind: map to each open map before upgrading.

Verification

  • Tests changed first and run red against the old default (binding.test.sh 2 failures, frontier.test.sh 3, the six node files 12), then green after the default change.
  • bash plugins/work-items/tools/work-item-tracker/lib/binding.test.sh: 0 FAIL.
  • bash plugins/work-items/tools/work-item-tracker/lib/frontier.test.sh: 0 FAIL.
  • bash plugins/work-items/tools/work-item-tracker/adapters/local-markdown/list-sub-items.test.sh: all PASS.
  • node --test --test-concurrency=4 over check-born-triaged, check-wip-cap, reenter, triage-sweep, check-blockers and label-unblocked tests: all pass.
  • conformance/e2e-probe.sh edited only (it creates live issues); shellcheck clean on it, labels.sh, frontier.test.sh and the eval scaffold. markdownlint clean on the changed docs.
  • After the wayfind switch (6724d529f7): validate-plugins.sh and check-changelog-fragments.sh --check pass; grep 'container-label.sh\|work-map' plugins/planning matches only CHANGELOG.md history.
  • No before/after eval was run for the wayfind text change: it replaces the label mechanics the owner decided to change and removes only the sentences that mechanism made false. A reviewer who reads it as a cut needing eval evidence should say so.
  • Every existing map and container already carries its new label beside work-map (30 issues across three repositories), so nothing is stranded when this merges.

Related

🤖 Generated with Claude Code

https://claude.ai/code/session_01VQb9Q4F46UumaUgXeUdpYZ

kyle-sexton and others added 2 commits November 12, 2026 23:20
… known by their wayfind label

The shipped default for tracker.config.container_label moves from work-map
to spec-container in lib/labels.sh and check-born-triaged's
ROUTING_DEFAULTS, with every test that asserts the default updated first.

A /planning:wayfind map is known by a label starting with the wayfind
prefix. label-taxonomy.md "Maps and containers" states the rule once;
track add, triage's attention view, the work-loop drain exit and the
decomposed-parent close now skip maps the way they skip containers.

Docs and evals that named work-map as the default now name
spec-container; label-taxonomy.md carries the one migration sentence.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01VQb9Q4F46UumaUgXeUdpYZ
@kyle-sexton
kyle-sexton marked this pull request as ready for review November 13, 2026 04:24
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 13, 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-13T04:26:15.436869Z 577fd65 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.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 577fd65378

ℹ️ 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

…tainer label

With the default container label changed, a map created before wayfind
drops the container label would carry neither the new default nor a
wayfind label, and would be triaged and listed as claimable. The map
label closes that window.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
Claude-Session: https://claude.ai/code/session_01VQb9Q4F46UumaUgXeUdpYZ
@github-actions

github-actions Bot commented Nov 13, 2026 •

Copy link
Copy Markdown
Contributor

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

Chunk 1 of 2 (38 files)

Security review, chunk 1 of 2 (38 files)

I found no security issues in this chunk. I read every hunk of all 38 files in .claude-lane/chunks/chunk-1.patch. This lane already reviewed an earlier head (7c1510e7), so this pass reported only CRITICAL and IMPORTANT findings, and none came up.

What changes

  • The only code change in this chunk is ROUTING_DEFAULTS.container, which goes from "work-map" to "spec-container" (check-born-triaged.mjs#L54). It is a fixed string, and no input reaches it.
  • Two files are deleted: plugins/planning/skills/wayfind/scripts/container-label.sh and its test.
  • Everything else is test fixtures, eval prompts and fixtures, changelog fragments, and skill or reference prose.

What I checked

  • The routing-label skip is not a trust control. check-born-triaged, check-wip-cap, intake re-entry, the triage sweep, check-blockers and label-unblocked use it to keep maps and containers away from intake and the lanes. It does not decide who is trusted, it is not a token scope, it is not a merge hold, and it does not decide what untrusted text reaches a lane.
    • After this change, an issue that carries only work-map is no longer skipped, so it goes through normal intake. That narrows the skip; it does not widen it.
    • Getting the skip still requires a label (spec-container or a wayfind: label), and only an account with triage access can add one. So no outsider gains a way around intake.
    • In check-blockers, the outside-author and untrusted-provenance stops still run before the routing skip. The test at check-blockers.test.mjs#L263-L268 still asserts this, now with spec-container.
  • Deleting container-label.sh opens no injection path.
    • The script used to reject a configured label that held a quote or control character, because the label was copied into single-quoted /work-items:track arguments.
    • Wayfind now uses the fixed literal 'wayfind: map' (SKILL.md L16, tracker-mechanics.md L25/L35/L46). No configured value reaches those arguments any more, so the check has nothing left to protect.
    • The pre-computed ! shell line in SKILL.md that ran the script is removed. No new command was added in its place.
  • Removed instructions. The removed wayfind rules are "stop on an ERROR: line before creating anything" and the "Resolve the container label" section. I checked them against the instruction exception register (docs/contracts/instruction-exception-register/README.md, which adopts Gate 0's six classes).
    • Both rules only governed the step that resolved the container label, and that step is gone. With nothing left to resolve, neither rule has a moment to fire.
    • So no request now reaches an action that used to be checked, and none of the six classes is affected.
    • The prose added to label-taxonomy.md and issue-conventions.md excludes more items than before. It removes no guardrail.
  • Tokens, gates and permissions. Nothing in this chunk touches token scope, the kill switch, the trusted-actor list, a merge-hold script, or a workflow permissions: block.
  • Plugin manifests. None changed in this chunk.
  • Settled threads and prior findings. The three settled threads (labels.sh default, changelog bump, wayfind default mismatch) are all marked lines changed since resolution: no, and I raised none of them again. The one prior finding is the earlier head's no-finding summary, so nothing needs reposting.
  • Embedded instructions. The PR text holds no directive aimed at this review. The note in the PR context, "A reviewer who reads it as a cut needing eval evidence should say so", is about eval evidence, not security, so it is out of scope for this lane.

Spend and holds

Nothing here bills anyone or changes a paid plan, so there is no hold.

Chunk 2 of 2 (14 files)

Security review: chunk 2 of 2 (14 files)

No security issues in this chunk. This lane already reviewed an earlier head, so this pass reports only blocking findings.

I read every hunk of the 14 files in .claude-lane/chunks/chunk-2.patch.

Code

  • lib/labels.sh: the only code change is WIT_DEFAULT_CONTAINER_LABEL, which goes from "work-map" to "spec-container" (L24).
    • It is a fixed string with no input path.
    • It decides which items the frontier excludes. It does not decide who is trusted, what a token may do, whether a merge is held, or what untrusted text reaches a lane.
    • An item that carries only work-map now appears on the frontier. Only an account with triage access can apply labels, so this changes routing, not security.
    • The settled thread on these lines (marked lines changed since resolution: no) covers the wayfind side, which this head fixes.
  • Tests and probe: binding.test.sh, frontier.test.sh and list-sub-items.test.sh only update their fixtures and assertions. conformance/e2e-probe.sh swaps one fixed label literal; every gh call stays quoted and its target repository is unchanged.

Schema and skill text

  • work-items.schema.json: only the description of container_label changes. This is not a plugin manifest, so no manifest lines apply.
  • Skill and contract prose: I read the edits to triage/SKILL.md, work-loop/SKILL.md, mode-drain.md, work/SKILL.md, ship/SKILL.md, container-lifecycle.md and CONTRACT.md as instruction-surface changes.
    • No guardrail is removed. The exclusion rules now also cover items with a wayfind:-prefixed label, which widens what is excluded rather than narrowing it.
    • I judged these by consequence; I did not open the protected-class register.
  • track/actions/add.md: a --label with the wayfind prefix now skips the category:general default and the needs-triage floor.
    • Only the operator runs track add, so no untrusted request can reach this path.
    • The item is still excluded from the frontier and from intake by the prefix rule. It does not make anything claimable.

Other checks

  • Trusted paths: none of the 14 files matches a trusted-path glob.
  • Embedded instructions: the PR text and settled threads contain none aimed at this review.
  • Spend and holds: no billing, paid-plan or prepaid-spend changes, so no hold.

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: 2 inline finding(s) on 7c1510e7f16780391cb8d4a9f16bdf619a4747c1; the summary is in this lane's pull request comment.

claude-lane: claude-review

@github-actions

github-actions Bot commented Nov 13, 2026 •

Copy link
Copy Markdown
Contributor

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

Chunk 1 of 2 (38 files)

Code review: chunk 1 of 2 (38 files)

Blocking findings only. This lane already reviewed an earlier head (7c1510e7f1), so this review reports only blocking findings and drops advisory ones.

Result: no blocking findings in this chunk. I read every hunk of all 38 files.

Changes in this chunk

  • Container label default. ROUTING_DEFAULTS.container in check-born-triaged.mjs changes from work-map to spec-container. The six node test files, the docs and the evals now name spec-container. The near-miss and remap fixtures still test what they claim: spec-container-old is not matched, a bare work-map is no longer the default, and under a remap a spec-container issue is treated as ordinary.
  • Wayfind switch. container-label.sh and its test are deleted, along with the pre-computed context line in SKILL.md that ran the script. Maps are now created, listed and label-checked by wayfind: map (SKILL.md, tracker-mechanics.md, map-anatomy.md), and the eval fixtures carry the new label.
    • A grep of plugins/planning for container-label.sh, <container-label>, <container label> and container_label matches only CHANGELOG.md history.
    • Outside changelogs, nothing in the repository references wayfind/scripts/container-label.
  • New rule. label-taxonomy.md adds a "Maps and containers" section, and issue-conventions.md points to it for the decomposed-parent close.

Prior findings from this lane

Both earlier findings are fixed at this head. Their threads were resolved by the owner, and no lines changed since resolution.

  • Fragment bump level. All three changelog fragments (work-items, pr-pipeline, planning) are now bump: major.
  • Wayfind and work-items defaults contradicting each other. Wayfind no longer reads tracker.config.container_label and states no container default. The "ONE marker" paragraph is gone. Open maps are listed by wayfind: map, so the listing no longer also returns spec containers.

Other notes

  • No closing issue. The PR records an owner decision (2026-11-12) instead of an issue, so there are no acceptance criteria to check.
  • No embedded instructions. The PR context, settled-threads and prior-findings files contain nothing that tells this lane to approve, skip or drop anything.
  • No plugin manifests changed in this chunk, so the manifest checks did not apply.
  • No spend. Nothing in this chunk changes cost or lane usage.
  • Nothing run. I ran no tests. The red-then-green results, the validate-plugins.sh and check-changelog-fragments.sh passes, and the claim that 30 existing issues already carry the new labels are all the author's claims, and I did not verify them.

Verifier dropped 0 of 0 candidates.

Chunk 2 of 2 (14 files)

Code review: chunk 2 of 2 (14 files)

This chunk has no blocking findings. This lane already reviewed an earlier head, so this review reports blocking findings only and drops advisory ones. I read every hunk of all 14 files in this chunk.

What I checked

  • Default label. lib/labels.sh now sets WIT_DEFAULT_CONTAINER_LABEL to spec-container, and the schema description says the same. binding.test.sh (unset and empty cases) and frontier.test.sh assert the new default. The new frontier.test.sh case checks that an item carrying only the retired work-map label now shows up on the frontier.
  • Prefix rule in the docs. track add, triage, work-loop and mode-drain.md now name the wayfind prefix through config.wayfind_label_prefix and WIT_WAYFIND_PREFIX. Both names exist in the code: lib/binding.sh reads and exports them, and the schema declares wayfind_label_prefix. The #maps-and-containers anchor these files link to matches the new ### Maps and containers heading in reference/label-taxonomy.md (chunk 1).
  • CONTRACT.md "Containers and state". It no longer says wayfind maps share the container label. That now matches the wayfind switch in chunk 1, where maps are created and found by wayfind: map.
  • Ship and decompose text. Their **Execution shape:** discovery logic is unchanged. Only the wording about wayfind maps changed.

Other notes

  • Settled threads. Both earlier findings are resolved at this head with no line changes since: the changelog bump (fragments raised to major) and the wayfind default mismatch (fixed by the wayfind switch in 6724d529f7). I did not raise either again.
  • No closing issue. The PR cites an owner decision, so there are no acceptance criteria to check.
  • No embedded instructions in the PR context, settled-threads or prior-findings files.
  • No plugin manifests changed in this chunk.
  • No spending. Nothing in this chunk adds cost or lane spend.
  • I ran nothing. The test results in the PR body are the author's claim and I have not verified them.

Verifier dropped 0 of 0 candidates.

critical-findings: 0

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

A repository that relies on the shipped default and has items labeled
only `work-map` changes behaviour with no config edit, so the
work-items and pr-pipeline fragments are major.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
Claude-Session: https://claude.ai/code/session_01VQb9Q4F46UumaUgXeUdpYZ
kyle-sexton and others added 2 commits November 13, 2026 09:37
A new map carries `wayfind: map` and no work-items container label, open
maps are listed by `wayfind: map`, and the chart-entry label check lists
only the `wayfind:` labels and `needs-human`. The container label now
marks spec containers alone, so a repository with
`container_label: spec-container` no longer sees its spec containers
listed as maps, and new maps are never exposed to the worker frontier or
intake through the container label.

Removes `skills/wayfind/scripts/container-label.sh` and its test, the
pre-computed context line that ran it, and the tracker-mechanics section
that described the shared marker. Eval fixtures label their maps
`wayfind: map`.

BREAKING CHANGE: a map that carries only the container label is no
longer found by `/planning:wayfind`; add `wayfind: map` to each open map.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
Claude-Session: https://claude.ai/code/session_01RMa441DjEpRv9hNsFAwXss
@kyle-sexton kyle-sexton removed the do-not-merge Hard merge gate: do not merge while applied. label Nov 13, 2026
@kyle-sexton
kyle-sexton added this pull request to the merge queue Nov 13, 2026
Merged via the queue into main with commit de504c4 Nov 13, 2026
98 checks passed
@kyle-sexton
kyle-sexton deleted the feat/container-label-spec-container branch November 13, 2026 15:01
@github-actions github-actions Bot added the merge-path: owner-agent Post-merge accounting record (README.md, Merge paths) label Nov 13, 2026
@kyle-sexton

Copy link
Copy Markdown
Member Author

Pre-registration: before/after eval of /planning:wayfind after the map-label change

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

Why. PR 15824 merged with a cut to wayfind's skill text: maps are now known by the label wayfind: map only. It removed the "Resolve the container label" section of context/tracker-mechanics.md, the pre-computed container-label line in SKILL.md, one clause of SKILL.md chart step 3, two clauses naming the container label, and scripts/container-label.sh. The repository rule (docs/review/skills-and-agents.md; plugins/playbooks/skills/skill-authoring/reference/skill-criteria.md lines 276-305) says a cut to skill text ships only with eval evidence of no loss. This run measures that after the merge. It reuses the suite, harness and rules of pre-registration 3, whose result is the reference for everything not restated here.

Arms

  • before: d80417a15e, main just after PR 15784.
  • after: de504c42a4, the merge commit of PR 15824.
  • Each arm is the planning plugin at its own commit. Both arms carry the cases, graders and samples as they are at de504c42a4.

What differs between the arms' eval inputs. git diff d80417a15e de504c42a4 --stat -- plugins/planning/skills/wayfind/evals plugins/planning/evals lists 5 files:

  • 4 fixture files change one line each, the map's label line, from Labels: work-map. to Labels: wayfind: map.: partner-feed/map-300, wayfind-charting/checkout-map/map-40, and wayfind-charting/settled-facts/{before,after}/map-700.
  • skills/wayfind/evals/evals.json changes two expectation strings ("work-map issue" becomes "map issue"). That file is the legacy format, which this harness does not run.
  • No case, prompt, grader or sample file differs. Graders are identical across arms.

Fixture label: each arm keeps its own. The label line is part of what the skill text reads. The before text resolves the map marker to the container label, default work-map. The after text looks for wayfind: map. A shared wayfind: map fixture would contradict the before text. So the before arm's 4 map fixtures carry work-map (as at d80417a15e), and the after arm's carry wayfind: map (as at de504c42a4). All other case inputs are byte-identical. Both arms use the settled-facts/after export as the current one, because both texts keep facts the way PR 15784 made them.

Cases: 14, in two sets. Each set gets its own verdict.

  • Loss set (9, tag loss-set, as in registration 3):
    • wayfind-work-mode-routes-decision-item-to-target-skill
    • wayfind-chart-refuses-noninteractive-session
    • wayfind-work-mode-never-resolves-hitl-item-for-the-human
    • wayfind-anti-pattern-skips-when-work-is-already-sharp-tickets
    • wayfind-human-facing-reports-refer-to-items-by-title
    • wayfind-wrongly-scoped-item-closes-to-out-of-scope-not-decisions-so-far
    • wayfind-new-effort-goes-to-interview-first
    • wayfind-bare-run-proposes-chart-and-waits
    • wayfind-notes-cannot-override-plan-dont-do
  • Fixture set (5): every case whose scaffold copies a relabelled map fixture. Found by grep over every scaffold.sh, prompt.md and case.yaml at de504c42a4.
    • wayfind-purpose-settled-fact-not-reasked (map-700; tag purpose-set in registration 3)
    • wayfind-item-link-routes-to-work-on-that-item (map-40; tag after-only in registration 3)
    • work-brief-respects-out-of-scope (map-300; tags wayfind, pocock-33)
    • work-design-handoff-carries-map (map-300; tags wayfind, pocock-33)
    • work-research-brief-carries-map (map-300; tags wayfind, pocock-33)
  • Left out:
    • wayfind-purpose-settled-facts-recorded: its scaffold copies the interview ledger, not a map fixture.
    • The evals.json cases: the harness does not run that format.
  • The three pocock-33 cases are new to this comparison. They are in the harness's case.yaml format, and their allowed_tools has no Bash. No earlier result holds them.
  • Each set runs from its own arm copy holding only that set's cases. No --tag filter is used.

Runs. 6 per case per arm: 14 × 6 × 2 = 168 runs. The model is claude-opus-5-5 and the judge opus, on Claude Code 2.1.323. Flags are as in registration 3 (--ablation none --scaffold --allow-tools Bash --runs 6 --threshold 0.67), plus --max-cost-usd (25 for a loss-set invocation, 35 for a fixture-set one). All four invocations (2 sets × 2 arms) launch at the same time.

Decision rule (per set, unchanged from registration 3)

  • A run passes when every grader in it passes. A case's pass count is its passing runs out of 6.
  • LOSS if either of these holds:
    • Case rule: any case's after count is at or below two-thirds of its before count and lower than it. With 6 runs, a case at 6/6 before loses at 4/6 or fewer after.
    • Mean rule: the set mean falls by 0.15 or more.
  • The case-score change per case is reported beside the verdict, labeled as not the verdict.
  • Non-inferiority: noise-report.py --baseline <before> --margin 0.05, per set.
  • "No case drops" means two things: no case meets the case rule, and noise-report prints no case drop line.
  • No detection control is run, and the result will say so.

Pass rule. The comparison passes when all three hold, for each set:

  1. The after file is VALID.
  2. The scores are non-inferior at 0.05.
  3. No case drops.

One exception (the owner accepted it as a recommended option in another session; not his wording): a before file is recorded, not required, when it is INVALID only because of denials of the container-label.sh call. The before SKILL.md makes that call when the skill loads, and the after text has no such call.

  • That file is not rerun for that cause.
  • Its scores are still read as the baseline, because non-inferiority cannot be computed without one. The result lists every denied call.
  • Direction of the bias: on a denied call the before text says to stop, so those before runs likely fail. That lowers the baseline and makes a no-loss verdict easier to reach. The result names this.

Every other before-arm denial follows the normal one-retry rule.

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 6 of 6 runs on both arms. Both texts allow the /event-storming:methodology route, and the grader accepts only /planning:design (registration 3's result). This is a shared failure, not a loss. The case stays in both means.
  • The before text runs container-label.sh through Bash when the skill loads. In the three pocock-33 cases, Bash is not in allowed_tools, so the before arm may record permission denials. That is the exception above.
  • The three pocock-33 cases are case.yaml cases, so they lack the harness note registration 3 put in the prompt.md cases ("never run Bash, Glob or Grep on a skill or plugin directory"). Their allowed_tools includes Glob and Grep. Denied Glob or Grep calls on plugin directories are what made earlier wayfind result files INVALID, so such denials are possible in either arm. In the after arm, or outside the exception above, they take the one retry. A second INVALID file ends the fixture set with no verdict.
  • The fixture set has 5 cases. Registration 3's 8-case purpose set could not show non-inferiority at 0.05, so this set may not show it either. If so, the result reports exactly that.

Validity

  • Each result file goes through run-validity.py --runs 6 --scaffolded. A number is reported only from a VALID file, except under the before-file exception above.
  • If a set's file is INVALID for a denied tool call (outside the exception above) or an infrastructure error (authentication, rate or usage limit), that set runs again once, both arms together. The INVALID pair's scores are never read.
  • A cost-ceiling hit leaves a partial file. That ends the set with no verdict. It is not retried at the same ceiling.
  • A second INVALID file for the same set ends that set with no verdict.

Frozen graders. Graders do not change after any score is read. A grader fix means a fresh registered run, never a re-score.

Outcome actions

  • No loss and non-inferior in both sets: label migration step 5 proceeds.
  • A loss in either set: a revert PR for de504c42a4's wayfind text.
  • No loss, but non-inferiority not shown in a set: reported here with the numbers; step 5 stays held until a decision is recorded on this PR.

Not measured. PR 15824 also changed skills/plan/context/close-out.md and the work-items plugin's text. These cases do not exercise either.

Cost (list-price estimate). Per-run costs come from registration 3's counted files and include judge cost, which a file's top-level costUsd leaves out.

  • Loss set: about 14 USD per arm.
  • Fixture set: 15 to 25 USD per arm. The three pocock-33 cases have no run data. They are assumed to cost what the two nearest work-mode cases reading a tracker export cost: 0.40 USD per run (item-link) to 0.92 USD per run (settled-fact-not-reasked). That range is judgment.
  • Total: 29 to 38 USD per arm, 58 to 76 USD in all, and up to about 153 USD if every set is retried once.

Ceiling: --max-cost-usd 25 for each loss-set invocation and --max-cost-usd 35 for each fixture-set invocation. That is 60 USD per arm.

@github-actions

Copy link
Copy Markdown
Contributor

Post-merge mutation testing

Killed 1, survived 2, timeout 0, no coverage 0, invalid 0, not run 1.
Covered-code score 33%; mutation score 33%.

File Killed Survived Timeout No coverage Invalid Not run
.github/actions/check-born-triaged/check-born-triaged.mjs 1 0 0 0 0 0
plugins/work-items/tools/work-item-tracker/conformance/e2e-probe.sh 0 2 0 0 0 0
plugins/work-items/tools/work-item-tracker/lib/labels.sh 0 0 0 0 0 1

Surviving mutants

Location Operator Disposition Cause
plugins/work-items/tools/work-item-tracker/conformance/e2e-probe.sh:65 SBR productive input-gap
plugins/work-items/tools/work-item-tracker/conformance/e2e-probe.sh:72 SBR productive input-gap

The run's summary has the full report.

@kyle-sexton

Copy link
Copy Markdown
Member Author

Addendum to the pre-registration above (posted before any score is read)

The before-file exception is withdrawn. A set passes only when both its before and after files are VALID, the scores are non-inferior at 0.05 and no case drops. A before file that is INVALID for any reason is never read as a baseline. This is stricter than the registration: counting blocked before runs would lower the baseline and make a no-loss verdict easier to reach.

First attempt, fixture set: both files INVALID, scores not read.

  • before-fixture: verdict: INVALID (harness failure: 16 runs never started or had no sandbox, so the score measures the harness, not the skill).
  • after-fixture: verdict: INVALID (harness failure: 21 runs never started or had no sandbox, so the score measures the harness, not the skill; 1 permission denial in the traces).
  • Cause, from one before trace: shell calls fail with read-only file system on the shell's own working-directory file under the run's temp directory. It hits the before text's load-time container-label.sh call and ordinary commands such as ls alike, in both arms, so it is the harness's shell sandbox and not either skill text.

Retry (the one the registration allows for this set), both arms together. Same cases, graders, flags and commits. The only change is the launch wrapper: each invocation runs through the evals plugin's sandbox link wrapper with its own temp directory, the way this repository's other Bash-using eval runs are launched. If either retry file is INVALID again, the fixture set ends with no verdict and label migration step 5 stays held.

Loss set. Unchanged. Its before file is VALID with no denied call and no Bash use (bash ran: with 0 of 54); its after arm is still running.

The result will state, per file, how many runs hit a blocked or failed shell call.

@kyle-sexton

Copy link
Copy Markdown
Member Author

Result: before/after eval of the map-label change

Run under the pre-registration and its addendum. Arms: before d80417a15e, after de504c42a4. claude-opus-5-5 with an opus judge, Claude Code 2.1.323, 6 runs per case per arm. No grader changed and nothing was re-scored. No detection control ran, so a no-loss verdict here does not show the suite would have caught a loss.

Verdict: LOSS in the loss set by the registered case rule. Fixture set: no loss, non-inferior. Label migration step 5 stays held.

Run validity (run-validity.py --runs 6 --scaffolded)

File Verdict Counted
before-loss (first attempt) VALID (warnings: skill fired, judge votes) no: its partner is INVALID, pair discarded
after-loss (first attempt) INVALID (harness failure: 10 runs never started or had no sandbox, so the score measures the harness, not the skill) no
before-fixture (first attempt) INVALID (harness failure: 16 runs never started or had no sandbox, ...) no
after-fixture (first attempt) INVALID (harness failure: 21 runs never started or had no sandbox, ...; 1 permission denial in the traces) no
retry-before-loss VALID (warnings: skill fired) yes
retry-after-loss VALID (warnings: skill fired) yes
retry-before-fixture VALID (warnings: skill fired) yes
retry-after-fixture VALID (warnings: skill fired) yes
  • First attempt: shell calls failed with read-only file system on the shell's working-directory file, in both arms. No score was read from those four files. Each set used its one retry, launched through the evals plugin's sandbox link wrapper with its own temp directory; flags, cases, graders and commits were unchanged, plus --trust-plugin and --no-publish on every launch.
  • Counted files: check permission denials: PASS in all four (no denied tool call in 54, 54, 30 and 30 traces), check session started: PASS, and no split judge vote. Runs that hit a blocked or failed shell call in the counted files: 0.
  • Bash ran in 16 of 54 (before-loss), 20 of 54 (after-loss), 28 of 30 (before-fixture) and 25 of 30 (after-fixture) runs.

Loss set: LOSS

Case Before passes After passes
wayfind-anti-pattern-skips-when-work-is-already-sharp-tickets 6/6 (1.00) 3/6 (0.88)
wayfind-work-mode-routes-decision-item-to-target-skill 1/6 (0.72) 0/6 (0.67)
wayfind-bare-run-proposes-chart-and-waits 6/6 (1.00) 6/6 (1.00)
wayfind-chart-refuses-noninteractive-session 6/6 (1.00) 6/6 (1.00)
wayfind-human-facing-reports-refer-to-items-by-title 6/6 (1.00) 6/6 (1.00)
wayfind-new-effort-goes-to-interview-first 6/6 (1.00) 6/6 (1.00)
wayfind-notes-cannot-override-plan-dont-do 6/6 (1.00) 6/6 (1.00)
wayfind-work-mode-never-resolves-hitl-item-for-the-human 6/6 (1.00) 6/6 (1.00)
wayfind-wrongly-scoped-item-closes-to-out-of-scope-not-decisions-so-far 6/6 (1.00) 6/6 (1.00)
mean of case scores 0.969 0.949
  • Case rule: met. wayfind-anti-pattern-skips-when-work-is-already-sharp-tickets went from 6 of 6 to 3 of 6. Two-thirds of 6 is 4, and 3 is at or below it.
  • Mean rule: not met (the mean fell by 0.020, less than 0.15).
  • noise-report.py prints with-arm change (this minus baseline), paired over 9 cases: -0.02, 95% interval -0.05 to +0.01 and compare verdict: non-inferior at margin 0.05, with no case drop line. The registered case rule decides, so the set's verdict is LOSS.
  • wayfind-work-mode-routes-decision-item-to-target-skill was registered in advance as a shared grader failure. Before passed once, which the registration did not predict.
  • The failing runs (after runs 1, 4 and 5): each fails no-interview-offer 3-0. Each correctly declines to chart a map for three already-named tickets; the judge fails the reply for offering an interview. In the 15784 run this morning the same case failed the same grader once in six on the text that is this run's before arm. Only the grader evidence was read, not the full replies.

Fixture set: no loss, non-inferior at 0.05

Case Before passes After passes
wayfind-item-link-routes-to-work-on-that-item 6/6 (1.00) 6/6 (1.00)
wayfind-purpose-settled-fact-not-reasked 5/6 (0.92) 6/6 (1.00)
work-brief-respects-out-of-scope 6/6 (1.00) 5/6 (0.94)
work-design-handoff-carries-map 5/6 (0.97) 4/6 (0.93)
work-research-brief-carries-map 6/6 (1.00) 6/6 (1.00)
mean of case scores 0.977 0.976
  • No case meets the case rule: the largest drop is 5 to 4, and 4 is above two-thirds of 5.
  • noise-report.py: with-arm change (this minus baseline), paired over 5 cases: -0.00, 95% interval -0.05 to +0.05, compare verdict: non-inferior at margin 0.05 (the interval's lower end -0.05 is at or above -0.05). The lower end sits on the margin.
  • The two failing after runs were not spot-read.

What happens next, and a departure from the registration

The registration says a loss means a revert PR for the wayfind text. That action is not taken as written: reverting only the wayfind text would leave wayfind marking new maps with work-map while work-items excludes only spec-container, the state the Codex P1 finding on this PR described. Reverting the whole PR is safe (every existing map and container still carries both labels) and is the fallback.

Before that, one confirmation run of the losing case, registered in the next comment. This is a decision taken after the scores were read, and it is stated as such.

Cost (list-price estimate)

Counted files, as the noise report prints: 11.63 USD (after-loss) and 12.19 USD (after-fixture); the before files and the four discarded first-attempt files were not totalled.

@kyle-sexton

Copy link
Copy Markdown
Member Author

Pre-registration: confirmation run of the losing case

Posted before any run of it. It follows the LOSS in the result above and was designed after those scores were read; it cannot undo that verdict, only decide which action follows it.

Question. Does wayfind-anti-pattern-skips-when-work-is-already-sharp-tickets pass less often on the after text than on the before text, or was 6 of 6 against 3 of 6 a chance split of one shared failure rate?

Design

  • One case, both arms, 20 runs per arm, launched together. Same arms (d80417a15e, de504c42a4), same case files and graders (identical across arms, unchanged since the first registration), same model, judge, flags and launch wrapper as the retry pair, with --case selecting this one case and --runs 20.
  • A run passes when every grader in it passes.
  • Validity: run-validity.py --runs 20 --scaffolded on each file. An INVALID file excludes the pair; one relaunch as a pair; a second excluded pair ends the run with no verdict.

Decision rule

  • Reproduced if the after pass count is at or below two-thirds of the before pass count and lower than it (the same case rule, at 20 runs). Action: a revert PR for all of PR 15824.
  • Not reproduced otherwise. Action: the wayfind text stays, label migration step 5 is released, and the case's failure mode (the reply offers an interview after correctly declining to chart) is listed as a follow-up on the wayfind skill, since it then belongs to both texts.
  • No verdict (two excluded pairs): step 5 stays held and the choice is recorded here.
  • The pass counts of both arms and every failing run's failed grader are reported either way. Nothing is re-scored and no grader changes.

Cost (list-price estimate). About 0.2 to 0.4 USD per run from the counted loss-set files: 8 to 16 USD for 40 runs. Ceiling: --max-cost-usd 12 per arm.

@kyle-sexton

Copy link
Copy Markdown
Member Author

Result: confirmation run of the losing case

Run under the confirmation pre-registration. Same arms, case files, graders, model, judge, flags and launch wrapper as the retry pair; 20 runs per arm, launched together. Nothing was re-scored and no grader changed.

Verdict: not reproduced. The wayfind text stays and label migration step 5 is released. The earlier LOSS verdict stands as recorded; this run decided the action that follows it.

File run-validity.py --runs 20 --scaffolded
confirm-before VALID (warnings: skill fired); no denied tool call in 20 traces; no split judge vote; Bash ran in 17 of 20
confirm-after VALID (warnings: skill fired); no denied tool call in 20 traces; no split judge vote; Bash ran in 15 of 20
Case Before passes After passes
wayfind-anti-pattern-skips-when-work-is-already-sharp-tickets 19/20 (0.99) 19/20 (0.99)
  • Rule: reproduced if the after count is at or below two-thirds of the before count and lower than it. 19 is not lower than 19.
  • Failing runs: before run 5 and after run 14, each on grader no-interview-offer. No run errored.
  • Taken with the first comparison (6 of 6 against 3 of 6), the case passed 25 of 26 runs on the before text and 22 of 26 on the after text. The 20-run arms show the same failure, at the same rate, on both texts.

Follow-up. Pre-existing (advisory): /planning:wayfind sometimes offers /planning:interview after correctly declining to chart work that is already sharp tickets, which case wayfind-anti-pattern-skips-when-work-is-already-sharp-tickets fails (grader no-interview-offer). It happens on the text before and after this PR. Decide whether the skill text should rule the offer out or the grader should allow it.

Limits. No detection control ran. The fixture set's non-inferiority interval sits on the margin (-0.05). Two failing after runs in the fixture set were not spot-read.

Cost (list-price estimate). Not totalled for this run; the ceiling was 12 USD per arm and neither arm reached it.

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