Skip to content

fix(planning): define every term in each interview question - #16761

Closed
kyle-sexton wants to merge 3 commits into
mainfrom
fix/16626-interview-define-terms-per-question
Closed

kyle-sexton wants to merge 3 commits into
mainfrom
fix/16626-interview-define-terms-per-question

Conversation

@kyle-sexton

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

Copy link
Copy Markdown
Member

Refs: #16626

Summary

In every kept reply of eval case interview-context-unfamiliar-term-upstream, a later question uses a
term that only the first question defines (re-judge 2 in #16735: 6 of 6). /planning:interview already
says each question defines its terms inline, but the model skips it. This change gives each question one
cited definition line per term it relies on, counting every term from the terminology matrix or the
shorthand glossary, and makes the checks before a round is sent look for those terms in each question.

Fix

3 files changed. Attempt 2 (058bab16ee) replaces attempt 1 (c57936af6c), whose eval read LOSS (below).

  • plugins/planning/skills/interview/SKILL.md, two lines:
    • The question template's term line (line 145), on main
      - <each term the question relies on, defined inline> (<its source, or its agreed terminology row>),
      is now
      - <term>: <its definition> (<its source>) [one line per term the question relies on, counting every terminology-matrix or shorthand-glossary term anywhere in it (title, Context, recommendation, alternatives, another term's definition), even one an earlier question defined].
      One line per term keeps line 180's one-claim-per-line citation rule.
    • The terminal-lane pre-send step (line 176), on main "write its round file, run its checks and
      register its rows before it is sent", now reads "run its checks (re-read each question's full text
      for every matrix and glossary term; each one found has its own definition line in that question's
      Context)".
  • plugins/planning/tests/interview-defenses.test.sh: the Stance section pin moves from main's
    bb6444ad9a3a86a85d333062cc6df3be900aa816580ac0ac977b49a509eeed96 to
    30416489cd9cdb170d5eaad06140c3bac01bb8a1ef87a2829fa8a71c53a42e9b. Both edits sit in that section; no
    sentence of the no-silent-resolve rule changed.
  • Changelog fragment, bump: patch, as fix(planning): define terms in every interview question and state the bar in the upstream-term eval #16587 used for the earlier fix to this rule.

Verification

At 058bab16ee:

Eval of attempt 1 (c57936af6c): LOSS

Case interview-context-unfamiliar-term-upstream, Sonnet, 3 runs a side, before = 6f5ec9be0a, after =
c57936af6c, after a 1-run smoke a side. Pass rule, fixed before launch: an offline re-judge of check 1
(every term defined in the question itself), one claude -p Opus 5.5 call per run on the grader text
verbatim; PASS when after holds check 1 in at least 2 of 3 runs and in more runs than before. No run
excluded.

Side Re-judge check 1 Re-judge whole grader Eval judge grader Eval regex grader
after 0/3 0/3 0/3 1/3
before 0/3 0/3 0/3 1/3

Verdict: LOSS. Re-judge cost 0.4293 USD; spend before it 3.136 USD. No rerun.

Trace read (each question: which of normalize, fingerprint and cluster it uses, and which it defines
itself):

Side Term uses outside the terms question Defined in their own question
after 20 4 (20%)
before 11 0 (0%)

All 4 come from one after reply; the other two after replies, like all three before replies, define
nothing outside the terms question. Every reply's problem question names "cluster step" with no
definition. A term used inside another term's definition is left undefined ("cluster: the group of
reports sharing one fingerprint"). The judge's check-1 failures all rest on these uses, which SKILL.md's
own rule covers. Attempt 2 targets both gaps.

Eval of attempt 2

The same eval for 058bab16ee (same case, model, counts, pass rule and bar; before = 6f5ec9be0a) is
registered and not launched.

This pull request stays a draft.

Remaining

Related

🤖 Generated with Claude Code

kyle-sexton and others added 3 commits November 17, 2026 09:50
Refs: #16626

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… the first

Refs: #16626

The per-question template's term line now says the term is defined here
even when an earlier question defined it, and cites its source instead of
offering the terminology row as the citation. The checks run before an
inline round is sent now include that each question defines every term it
uses. The Stance section pin in interview-defenses.test.sh moves from
bb6444ad9a3a86a85d333062cc6df3be900aa816580ac0ac977b49a509eeed96 to
b84b8568905747df975b94c2e97c053437d3eb9151cc0ef934fc082697eca072; no
sentence of the no-silent-resolve rule changed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…t uses

Refs: #16626

The eval of the first change (c57936a) read LOSS: no after reply held
check 1, and only one of three defined any term outside the terms
question. The replies left a term undefined in the problem question's
title and inside another term's definition.

The question template's term line becomes one cited `term: definition`
line per term the question relies on, counting every terminology-matrix
or shorthand-glossary term anywhere in the question (title, Context,
recommendation, alternatives, another term's definition), even one an
earlier question defined. The checks run before an inline round is sent
re-read each question's full text for those terms. The Stance section
pin in interview-defenses.test.sh moves from
b84b8568905747df975b94c2e97c053437d3eb9151cc0ef934fc082697eca072 to
30416489cd9cdb170d5eaad06140c3bac01bb8a1ef87a2829fa8a71c53a42e9b; no
sentence of the no-silent-resolve rule changed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@kyle-sexton

Copy link
Copy Markdown
Member Author

Closing unmerged on the owner's decision of 2026-11-17 ("Go with recommendations.", to the option: close this draft unmerged, record both results and park the issue with #14878). Two registered evals of the two text changes on this branch both read LOSS, 0 of 3 after-runs each; the record is in the issue comment. The branch stays pushed for a later attempt. Posted by an agent session.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant