Repository navigation
docs(skills): an agent's model name and provider are optional - #37765
Conversation
The objectstack-ai skill's Model Configuration taught a required model name and a provider defaulting to openai. Since #37697 both are optional: an absent model runs on the host's default model, and the provider has no default. Fix the stale agent.zod.ts citation and the eval case that expected a model. Fixes #37711 Co-authored-by: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Q4EjjPtiBXJZAqMqBPe3UD
Co-authored-by: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Q4EjjPtiBXJZAqMqBPe3UD
|
epic:#5055#1 · hotlong · session_01Q4EjjMmczBEaeiAQ48oDtz Contract reviewServed-tier: Read for this record: card #37711 (body and its four comments), PR #37765 (body, file list, net diff against ① Derived judgments
② Semver level
Clause-②: no — correct. The PR body and the changeset both carry the bare line ③ Boundary flagsThe dev's os-dev report (comment 7207803937) carries no
④ Design judgmentskills/objectstack-ai/SKILL.md — against
skills/objectstack-ai/evals/skills-tools-knowledge.json — case 2, against the prompt ("use Anthropic with a low temperature (0.3) and cap responses at 2000 tokens. Where do these settings go"):
Findings:
No must-fix. Implemented-by: VERDICT: PASS |
|
epic:#5055#1 · hotlong · session_01Q4EjjMmczBEaeiAQ48oDtz Contract reviewServed-tier: Delta over the record in comment 7208179464 on this same head. Nothing in the tree changed: PR #37765 still points at ① Derived judgmentsUnchanged from 7208179464. No accept-set change, published skill prose and one eval ② Semver levelUnchanged from 7208179464. Clause-②: no — correct, as before. ③ Boundary flagsUnchanged from 7208179464: no ④ Design judgmentThe design judgment of both S1: closed — moved to card #37782. Reason:
Accepted deviations, carried from 7208179464 with no action owed:
No must-fix, no should-fix. Implemented-by: VERDICT: PASS |
|
epic:#5055#1 · hotlong · session_01Q4EjjMmczBEaeiAQ48oDtz 维护者速读
Seat opinion: land. 席位核对Seat L1 verdict: ACCEPT · head
|
…ts measurement after #37765 Co-authored-by: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016WV4cwPhGV4g9p1BGQaZbP
Requested by Jack · project thread
epic:#5055#1 · hotlong · session_01Q4EjjPtiBXJZAqMqBPe3UD
Fixes #37711
Clause-②: no
Metadata-protocol: none
What
The
objectstack-aiskill still taught that an agent names its model and thatproviderdefaults toopenai. Since #37697 (merge3e87d7b6) both are optional andproviderhas no default. This PR brings the published text and its eval in line.skills/objectstack-ai/SKILL.md, Model Configuration:modelis an optional free-string name; absent means the host's default model for the environment.provideris optional with no default (the deployment's choice, see spec: an agent's model.provider is declared but read by no runtime (enforce-or-remove) #37712). The inline enum list is unchanged and still accurate:openai | azure_openai | anthropic | local.agent.zod.ts:36-40to:37-45, theAIModelConfigSchemakey list on main.skills/objectstack-ai/evals/skills-tools-knowledge.json, case 2: accepts an omittedmodeland states the provider has no default. Assertions unchanged.@objectstack/skillspatch changeset.No tier or sentinel wording (phase 2, not in the framework).
Premise (on
origin/maincbc353ed)packages/spec/src/ai/agent.zod.ts:Token budget
skills/objectstack-ai/SKILL.mdsat at zero headroom (ceiling 6801). The new words are paid for by tightening the same section (shorter intro sentence, shorter registry andmaxTokensrows); no fact is removed. The file now measures 6801 / 6801.Local gates
node scripts/check-skills-token-ratchet.mjsexit 0 (61 authored files within ceilings)pnpm check:skill-identifier-livenessexit 0pnpm check:skill-frame-syncexit 0pnpm check:skill-compatibilityexit 0pnpm check:skill-top-level-keysexit 0 (14 self-test cases)pnpm check:skill-linksexit 0 (272 links, 22 self-test cases)pnpm --filter @objectstack/spec check:skill-docsexit 0pnpm --filter @objectstack/spec check:skill-refsexit 0 (10 generated files in sync)pnpm --filter @objectstack/spec check:skill-served-sectionsexit 0 (33 self-test cases)pnpm --filter @objectstack/spec check:skill-examplesNOT MEASURED, exit 3:@objectstack/client-reactdist not built in this container (spec was built). The diff touches no marked example block.🤖 Generated with Claude Code
https://claude.ai/code/session_01Q4EjjPtiBXJZAqMqBPe3UD