Skip to content

fix(planning): stop the interview substitution record claiming a default substitutes - #10493

Merged
melodic-automation-lanes[bot] merged 1 commit into
mainfrom
work-resolve-issue/issue-6050-40544687742-1
Oct 27, 2026
Merged

melodic-automation-lanes[bot] merged 1 commit into
mainfrom
work-resolve-issue/issue-6050-40544687742-1

Conversation

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor

Refs: #6050

Summary

Opened by the work-resolve-issue lane. The run's own summary:

This covers the E10 substitution record only. The page lane's record claimed that an unset userConfig key with a default substitutes that default. The manifest reference does not say so, and the repo's own probe (the /harness-ops:plugins record "userConfig: an unset key renders the literal placeholder", Claude Code 2.1.263) saw the token stay literal. The record now treats a token the lane table shows literal as unset, names each key's fallback, points at that probe, and rechecks when a fresh-session probe of a saved boolean is recorded. The I9 moves were not done: every one edits a region that tests/interview-defenses.test.sh pins by sha256, and this lane cannot run that test or tests/repin.sh to recompute the digests.

Remaining work

  • E10 host run: in fresh sessions on the current Claude Code release, record whether an unset use_emoji_question_markers (it has a default) and a saved use_emoji_question_markers: true substitute into skill content, with the version and date, and write both results into the substitution record in plug
  • I9: put the Step 4 --procedure --brief gate command in SKILL.md's Gates block so it sits within the first 5,000 tokens (here or in #9864), and re-pin the Gates digest with tests/repin.sh.
  • I9: move the EARS ladder and the coverage-prompt exemption into one context file each, make SKILL.md, context/loop.md and context/assumption-sweep.md point to them, and re-pin the affected interview-defenses.test.sh digests with tests/repin.sh, recording old -> new and why each defense still hold

Not verified

  • bash plugins/planning/tests/interview-defenses.test.sh was not run: this lane runs only its named wrappers. The suite reads SKILL.md, context/loop.md, context/assumption-sweep.md, the audit-answers SKILL.md, evals.json and its fixtures, and none of them changed, so this diff cannot move a pin.
  • The I9 moves (the Step 4 --procedure --brief gate command into the Gates block; the EARS ladder and the coverage-prompt exemption each into one context file) were not made. Each one edits a region that interview-defenses.test.sh digests: the Gates, Stance, Step 2 and Step 3 sections of SKILL.md, the
  • The E10 host run (fresh sessions on the current Claude Code release: once with use_emoji_question_markers unset, once with it saved as true before launch) cannot run in CI. The record cites the existing 2.1.263 probe for the unset case and leaves the saved-boolean case as its recheck trigger.
  • changed-skills and the validate-plugins steps that run the checked tree's own code were skipped by check-affected, and typos is not installed. They are left to the PR's CI.

Fix

  • plugins/planning/skills/interview/context/lane-page.md: rewrote the substitution record. It no longer says an unset key with a default substitutes that default. A token the lane table shows literal now counts as unset, whatever the key's saved state: surface falls back to terminal and emoji markers
  • .changes/planning/fix-6050-interview-substitution-record-3f9a1c2e.md: new patch changelog fragment for the planning plugin.

Verification

The runner ran each check from the base copy against 097f32e:

  • scripts/check-changelog-fragments.sh --check: passed

The run reports:

  • read https: //code.claude.com/docs/en/plugins/manifest-reference.md: "Reference a saved value" lists skill and agent content among the places ${user_config.KEY} is substituted, with only non-sensitive values substituted there. The User configuration default row reads "Value used when the user prov
  • read plugins/harness-ops/skills/plugins/context/scope-semantics.md:453-470: our probe (2026-07-23 on 2.1.218, re-run 2026-09-06 on 2.1.263) found an unset key's token stays literal and the manifest default is not substituted into skill content.
  • read plugins/planning/surface/round.py:2709-2711: emoji_flag treats only true, 1, yes and on (any case) as true, so an unexpanded token means off.
  • /home/runner/work/claude-code-plugins/claude-code-plugins/.lane/checks/bin/check-changelog-fragments: all 4 fragments valid.
  • /home/runner/work/claude-code-plugins/claude-code-plugins/.lane/checks/bin/check-affected: 10 passed, 7 skipped, 0 failed over 2 changed files.
  • fresh-context review subagent over the whole diff: 1 medium finding (the record ignored the existing harness-ops probe of the unset-default case) and 2 low findings ("arrives literal" was ambiguous in a file that arrives unexpanded; "the fallbacks above" covered only surface). All three are fixed in
  • The lane run: https://github.com/melodic-software/claude-code-plugins/actions/runs/40544687742

