Skip to content

docs(skills): name ignore as the seed mode default and the minimal-preset job/queue exception; correct three capability comments - #31377

Merged
os-zhuang merged 2 commits into
mainfrom
claude/project-thread-uuwdip
Nov 8, 2026
Merged

os-zhuang merged 2 commits into
mainfrom
claude/project-thread-uuwdip

Conversation

@objectstack-fleet

@objectstack-fleet objectstack-fleet Bot commented Nov 8, 2026 •

Copy link
Copy Markdown
Contributor

Requested by Irene · project thread

Fixes #31299

Clause-②: no
Metadata-protocol: none

dispatch-gates --tier reads a contract-review model mandate for skills/** (clause ①). That mandate is waived by the maintainer's standing order in this project (2026-11-03). This card ran on the project's default model, and the dispatching seat (domain:skills#3) runs the contract review.

维护者速读

  • 改了什么:平台技能 § Seed Data 把 mode 的默认值从 upsert 改为 ignore;§ requires: 说明 --preset minimal 在有 email、approvals 或 auth 时仍保留 job 和 queue。自动化技能 DocuSign 评测用例 1 的 expected_output 不再含它自己禁止的 connector-esign,回调写成 type: 'api' 流程,并按技能所教用 config.signature 校验 DocuSign Connect 自己的签名头。另外三处只改注释:spec 里 package-registry 的说明、os serve 里 requires: ['mcp'] 那一句、app-showcase 的注释;app-showcase 的 requires 去掉常开的 messaging 和 job。
  • 为什么改:这六处与 main 的代码不符,会教代理错误的默认值和过时的“需要显式开启”读法(Platform skill and nearby code still misstate the minimal preset, the seed mode default and two capability comments #31299,来自 docs(skills): list job, queue and messaging only under --preset minimal; name the mcp and pinyin-search host defaults #31297 契约复核的“其他位置”)。
  • 风险与回滚:不改行为。技能文字、一条评测用例和注释;app-showcase 少列两个常开能力,默认预设下照样挂载。平台 SKILL.md 删掉 Turso 行里重复的一句来付字节,净 -40 字节(5994 / 6011 tokens),不动棘轮。发版 @objectstack/skills patch;回滚即 revert。
  • 先看:skills/objectstack-platform/SKILL.md L296 与 L366;然后 skills/objectstack-automation/evals/integrations-declared.json 用例 1。
  • 两分钟验证:对照 packages/spec/src/data/seed.zod.ts L207(SeedMode.default('ignore'))和 packages/core/src/capability-composition.ts L86、L135–L138(NEEDS_JOB_AND_QUEUE)读两行;node scripts/check-skills-token-ratchet.mjs(平台 5994 / 6011)。
  • 需要你做的:批准。check-governed-merges 判为 Tier H(skills/**),需 os-zhuang 或 hotlong 批准;契约复核全量 PASS 6717563682、增量 PASS 6717774623(Head-sha 1ff1c115),席位已 ACCEPT。

The six sites, before and after

# Site Before After Proof on main e2e6ec7dc
1 skills/objectstack-platform/SKILL.md L366, § Seed Data upsert named as the mode default ignore named as the default; all five modes still listed (byte-neutral swap) packages/spec/src/data/seed.zod.ts L207 mode: SeedMode.default('ignore'); skills/objectstack-data/references/seeds.md § Import modes already says ignore (default)
2 same file L296, § requires: "--preset minimal drops exactly those" "--preset minimal drops them; email, approvals or auth keeps job and queue" packages/core/src/capability-composition.ts L86 NEEDS_JOB_AND_QUEUE = ['email', 'approvals', 'auth'], L130-L138: the slate is skipped under minimal, then job and queue are put back when any of those tokens is present; its callers are serve.ts L3016, verify/src/required-providers.ts L138 and cli/src/utils/schema-migration-plugins.ts L2012
3 skills/objectstack-automation/evals/integrations-declared.json case 1 expected_output used the forbidden connector-esign and lacked the required type: 'api'; it also named a "gap" (Connect's own header unverified, status polled) "not a new connector package"; "a type: 'api' flow with a start-node secretRef, and its config.signature names DocuSign Connect's own header (…), so status changes arrive verified instead of polled"; the gap sentence is gone. Assertions unchanged skills/objectstack-automation/SKILL.md L364 ("Vendor-signed: config.signature replaces it (recipe 4)"), L419-L420; references/integration-recipes.md L130-L133 (the X-DocuSign-Signature-1 block); packages/spec/src/automation/api-trigger-signature.test.ts L86
4 packages/spec/src/kernel/platform-capabilities.ts L385-L392, the 'package-registry' slate note "That registry keys marketplace, not this token, so under objectstack serve this entry is inert until the runtime half … lands" the CLI mounts it through CAPABILITY_PROVIDERS (@objectstack/core), which keys this token at PackageServicePlugin, the provider the spec row declares and the same one marketplace resolves to; a stock boot mounts it, one instance when marketplace is also declared packages/core/src/capability-providers.ts L174-L178 ('package-registry' row) and L164-L173; serve.ts L5161-L5167 (resolverMounted); capability-composition.ts L130-L133. Comment only
5 packages/cli/src/commands/serve.ts L3002 "Explicit requires: ['mcp'] in config works regardless of the env var." "Explicit requires: ['mcp'] still mounts the plugin, but with the env var off the route is not served: isMcpServerEnabled() alone decides it." (an authenticated caller gets 404; an anonymous one is refused with 401 first, mcp.ts L107-L110) packages/runtime/src/domains/mcp.ts L112-L114 (404 whenever isMcpServerEnabled() is false); core/src/capability-providers.ts L154-L158 (a declared mcp mounts MCPServerPlugin); CHANGELOG "New single decision point isMcpServerEnabled()" (packages/cli/CHANGELOG.md L42383). Comment only
6 examples/app-showcase objectstack.config.ts L95-L101 described messaging and job as needed, L109 listed both; src/automation/flows/index.ts L163-L165, L423, L647 told the reader to install them the two bullets are gone, a comment above requires says both are always-on, that a --preset minimal boot drops messaging and drops job only when email, approvals or auth is absent (this app declares approvals), and to list there what it drops, and both entries are removed from requires; the three flow comments say the same packages/spec/src/kernel/platform-capabilities.ts PLATFORM_ALWAYS_ON_CAPABILITIES; capability-composition.ts L130-L133

Case 3, in diff form (one JSON line, shown as the changed phrases):

-A declarative instance inside the app, not a platform plugin and not a `connector-esign` family:
+A declarative instance inside the app, not a platform plugin and not a new connector package:
-the callback is an `api` flow with a start-node `secretRef`.
+the callback is a `type: 'api'` flow with a start-node `secretRef`, and its `config.signature` names DocuSign Connect's own header (`signs: 'body'`, `header: 'X-DocuSign-Signature-1'`, `algorithm: 'hmac-sha256'`, `encoding: 'base64'`), so status changes arrive verified instead of polled.
- One gap is named plainly: DocuSign Connect signs its own header, which the `api` door does not verify, so status is polled until vendor schemes are verified.

After the edit every must_contain entry is in the case's expected_output and no must_not_contain entry is. The must_not_contain list keeps connector-esign unchanged, so the case still fails an answer that proposes that package. The gap sentence was removed because the skill now teaches the opposite: a vendor-signed callback is verified through config.signature, and recipe 4 gives DocuSign's own header as the example. No assertion was added for the signature block, since the prompt does not name the header.

app-showcase: entries removed, and why

messaging and job are on PLATFORM_ALWAYS_ON_CAPABILITIES, so every boot the example is served under (os dev / os serve, default preset, as in CI's e2e job) mounts both whether listed or not. The platform skill teaches listing them only under --preset minimal (skills/objectstack-automation/SKILL.md L351). Nothing else reads the example's requires list: no example test, e2e, qa or scripts file reads it (grep for .requires, 'messaging', 'job'), and no dogfood test boots the example under --preset minimal. The one effect of dropping a declared token is that a missing provider would warn instead of failing boot. Both providers are dependencies of @objectstack/cli (packages/cli/package.json L94, L96), so that cannot happen here. The example's tests and typecheck were run after the change (Gates).

Token readings (scripts/check-skills-token-ratchet.mjs, tokens = ceil((bytes − 20) / 4))

File main e2e6ec7dc This PR Ceiling
skills/objectstack-platform/SKILL.md 24034 B = 6004 23994 B = 5994 6011 (unchanged)
  • Site 1: 0 B (two mode names swap places).
  • Site 2: +47 B.
  • Deletion (-87 B): the Turso row of § Driver Selection Guide (L206) loses " — ships with the ObjectStack cloud / enterprise distribution, not the open framework". Fact it held: Turso ships only in the cloud / enterprise distribution, not the open framework. Surviving homes: the same cell's "Cloud / EE only" and its next sentence ("The open-core CLI recognizes libsql:// URLs but fails loudly"), and skills/objectstack-platform/references/operations.md L152 (driver-turso (cloud / EE only)). § Driver Selection Guide is not registered in check-skill-identifier-liveness.mjs or check-skill-top-level-keys.mjs, and no script or test greps the cut text.

Net -40 B. No remainder, so scripts/check-skills-token-ratchet.mjs is untouched. No rewrap: every untouched line is byte-identical to main. L333 (auth implies email) and L338 (pair triggers with job under minimal) stay true and are not restated: under minimal, triggers alone still mounts no job.

The case-3 sentence removal is the seat's ruling (no objection, 2026-11-08): it sits inside case 1, and the skill now teaches config.signature verification (skills/objectstack-automation/SKILL.md L364, references/integration-recipes.md L130-L133).

Deviations

  • should-fix from review 6717563682 applied in 1ff1c11 (two comments)

Sweep

  • skills/objectstack-platform/evals/ and skills/objectstack-data/ for a seed upsert default: none. objectstack-data/references/seeds.md § Import modes and the generated content/docs/references/data/seed.mdx already say ignore (default).
  • skills/** for "drops exactly" or another unqualified minimal-preset claim: objectstack-platform/evals/config-plugins-ops.json case 3 says "Only a --preset minimal boot drops them" of job and messaging. Its prompt involves no email, approvals or auth, so it stays true; left alone. The case at L340 (storage, settings) is outside the exception.
  • skills/** and every eval for connector-esign: only the case fixed here.
  • Tests, ADRs and docs for a claim that an explicit requires: ['mcp'] serves the route with the env flag off: none. content/docs/ai/connect-mcp.mdx L542 already says the 404 means the surface is disabled. So item 5 stays a comment fix, not a domain:server card.
  • No generator emits the spec note: it is a // comment inside the array, not a TSDoc block, and no file under content/docs/ carries its old text. check:docs and check:skill-refs exit 0.

Other sites found (not edited)

  • packages/spec/src/kernel/platform-capabilities.ts L348, the TSDoc of PLATFORM_ALWAYS_ON_CAPABILITIES: "objectstack serve --preset minimal opts out entirely". That is true of the slate but leaves out the job / queue put-back of NEEDS_JOB_AND_QUEUE. It is outside this card's one-comment surface.

Changeset

.changeset/platform-skill-seed-default-minimal-preset.md: '@objectstack/skills': patch, with Clause-②: no and Metadata-protocol: none. No @objectstack/spec or @objectstack/cli entry: their edits are comments only, Check Changeset counts changesets per PR (one is present), and AGENTS.md § Post-Task Checklist step 3 asks for one for a change that publishes behaviour. examples/app-showcase is private.

Gates

node scripts/pm/dispatch-gates.mjs --commands --repo objectstack-ai/objectstack derived 103 commands against merge base e2e6ec7dc. All 103 ran on head 0ab1aaaa, and again, re-derived identical, on head 1ff1c115 (the contract review's should-fix, two comment edits) after a full pnpm build (exit 0), under NODE_OPTIONS=--max-old-space-size=8192: 103 × exit 0, 0 NOT MEASURED among the listed commands. The CI-only families dispatch-gates names as not locally measurable (shard attestation, Build Core steps, type-check lanes, dogfood jobs) are left to CI. Per-command records: project files card-31299/gates-0ab1aaaa.txt and card-31299/gates-1ff1c115.txt (the latter also carries example-showcase and cli typecheck, exit 0).

The order's named checks: pnpm check:skill-identifier-liveness, pnpm --filter @objectstack/spec run check:skill-refs and node scripts/check-skills-token-ratchet.mjs (platform 5994 / 6011) are in that list and exit 0. Run beside it, since dispatch-gates derives no test family for these paths:

  • pnpm --filter @objectstack/spec run check:skill-examples :: exit 0
  • pnpm --filter @objectstack/example-showcase run typecheck :: exit 0
  • pnpm --filter @objectstack/example-showcase test :: exit 0 (544 passed)
  • pnpm --filter @objectstack/cli run typecheck :: exit 0
  • pnpm --filter @objectstack/spec exec tsc --noEmit :: exit 0
  • node scripts/check-commit-card-trailers.mjs --range origin/main..HEAD :: exit 0
  • node scripts/pm/check-governed-merges.mjs --branch HEAD :: Tier H (skills/** ×2)

origin/main moved to f4b4c8aeb during the run. Only serve.ts changed underneath this diff, away from the edited sentence, and git merge-tree merges cleanly.

🤖 Generated with Claude Code

https://claude.ai/code/session_01J8VVAmBZAddKTWUJs6Xnq2

…eset job/queue exception

Platform skill: `SeedMode` defaults to `ignore`, and `--preset minimal`
keeps `job` and `queue` when `email`, `approvals` or `auth` is present
(`NEEDS_JOB_AND_QUEUE`). The Turso row's restated distribution clause
pays the bytes.

Automation eval: the DocuSign case's model answer no longer uses the
`connector-esign` string it forbids, names the callback as a
`type: 'api'` flow, and verifies DocuSign Connect's own header through
`config.signature` as the skill teaches.

Comments only, no behaviour change: the `package-registry` slate note in
`@objectstack/spec`, the `requires: ['mcp']` sentence in `os serve`, and
the app-showcase comments, which drop the always-on `messaging` and
`job` from its `requires`.

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01J8VVAmBZAddKTWUJs6Xnq2
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

domain:skills#3 · huangyiirene · session_01J8VVAj7CvjkGXvgXzd6RZ7

Contract-review-claim: session_01J8VVAj7CvjkGXvgXzd6RZ7 · head 0ab1aaa · 2026-11-08T05:01Z

Full contract review of PR #31377 (#31299, claim 6717210182). The seat review runs at CONTRACT_REVIEW_TIER in an isolated subagent.

@github-actions github-actions Bot added documentation Improvements or additions to documentation tooling Fix lands in tooling, not a product package — enters pm:queue only with Unblocks: or a named surface labels Nov 8, 2026
@github-actions

github-actions Bot commented Nov 8, 2026 •

Copy link
Copy Markdown
Contributor

📓 Docs Drift Check

1 anchor(s) derived from 2 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
  • 1 anchor(s) matched too much of the corpus to be a work list: os serve (command, 47 pages)
  • 1 name(s) were too generic to anchor anything (single lowercase words)
  • a page that states a rule by its inputs shares no identifier with the emitter that implements the rule, so an emitter-only diff cannot list it — not on this run and not on any run. Measured on fix(driver-sql): emit varchar(maxLength) for a text field a declared index keys on #11430: content/docs/protocol/objectql/types.mdx documents the text-family column mapping by the ObjectQL type names it maps FROM (text / textarea / html) while the diff changed createColumn; it went unlisted, and it was the page that diff falsified, in four places. No shared token exists to detect this on, so a rule your change carries has to be re-read by hand in the pages that restate it.
  • a key NAME is not a key, so the hand re-read the line above prescribes can land on the wrong schema. The same spelling is authorable on one governed type and a [REMOVED] tombstone on another for each of active, aria, joins, objects, template, tools and version (censused on [finding] tools is a key on BOTH AgentSchema (tombstoned, dead) and SkillSchema (live, cloud-attested), so a name-based search attributes skill examples to the agent key — it produced a false stop-the-line alarm on PR #19059 #19093 over the liveness ledger's governed types, top-level keys); nothing in a search result distinguishes the two, so a grep hit on a LIVE example reads as evidence about the DEAD key. Measured on fix(spec): the agent.tools liveness row says dead — it claimed live on a key the schema tombstoned #19059: content/docs/ai/agents.mdx was reported as contradicting the agent.tools tombstone over its tools: example at :161, which is inside the defineSkill({ block opened at :155 — the page was already correct. Settle ownership by PARSING the value against both schemas, never by the name: that literal PASSES SkillSchema, and as an AgentSchema it FAILS at tools with the tombstone prescription. ⛔ These names are not the whole class — a key retired through a .strict() guidance map leaves no tombstone in the walked shape and none of them here (tool.category, live as AIToolDefinition.category).

Coarse fallback — 180 page(s) merely mention a changed package (the pre-#9192 predicate, kept for the deliberately-wide backstop): node scripts/docs-audit/affected-docs.mjs --json 44a030bfc8b1a3e1b5b6a4518e89831858b9c452 → packageMentionDocs.

Which tree this was computed on

This run read content/docs from 150a50efa96fb88f9265e9a7b199302a3bfb0263 — the merge of head 1ff1c115dc4cf1b3bf4043da452d781735173922 into base 44a030bfc8b1a3e1b5b6a4518e89831858b9c452, which is what actions/checkout gives a pull_request run. Not the PR head.

A worktree cut from an older main holds a different content/docs, so re-deriving there can legitimately return a different list — that is a different tree, not a wrong row. To answer on the same tree:

# while this PR is open — GitHub drops the merge commit once it closes
git fetch origin 150a50efa96fb88f9265e9a7b199302a3bfb0263 && git checkout 150a50efa96fb88f9265e9a7b199302a3bfb0263
# afterwards, rebuild it from the two parents, which stay fetchable
git fetch origin 44a030bfc8b1a3e1b5b6a4518e89831858b9c452 1ff1c115dc4cf1b3bf4043da452d781735173922 && git checkout -B drift-repro 44a030bfc8b1a3e1b5b6a4518e89831858b9c452 && git merge --no-ff 1ff1c115dc4cf1b3bf4043da452d781735173922

node scripts/docs-audit/affected-docs.mjs --json 44a030bfc8b1a3e1b5b6a4518e89831858b9c452

⚠️ That checkout carried uncommitted changes, so the commit above does not fully identify what was read.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

domain:skills#3 · huangyiirene · session_01J8VVAj7CvjkGXvgXzd6RZ7

Contract review

Served-tier: CONTRACT_REVIEW_TIER
Head-sha: 0ab1aaaa64d642e9b6f5450e223603f2e4dfa35a
Local-runs: none
Scope: packages/spec/src/kernel/platform-capabilities.ts, skills/objectstack-automation/evals/integrations-declared.json, skills/objectstack-platform/SKILL.md + packages/spec/src/data/seed.zod.ts, packages/core/src/capability-composition.ts, packages/core/src/capability-providers.ts, packages/runtime/src/domains/mcp.ts, packages/types/src/env.ts, packages/cli/src/commands/serve.ts, scripts/check-skill-identifier-liveness.mjs, scripts/check-skills-token-ratchet.mjs, skills/objectstack-automation/SKILL.md, skills/objectstack-automation/references/integration-recipes.md, skills/objectstack-platform/references/operations.md, skills/objectstack-data/references/seeds.md, examples/app-showcase/objectstack.config.ts, examples/app-showcase/src/automation/flows/index.ts, .changeset/config.json

Read: card #31299 body, triage 6715435570, claim 6717210182; PR #31377 body and its 7 files; net diff against merge base e2e6ec7dc; cited code on origin/main f4b4c8aeb.

① Derived judgments

  1. Seed default (platform SKILL.md § Seed Data). seed.zod.ts L207 is mode: SeedMode.default('ignore'), and the enum's own comment says ignore is the default. The new line names ignore as the default and still lists all five SeedMode values (ignore, upsert, insert, update, replace), so the seed-modes row in check-skill-identifier-liveness.mjs (heading ## Seed Data, symbol SeedMode) stays satisfied. This matches objectstack-data/references/seeds.md § Import modes. True.
  2. Minimal preset (platform SKILL.md § requires:). In resolveServedCapabilities the slate is skipped when the preset is minimal. After that, job and queue are put back when any token in NEEDS_JOB_AND_QUEUE (email, approvals, auth) is present. The new text, "drops them; email, approvals or auth keeps job and queue", is exactly true. Nothing else comes back except one thing: auth also adds email, at step 2 and under every preset. L333 already says that ("auth implies email, even under --preset minimal"), and it is why auth alone puts job/queue back. The host defaults (mcp, pinyin-search) are not slate tokens and are not in NEEDS_JOB_AND_QUEUE. L338 (pair triggers with job under minimal) is still sound advice: triggers alone brings back no job. All three readers of the rule (serve.ts L3016, verify required-providers.ts, schema-migration-plugins.ts L2012) call the same function.
  3. Eval case 1. On the head, all 10 must_contain strings appear in expected_output (including type: 'api'), and none of the 7 must_not_contain strings do (clientSecret and token appear without the colon the assertions forbid). The new claim matches the skill exactly. Automation SKILL.md L364 says "Vendor-signed: config.signature replaces it (recipe 4)". Recipe 4 (integration-recipes.md L130-L133) gives, keyed by the secretRef, signature: { signs: 'body', header: 'X-DocuSign-Signature-1', algorithm: 'hmac-sha256', encoding: 'base64' }. The case uses the same four values. The feature exists end to end: the spec schema in api-trigger-signature.zod.ts, and runtime verification in trigger-api/src/declared-signature.ts, which automation-hooks.test.ts covers with a DocuSign-signed POST. The removed "gap … status is polled" sentence contradicts what L364 and L419-L420 now teach, so removing it loses nothing the case should test. connector-esign stays in must_not_contain. The three trimmed operations still include "list status changes", which is harmless.
  4. 'package-registry' note (spec, comment only). capability-providers.ts L174-L178 keys 'package-registry' at @objectstack/service-package / PackageServicePlugin, the same provider as marketplace. The spec's PLATFORM_CAPABILITY_PROVIDERS row (L216) names the same package. serve.ts keeps Serve.CAPABILITY_PROVIDERS = CAPABILITY_PROVIDERS (L2101), and its resolverMounted check (L5169-L5175) mounts one instance when both tokens are declared. Every sentence of the new note is true. The old "inert" claim was false.
  5. requires: ['mcp'] (serve.ts, comment only). A declared mcp reaches CAPABILITY_PROVIDERS.mcp and MCPServerPlugin mounts. handleMcpRequest returns 404 whenever isMcpServerEnabled() is false, and no declaration is read on that path. isMcpServerEnabled (types/src/env.ts L633) is described as the single decision point. Nothing on main says the opposite: not ADR-0036, not connect-mcp.mdx L542, not environment-variables.mdx L293, and no test. So the claim's ruling holds: the comment was the wrong half, and behaviour does not change.
  6. app-showcase. messaging and job are both on PLATFORM_ALWAYS_ON_CAPABILITIES. Under the default preset both still mount. The only readers of the list are stackDeclaredCapabilities and defineStack's capability check (which needs triggers + automation, both still declared). No test, e2e, dogfood or CI job reads this list or boots this example under --preset minimal. Two side effects exist, and neither changes behaviour. First, the two tokens move from "declared" to "platform-appended", so a missing provider would warn instead of failing the boot; both providers are CLI dependencies. Second, mount order shifts: job/queue now go to the front because approvals is declared, and messaging now mounts after the declared tokens. Nothing depends on the old order. Approvals reads messaging in start(), webhooks declares a plugin dependency on messaging, and the notify node resolves it when it runs. The flow comments at L163, L423-L425 and L647-L648 are true.
  7. Turso cut (-87 B). The cut gloss restated "Cloud / EE only", which survives in the same cell, together with the libsql:// / UnsupportedDriverError sentence. operations.md L152 keeps driver-turso (cloud / EE only). No fact is lost. Bytes: 24034 on main, 23994 on the head; less the 20-byte stamp line, that is 5994 against a ceiling of 6011. check-skills-token-ratchet.mjs is unchanged, and no gate pins the cut text.
  8. Declarations. Clause-②: no and Metadata-protocol: none appear in both the PR body and the changeset, and both are correct: no authorable key, value or default changes. Fixes #31299 is in the PR body.

Gates (check-runs on the head, last read 2026-11-08T05:07Z): 60 runs so far: 20 success, 9 skipped by path filter, 31 still running, 0 failed. Passed: Check Changeset, Governed Surface Queue Guard, PR-body guards, Spec property liveness, Type Check · source gates (runs the token ratchet and check:skill-refs), Type Check · debt ledger, Lint · docs & code guards (check:skill-identifier-liveness), Lint · repo & tooling gates, Lint · PM dispatch-gates, Lint · scoped (query-options erasure, tooling self-tests), Dogfood Regression Gate, Build UI Deps, Plan Test Core shards, Check PR Size, Flag docs, Auto Label, filter. Still running included Test Core 1-8/8, Build Core, Live E2E UI, Build & E2E UI, Type Check UI, Type Check (workspace, consumer gates), and Lint · scoped · slot lookup & corpus. This verdict covers the contract only. Merging still needs those checks to finish green.

② Semver level

'@objectstack/skills': patch is right. Under AGENTS.md Post-Task Checklist step 3, Metadata-protocol: none takes patch, and only something that publishes needs a changeset. The packages/spec change is a // comment inside an array in a file that is not *.zod.ts, so it is not in the published src glob and does not reach the .d.ts. The packages/cli change is a comment. Neither publishes behaviour. .changeset/config.json also puts @objectstack/spec, @objectstack/skills and @objectstack/cli in one fixed group, so they bump together whatever the entries say. examples/app-showcase is private. Check Changeset passed on the head.

③ Boundary flags

  • Should-fix (non-blocking), showcase config comment: "Only a --preset minimal boot drops them; there, list both." This app declares approvals, so a minimal boot of this app keeps job. Read strictly, the sentence is true ("only" names the one boot that can drop them), and "list both" is safe advice. But it reads like the "drops exactly those" claim this card corrects in the skill. Suggested wording: "A --preset minimal boot drops messaging (and job too, unless email, approvals or auth is present); there, list both."
  • Nit, serve.ts comment: "the route answers 404" is true for a caller with a key or token. An anonymous caller is refused first, with a 401 (refuseAnonymousMcpCaller), as environment-variables.mdx L293 says. That does not affect the point the comment makes.
  • Other site, outside this surface (correctly left alone): the TSDoc on PLATFORM_ALWAYS_ON_CAPABILITIES (platform-capabilities.ts L348) says "--preset minimal opts out entirely". As a statement about the slate list this is accurate, since the whole list is skipped. As a statement about which slate capabilities mount, it is incomplete: job and queue come back with email, approvals or auth, and email comes back with auth. So it is incomplete rather than plainly false. The claim's file surface allowed only the 'package-registry' note in that file, so leaving it out was correct. It is worth a small follow-up in the spec lane.
  • Other site, outside this surface: the platform § Seed Data line still marks replace with "⚠️ data loss". The enum comment and seeds.md say replace deletes nothing: the caller clears the table first. The line is unchanged here and is not a regression. Raise it as an open question for the skills lane.
  • Open question, eval coverage: the prompt names Connect's own HMAC header, and the skill now teaches config.signature, but no assertion checks for it. A follow-up could add must_contain for signature (not the header name). That would only strengthen the case. It is not a defect in this PR.
  • Process: the commit body says "Comments only" for a group that includes the showcase requires change. That change has no runtime effect (item 6), so this is wording only.

④ Design judgment

  • skills/objectstack-platform/SKILL.md: both edits now match the code they cite (seed.zod.ts L207; capability-composition.ts NEEDS_JOB_AND_QUEUE and step 4), and the section stays complete over SeedMode. The budget was paid by deleting a redundant clause, not by raising the ratchet, and no other line was rewrapped. It holds.
  • skills/objectstack-automation/evals/integrations-declared.json: the model answer and the assertions now agree with each other and with the skill. The case still tests the declarative connector, OAuth2 authorization-code flow, credentialRef-only secrets, connector_action dispatch, a type: 'api' callback with secretRef, and the refusal of a plugin or connector package. The one claim that changed, verify instead of poll, is the one the skill now teaches and the runtime enforces. It holds.
  • packages/spec/src/kernel/platform-capabilities.ts: comment only. It replaces a false "inert" statement with an accurate account of how the token mounts. The schema and the list are unchanged. It holds.

No must-fix.

Implemented-by: claude/project-thread-uuwdip
Reviewed-by: session_01J8VVAj7CvjkGXvgXzd6RZ7

VERDICT: PASS

…P route

app-showcase declares `approvals`, so a `--preset minimal` boot keeps
`job`; the note now says minimal drops `job` only when `email`,
`approvals` or `auth` is absent. The serve comment says the route is not
served with the env var off, since an anonymous caller is refused with
401 before the 404.

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01J8VVAmBZAddKTWUJs6Xnq2
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

domain:skills#3 · huangyiirene · session_01J8VVAj7CvjkGXvgXzd6RZ7

Contract-review-claim: session_01J8VVAj7CvjkGXvgXzd6RZ7 · head 1ff1c11 · 2026-11-08T05:28Z

Delta contract review of PR #31377 (#31299) from 0ab1aaa (PASS 6717563682) to this head: the should-fix push. The seat review runs at CONTRACT_REVIEW_TIER in an isolated subagent.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

domain:skills#3 · huangyiirene · session_01J8VVAj7CvjkGXvgXzd6RZ7

Contract review

Served-tier: CONTRACT_REVIEW_TIER
Head-sha: 1ff1c115dc4cf1b3bf4043da452d781735173922
Local-runs: none
Scope: packages/spec/src/kernel/platform-capabilities.ts, skills/objectstack-automation/evals/integrations-declared.json, skills/objectstack-platform/SKILL.md + examples/app-showcase/objectstack.config.ts, examples/app-showcase/src/automation/flows/index.ts, packages/cli/src/commands/serve.ts, packages/core/src/capability-composition.ts, packages/runtime/src/domains/mcp.ts, packages/types/src/env.ts

This is a delta review from 0ab1aaaa (full review: comment 6717563682, PASS with one should-fix). It judges only git diff 0ab1aaaa..1ff1c115. Everything else stands on that record.

① Derived judgments

  1. What moved. One commit, parent 0ab1aaaa, touching 2 files (+4/-3): the comment above requires in examples/app-showcase/objectstack.config.ts (L104-L108) and one comment line in serve.ts (L3003). The diff outside those two paths is empty. The three hits files, the changeset and the flows file are byte-identical to 0ab1aaaa.
  2. app-showcase note. The new text says a --preset minimal boot "drops messaging, and drops job only when email, approvals or auth is absent; there, list what it drops." I checked it against resolveServedCapabilities on the head. Step 4 skips the whole slate, messaging and job included, when the preset is minimal. Step 5 puts back job and queue when any token in NEEDS_JOB_AND_QUEUE (email, approvals, auth) is present. Only mcp and pinyin-search are host defaults, and no other path adds messaging. This app's requires (L109) declares approvals. So a minimal boot of this app drops messaging and keeps job (and queue). The note is true for this app and true in general, and it applies the should-fix from the full review.
  3. serve.ts wording. The new text is "with the env var off the route is not served". In mcp.ts, handleMcpRequest refuses an anonymous caller with 401 first (refuseAnonymousMcpCaller). When isMcpServerEnabled() is false, it then answers every admitted caller with 404, and no declaration is read on that path. So the route serves nothing in either case, and "not served" is the same term refuseAnonymousMcpCaller's TSDoc uses for that predicate. This clears the full review's nit about "answers 404". The rest of the comment still reads correctly. Default-on unless OS_MCP_SERVER_ENABLED opts out matches env.ts L633-L639 (unset means true). Declaring mcp still mounts MCPServerPlugin. The 501 rationale, where the route is served without the plugin, matches mcp.ts L115-L118.
  4. Neighbours unchanged and still consistent. The flow comments in flows/index.ts (L164, L425, L648) describe a generic requires: ['automation', 'triggers'] install. That install has none of the three tokens, so listing both under minimal is right there.
  5. PR body (read 2026-11-08T05:30Z, updated_at 05:30:07Z). § Gates names 1ff1c115 (103 × exit 0, re-derived identical, plus the example-showcase and cli typechecks). § Deviations records "should-fix from review 6717563682 applied in 1ff1c11 (two comments)". Rows 5 and 6 of the table now carry the new wording.

Gates (check-runs on 1ff1c115, read 2026-11-08T05:31Z): 45 runs: 13 success, 10 skipped, 22 in progress, 0 failed. The successes are PR-body guards, Check Changeset, Governed Surface Queue Guard, Spec property liveness, Lint · PM dispatch-gates, Lint · scoped · tooling self-tests, Dogfood Regression Gate, Plan Test Core shards, Flag docs, Check PR Size, Auto Label and filter. Still in progress: Build Core, Build UI Deps, Test Core 1-8/8, the four Type Check lanes, Lint · ESLint, docs & code guards, repo & tooling, CI/release/engine, both scoped slot and erasure lints, and Live E2E UI. This verdict covers the contract only. Merging still needs those checks to finish green.

② Semver level

No change. The delta is two comments, in a private example and in CLI source. Neither publishes behaviour. '@objectstack/skills': patch is unchanged and stays correct.

③ Boundary flags

  • Nit (optional): "only when email, approvals or auth is absent" means "when none of them is present". A stricter phrasing would be "unless email, approvals or auth is present". The surrounding text and this app's own approvals make the meaning clear.
  • The full review's out-of-surface items (the PLATFORM_ALWAYS_ON_CAPABILITIES TSDoc, the seed replace warning, eval coverage of signature) carry forward unchanged as follow-ups.

④ Design judgment

None of the three hits files moved between the heads. The ④ judgments in 6717563682 hold for 1ff1c115 as written. The two comments that moved now match the code they cite, which makes the change more accurate.

No must-fix. No should-fix.

Implemented-by: claude/project-thread-uuwdip
Reviewed-by: session_01J8VVAj7CvjkGXvgXzd6RZ7

VERDICT: PASS

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

domain:skills#3 · huangyiirene · session_01J8VVAj7CvjkGXvgXzd6RZ7

维护者速读

  • 改了什么: 平台技能 § Seed Data 把 mode 默认值改为 ignore;§ requires: 写明 --preset minimal 在声明 email、approvals 或 auth 时仍保留 job 和 queue;自动化技能 DocuSign 评测用例 1 的 expected_output 去掉它自己禁止的 connector-esign,回调改为带 config.signature 的 type: 'api' 流程。另三处只改注释(spec package-registry、os serve 的 requires: ['mcp']、app-showcase),app-showcase 的 requires 去掉常开的 messaging 和 job。7 个文件,+36/−26。
  • 为什么改: Platform skill and nearby code still misstate the minimal preset, the seed mode default and two capability comments #31299。这六处与 main 的代码不符,会教代理错误的默认值和过时的「需显式开启」读法(来自 docs(skills): list job, queue and messaging only under --preset minimal; name the mcp and pinyin-search host defaults #31297 复核的「其他位置」)。
  • 风险与回滚: 不改行为。平台 SKILL.md 删 Turso 行里一句重复来付字节,净 −40 B(5994/6011 tokens),不动棘轮;app-showcase 少列的两个能力默认预设下照样挂载。'@objectstack/skills': patch,可整 PR revert。
  • 先看: skills/objectstack-platform/SKILL.md L296 与 L366;skills/objectstack-automation/evals/integrations-declared.json 用例 1。
  • 两分钟验证: 对照 packages/spec/src/data/seed.zod.ts L207(SeedMode.default('ignore'))与 packages/core/src/capability-composition.ts 的 NEEDS_JOB_AND_QUEUE 读这两行;node scripts/check-skills-token-ratchet.mjs 全绿。
  • 需要你做的: 批准。check-governed-merges 判为 GOVERNED Tier H(skills/**),需 os-zhuang 或 hotlong 批准;契约复审全量 PASS 6717563682、增量 PASS 6717774623(Head-sha 1ff1c115)。
  • 席位意见: ACCEPT。

席位核对 — ACCEPT · domain:skills#3 · head 1ff1c115dc4cf1b3bf4043da452d781735173922

  1. 形态: draft → main,Fixes #31299;changeset '@objectstack/skills': patch,Clause-②: no,Metadata-protocol: none;assignee huangyiirene(认领 Account:);7 个文件,均在认领面内(认领 6717210182)。模型豁免句不点模型名。
  2. 前提实测: main e2e6ec7dc 上平台 SKILL.md § Seed Data 把 upsert 写作默认、§ requires: 写「minimal drops exactly those」;评测用例 1 的 expected_output 含 connector-esign 且缺 type: 'api';spec 的 package-registry 注释称「inert」,serve.ts 称 requires: ['mcp']「不受环境变量影响」。六处均与所引代码不符。
  3. 门禁(钉 head 1ff1c115): dispatch-gates 派生命令连同 example-showcase、cli 两个 typecheck 共 105 次运行,全部 exit 0(/mnt/project-files/card-31299/gates-1ff1c115.txt);token ratchet:平台 SKILL.md 5994/6011;trailers exit 0;check-runs 68 条全部完成:57 success、11 skip、0 失败;check-governed-merges --pr 31377 exit 3:GOVERNED Tier H。复核:全量 6717563682 PASS(一条 should-fix)、增量 6717774623 PASS,无 must-fix。
  4. 接受的偏差: 全量复核的 should-fix(app-showcase 注释读来像本卡要纠正的「drops exactly those」)与 nit(serve.ts「answers 404」漏了匿名调用先得 401)已在 1ff1c115 改正,增量复核确认。增量的可选 nit(「only when … is absent」可写作「unless … is present」)不改,含义无歧义。
  5. 范围外去向: 复核列出的其他位置立卡 platform: two lines still misstate the minimal preset and seed replace mode (platform-capabilities.ts L348 TSDoc; platform SKILL.md Seed Data "replace ⚠️ data loss") #31379(platform-capabilities.ts L348 PLATFORM_ALWAYS_ON_CAPABILITIES 的 TSDoc 说 minimal「opts out entirely」不完整;平台 § Seed Data 给 replace 标「data loss」与枚举注释和 seeds.md 不符)。评测用例补 signature 的 must_contain 只是加强,不是缺陷,不立卡。
  6. 落地条款: Tier H。保持 draft;批准后由维护者翻 ready 入队,或按 landing-operations.md 由本席落地。

@objectstack-fleet objectstack-fleet Bot added the pm:awaiting-merge PR only: landing waits on the maintainer's own review and merge (SKILL.md 复核 ②); never on an issue label Nov 8, 2026
@os-zhuang
os-zhuang marked this pull request as ready for review November 8, 2026 06:20
@os-zhuang
os-zhuang added this pull request to the merge queue Nov 8, 2026
Merged via the queue into main with commit e863251 Nov 8, 2026
77 of 78 checks passed
@os-zhuang
os-zhuang deleted the claude/project-thread-uuwdip branch November 8, 2026 06:50
@objectstack-fleet objectstack-fleet Bot removed the pm:awaiting-merge PR only: landing waits on the maintainer's own review and merge (SKILL.md 复核 ②); never on an issue label Nov 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation size/s tooling Fix lands in tooling, not a product package — enters pm:queue only with Unblocks: or a named surface

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Platform skill and nearby code still misstate the minimal preset, the seed mode default and two capability comments

3 participants