Skip to content

docs(planning): point draft-goal-condition's keyword and plan rows at an offline record - #12426

Merged
kyle-sexton merged 10 commits into
mainfrom
docs/12357-dgc-offline-pointers
Nov 2, 2026
Merged

kyle-sexton merged 10 commits into
mainfrom
docs/12357-dgc-offline-pointers

Conversation

@kyle-sexton

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

Copy link
Copy Markdown
Member

Refs: #12357

Summary

draft-goal-condition's workflow-row caveat stated two upstream facts from the docs pages: where the ultracode keyword starts a workflow, and which plans reach dynamic workflows. Those facts now live in a local routing record, reference/workflow-row.md. The record keeps each one as our decision, with a pointer, an as-of date and a recheck trigger, so the skill can still route when the docs pages cannot be fetched.

A third fact moved too and was measured: the xhigh condition on /effort ultracode. That move did not pass the preregistered measurement, so the condition stays in the skill body. #12357 stays open for it.

Fix

  • SKILL.md: the caveat points at reference/workflow-row.md for the keyword's prompt sources and for plan reach and the Pro /config step. It still states that the standing setting needs a model that offers xhigh effort. The paragraph closing Step 0 says the record applies when the docs are unreachable, and that Step 1's stop rule covers only the /goal shape and limit.
  • reference/workflow-row.md (new): two decisions, each with a Pointer, an As-of date of 2026-11-02 and a Recheck trigger.
    • Where the keyword form fits: workflows#where-the-keyword-works.
    • Which plans reach the lever: the opening note on the workflows page, which has no anchor of its own, plus workflows#turn-workflows-off.
  • New eval case, plugins/planning/evals/dg-standing-setting-xhigh, for the xhigh condition. Its regex grader is fitted to 30 hand-labeled samples, 18 of them real replies.
  • Changelog fragment .changes/planning/docs-12357-dgc-offline-pointers-7c3e19a4.md.

Verification

All runs used Claude Code 2.1.316 and claude-opus-5-5 on the subscription login, with --ablation none and deterministic graders. In every arm, the sandbox denied network access to code.claude.com, so these measurements show the skill working offline.

The three arms ran together in each pass:

  • before: origin/main;
  • after: this PR's text at the time;
  • negctl, the negative control: the restated lines deleted, with no record.

Pass 1 (keyword and plan-availability move): shipped. One case, dg-workflow-keyword-unattended, with --runs 3.

arm runs validity
before 1, 1, 1 VALID
after 1, 1, 1 VALID
negctl 0.67, 0.33, 0.33 VALID

All 3 after runs Read the record. The negctl mean fell by 0.56, so the case detects a loss.

Passes 2 to 4 (xhigh move): not shipped.

  • Pass 2: the before arm was INVALID because of a denied Grep on its own plugin copy.
  • Pass 3: all VALID, but there were grader false fails.
  • Pass 4 used preregistration v5 (--runs 5, cases dg-workflow-keyword-unattended and dg-standing-setting-xhigh), with every arm VALID:
