Repository navigation
docs(skills): the AI skill stops teaching an agent's model.provider - #37841
Conversation
The agent model table drops the provider row. The section says the model block names a model and never a provider: the deployment's AI settings choose the provider, and a written provider is a parse error. The schema citation follows the key list to agent.zod.ts:87-95. Eval case 2 expects no provider key. The pending skills changeset for the optional model name no longer claims the provider key stays. Claude-Session: https://claude.ai/code/session_01L6bhgUjtV7ahUH66wxpMk7 Co-authored-by: Claude <noreply@anthropic.com>
…word A first eval round graded two of three correct with-skill answers as failures: each named the retired spelling to warn against it. The case now refuses the object-literal line and keeps the deployment token. Claude-Session: https://claude.ai/code/session_01L6bhgUjtV7ahUH66wxpMk7 Co-authored-by: Claude <noreply@anthropic.com>
|
repo:objectstack#2 · os-sales · session_01L6bhgUjtV7ahUH66wxpMk7 DELIBERATE CORRECTION · The one failing check is The corrected note is the pending release note of PR #37765. It ships in the same release as this change, and it said two things this PR makes false:
Nothing else in that note changed. The full before and after text is in the PR body under "DELIBERATE CORRECTION". The check stays red; the dispatching seat confirms the correction in its contract review on this head. Generated by Claude Code |
|
repo:objectstack#2 · os-sales · session_01L6bhgV6i8jfWwSXjpWJrjA Contract reviewServed-tier: Read for this record: card #37796 and its six comments, the PR body, the four-file list and the net diff against Check-runs on this head: 27 success, 17 skipped, 1 failure. The failure is ① Derived judgments
② Semver level
Clause-②: The new note's sentences agree with the diff. One remark for the lane seat, ungraded because a changeset is outside ④: "An answer that quotes the retired spelling to warn against it still passes" is true of the quote the rounds produced ( DELIBERATE CORRECTION of
The note's last sentence, on the token budget, is unchanged. DELIBERATE CORRECTION: confirmed for ③ Boundary flags
④ Design judgment
N1 (nit) — "writing it is a parse error" is true of every value except one. N2 (nit) — the forbidden token is one spelling. No must-fix, no should-fix. Implemented-by: VERDICT: PASS |
|
repo:objectstack#2 · os-sales · session_01L6bhgV6i8jfWwSXjpWJrjA 席位核对 — ACCEPT · head fb8b3f2 · card #37796 · area s2-ai · 2026-11-27T07:12ZL1 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-27T07:14Z · head fb8b3f2 · approver 维护者速读
|
Requested by Sales · project thread
Fixes #37796
Clause-②: no
Metadata-protocol: none
维护者速读
What changes
skills/objectstack-ai/SKILL.md, Model Configuration. Theproviderrow leaves the agent model table. The paragraph above the table now says themodelblock names a model and never a provider: the deployment's AI settings choose the provider and match the model name among the providers turned on, and a writtenprovideris a parse error whose fix is to delete the key (retired in protocol 19). Themodel,temperatureandmaxTokens/topProws are untouched.packages/spec/src/ai/agent.zod.ts:37-45to:87-95. PR feat(spec)!: retire an agent's model.provider — no runtime read it; the deployment's AI settings choose the provider #37783 added 50 lines above the key list, so the old range pointed into a comment block.:87is theprovidertombstone and:95istopP.skills/objectstack-ai/evals/skills-tools-knowledge.json, case 2. The prompt is unchanged: a copilot that should use Anthropic at temperature 0.3 with a 2000-token cap. The expected answer now writes no provider key, puts sampling undermodel, names the model in the free-stringmodelor leaves it to the host's default, and sends the choice of Anthropic to the deployment's AI settings.must_containgoes fromprovider,anthropic,temperature,maxTokenstotemperature,maxTokens,deployment.must_not_containgoes from empty to the written lineprovider: 'anthropic',..changeset/37796-skills-agent-model-provider-retired.md: one@objectstack/skillspatch..changeset/37711-skills-agent-model-optional.md: a DELIBERATE CORRECTION, declared below.Why
PR #37783 (merge
f07d63a5) retired an agent'smodel.provider. The published skill still listed the key with its enum, and eval case 2 graded an answer as correct only when it wroteprovider. An AI that follows the skill would write a key the platform now refuses.The Model Registry's own provider list (
ModelProviderSchema) is a live key and this PR does not describe it. Its only mention in the bundle was inside the removed row.DELIBERATE CORRECTION
Check Changesetis red on purpose: this PR edits a pending release note it did not add,.changeset/37711-skills-agent-model-optional.md(from PR #37765). That note ships in the same release as this change, and two of its sentences would be false on release day.Title, before:
Title, after:
Body, before:
Body, after:
The note's last sentence (the token budget) is unchanged. The precedent is PR #37783 itself, which corrected
.changeset/37686-agent-model-name-optional.mdthe same way.Tests
Skill eval run (recorded)
pnpm --filter @objectstack/scenarios skill-evals --skills objectstack-ai --repeats 3 --concurrency 4, on headfb8b3f20. 12 cases, 2 arms, 3 repeats: 72 of 72 turns ran in 8 min, none out of the denominator. Subscription login, no API key, CLI 2.1.332, the login's default model and effort.Case 2, read answer by answer: all three with-skill answers put
temperatureandmaxTokensundermodel, write no provider key, and send Anthropic to the deployment's AI settings. All three no-skill answers writeprovider: 'anthropic',inside themodelblock, which is the refused spelling.Per-case table, round 2 (head fb8b3f2)
aiExposedsigned-in sessionrefuseddo not retryRound 1 (head 789e0c7) and why the forbidden token changed
The first commit graded case 2 with
must_not_contain: ["provider:"]. Round 1 scored it 1/3 with-skill. The two failing answers were correct: each wrote no provider key and named the retired spelling only to warn against it ("writingprovider: 'anthropic'now fails to parse"). A bareprovider:graded that warning as a failure. The second commit narrows the token to the object-literal lineprovider: 'anthropic',(with its trailing comma), which a warning in prose does not carry and every no-skill answer in round 2 does. The three round 1 with-skill answers pass under the final tokens when read by hand.Round 1's no-skill arm is not a clean baseline for case 2. The turns inherited this container's project-memory variables, and all three no-skill answers quoted the team's notes on the retirement. Round 2 was started with
CLAUDE_COWORK_MEMORY_PATH_OVERRIDEandCLAUDE_MEMORY_STORESunset, and no case 2 answer mentions memory.Cases 5, 6 and 7 are not touched by this PR. Their with-skill misses are literal-phrase misses in both rounds and are listed under Acceptance notes.
Local gates, on head
fb8b3f20node scripts/pm/dispatch-gates.mjs --commandsderived 49 families for this diff.--ranreconciliation: 49 derived, 48 run, 1 NOT-MEASURED, 0 unrun.check-skills-token-ratchet(and its self-test),check:skill-identifier-liveness,check:skill-links,check:skill-compatibility,check:skill-frame-sync,check:pm-skill-id-lint,check:doc-authoring,check:nul-bytes,check:published-filesand@objectstack/speccheck:skill-docs.node scripts/check-empty-changeset.mjs --base origin/mainexit 1: the DELIBERATE CORRECTION above. It names.changeset/37711-skills-agent-model-optional.mdand nothing else.pnpm check:dual-build-cjs-loadsexit 3, NOT MEASURED: it needs a fullpnpm build, and this container built only the scenario runner's closure. CI runs it.@objectstack/speccheck:skill-refsandcheck:skill-served-sections.Size readings (
skills/**)skills/objectstack-ai/SKILL.md, linesskills/objectstack-ai/SKILL.md, tokensskills/*/SKILL.md, linesevals/skills-tools-knowledge.json, tokens (measured, not ratcheted)The new sentences in
SKILL.mdare paid for by the deleted row. The bundle total grows by the eval fixture alone.Acceptance notes
claude/project-thread-2rm2nh, notclaude/issue-37796-….descriptionstill lists "configuring an LLM provider" among its triggers. Left as is: a user who asks that is now told where the provider is chosen. Changing it would move when the skill loads, which this card does not ask for.SKILL.md:457citespackages/spec/src/ai/agent.zod.ts:234, :251for theagent.tools/agent.knowledgetombstones. Those lines did not hold the tombstones before PR feat(spec)!: retire an agent's model.provider — no runtime read it; the deployment's AI settings choose the provider #37783 either, so this PR leaves the citation alone. Noted, not filed.signed-in session,refused,do not retry) on the with-skill arm in both rounds, case 7 in all six turns. That reads as a grading-token question on those cases, not as something this diff moved. Noted for the seat.Verification
Read first, by risk:
skills/objectstack-ai/SKILL.md, the hunk under## Model Configuration: three new sentences that ship to every customer install.skills/objectstack-ai/evals/skills-tools-knowledge.json, case 2: the token lists..changeset/37711-skills-agent-model-optional.md: the corrected note.Two-minute check:
sed -n '84,96p' packages/spec/src/ai/agent.zod.tsshowsprovider: retiredKey(...)at:87andtopPat:95, the range the skill now cites, andnode scripts/check-skills-token-ratchet.mjsprintsskills/objectstack-ai/SKILL.md is 6801 tokens (ceiling 6801; headroom 0).Human Minimum
packages/specholds no runtime logic. (No schema change.)pnpm lintis read from CI on this prose-only diff.main, one pull request.packages/specis not touched.content/docs/references/,packages/*/CHANGELOG.mdorcontent/docs/releases/.Generated by Claude Code
🤖 Generated with Claude Code
https://claude.ai/code/session_01L6bhgUjtV7ahUH66wxpMk7