Skip to content

review follow-ups of PR #37841 #37850

Description

@objectstack-fleet

repo:objectstack#2 · os-sales · session_01L6bhgV6i8jfWwSXjpWJrjA

Filing gate: ① (review follow-ups, one card per PR) · Source: fleet (contract review 7212225008 on PR #37841, Fixes #37796)

What happens

The review of PR #37841 (the objectstack-ai skill stops teaching an agent's model.provider) left these open:

  • N1: "writing provider is a parse error" has one exception. provider: 'openai' is accepted and stripped at parse, as 18.x residue (acceptRetiredDefaultResidue, packages/spec/src/ai/agent.zod.ts:62, :71, :96), though tsc still refuses it. The instruction itself (never write it, delete it) is right; say "is refused" or name the residue, in the skill and in the schema's jsdoc at :81-86, which uses the same words.
  • N2: case 2's forbidden token is one spelling. must_not_contain holds provider: 'anthropic',. Double quotes, or the key last with no trailing comma, slip past it. An answer that shows the refused line as a counter-example would fail it. Make it a set of spellings, or grade the key, not the line.
  • SKILL.md:457 cites agent.zod.ts:234, :251, which are stale on main. :234 is now the StructuredOutputConfig type and :251 is LONG_TERM_STORE_RETIRED. This predates feat(spec)!: retire an agent's model.provider — no runtime read it; the deployment's AI settings choose the provider #37783.
  • Cases 6 and 7 miss their literal phrases in the with-skill arm on both rounds. Judge whether the grading token or the teaching is wrong.

Done when

Each box above is fixed, or closed with a reason.

Grade: area:ai · bug · reach: skill wording and eval grading · evidence: the review record above
Suggested-grade: p3
Size: S
Related: PR #37841, #37796, #37842.

Activity

  1. added
    bug
    pm:queue
    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 · Bug · p2 · pm:queue · size XS; rationale: N1, the AI skill says writing provider is a parse error, but provider: 'openai' is accepted and stripped. Wrong shipped skill text that steers agents the safe way, so p2, not p1 (p3 → p2). The other nits ride along. Audit restatement, tier 3. Recorded 2026-11-27T20:17Z.

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

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#2 · os-sales · session_01L6bhgV6i8jfWwSXjpWJrjA

    Claim: PM loop round 1 · 2026-11-28T04:24Z
    Picked by card-pick.mjs --order area:ai --seat repo:objectstack#2 at 2026-11-28T04:14Z, rank 7. The maintainer in this seat's project, verbatim: 「ai你为什么没认领」 and 「并发5」.
    Session: session_01L6bhgV6i8jfWwSXjpWJrjA
    Thread session: session_01L6bhgUDWstaVZQkWbWFNBK
    Account: os-sales
    Branch: claude/project-thread-qzyoei (from main)
    Domain: domain:skills
    Seat: repo:objectstack#2
    Area: s2-ai
    File surface: skills/objectstack-ai/SKILL.md (the provider sentence, the stale agent.zod.ts line cite) and its evals/*.json (case 2's forbidden spellings, cases 6 and 7), and the jsdoc at packages/spec/src/ai/agent.zod.ts that repeats the same words; one changeset if the jsdoc change ships.
    Container & model: S, mode:thread, model: fable — dispatch-gates.mjs --tier: MANDATORY skills/** (clause ①, no one-line exit); the thread session serves opus (the fable name was refused when the thread was opened), so per 定档 「不达档起隔离达档子代理」 every write under skills/** is made by an isolated fable sub-agent the thread starts, its served model read with verify-review-tier.mjs on the agent transcript before push; if fable is not served, the thread stops and reports (等档), never builds at opus. effort: high (reason: the thread session serves effort high)
    Clause-②: no
    Metadata-protocol: none
    Responsibility: n/a — contract review 7212225008 on PR #37841
    Thread-read: none
    Premise: read from the review record; the thread re-reads each cited line on main before writing.
    Serial constraints cleared: open PR #38013 also edits skills/objectstack-ai/SKILL.md and evals/skills-tools-knowledge.json (knowledge sections). This card stays off those hunks; whichever lands second merges main.

    skills/** is Tier H: L2 at the contract-review tier, then the maintainer. The PR says Fixes #37850.

  5. added
    pm:dispatched
    and removed
    pm:queue
    on Nov 28, 2026
  6. objectstack-fleet commented on Nov 28, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#2 · os-sales · session_01L6bhgUDWstaVZQkWbWFNBK

    os-dev-report

    {
      "issue": 37850,
      "status": "done",
      "branch": "claude/project-thread-qzyoei",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/38156",
      "session": "session_01L6bhgUDWstaVZQkWbWFNBK",
      "premise_still_valid": true,
      "summary": "Box 1 (N1): the skill's Model Configuration sentence and the provider tombstone's jsdoc in agent.zod.ts now say the key is refused and name the one exception, the 'openai' an 18.x toolchain wrote out, which parses and is stripped; the file stays at its 6893-token ceiling by deletions in the same section. Box 2 (N2): case 2 forbids nine code spellings of the written line instead of one; the backtick inline warning still passes. Box 3: already fixed on main by #37939 (62dd9e1e), which dropped the stale agent.zod.ts:234/:251 citation; closed with that reason, nothing changed. Box 4: grading token wrong, teaching right, in both cases: case 7's case-sensitive 'do not retry' becomes an any-of group of its four spellings; case 6 (already any-of since #37969) gains 'refuses'. Every skills/** write was made by an isolated sub-agent; verify-review-tier.mjs on its transcript: PASS, 20 assistant turns, every one served at CONTRACT_REVIEW_TIER.",
      "tests": "Re-grade of the #37796 recordings under the new assertions (literal grader): round 2 with-skill case 2 3/3->3/3, case 6 1/3->3/3, case 7 0/3->3/3; no-skill 0/3 unchanged on all three. Round 1 with-skill case 6 and 7 0/3->3/3. skill-evals --regrade on a copy of round 2: exit 0 (catalog loads; changed cases set apart by design). @objectstack/spec build + check:generated: VERDICT command-exit 0, all 14 generated artifacts up to date. No eval round run.",
      "gates": "Local at c5dee312, each exit 0: check-skills-token-ratchet (objectstack-ai/SKILL.md 6893/6893), check-affected-docs, check-drift-comment, spec 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. Remaining derived families and CI check-runs: in_progress (PR just opened).",
      "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm",
      "mcp_calls": "4 — issue_read x2, pull_request_read x1 (get_diff #38013), get_session x1; no write tool",
      "api_writes": "1 — fleet-write relay pr_create (POST pulls + POST issues/38156/assignees); this report comment is the second",
      "open_questions": [],
      "security_findings": "none",
      "out_of_scope_findings": ["carrier: none · case 2 still lets a code line with trailing spaces or a // comment after provider: 'anthropic' (no comma), or provider:'anthropic' with no space, slip past; noted in the PR's Acceptance notes, not filed"]
    }

    Generated by Claude Code

  7. objectstack-fleet commented on Nov 28, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#2 · os-sales · session_01L6bhgV6i8jfWwSXjpWJrjA

    Landed · 2026-11-28T08:41Z

    PR #38156 merged at 2026-11-28T08:39Z through the merge queue after the maintainer's Tier H approval, on the seat's ACCEPT (7235959667), and its Fixes line closed this card. What changed:

    • The skill and the spec docblock say an agent's model.provider is refused, except for the 18.x openai residue.
    • objectstack-ai eval cases 2, 6 and 7 accept every correct spelling of the answer.

    It was ejected once by a driver-sql timeout outside its diff and went through on the next run. pm:dispatched is cleared on this card and pm:awaiting-merge on the PR.

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

Metadata

Metadata

Assignees

Labels

area:aibugdomain:skillspriority:p2

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions