You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Treat an exact error-message assertion as a change detector unless someone reads the message #15838
/testing:test-value says that asserting an exact error message is a change detector unless someone reads that message, so tests pin the error type callers branch on and not wording nobody consumes.
Demo: ask /testing:test-value whether a test asserting an exact exception message is worth keeping; it answers that the type is the contract unless a caller or user reads the message, and names the exemption for when one does.
Source: Lauren Tan's pstack (cursor/plugins, MIT), pstack/skills/principle-test-behavior-not-implementation/SKILL.md:18: "An exact error message pins wording that no caller reads. The error type that callers branch on is the contract."
Decisions
Owner, 2026-11-12: a take must land in its proper home. The home is /testing:test-value, in its judgment-only list: this is a change detector, not a weak oracle, so it does not belong on the weak-oracle row.
No audit rule: a deterministic scan cannot tell which messages callers read.
When a message is user-facing text or a published error string it is a contract, kept with the existing cant-fail-ok reason. No new setting.
Not in /tdd:principles, which is distilled from two named books.
Key interfaces
None.
Done when
The judgment-only list carries the rule and its exemption.
The three places that today assert an exact message as a good example (the paired-presence example in the skill, the audit's pytest "good" fixture, and the pytest adapter's comment on message matching) either say the message there is the contract or assert the error type; the audit's corpus test stays green.
The pull request says whether the skill has eval cases; if it does, one new case covers the rule on a two-version compare (opus and sonnet aliases, three runs per side, --case filter, a --max-cost-usd ceiling, no new batch after a usage-limit error), run in the one local eval-runner session.
The pull request body names this repository's dogfooding step.
No work-resolve-issue run started in the 1 hour since agent-ready was last added. work-unblock removed and added agent-ready back to start a fresh run on main's workflow files. If this run ends the same way, it re-fires the issue again, waiting longer each time.
melodic-automation-lanes commented on Nov 13, 2026
No work-resolve-issue run started in the 1 hour since agent-ready was last added. work-unblock removed and added agent-ready back to start a fresh run on main's workflow files. If this run ends the same way, it re-fires the issue again, waiting longer each time.
Size: Small
Complexity: Low
Uncertainty: Known
Flags: none
Blocked by: none
Understood: add a rule to the judgment-only list in /testing:test-value. An exact error-message assertion is a change detector unless a caller or user reads the message. The error type is the contract. User-facing or published error strings stay exempt under the existing cant-fail-ok reason. Three places that currently show an exact message as a good example need to change (the skill's paired-presence example, the audit's pytest fixture, and the pytest adapter comment). The PR also needs to say whether the skill has eval cases and name the dogfooding step.
The scope is bounded and the owner decisions are already in the body, so nothing is missing. I found no duplicate in the open issues and no merged PR that already covers it. The local eval-runner step can't run in this unattended lane, so it is left for admission to route.
Pull request #15917 merged with Refs:, so this issue stays open and nothing starts the lane on it again. work-unblock removed status: ready and agent-ready, so the hourly triage sweep sends it back to intake triage. Admission then parks it at status: confirmed for a check of what that pull request left, until a **Decision recorded.** comment says what is left or someone closes it.
Not admitted to the issue lane: merged pull request #15917 names it with Refs: after its newest decision or refinement comment, so its work may already be done: close the issue if it is, or post a comment whose first line is **Decision recorded.** saying what is left, which sends it back through intake. Admission takes the issue once each of those is met, when intake triages it again (.github/actions/resolve-config/admission-rules.json).
Eval record for the done-when item "one new case covers the rule on a two-version compare".
Registered before any run; launched by the owner in the local eval-runner session; every batch valid; no usage-limit stop; no rerun; Claude Code 2.1.325; 12 runs, 1.22 USD list price against a 5 USD ceiling.
Case: tv-exact-error-message-detector, three runs per side, sonnet and opus.
Pass rule: on every grader, the after side passes in at least 2 of 3 runs and in at most 1 run fewer than before.
Model
Grader
Before
After
sonnet
skill-fired
3 of 3
3 of 3
sonnet
type-is-contract
2 of 3
3 of 3
sonnet
meets-expectations
1 of 3
3 of 3
opus
skill-fired
3 of 3
3 of 3
opus
type-is-contract
3 of 3
3 of 3
opus
meets-expectations
2 of 3
3 of 3
Verdict: met on both models. Outside the verdict: the rule changed the answer on sonnet (2 more passing runs after); on opus the before side already passed 2 of 3, so 3 runs do not show a change there.
The rule and its three example sites landed in #15917 and the upstream record row in #16413; this compare was the last open item, so this issue is closed.
Activity
melodic-automation-lanes commentedon Nov 13, 2026
No work-resolve-issue run started in the 1 hour since
agent-readywas last added. work-unblock removed and addedagent-readyback to start a fresh run on main's workflow files. If this run ends the same way, it re-fires the issue again, waiting longer each time.melodic-automation-lanes commentedon Nov 13, 2026
No work-resolve-issue run started in the 1 hour since
agent-readywas last added. work-unblock removed and addedagent-readyback to start a fresh run on main's workflow files. If this run ends the same way, it re-fires the issue again, waiting longer each time.github-actions commentedon Nov 13, 2026
Size: Small
Complexity: Low
Uncertainty: Known
Flags: none
Blocked by: none
Understood: add a rule to the judgment-only list in
/testing:test-value. An exact error-message assertion is a change detector unless a caller or user reads the message. The error type is the contract. User-facing or published error strings stay exempt under the existingcant-fail-okreason. Three places that currently show an exact message as a good example need to change (the skill's paired-presence example, the audit's pytest fixture, and the pytest adapter comment). The PR also needs to say whether the skill has eval cases and name the dogfooding step.The scope is bounded and the owner decisions are already in the body, so nothing is missing. I found no duplicate in the open issues and no merged PR that already covers it. The local eval-runner step can't run in this unattended lane, so it is left for admission to route.
Automated triage. A maintainer reviews it.
melodic-automation-lanes commentedon Nov 13, 2026
{"v":1,"actor_id":337595936,"title_sha256":"3400baabaa59413f3017a16967733f5d21ebf4573fe35a667c39e115c39774a7","body_sha256":"1f5b3c58c26e949f94561f15022970b8f39b12279270c19aa69dc9cad51eb828"}
github-actions commentedon Nov 13, 2026
melodic-automation-lanes commentedon Nov 13, 2026
Pull request #15917 merged with
Refs:, so this issue stays open and nothing starts the lane on it again. work-unblock removedstatus: readyandagent-ready, so the hourly triage sweep sends it back to intake triage. Admission then parks it atstatus: confirmedfor a check of what that pull request left, until a**Decision recorded.**comment says what is left or someone closes it.github-actions commentedon Nov 13, 2026
The triage sweep dispatched intake triage for this issue (dispatch 1; 2 runs that reach intake, or 6 dispatches, hand it to a maintainer).
melodic-automation-lanes commentedon Nov 13, 2026
Not admitted to the issue lane: merged pull request #15917 names it with
Refs:after its newest decision or refinement comment, so its work may already be done: close the issue if it is, or post a comment whose first line is**Decision recorded.**saying what is left, which sends it back through intake. Admission takes the issue once each of those is met, when intake triages it again (.github/actions/resolve-config/admission-rules.json).kyle-sexton commentedon Nov 15, 2026
Eval record for the done-when item "one new case covers the rule on a two-version compare".
Registered before any run; launched by the owner in the local eval-runner session; every batch valid; no usage-limit stop; no rerun; Claude Code 2.1.325; 12 runs, 1.22 USD list price against a 5 USD ceiling.
tv-exact-error-message-detector, three runs per side,sonnetandopus.plugins/testing/skillschanges reversed; the eval case files are identical on both sides.skill-firedtype-is-contractmeets-expectationsskill-firedtype-is-contractmeets-expectationsVerdict: met on both models. Outside the verdict: the rule changed the answer on sonnet (2 more passing runs after); on opus the before side already passed 2 of 3, so 3 runs do not show a change there.
The rule and its three example sites landed in #15917 and the upstream record row in #16413; this compare was the last open item, so this issue is closed.