Repository navigation
docs(skills,spec): agent model.provider is refused, bar the 18.x openai residue; objectstack-ai eval cases 2, 6, 7 grade every correct spelling - #38156
Conversation
…nai' residue; three objectstack-ai eval cases graded on every correct spelling The objectstack-ai skill and the provider jsdoc on AIModelConfigSchema said writing provider is a parse error; the 'openai' an 18.x toolchain wrote out parses and is stripped. Both now say refused and name that exception. Eval case 2 forbids the written line in nine code spellings instead of one; case 6's any-of group accepts "refuses"; case 7's "do not retry" becomes an any-of group of its four case spellings. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L6bhgUDWstaVZQkWbWFNBK
📓 Docs Drift Check1 anchor(s) derived from 1 changed package(s); no hand-written page names any of them, so this run has nothing to list — not a clean bill of health. This check sees only pages that NAME a derived anchor: one that documents this change in prose, or enumerates it in an authoring dialect, names none and stays invisible to it on every run. What this run could not see
Coarse fallback — 177 page(s) merely mention a changed package (the pre-#9192 predicate, kept for the deliberately-wide backstop): Which tree this was computed onThis run read A worktree cut from an older # while this PR is open — GitHub drops the merge commit once it closes
git fetch origin 732a70f41808a42172a9ec25f88c68c330796bf8 && git checkout 732a70f41808a42172a9ec25f88c68c330796bf8
# afterwards, rebuild it from the two parents, which stay fetchable
git fetch origin e3bdc748841f8ec72aedc3d795227273f25c6baa 61188fd276bf5b55b2e2aa7c403b8d6ee740b6bc && git checkout -B drift-repro e3bdc748841f8ec72aedc3d795227273f25c6baa && git merge --no-ff 61188fd276bf5b55b2e2aa7c403b8d6ee740b6bc
node scripts/docs-audit/affected-docs.mjs --json e3bdc748841f8ec72aedc3d795227273f25c6baa |
|
repo:objectstack#2 · os-sales · session_01L6bhgV6i8jfWwSXjpWJrjA Contract reviewServed-tier: Inputs: card #37850 (body, 3 comments), PR #38156 (body, 4 files, net diff against
① Derived judgments
② Semver level
③ Boundary flags
④ Design judgment
S1 (should-fix) — the PR makes the section's own line cite stale.
Nits, no effect on the contract:
Open on this head: S1. No must-fix. Implemented-by: VERDICT: PASS |
…9-97, where the model keys sit after the jsdoc grew Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L6bhgUDWstaVZQkWbWFNBK
|
repo:objectstack#2 · os-sales · session_01L6bhgV6i8jfWwSXjpWJrjA Contract reviewServed-tier: Delta record on record 7234230385 (head c5dee31). Judged: the one commit c5dee31..72007e7 and whether S1 holds closed. Everything else stands as that record judged it. Check-runs read at 2026-11-28T04:47Z.
① Derived judgments
② Semver levelUnchanged: the changeset is byte-identical, and a corrected line cite publishes nothing the two patch bumps do not already cover. ③ Boundary flags
④ Design judgmentS1: closed. On this head N1, N2, N3 (nits of the first record): left as accepted deviations, no edit. That is within the rule for a nit; none affects the contract. The delta introduces nothing new. No must-fix, no should-fix. Implemented-by: VERDICT: PASS |
|
repo:objectstack#2 · os-sales · session_01L6bhgV6i8jfWwSXjpWJrjA 席位核对 — ACCEPT · head 72007e7 · card #37850 · area s2-ai · 2026-11-28T05:18ZL1 checklist
Tier: H. Landing: hand-off to the maintainer follows this record. |
|
repo:objectstack#2 · os-sales · session_01L6bhgV6i8jfWwSXjpWJrjA Tier H hand-off · 2026-11-28T05:19Z · head 72007e7 · approver 维护者速读
|
…n so the file fits its 6906-token row after main's knowledge-source edit Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L6bhgUDWstaVZQkWbWFNBK
|
Relay Merge-queue dequeue of #38156 — cause
The relay sends |
|
repo:objectstack#2 · os-sales · session_01L6bhgV6i8jfWwSXjpWJrjA Contract reviewServed-tier: Delta record on records 7234230385 (head c5dee31) and 7234263172 (head 72007e7). Judged: the two commits 72007e7..61188fd — the merge of
① Derived judgments
② Semver levelUnchanged: the changeset is byte-identical, and neither a merge of ③ Boundary flags
④ Design judgment
S1: closed, as in record 7234263172, and still closed after the merge. N1, N2, N3: unchanged, accepted deviations. No must-fix, no should-fix. Implemented-by: VERDICT: PASS |
|
repo:objectstack#2 · os-sales · session_01L6bhgV6i8jfWwSXjpWJrjA 席位核对 — ACCEPT (delta) · head 61188fd · card #37850 · area s2-ai · 2026-11-28T07:27ZL1 delta over ACCEPT 7234602506's head 72007e7
Tier: H. Landing: auto-merge armed in this stroke on the maintainer's approval of this head. |
⛔ merge queue 构建失败 — 先分诊,再决定要不要重排队列构建 46121921404 红了。队列跑的是全量套件(PR 侧 CI 只跑 affected 子集), 分类: 失败的 job(日志抽取,best effort):
跨 PR 相同签名(24h,按失败测试文件聚合):
历史信号:
分诊清单:
Generated by Claude Code · merge-queue-triage workflow (#4859) |
|
repo:objectstack#2 · os-sales · session_01L6bhgV6i8jfWwSXjpWJrjA 席位核对 — re-queue · head 61188fd · card #37850 · area s2-ai · 2026-11-28T08:06ZMerge-group run 46121921404 failed on one test only:
Triage (7236358065) reads one hit of this signature in 24 h, so no flake card yet. The head is unchanged since ACCEPT 7235959667 and the maintainer's approval of this head; auto-merge is re-armed in this stroke. |
Requested by Sales · project thread
Fixes #37850
Clause-②: no
Metadata-protocol: none
维护者速读
What changes
skills/objectstack-ai/SKILL.md(Model Configuration): "provideris retired (protocol 19): writing it is a parse error" becomes "retired (protocol 19) and refused, except the'openai'an 18.x toolchain wrote out, which parses and is stripped. Delete it." The instruction is unchanged. The file sits at zero token headroom, so the clause is paid for by deletions in the same section: ", never a provider" (the next clause says the deployment chooses it), themodelrow's "for the environment" and "model " in "free-string model name", and thetemperaturerow's "min(0).max(2), " (the same cell says "Outside 0–2 is a parse error"). Ceiling unchanged.packages/spec/src/ai/agent.zod.ts: theprovidertombstone's jsdoc, which said the same words, names the one value that parses (MODEL_PROVIDER_RETIRED_KEY_RESIDUE) and thattscrefuses it all the same. Comment only.skills/objectstack-ai/evals/skills-tools-knowledge.json:expected_outputsays "refused" instead of "a parse error";must_not_containgoes from the one spellingprovider: 'anthropic',to nine code spellings: single or double quotes, followed by a comma, a newline,}or}, and the JSON form"provider": "anthropic". The backtick-terminated inline warning (`provider: 'anthropic'`) still passes.must_contain_anygroup gainsrefuses.run_actionwithconfirm: true):do not retrymoves frommust_containinto amust_contain_anygroup["do not retry", "Do not retry", "don't retry", "Don't retry"]..changeset/37850-agent-model-provider-refused-residue.md:@objectstack/skillspatch,@objectstack/specpatch (jsdoc).Why
The four boxes of #37850, each against
main581ae76:acceptRetiredDefaultResidue(…, { provider: 'openai' })atagent.zod.ts:71/:96strips the 18.x default (pinned byagent-model-provider-retirement.test.ts:91-95). Fixed in the skill and the jsdoc.provider:fails correct answers that quote the retired spelling to warn (round-1 answers do exactly that).SKILL.md:457citingagent.zod.ts:234, :251. Already gone onmain: docs(skills): objectstack-ai teaches the unknown-key refusal for the two retired agent keys #37939 (62dd9e1) rewrote that passage and dropped the citation. Closed with that reason; nothing to change.pending_confirmationandno_confirmation_service; the grader is a case-sensitive literal match (grade.ts), andSKILL.md:212teaches "do not retry".Verification
Re-grade of the recorded rounds under the new assertions (literal grader, script in the thread scratchpad)
Round 2 (runner fb8b3f2, the clean round):
Round 1 (789e0c7) with-skill: case 6 0/3 → 3/3, case 7 0/3 → 3/3. Round 1's no-skill arm read project memory (#37842), so its case 2 flips (graded then under an older assertion) are not evidence either way.
pnpm --filter @objectstack/scenarios skill-evals --regradeon a copy of round 2 exits 0: the catalog loads; it sets cases 2/6/7 apart as changed since the round, as designed, so the table above is the literal-grader reading.Local gates at c5dee31; at 72007e7 (S1, a line number only) and at 61188fd (main merged + the 5-byte cut) the token ratchet, check-nul-bytes, check:skill-links, check:skill-frame-sync, check:skill-identifier-liveness, check:skill-docs, check:skill-refs and check:empty-changeset re-run, exit 0
All exit 0:
node scripts/check-skills-token-ratchet.mjs(skills/objectstack-ai/SKILL.md is 6893 tokens (ceiling 6893; headroom 0)),check-affected-docs,check-drift-comment,@objectstack/specbuild+check:generated(All 14 generated artifacts are up to date),check:docs,check:skill-docs,check:skill-refs,check:liveness,check:llms-txt,check:doc-authoring,check:pm-skill-id-lint,check:skill-compatibility,check:skill-frame-sync,check:skill-frame-freshness,check:skill-identifier-liveness,check:skill-links,check:spec-docblock-symbol-anchors,check:spec-parsed-alias,check:skill-top-level-keys,check-nul-bytes,check:empty-changeset. The rest of the derived families are CI's.Skills readings (lines), against
mainat the merge:skills/objectstack-ai/SKILL.md488 → 489; bundle (allskills/*/SKILL.md) 4953 → 4954. Tokens: 6906 → 6906 of 6906 (before the merge: 6893 → 6893 of 6893).No eval round run (Sales paused rounds). Two-minute check:
node scripts/check-skills-token-ratchet.mjs | grep objectstack-ai/SKILLprints ✓ at 6893.Acceptance notes
//comment afterprovider: 'anthropic'(no comma), orprovider:'anthropic'with no space, slip past; closing those with literal substrings would start catching the inline prose warning. Left open.}spellings also fail a correct answer that warns inline with the braces (the retired key shown inside a backtickedmodel: { … }), so "the inline warning still passes" holds for the bare-key form only, and a fenced counter-example still fails; case 7 still misses a typographic apostrophe, "never retry", or bold inside the phrase; case 6's any-of group is met by generic refusal wording and leans on its one forbidden call spelling (older than this PR).SKILL.md:365's cite movesagent.zod.ts:87-95→:89-97: the jsdoc hunk adds two lines above themodelblock's keys (review S1).Serial
Open PR #38013 edits other hunks of the same two skill files (the knowledge-service sentence at
SKILL.md:244, case 14); the text merges clean. It does not fit under the token ceiling, though: #38013 re-pinsskills/objectstack-ai/SKILL.mdto 6906 at its own measurement (27650 bytes), this PR adds 3 bytes (27596 → 27599), and the two merged are 27653 bytes,ceil((27653 - 27) / 4)= 6907, one over #38013's row. Whichever lands second goes red on the token ratchet and must cut 2 bytes or re-pin; mergingmainalone is not enough.Resolved here: #38013 landed first, and this PR's first merge-queue run went red on exactly that row (6907 / 6906).
mainis merged in (c725268) and 61188fd deletes a repeated noun inside this PR's own Model Configuration hunk ("among the providers turned on" → "among the ones turned on", 5 bytes; "the ones" refers back to "the provider" five words earlier). The file is 6906 / 6906 and no ceiling moves. The cut is sized to land on the row: the ratchet is red below its ceiling too, so a larger cut would have had to lower the row in the same commit.Human Minimum
packages/specholds no runtime logic. (jsdoc only)pnpm lintpasses. (left to CI)main, one pull request.packages/spectouched: its generated artifacts are regenerated and committed. (check:generated: all up to date, nothing to commit)content/docs/references/,packages/*/CHANGELOG.mdorcontent/docs/releases/.🤖 Generated with Claude Code
https://claude.ai/code/session_01L6bhgUDWstaVZQkWbWFNBK
Generated by Claude Code