Skip to content

refactor(planning): move the xhigh clause to the workflow-row record - #12596

Merged
kyle-sexton merged 2 commits into
mainfrom
refactor/12357-move-xhigh-clause
Nov 3, 2026
Merged

kyle-sexton merged 2 commits into
mainfrom
refactor/12357-move-xhigh-clause

Conversation

@kyle-sexton

Copy link
Copy Markdown
Member

Closes #12357

Summary

/planning:draft-goal-condition now keeps the rule that /effort ultracode needs a model with xhigh effort in reference/workflow-row.md, next to the keyword and plan decisions moved by #12426. This finishes the last item on #12357. The skill still gives the answer with docs access denied.

Fix

  • SKILL.md: the xhigh sentence is gone. The sentence pointing at the record now also names "when the standing setting fits".
  • reference/workflow-row.md: a new "When the standing setting fits" entry with our routing decision, a pointer to When ultracode is available, an as-of date and a recheck trigger.
  • patch changelog fragment.

Verification

Preregistered before any run. Three arms launched together, --tag workflow-row --ablation none --runs 5, 30 runs in all, with network to the docs denied in every arm. Graders are the ones #12576 fixed, unchanged here.

Arm Skill text dg-standing-setting-xhigh dg-workflow-keyword-unattended run-validity.py
before main 3207c6a 1.00 (5 of 5) 1.00 (5 of 5) VALID
after this branch 1.00 (5 of 5) 1.00 (5 of 5) VALID
negative control this branch, entry and clause removed 0.50 (grader failed 5 of 5) 1.00 (5 of 5) VALID, one warning for a denied read of its own plugin copy
  • Ship rule: after's mean within 0.05 of before's, and no case drops by a third or more. Met: both means are 1.00.
  • Negative control: it detects the loss on the xhigh case, a mean fall of 0.50 against the 0.15 required. A spot-read of its five replies: each says it could not confirm whether the standing setting works on that model, so the grader's failures are correct. The control keeps the keyword text, so its 1.00 on the keyword case is expected.
  • noise-report.py printed "n too small to call" for the compare verdict, because the suite has 2 cases; the per-case rule above is the preregistered decision.
  • check-affected passed in pre-push.

Related

🤖 Generated with Claude Code

https://claude.ai/code/session_01VQb9Q1Asjw331T5WUQHJyF

@kyle-sexton
kyle-sexton marked this pull request as ready for review November 3, 2026 01:57
@chatgpt-codex-connector

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

Copy link
Copy Markdown

Codex Review Summary

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

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-03T01:58:36.580916Z eaf7335 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

github-actions Bot commented Nov 3, 2026

Copy link
Copy Markdown
Contributor

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

Security review: PR #12596 (head eaf7335)

No security issues found.

I read every hunk in all 3 changed files:

  • .changes/planning/refactor-12357-move-xhigh-clause-4d7e20c6.md: a new changelog fragment that sets bump: patch. It's prose only.
  • plugins/planning/skills/draft-goal-condition/SKILL.md: the sentence saying /effort ultracode needs a model with xhigh effort, plus its docs pointer, is removed. The existing pointer to reference/workflow-row.md now also names "when the standing setting fits".
  • plugins/planning/skills/draft-goal-condition/reference/workflow-row.md: a new "When the standing setting fits" entry. It carries the same rule (recommend /effort ultracode only when workflows are on and the model supports xhigh), a pointer to the first-party docs at code.claude.com, an as-of date and a recheck trigger.

Instruction-surface check: this diff deletes a sentence from a skill body, so I checked it under that lens before treating it as safe to skip. The rule isn't lost: it moves into a reference file that SKILL.md still tells the skill to apply, and it forbids the same thing as before. The rule only decides when to recommend an effort setting. It's not a guardrail on credentials, destructive actions, outward posting or trust, so no protected class applies. docs/contracts/instruction-exception-register/README.md wasn't consulted, because I had no shell to locate it. I judged by consequence instead.

Other checks:

  • Trusted paths: no changed file matches a TRUSTED PATHS glob.
  • Plugin manifests: no plugin.json or marketplace.json changed.
  • Trust controls: none of the controls the skill lists (trusted-trigger, token, kill switch, merge hold) are touched.
  • Workflows: no workflow changed.
  • PR context: the description contains no embedded instructions aimed at this lane.
  • Spend: none. The change is documentation and skill text only.

critical-findings: 0

@github-actions

github-actions Bot commented Nov 3, 2026

Copy link
Copy Markdown
Contributor

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

Code review: PR #12596, no findings

I read every hunk of all 3 changed files: the changelog fragment, SKILL.md and reference/workflow-row.md. I also read the whole head copy of workflow-row.md, the Step 0 section of SKILL.md, and the path-scoped rules that match these files.

The change. The rule that /effort ultracode needs a model with xhigh effort moves out of SKILL.md. It becomes a new "When the standing setting fits" entry in reference/workflow-row.md. The entry follows the format of the file's two existing entries: our decision in our words, then a Pointer, an As of date and a Recheck trigger. The SKILL.md sentence that points at the record now also names "when the standing setting fits", so the skill still sends the reader to the moved rule. The docs link that was removed (model-config#when-ultracode-is-available) is now the new entry's Pointer, so nothing is lost.

Closing issue #12357

  • The pointer stays usable offline: met. The decision is written out in the local record, which the skill reads before recommending either ultracode form. The eval case plugins/planning/evals/dg-standing-setting-xhigh covers it, and I confirmed it exists in the repository.
  • Before and after on VALID runs, with a negative control: the PR body reports before 1.00, after 1.00, and a control that drops to 0.50 on the xhigh case. These results are author-claimed and unverified; I had no way to run the evals.
  • As-of date and recheck trigger on each pointer: met. The new entry has both, as .claude/rules/skill-bodies-state-current-rules.md requires. The remaining pointer in SKILL.md (workflows#let-claude-decide-with-ultracode) keeps its own.

Other checks

  • Changelog fragment: bump: patch fits a wording move inside a skill's reference file.
  • Path-scoped rules: skill-bodies-state-current-rules.md and cost-claims.md match these files. Neither is broken: the entry states a current rule with its record, and it makes no cost claim.
  • Plugin manifests: this PR changes none.
  • Prior findings: none; this is round 0 of a cap of 3.
  • Embedded instructions: none found in the PR context.

@kyle-sexton
kyle-sexton added this pull request to the merge queue Nov 3, 2026
Merged via the queue into main with commit 359e13d Nov 3, 2026
68 checks passed
@kyle-sexton
kyle-sexton deleted the refactor/12357-move-xhigh-clause branch November 3, 2026 02:08
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.

docs(planning): point draft-goal-condition's ultracode lines at the docs without losing behavior offline

1 participant