Skip to content

skills: stop teaching an agent's model.provider after its retirement (#37712) #37796

Description

@objectstack-fleet

repo:objectstack#2 · os-sales · session_01L6bhgV6i8jfWwSXjpWJrjA

Filing gate: ① (the skills follow-up a Metadata-protocol: narrowed PR owes, Skills-docs: follow-up owed) · Source: fleet (PR #37783, Fixes #37712)

What happens

PR #37783 retires an agent's model.provider under ADR-0049, with an ADR-0087 conversion. An agent source that sets model.provider is refused, and the refusal tells the author to delete the key. os migrate meta lists the edit, and stored rows are stripped on replay. Two published skill files still teach the key:

  • skills/objectstack-ai/SKILL.md:370: the provider row of the model table.
  • skills/objectstack-ai/evals/skills-tools-knowledge.json:17: the expected output names the provider enum.

The tombstone keeps the identifier inside packages/, so neither gate goes red today. An agent that follows the skill would still write a key the platform now refuses.

Expected

  • The model table drops the provider row. It says the model is named by model.model, and the provider is the deployment's choice.
  • The eval's expected output no longer names the enum, and its prompt still exercises the agent model block.
  • Leave the Model Registry's provider list (ModelProviderSchema, content/docs/ai/index.mdx) alone: it is a live key, not the agent's.

Done when

  • Both files are updated in one domain:skills PR, with its eval run recorded.
  • check:skill-identifier-liveness and the skills eval gates pass.

Reader: the domain:skills lane (Tier H: skills/** is governed).
Grade: area:ai · Task · reach: read (the two file rows) → p2, because it follows a p2 card whose retirement makes the taught key refused.
Dedupe: searched open issues for model.provider skills: 0 hits.
Related: #37712, PR #37783.

Blocked-by: #37783

Activity

  1. added
    priority:p2
    pm:blocked
    domain:skills
    area:ai
    on Nov 27, 2026
  2. objectstack-fleet commented on Nov 27, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Triage: lands in area:ai · domain:skills · Task · priority:p1 · pm:blocked · size XS; rationale: once #37783 retires model.provider, the skills that still teach it would make an AI write a key the platform refuses. Skill misteaching is p1 (filed p2). Blocked by #37783.

  3. added
    priority:p1
    and removed
    priority:p2
    on Nov 27, 2026
  4. objectstack-fleet commented on Nov 27, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#2 · os-sales · session_01L6bhgV6i8jfWwSXjpWJrjA

    Correction (seat) · 2026-11-27T04:26Z

    From contract review 7209785394 on PR #37783:

    • The provider table row is at skills/objectstack-ai/SKILL.md:369 on main, not 370.
    • In skills/objectstack-ai/evals/skills-tools-knowledge.json, the eval's must_contain also names provider, besides the expected output at :17. Update both.
  5. objectstack-fleet commented on Nov 27, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#2 · os-sales · session_01L6bhgV6i8jfWwSXjpWJrjA

    Unblocked · 2026-11-27T06:00Z

    Its Blocked-by: target, PR #37783, merged at 2026-11-27T05:59Z (f07d63a510). pm:blocked → pm:queue. The skills text to write is the merged one: an agent's model names a model only, and the provider is the deployment's choice.

  6. added
    pm:queue
    and removed
    pm:blocked
    on Nov 27, 2026
  7. objectstack-fleet commented on Nov 27, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#2 · os-sales · session_01L6bhgV6i8jfWwSXjpWJrjA

    Claim: PM loop round 1 · 2026-11-27T06:04Z
    Session: session_01L6bhgV6i8jfWwSXjpWJrjA
    Thread session: session_01L6bhgUjtV7ahUH66wxpMk7
    Account: os-sales
    Branch: claude/project-thread-2rm2nh
    Domain: domain:skills
    Seat: repo:objectstack#2
    Area: s2-ai
    File surface: skills/objectstack-ai/SKILL.md (the agent model table: the provider row removed, the provider named as the deployment's AI settings, and the stale agent.zod.ts line reference in the same paragraph), skills/objectstack-ai/evals/skills-tools-knowledge.json (case 2 taught the new way, provider: in must_not_contain), one @objectstack/skills patch changeset.
    Container & model: S, mode:thread, model: CONTRACT_REVIEW_TIER (reason: skills/** is a mandatory-tier path; dispatch-gates --tier prints MANDATORY), effort: high (reason: a Tier H skills page with an eval run, read against the merged schema)
    Clause-②: no
    Metadata-protocol: none
    Responsibility: n/a — follow-up of a narrowing PR
    Thread-read: none
    Premise: holds — PR #37783 merged (f07d63a); SKILL.md:369 still teaches provider, eval case 2 names it
    Serial constraints cleared: none — #37783 merged

    The PR says Fixes #37796. Tier H: it lands through os-zhuang after the seat's contract review and hand-off.

  8. added
    pm:dispatched
    and removed
    pm:queue
    on Nov 27, 2026
  9. objectstack-fleet commented on Nov 27, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#2 · os-sales · session_01L6bhgUjtV7ahUH66wxpMk7
    os-dev-report

    {
      "issue": 37796,
      "status": "done",
      "branch": "claude/project-thread-2rm2nh",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/37841",
      "session": "session_01L6bhgUjtV7ahUH66wxpMk7",
      "premise_still_valid": true,
      "summary": "skills/objectstack-ai/SKILL.md (Model Configuration) drops the provider row; the paragraph 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 to delete (retired in protocol 19). The stale agent.zod.ts citation in the same paragraph moves from :37-45 to :87-95. Eval case 2 keeps its prompt and now expects no provider key (must_contain temperature, maxTokens, deployment; must_not_contain the written line provider: 'anthropic', with its comma). One @objectstack/skills patch changeset, plus a DELIBERATE CORRECTION of the pending note .changeset/37711-skills-agent-model-optional.md, whose provider sentences this change makes false; it is declared in the PR body with before and after text, and it is one file more than the claim's file surface lists. Head fb8b3f20.",
      "tests": "skill-evals --skills objectstack-ai --repeats 3 --concurrency 4 on head fb8b3f20: 72 of 72 turns ran, exit 0. Case 2: with-skill 3/3, no-skill 0/3 (every no-skill answer writes the refused provider line). Bundle: with-skill 30/36, no-skill 1/36; the with-skill misses are cases 5, 6, 7, none touched here. Round 1 on head 789e0c74 graded case 2 with-skill 1/3 under a bare provider: token: both failing answers were correct and only quoted the retired spelling to warn, so the second commit narrowed the token. Round 2 ran with the two project-memory variables unset, because round 1's no-skill answers quoted team memory. No ablation: prose and an eval fixture, no tested behaviour changed.",
      "gates": "local on fb8b3f20: dispatch-gates --commands derived 49 families; --ran reconciliation 49 derived, 48 run, 1 NOT-MEASURED, 0 unrun. 47 exit 0 (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-files, spec check:skill-docs among them). check-empty-changeset --base origin/main exit 1: red by design, the DELIBERATE CORRECTION of .changeset/37711. check:dual-build-cjs-loads exit 3: NOT MEASURED, reason: needs a full pnpm build, only the scenario runner's closure was built. Outside the derived set: spec check:skill-refs and check:skill-served-sections exit 0. Token reading: SKILL.md 6801 of 6801 before and after, no ceiling row moved. CI on PR 37841: in_progress when this report was written; Check Changeset is expected red.",
      "dogfood_battery": "n/a — no ! in the PR title and no (narrowing) arm",
      "mcp_calls": "6 — issue_read x3, pull_request_read x3; reads only, no write tool",
      "api_writes": "2 — both through the scripts/pm fleet-write relay: pr_create (PR 37841, draft, assignee os-sales), then this report (post-stamped.mjs). git pushes to the thread branch only.",
      "open_questions": [],
      "security_findings": "none",
      "out_of_scope_findings": [
        "class: a · reach: named producer — a skill-evals round a fleet seat starts inside a project container: the runner hands its whole environment to every turn, so the project's memory enters both arms; round 1's three no-skill answers for case 2 quote the team's notes on the provider retirement · evidence: round 1 run records, kept in the project folder as 37796/skill-evals-round1-789e0c74.tgz; round 2 with CLAUDE_COWORK_MEMORY_PATH_OVERRIDE and CLAUDE_MEMORY_STORES unset shows none · dedupe words: skill-evals turnEnv memory no-skill arm contamination",
        "carrier: none · noted, not filed — eval cases 6 and 7 miss literal phrases (signed-in session, refused, do not retry) on the with-skill arm in both rounds, case 7 in all six turns",
        "carrier: none · noted, not filed — SKILL.md:457 cites agent.zod.ts:234, :251 for the agent.tools and agent.knowledge tombstones; those lines did not hold them before PR 37783 either"
      ]
    }
  10. objectstack-fleet commented on Nov 27, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#2 · os-sales · session_01L6bhgV6i8jfWwSXjpWJrjA

    Claim amendment to 7211197294 · 2026-11-27T06:37Z

    File surface adds .changeset/37711-skills-agent-model-optional.md, the unreleased note of PR #37765. It says provider is optional with its enum unchanged, which is false once this change ships in the same release. The PR edits it as a DELIBERATE CORRECTION, declared sentence by sentence in its body. Check Changeset is red by design, and the same-head contract review judges each sentence.

  11. objectstack-fleet commented on Nov 27, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#2 · os-sales · session_01L6bhgV6i8jfWwSXjpWJrjA

    Landed · 2026-11-27T08:40Z

    PR #37841 merged at 2026-11-27T08:34Z (Tier H, approved and queued by the maintainer) and closed this card. pm:dispatched is cleared. Follow-ups: #37850, #37842.

  12. removed
    pm:dispatched
    on Nov 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:aidomain:skillspriority:p1

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions