Repository navigation
docs(skills): name ignore as the seed mode default and the minimal-preset job/queue exception; correct three capability comments - #31377
Conversation
…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
📓 Docs Drift Check1 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
Coarse fallback — 180 page(s) merely mention a changed package (the pre-#9192 predicate, kept for the deliberately-wide backstop): Which tree this was computed onThis run read A worktree cut from an older # 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 |
|
domain:skills#3 · huangyiirene · session_01J8VVAj7CvjkGXvgXzd6RZ7 Contract reviewServed-tier: Read: card #31299 body, triage 6715435570, claim 6717210182; PR #31377 body and its 7 files; net diff against merge base ① Derived judgments
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 ② Semver level
③ Boundary flags
④ Design judgment
No must-fix. Implemented-by: 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
|
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. |
|
domain:skills#3 · huangyiirene · session_01J8VVAj7CvjkGXvgXzd6RZ7 Contract reviewServed-tier: This is a delta review from ① Derived judgments
Gates (check-runs on ② Semver levelNo change. The delta is two comments, in a private example and in CLI source. Neither publishes behaviour. ③ Boundary flags
④ Design judgmentNone of the three No must-fix. No should-fix. Implemented-by: VERDICT: PASS |
|
domain:skills#3 · huangyiirene · session_01J8VVAj7CvjkGXvgXzd6RZ7 维护者速读
席位核对 — ACCEPT · domain:skills#3 · head
|
Requested by Irene · project thread
Fixes #31299
Clause-②: no
Metadata-protocol: none
dispatch-gates --tierreads a contract-review model mandate forskills/**(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.维护者速读
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/skillspatch;回滚即 revert。skills/objectstack-platform/SKILL.mdL296 与 L366;然后skills/objectstack-automation/evals/integrations-declared.json用例 1。packages/spec/src/data/seed.zod.tsL207(SeedMode.default('ignore'))和packages/core/src/capability-composition.tsL86、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-sha1ff1c115),席位已 ACCEPT。The six sites, before and after
maine2e6ec7dcskills/objectstack-platform/SKILL.mdL366, § Seed Dataupsertnamed as themodedefaultignorenamed as the default; all five modes still listed (byte-neutral swap)packages/spec/src/data/seed.zod.tsL207mode: SeedMode.default('ignore');skills/objectstack-data/references/seeds.md§ Import modes already saysignore(default)requires:--preset minimaldrops exactly those"--preset minimaldrops them;email,approvalsorauthkeepsjobandqueue"packages/core/src/capability-composition.tsL86NEEDS_JOB_AND_QUEUE = ['email', 'approvals', 'auth'], L130-L138: the slate is skipped underminimal, thenjobandqueueare put back when any of those tokens is present; its callers areserve.tsL3016,verify/src/required-providers.tsL138 andcli/src/utils/schema-migration-plugins.tsL2012skills/objectstack-automation/evals/integrations-declared.jsoncase 1expected_outputused the forbiddenconnector-esignand lacked the requiredtype: 'api'; it also named a "gap" (Connect's own header unverified, status polled)type: 'api'flow with a start-nodesecretRef, and itsconfig.signaturenames DocuSign Connect's own header (…), so status changes arrive verified instead of polled"; the gap sentence is gone. Assertions unchangedskills/objectstack-automation/SKILL.mdL364 ("Vendor-signed:config.signaturereplaces it (recipe 4)"), L419-L420;references/integration-recipes.mdL130-L133 (theX-DocuSign-Signature-1block);packages/spec/src/automation/api-trigger-signature.test.tsL86packages/spec/src/kernel/platform-capabilities.tsL385-L392, the'package-registry'slate notemarketplace, not this token, so underobjectstack servethis entry is inert until the runtime half … lands"CAPABILITY_PROVIDERS(@objectstack/core), which keys this token atPackageServicePlugin, the provider the spec row declares and the same onemarketplaceresolves to; a stock boot mounts it, one instance whenmarketplaceis also declaredpackages/core/src/capability-providers.tsL174-L178 ('package-registry'row) and L164-L173;serve.tsL5161-L5167 (resolverMounted);capability-composition.tsL130-L133. Comment onlypackages/cli/src/commands/serve.tsL3002requires: ['mcp']in config works regardless of the env var."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.tsL107-L110)packages/runtime/src/domains/mcp.tsL112-L114 (404 wheneverisMcpServerEnabled()is false);core/src/capability-providers.tsL154-L158 (a declaredmcpmountsMCPServerPlugin); CHANGELOG "New single decision pointisMcpServerEnabled()" (packages/cli/CHANGELOG.mdL42383). Comment onlyexamples/app-showcaseobjectstack.config.tsL95-L101 describedmessagingandjobas needed, L109 listed both;src/automation/flows/index.tsL163-L165, L423, L647 told the reader to install themrequiressays both are always-on, that a--preset minimalboot dropsmessagingand dropsjobonly whenemail,approvalsorauthis absent (this app declaresapprovals), and to list there what it drops, and both entries are removed fromrequires; the three flow comments say the samepackages/spec/src/kernel/platform-capabilities.tsPLATFORM_ALWAYS_ON_CAPABILITIES;capability-composition.tsL130-L133Case 3, in diff form (one JSON line, shown as the changed phrases):
After the edit every
must_containentry is in the case'sexpected_outputand nomust_not_containentry is. Themust_not_containlist keepsconnector-esignunchanged, 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 throughconfig.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 whymessagingandjobare onPLATFORM_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.mdL351). Nothing else reads the example'srequireslist: no example test,e2e,qaorscriptsfile 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.jsonL94, 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))maine2e6ec7dcskills/objectstack-platform/SKILL.mdlibsql://URLs but fails loudly"), andskills/objectstack-platform/references/operations.mdL152 (driver-turso(cloud / EE only)). § Driver Selection Guide is not registered incheck-skill-identifier-liveness.mjsorcheck-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.mjsis untouched. No rewrap: every untouched line is byte-identical tomain. L333 (authimpliesemail) and L338 (pairtriggerswithjobunder minimal) stay true and are not restated: underminimal,triggersalone still mounts nojob.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.signatureverification (skills/objectstack-automation/SKILL.mdL364,references/integration-recipes.mdL130-L133).Deviations
Sweep
skills/objectstack-platform/evals/andskills/objectstack-data/for a seedupsertdefault: none.objectstack-data/references/seeds.md§ Import modes and the generatedcontent/docs/references/data/seed.mdxalready sayignore(default).skills/**for "drops exactly" or another unqualified minimal-preset claim:objectstack-platform/evals/config-plugins-ops.jsoncase 3 says "Only a--preset minimalboot drops them" ofjobandmessaging. Its prompt involves noemail,approvalsorauth, so it stays true; left alone. The case at L340 (storage,settings) is outside the exception.skills/**and every eval forconnector-esign: only the case fixed here.requires: ['mcp']serves the route with the env flag off: none.content/docs/ai/connect-mcp.mdxL542 already says the 404 means the surface is disabled. So item 5 stays a comment fix, not adomain:servercard.//comment inside the array, not a TSDoc block, and no file undercontent/docs/carries its old text.check:docsandcheck:skill-refsexit 0.Other sites found (not edited)
packages/spec/src/kernel/platform-capabilities.tsL348, the TSDoc ofPLATFORM_ALWAYS_ON_CAPABILITIES: "objectstack serve --preset minimalopts out entirely". That is true of the slate but leaves out thejob/queueput-back ofNEEDS_JOB_AND_QUEUE. It is outside this card's one-comment surface.Changeset
.changeset/platform-skill-seed-default-minimal-preset.md:'@objectstack/skills': patch, withClause-②: noandMetadata-protocol: none. No@objectstack/specor@objectstack/clientry: their edits are comments only,Check Changesetcounts 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-showcaseisprivate.Gates
node scripts/pm/dispatch-gates.mjs --commands --repo objectstack-ai/objectstackderived 103 commands against merge basee2e6ec7dc. All 103 ran on head0ab1aaaa, and again, re-derived identical, on head1ff1c115(the contract review's should-fix, two comment edits) after a fullpnpm build(exit 0), underNODE_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 filescard-31299/gates-0ab1aaaa.txtandcard-31299/gates-1ff1c115.txt(the latter also carriesexample-showcaseandclitypecheck, exit 0).The order's named checks:
pnpm check:skill-identifier-liveness,pnpm --filter @objectstack/spec run check:skill-refsandnode 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 0pnpm --filter @objectstack/example-showcase run typecheck:: exit 0pnpm --filter @objectstack/example-showcase test:: exit 0 (544 passed)pnpm --filter @objectstack/cli run typecheck:: exit 0pnpm --filter @objectstack/spec exec tsc --noEmit:: exit 0node scripts/check-commit-card-trailers.mjs --range origin/main..HEAD:: exit 0node scripts/pm/check-governed-merges.mjs --branch HEAD:: Tier H (skills/**×2)origin/mainmoved tof4b4c8aebduring the run. Onlyserve.tschanged underneath this diff, away from the edited sentence, andgit merge-treemerges cleanly.🤖 Generated with Claude Code
https://claude.ai/code/session_01J8VVAmBZAddKTWUJs6Xnq2