case before after (graded) after (spot-read) negctl
keyword-unattended 1, 1, 1, 1, 1 1, 0.67, 1, 1, 1 1, 1, 1, 1, 1 0.33, 0.33, 0.67, 0.33, 0.67
standing-setting-xhigh 1, 1, 1, 1, 1 0.5, 0.5, 0.5, 1, 1 not admissible under v5 0.5, 0.5, 0.5, 0.5, 0.5
  • The keyword 0.67 run (hU376c) is a measured cause under v5. A spot-read shows a correct answer whose heading line ("Will the ultracode: prefix work? No") is split from its verdict, and the frozen grader matches one line at a time.
  • The three xhigh 0.5 runs are also correct answers. Each puts the two conditions in a numbered list (2. the session's model supports xhigh effort), which the line-based grader cannot see. v5 admitted spot-read causes only for the keyword grader, so the xhigh case reads 0.70 against 1.00. That misses the 0.05 margin, and v5's stopping rule ships the before text for the xhigh clause.
  • noise-report: n too small to call (2 cases).
  • Negctl falls: 0.53 (keyword) and 0.50 (xhigh).

Preregistrations v1 to v5 sit in the lane's eval scratch. Under v5's stopping rule, only the xhigh clause returns to SKILL.md; the measured keyword and plan-availability moves stay.

Other checks:

  • Meaning diff: /docs-hygiene:compress compare with two independent labelers (sonnet and opus), both VERDICT: PASS, run on the pass-1 text.
  • Skill check: /skill-quality:check draft-goal-condition PASS (0 errors, 3 advisory size warnings).
  • Local tests: scripts/check-affected.sh --tests gave 14 passed and 2 skipped; the pre-push hooks passed on every push.

Remaining on #12357

Related

🤖 Generated with Claude Code

kyle-sexton and others added 2 commits November 2, 2026 11:50
…ne record

The workflow-row caveat restated where the ultracode keyword starts a
workflow, which plans reach dynamic workflows, and when /effort ultracode
is available. It now points at reference/workflow-row.md, which keeps each
as a routing decision in our words with its pointer, as-of date and
recheck trigger. The skill reads the record when the docs pages cannot be
fetched, and Step 1's stop rule now covers only the /goal shape and limit.

Measured on dg-workflow-keyword-unattended (Claude Code 2.1.316,
claude-opus-5-5, --ablation none --runs 3, network to code.claude.com
denied in every arm): before 1, 1, 1; after 1, 1, 1; negative control
(the restated lines deleted, no record) 0.67, 0.33, 0.33. All runs VALID.

Refs: #12357

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@kyle-sexton
kyle-sexton marked this pull request as ready for review November 2, 2026 16:57
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 2, 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-02T17:00:10.291480Z 274d578 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 2, 2026 •

Copy link
Copy Markdown
Contributor

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

Security review: PR #12426 (incremental, c27e554..49973ee)

I found no security issues in this change.

What I read. I read the single hunk in .claude-lane/incremental.diff for plugins/planning/skills/draft-goal-condition/SKILL.md. The sentence "The standing setting needs a model that offers xhigh effort" keeps its wording. It now ends with an inline record: a link to the public docs anchor https://code.claude.com/docs/en/model-config#when-ultracode-is-available, an as-of date of 2026-11-02, and a recheck trigger. This is the fix the owner described in the settled thread on SKILL.md.

Why there is nothing to report:

  • Trusted paths: the file matches no TRUSTED PATHS: glob.
  • Controls: the change touches no plugin manifest, workflow, action, trust control, merge-hold file, hook or permission rule. So there are no manifest <field> lines.
  • Instruction-surface lens: the hunk only adds text. It removes, narrows or softens no instruction.
  • Link: the new link goes to the vendor's public docs domain, which the skill already cites. It brings in no fetch of untrusted content beyond what Step 1 already does.
  • Exception register: I did not consult docs/contracts/instruction-exception-register/README.md. Nothing was deleted, so I did not need it.

Settled threads and prior findings. The settled SKILL.md thread asked for exactly this record, and the change applies it. The other settled threads are code-review points about the eval grader, and I don't raise them again. This lane's only earlier post reported 0 findings, so there is nothing to repeat. There have been 0 rounds with findings against a cap of 3, so the cap does not apply.

Embedded text. The PR context and the settled threads contain no instructions aimed at this lane.

Spend. Nothing in this change bills or spends.

critical-findings: 0

@github-actions

github-actions Bot commented Nov 2, 2026 •

Copy link
Copy Markdown
Contributor

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

Code review: PR #12426, incremental from c27e554a to 49973eed

No findings on this head. This round covers one file, plugins/planning/skills/draft-goal-condition/SKILL.md. I read the whole incremental hunk, plus the surrounding Step 0 and Step 1 text in the head file. The other five changed files have not changed since c27e554a, which this lane already reviewed.

The prior-findings file says this review is past the round cap (3 rounds, cap 3), so I checked only for blocking findings and manifest flags.

What changed: the xhigh sentence at SKILL.md#L77-L80 now has an inline record attached:

  • a section-anchored pointer (model-config#when-ultracode-is-available);
  • an as-of date (2026-11-02);
  • a recheck trigger ("when that section adds or drops a condition").

The record has the same form as the effort-interaction link just above it and the sub-agents link in the next bullet. The sentence's wording is unchanged, so the measured xhigh text the PR keeps on purpose is untouched.

Earlier finding, now fixed: this resolves the lane's earlier advisory finding on this line (discussion_r4446589499). Its suggested fix is applied word for word. The previous round's note warned that the fix might have been lost from the branch; that worry no longer applies, because the fix is on this head.

Settled threads:

  • The four case.yaml grader threads stay settled. Each is marked lines changed since resolution: no, and the incremental diff does not touch that file.
  • The SKILL.md thread was resolved at this head, and its point is now fixed.

Closing issue: the PR only references #12357 ("Refs") and closes no issue. The PR context has no closing-issue section, so this review checked no acceptance criteria.

Unverified (author's claims): I have no shell. The "markdownlint is clean" claim in the owner's reply comes from the author, and I did not confirm it.

Manifests: no plugin manifest changed in this increment.

Embedded text: the PR context, settled threads and prior findings contain no instructions aimed at this lane.

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

Copy link
Copy Markdown
Member Author

Lane 1 classification of the claude-review findings at 274d578af9:

# Finding Classification Basis
1 The eval case does not exercise the standing-setting / xhigh entry (reference/workflow-row.md L100-110) VALID (fix now) verified: plugins/planning/evals/dg-workflow-keyword-unattended/case.yaml has only keyword-dead-in-print-mode and pro-config-row, and neither checks the xhigh decision. This PR moved that sentence, so its measurement belongs here.
2 No check fails if a record entry loses its As of or Recheck trigger line Not fixed in this PR judgment: this is a repository-wide checker gap that the PR did not introduce. The control that covers it is the review lane's path-scoped skill-bodies-state-current-rules.md check, which reviewed all three entries here.

Fix for 1: a second eval case on the standing /effort ultracode setting on a model without xhigh. Before, after and the negative control will be re-run over both cases and the PR body updated with the results. The PR stays do-not-merge until then.

kyle-sexton and others added 2 commits November 2, 2026 12:05
…dition

The record's "When the standing setting fits" entry had no case that
exercises it, so removing it would drop no grader. dg-standing-setting-xhigh
asks, from an interactive session on a model without the xhigh effort
level, whether /effort ultracode (or the ultracode settings key) will work.
Its deterministic grader passes a line that ties the standing setting to
xhigh and rejects a negated "doesn't require xhigh". Sample answers pass
validate-cases.py offline; the paid before/after/negative-control runs come
next.

Refs: #12357

Co-Authored-By: Claude Opus 5.5 <[email protected]>
xhigh-gates-standing-setting passed two replies that say the standing
ultracode setting works without xhigh. The "can't use xhigh" branch is
gone, and the "without xhigh" branch now needs a predicate about the
setting (won't work, isn't available, can't be enabled, and the like).
Both replies are fail samples; all 11 samples score as expected.

Refs: #12357

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@github-actions

github-actions Bot commented Nov 2, 2026

Copy link
Copy Markdown
Contributor

The pr-verify verifier failed head 06499892b1abcb4b133c04673c153b80581863ea. What it wrote, as data:

What it wrote (30 lines)
Summary: Issue #12357: the diff moves the keyword-origin, plan-availability and xhigh facts into an
  offline record, `reference/workflow-row.md`, and each entry has a pointer, an as-of date and a
  recheck trigger. It also adds a new eval case, `dg-standing-setting-xhigh`, to cover the xhigh
  line. The no-loss gate is not met for that line. The only before/after/negative-control
  measurement recorded, in the PR body and in the changeset, is on `dg-workflow-keyword-unattended`.
  The PR author's own comment says that case does not check the xhigh decision, and says before,
  after and the control would be re-run over both cases first. That re-run is not recorded, so
  done-when item 2 is still open for the changed xhigh line. CI is green at the judged head, but
  that is not eval evidence: lint-repo, check-skills, test-node and test-bash all passed;
  test-python was skipped, and no Python file changed.
- plugins/planning/evals/dg-standing-setting-xhigh/case.yaml: the new case was added but never
  measured. To fix, run before, after and the negative control over both
  `dg-workflow-keyword-unattended` and `dg-standing-setting-xhigh`, check the runs with
  run-validity.py and confirm they are VALID, and record the per-run scores and the no-loss result
  in the PR body. Only after that is issue #12357's 'ships only on no loss' item met for the moved
  xhigh/standing-setting line.
- .changes/planning/docs-12357-dgc-offline-pointers-7c3e19a4.md:13: the fragment reports results
  only for `dg-workflow-keyword-unattended`. Update it once the new case has been measured, so it
  does not suggest the whole change was measured.
- plugins/planning/skills/draft-goal-condition/reference/workflow-row.md:22-35: the record adds
  facts the old text did not have: the provider list (Anthropic API, Bedrock, Google Cloud Agent
  Platform, Foundry) and the off switches. These go beyond the issue's ask, which is not blocking by
  itself, but they are new volatile upstream claims. The PR body admits this and says they need a
  re-measure, so cover them in that re-run or cut them.
- plugins/planning/evals/dg-standing-setting-xhigh/case.yaml: sets max_turns 20 and timeout_seconds
  900. These are eval-run settings and spend within the subscription. No action needed; this note is
  for the human reader.
- plugins/planning/evals/dg-standing-setting-xhigh/case.yaml:38: I checked the grader regex against
  every pass and fail sample and it classifies each one correctly. One limit: it only matches when
  the xhigh claim and the ultracode/standing-setting mention are on the same line.

This pull request leaves the merge queue, and ci-status holds it out while it carries pr-verify-failed. A pr-verify pass at a new commit removes the label.

@github-actions github-actions Bot added the pr-verify-failed pr-verify failed this head; a pass at a new commit, or after a trusted body edit, removes it. label Nov 2, 2026
A negative-control reply that said "I can't tell you" passed on a later
"If /effort ultracode needs ... xhigh" clause. The needs/requires/only
branch now skips a sentence where "if" comes before the verb. The hedge
is a fail sample, and every correct reply observed in the last eval pass
still passes.

Refs: #12357

Co-Authored-By: Claude Opus 5.5 <[email protected]>

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

claude-lane: claude-review

kyle-sexton and others added 2 commits November 2, 2026 13:44
The sentence anchor added for conditional hedges rejected correct replies
whose sentence began after closing markup ("No.** The", 'workflows." It')
and missed an "only ... xhigh" span over 80 characters. A boundary may now
carry closing quotes, asterisks, backticks or brackets, and the window is
160 characters. The 18 replies from the last two eval passes join the
samples at their hand labels (13 pass, 5 fail); all 30 samples score as
labeled offline.

Refs: #12357

Co-Authored-By: Claude Opus 5.5 <[email protected]>
The fourth eval pass under preregistration v5 gave no clean ship verdict
for moving the xhigh condition into reference/workflow-row.md. All arms
were VALID, but the after arm graded 0.7 on dg-standing-setting-xhigh
against 1.0 before. A spot-read found each miss to be a correct answer
that put the condition in a numbered list, which the line-based grader
cannot see, but v5 admitted spot-read causes only for the keyword grader.
Per its stopping rule, the clause "the standing setting needs a model that
offers xhigh effort" returns to SKILL.md, and the record's "When the
standing setting fits" entry and its pointer mention go. The keyword and
plan-availability moves measured in the first pass stay.

Refs: #12357

Co-Authored-By: Claude Opus 5.5 <[email protected]>

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

claude-lane: claude-review

@github-actions github-actions Bot removed the pr-verify-failed pr-verify failed this head; a pass at a new commit, or after a trusted body edit, removes it. label Nov 2, 2026
@kyle-sexton kyle-sexton changed the title docs(planning): point draft-goal-condition's workflow row at an offline record docs(planning): point draft-goal-condition's keyword and plan rows at an offline record Nov 2, 2026
@kyle-sexton kyle-sexton removed the do-not-merge Hard merge gate: do not merge while applied. label Nov 2, 2026
Review findings on the needs/requires/only branch of
xhigh-gates-standing-setting:
- A clause may now cross a delimiter with no whitespace after it, so
  "Per workflow-row.md, ...", a URL, or "As of 2.1.316, ..." no longer
  stops it.
- The keyword-to-xhigh span stays inside one sentence (still at most 160
  characters), so an "only" in one sentence cannot pair with an "xhigh"
  in a reply that denies the condition.
- whether, unless, may and might now mark a hedge, as if already did.
- A list form passes when the clause ends in ":" and a following list
  item names xhigh. Three correct pass-4 replies used that shape.
Samples: 23 pass and 16 fail, including the reviewer's lines. Offline,
all 39 samples and all 33 real replies from the last three eval passes
score as labeled.

Refs: #12357

Co-Authored-By: Claude Opus 5.5 <[email protected]>

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

claude-lane: claude-review

The fallback restored "The standing setting needs a model that offers
xhigh effort" to SKILL.md but dropped the record entry that carried its
pointer. This PR also removed main's dated verification note. The
sentence now carries an inline record, matching the effort-interaction
link above it: a pointer to model-config "When ultracode is available",
as of 2026-11-02, rechecked when that section adds or drops a condition.
The sentence's wording is unchanged.

Refs: #12357

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@kyle-sexton
kyle-sexton added this pull request to the merge queue Nov 2, 2026
Merged via the queue into main with commit 2ab3443 Nov 2, 2026
56 of 57 checks passed
@kyle-sexton
kyle-sexton deleted the docs/12357-dgc-offline-pointers branch November 2, 2026 19:45
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