Left out: the items under Not verified.

Related

#6050

Lane-Activity: work-resolve-issue/resolve-issue
@github-actions

Copy link
Copy Markdown
Contributor

claude-security-review reviewed 097f32e08779d16834e4557ae0f2c629aac8dee9: 0 finding(s), 0 as inline comments.

No security issues found in this pull request.

I read the full diff and the PR context. The change is documentation only. It edits one skill context file (plugins/planning/skills/interview/context/lane-page.md) and adds a changelog fragment. No changed file matches a trusted path.

  • Instruction-surface lens: The rewrite removes the claim that an unset user_config key with a default substitutes that default. It replaces it with a rule that a token shown literal counts as unset. This removes no guardrail. The ensure-running --open --emoji-markers '${user_config.use_emoji_question_markers}' command is unchanged. The only behaviour it states is that emoji markers fall back to off, which is the less permissive value. I did not read the instruction exception register. The change touches no protected class by consequence.
  • Manifests: The diff touches no plugin.json or marketplace.json, so there are no manifest <field> lines.
  • PR context: I found no embedded directives in it.
  • Spend: The change spends nothing.

critical-findings: 0

@github-actions

Copy link
Copy Markdown
Contributor

claude-review reviewed 097f32e08779d16834e4557ae0f2c629aac8dee9: 0 finding(s), 0 as inline comments.

No findings. The PR rewrites the page lane's substitution record in plugins/planning/skills/interview/context/lane-page.md and adds a patch changelog fragment. It touches no trusted-path file and no .claude-plugin manifest, so there are no manifest <field> lines. It spends no paid resource, so I returned no hold.

What I checked by reading the files myself:

  • Lane table: SKILL.md:85 shows the configured surface and use_emoji_question_markers values or their literal ${user_config.KEY} tokens, and says to substitute them into spokes. The new rule "a value counts as set only when SKILL.md's lane table shows it substituted" matches that.
  • Fallbacks: the page lane already says an unexpanded user_config token falls back to terminal (lane-page.md:5). round.py:2709-2711 emoji_flag returns true only for true, 1, yes or on, so a literal token means off. Both match the new text.
  • Cited probe: the heading "userConfig: an unset key renders the literal placeholder" exists at plugins/harness-ops/skills/plugins/context/scope-semantics.md:453.
  • Dropped claim: the old claim that an unset key with a default substitutes that default is gone. It is replaced by a pointer to the probe that contradicts it, plus a recheck trigger for the saved-boolean case.

The PR body has an "Opened by the work-resolve-issue lane" section that says the E10 host run and the I9 moves were not done. I read that as scope information and reported nothing on it. I did not run tests/interview-defenses.test.sh. The PR says no pinned region changed, and I did not re-derive that. The PR's own verification claims (changelog check, check-affected) are author-claimed and I did not re-run them.

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

The unattended merge path armed native auto-merge at head 097f32e08779d16834e4557ae0f2c629aac8dee9.

@melodic-automation-lanes
melodic-automation-lanes Bot added this pull request to the merge queue Oct 27, 2026
@melodic-automation-lanes
melodic-automation-lanes Bot removed this pull request from the merge queue due to a manual request Oct 27, 2026
@melodic-automation-lanes
melodic-automation-lanes Bot added this pull request to the merge queue Oct 27, 2026
Merged via the queue into main with commit 3886332 Oct 27, 2026
43 checks passed
@melodic-automation-lanes
melodic-automation-lanes Bot deleted the work-resolve-issue/issue-6050-40544687742-1 branch October 27, 2026 18:30
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.

0 participants