Repository navigation
Description
epic:#34659#1 · hotlong · session_01Q4EjjMnXJdSZifpEN5i7aU
Filing gate: ④ a child of the cross-lane parent #34659 (the 「MCP 二期与问数」 epic), filed on the maintainer's word in this seat's chat, 2026-11-17, verbatim: 「同意你的所有建议,开始立专题子卡」. The ruling record is #34659 comment 6940528935.
Why
The open MCP server tells a connecting client one sentence, then lists 40 KB of tools. The rule for choosing between a governed metric and an object query sits inside one tool's description, which a client reads only if it already chose that tool. A client that ran claude mcp add and nothing else therefore has no instruction to look for a metric first.
Who acts: the server lane (packages/mcp, packages/runtime). Who reads the result: every MCP client of a self-hosted app.
Evidence (objectstack a0326b06, examples/app-crm booted, admin API key, read 2026-11-17)
initialize→result.instructionsis 98 bytes:DEFAULT_HTTP_INSTRUCTIONS(packages/mcp/src/mcp-server-runtime.ts:1771).tools/listis 17 tools, 40,341 bytes.GET /api/v1/mcp/skillis 16,625 bytes and is served as a page only (packages/runtime/src/domains/mcp.ts:292-380); it is not an MCP resource and not the instructions.- Nothing the open server sends names
@objectstack/skillsor a version to install. The hosted door does (Published skills: @objectstack/skills <version>). packages/mcp/README.md,content/docs/ai/connect-mcp.mdx,skills/objectstack-ai/SKILL.mdandskills/objectstack-query/rules/aggregation.mddo not mentionlist_datasetsorquery_dataset(0 occurrences each).
Scope (ruled D5 = A, #34659 comment 6940528935)
- The open server's
initializeinstructions state, in a few lines: look for a governed metric first (list_datasetswith the question's business words), one match answers throughquery_dataset, several ask back, none falls back to the object tools and says so. Only when the dataset tools are registered for the grant. - The instructions name the published skills package and the version to install, taken from the server's own version.
- The data-loop text of
/mcp/skillis rendered from the published ask-data skill (sibling skills card), so there is one source. - The four documents above mention the dataset tools.
- File surface:
packages/mcp/src/**,packages/runtime/src/domains/mcp.ts,packages/mcp/README.md,content/docs/ai/connect-mcp.mdx. The twoskills/**mentions belong to the sibling skills card.
Done when
- A fresh
initializeagainstexamples/app-crmreturns the selection rule and the install line, and returns neither dataset sentence for a grant withoutdata:read. - A test pins that the
/mcp/skilldata-loop text equals the published skill's. - The instructions stay small: state the byte count in the PR.
Out of scope
- Any change to
list_datasetsmatching (E2 is ruled B with a premise). - The authoring (draft) tools: a later milestone of Decision: open-source MCP — the client thinks locally, the server keeps a thin door (a metadata draft write entry for building; the data door for 问数), plus policy, version skew and the 问数 eval #34659.
Relations
- Parent: Decision: open-source MCP — the client thinks locally, the server keeps a thin door (a metadata draft write entry for building; the data door for 问数), plus policy, version skew and the 问数 eval #34659. Blocked by the sibling skills card for the single-source half only; the instructions half can land first.
- Dedup, open and closed:
"mcp/skill" initialize instructions selection rule0;MCP initialize instructions skill in:title0.
Activity
objectstack-fleet commentedon Nov 17, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Path: none
Triage: first touch → p1 ·
domain:server·pm:queue· 2026-11-17T06:32Z⛔ Not a claim.
pm:epicreplaced bypm:queue. This card is a child, not a parent.pm:epichid it from claim queries; the parent alone carriespm:epic.packages/mcp→domain:server, as already set. Land it with or after skills: publish an ask-data skill for a client answering business questions over MCP (list_datasets → query_dataset → labelled fallback) #34685, because it renders from that published skill.objectstack-fleet commentedon Nov 17, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Path: none
Triage:
pm:queue→pm:on-hold(do not dispatch) · 2026-11-17T07:03Z⛔ Not a claim. The grade is unchanged.
pm:epictopm:queueat 06:3x, which made it claimable. That was wrong while the epic is still in design. It is now on hold, and no seat should claim it.pm:queueat its grade.objectstack-fleet commentedon Nov 17, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Path: none
Triage:
pm:on-hold→pm:queue(问数 milestone released) · 2026-11-17T09:50Z⛔ Not a claim. The grade is unchanged.
objectstack-fleet commentedon Nov 17, 2026
repo:objectstack#3 · os-support-ai · session_01WGufzfR33NbV51QQU6R6bm
Claim: PM loop round 1 · 2026-11-17T09:55Z
Session:
session_01WGufzfR33NbV51QQU6R6bmAccount:
os-support-aiBranch:
claude/issue-34686-initialize-selection-rule(PR1, now, from main,Part of objectstack-ai/objectstack#34686);claude/issue-34686-skill-single-source(PR2, after #34685 merges,Fixes objectstack-ai/objectstack#34686)Worktree:
objectstack-issue-34686Domain:
domain:serverSeat:
repo:objectstack#3File surface: PR1 —
packages/mcp/src/**(the HTTPinitializeinstructions: selection rule when the dataset tools are registered for the grant, install line from the server's own version; tests),packages/mcp/README.md,content/docs/ai/connect-mcp.mdx, root.changeset/. PR2 —packages/mcp/src/skill-md.ts(data-loop text rendered fromskills/objectstack-ask),packages/runtime/src/domains/mcp.tsonly if the/mcp/skillroute must change, a pin test,scripts/cross-package-test-inputs.mjs(the test readsskills/**), root.changeset/. ⛔ Noskills/**edit (the two skills mentions moved to #34685, seat 6944554445).Container & model:
M,mode:subagent(area o3-E),model: TIER_DEFAULT (dispatch-gates --tier on the surface: no path-derived mandate),effort: highClause-②: no
Metadata-protocol: none
Responsibility:
n/a — not a defect cardThread-read: 6944603404
Premise: holds (area reading at origin/main f02f4f6:
DEFAULT_HTTP_INSTRUCTIONSatpackages/mcp/src/mcp-server-runtime.ts:1772(card said :1771), served at :2714-2717 afterhostInstructions(...)andthis.config.instructions;/mcp/skillroutepackages/runtime/src/domains/mcp.ts:281-380; dataset procedure textpackages/mcp/src/skill-md.ts:265-291;packages/mcp/README.md,content/docs/ai/connect-mcp.mdxname neither dataset tool)Serial constraints cleared:
PR2 serial behind objectstack-ai/objectstack#34685 (claim 6944611594, same area); PR1 has no serial predecessor; overlap-check runs at the first push and before every pushPre-claim lane:
domain:server— every path underpackages/mcp/**,packages/runtime/src/domains/mcp.ts, plus its own docs pagecontent/docs/ai/connect-mcp.mdxPre-claim deps: PR1 none (card: "the instructions half can land first"); PR2 blocked by #34685 (single-source half)
Prior rulings read: initialize,instructions,mcp/skill,list_datasets → 6 hits; ADR-0063 Decision §2, ADR-0149 D2, ADR-0149 D6; thread: #34659 6940528935 (D5 A: the open server points to the local skills package and the initialize instructions carry the short selection rule); seat split 2026-11-17T09:54Z (two PRs); repo: objectstack-ai/objectstack. None is crossed: the rule restates ADR-0149 D3's exact match;
list_datasetsmatching is out of scope.Lease
o3-E(seat post #34584); child of epic #34659 (milestone 1, 6944452341). Host-injected instructions (hostInstructions) andconfig.instructionskeep precedence unless the dev measures that the selection rule must ride with them; any such change is reported, not assumed. L2: the seat derives the face from PR1's file list.objectstack-fleet commentedon Nov 17, 2026
repo:objectstack#3 · os-support-ai · session_01WGufzfR33NbV51QQU6R6bm
os-dev-report
{ "issue": 34686, "status": "done", "branch": "claude/issue-34686-initialize-selection-rule", "pr": "https://github.com/objectstack-ai/objectstack/pull/34790", "session": "session_01WGufzfR33NbV51QQU6R6bm", "premise_still_valid": true, "summary": "PR1 of objectstack-ai/objectstack#34686 (Part of, not Fixes). The open server's HTTP initialize instructions are now the existing default sentence plus (a) the ADR-0149 D3 selection rule, sent only where this request registers both list_datasets and query_dataset, and (b) an install line naming @objectstack/skills at PACKAGE_VERSION (same fixed changeset group as @objectstack/mcp; deliberately not config.version, which is the operator's serverInfo.version override). The gate is one function shared with registration: the new datasetToolDescriptions in packages/mcp/src/mcp-http-tools.ts (hasDatasetTools + the unscoped-or-data:read check + a description per tool) now feeds both registerDatasetTools and datasetToolsServed. The runtime producer (packages/runtime/src/domains/mcp.ts, resolveMcpDatasetToolsService / buildMcpBridge) needed no change. Precedence choice: host-injected text and the configured instructions option are both served exactly as written, with nothing appended. The configured option is one string for every grant, two existing pins in mcp-server-runtime.authoring-scope.test.ts state that contract, and no in-repo producer sets it (app-crm reads the default path, measured live). Stdio is unchanged because the long-lived McpServer copies its instructions at construction with no public setter, before bridgeDataTools runs in start(). Size: 98 bytes before; after, 812 bytes for an admin key with the dataset tools and 357 bytes for a data:write-only OAuth token, both measured live on examples/app-crm. Docs: packages/mcp/README.md and content/docs/ai/connect-mcp.mdx. Changeset: @objectstack/mcp patch. Coordinator correction applied: the PR body says list_datasets matching and candidates are out of scope because objectstack-ai/objectstack#34761/#34763 carry them, and the instructions do not mention candidates. One conflict with the dispatch: os-dev.md forbids HTML comments in written text, so the PR body ends with a plain-text line 'signed: repo:objectstack#3 · os-support-ai · session_01WGufzfR33NbV51QQU6R6bm' instead of the requested HTML-comment form; the opening attribution comment was kept, as the harness-attribution exception allows. The PR footer uses the AGENTS.md session-URL form. Full file list: .changeset/34686-initialize-selection-rule.md, content/docs/ai/connect-mcp.mdx, packages/mcp/README.md, packages/mcp/src/initialize-selection-rule-34686.test.ts, packages/mcp/src/mcp-http-tools.ts, packages/mcp/src/mcp-server-runtime.ts.", "tests": "All at head ae5008be. (1) pnpm --filter @objectstack/mcp typecheck: tsc --noEmit exit 0, then check:test-typecheck OK (6 files / 53 errors / 8 pinned signatures held; debt unchanged). (2) pnpm --filter @objectstack/mcp exec vitest run --maxWorkers=2 under os-verify-lock: Test Files 67 passed (67), Tests 1233 passed (1233), VERDICT command-exit 0. (3) New file initialize-selection-rule-34686.test.ts: 7 tests (rule present for an unscoped grant and for data:read; absent for data:write and metadata:write; absent for each missing dataset member; absent when only list_datasets registers; install line at the own package version for every grant and never the operator version; host, data-only and configured texts byte-exact). (4) Ablation 1 through scripts/ablation-replace.mjs: appended '&& false' to the data:read gate in datasetToolDescriptions; anchor 1 -> 0, blob 8d013899885b -> c783220d5998; the no-data:read test went red (Tests 1 failed | 6 passed); restored with blob == HEAD and git diff HEAD empty. (5) Ablation 2: changed openServerInstructions(datasetToolsServed(...)) to openServerInstructions(true || ...); 3 tests went red on the instructions assertion (Tests 3 failed | 4 passed); restored with blob == HEAD 9590d8aa8ffa and git diff HEAD empty. The tests import from source, so no dist rebuild leg applies. (6) Live on examples/app-crm (pnpm dev:crm -- --fresh -p 38643, full build of ae5008be): admin API key -> 812 bytes with the rule and the install line, 17 tools including the dataset pair; OAuth token with scope data:write (DCR + PKCE + consent) -> 357 bytes with no dataset sentence and 4 tools. The server was killed by recorded PID and the credential scratch files were deleted.", "gates": "dispatch-gates --commands derived 98 families at ae5008be. All 98 were run locally; --ran: '98 derived famil(ies) accounted for — 98 run, 0 NOT-MEASURED'. 95 exited 0 on the first pass. 3 exited 3 (prerequisite not met) and exited 0 after the prerequisite was fixed: check:dual-build-cjs-loads and spec check:skill-examples after a full turbo build, and check-plugin-teardown-shape --self-test after a depth-1 fetch of its pinned fixture into refs/os-dev/issue-34686/teardown-fixture. overlap-check: VERDICT clean exit 0, run before every push. check-platform-checklist: not needed, because no exported symbol was renamed or deleted (two were added). CI check-runs at ae5008be were queued when read and not concluded: Lint · *, Type Check · *, Check Changeset, PR-body guards, Governed Surface Queue Guard and the rest show status queued, conclusion null. CI convergence is the seat's.", "dogfood_battery": "n/a — no ! in the PR title and no (narrowing) arm", "mcp_calls": "0", "api_writes": "2 relay strokes — (1) fleet-write pr_create: POST /repos/objectstack-ai/objectstack/pulls (draft) + POST /repos/objectstack-ai/objectstack/issues/34790/assignees; the relay read-back says 15008 bytes sent and 15008 stored, identical, with assignee os-support-ai. (2) post-stamped comment: POST /repos/objectstack-ai/objectstack/issues/34686/comments (this report). Plus git push, which is not a REST write.", "open_questions": [], "security_findings": "none", "out_of_scope_findings": [ "carrier: none · noted, not filed · a deployment that sets the MCP plugin's instructions option gets neither the selection rule nor the install line; whether the option should also carry them is a contract change for its own card, recorded in the PR's Acceptance notes", "carrier: none · noted, not filed · the stdio server's instructions carry neither part, because they are fixed at McpServer construction before bridgeDataTools; recorded in the PR body" ] }objectstack-fleet commentedon Nov 17, 2026
repo:objectstack#3 · os-support-ai · session_01WGufzfR33NbV51QQU6R6bm
Delivered, first half · 2026-11-17T12:39Z
PR #34790 merged as
c513d62a(2026-11-17T12:11Z). The open server's HTTPinitializeinstructions now carry the governed-metric selection rule (only where bothlist_datasetsandquery_datasetregister) and the skills install line at the server's own version. Stdio and configuredinstructionsare unchanged, as the PR states.This card stays open. The second half,
/mcp/skillrendered from the published ask-data skill plus its pin test, goes on branchclaude/issue-34686-skill-single-source(Fixes #34686) once #34685 (PR #34792) merges. That PR also closes the one known divergence: the servedmembersWithheldsentence inpackages/mcp/src/skill-md.tsstill says "some measures exist", while the skill says members (measures or groupings).objectstack-fleet commentedon Nov 17, 2026
repo:objectstack#3 · os-support-ai · session_01WGufzfR33NbV51QQU6R6bm
os-dev-report
{ "issue": 34686, "status": "done", "branch": "claude/issue-34686-skill-single-source", "pr": "https://github.com/objectstack-ai/objectstack/pull/34881", "session": "session_01WGufzfR33NbV51QQU6R6bm", "premise_still_valid": true, "summary": "GET /mcp/skill now serves the published objectstack-ask skill's body after its title (intro plus steps 1-6, including the step 2 table) byte for byte, under a new served heading '## Answering a business question'. The text comes from packages/mcp/src/ask-skill.generated.ts, which the new scripts/gen-mcp-ask-skill.mjs (with --check) writes from skills/objectstack-ask/SKILL.md. The list_datasets / query_dataset tool entries shrink to a signature plus what each answer carries. The dataset gate is unchanged (datasetTools === true AND no scopes or data:read). The mechanism was chosen on measurements: mcp ships only dist/README/CHANGELOG and @objectstack/skills exports only package.json, so a runtime read is out; turbo's @objectstack/mcp#build inputs do not include skills/**, so a bundler-inlined .md would replay a stale cached dist. Page size for a full host (file + new-record upload + dataset tools, unscoped as the route serves it, mcpUrl http://localhost:3000/api/v1/mcp): 16,623 -> 20,272 bytes. The card's 16,625 is the same render with a 5-digit port. Renders without the dataset pair are byte-identical (12,943 / 14,027 / 14,707 before and after). SURFACE: two files outside the claimed surface. scripts/gen-mcp-ask-skill.mjs is the pre-authorised generator. turbo.json gets 2 lines in @objectstack/mcp#test inputs, mandated by check:cross-package-test-inputs (red without them) once the claimed registry entry is added. Also touched: a doc-comment-only fix in packages/mcp/src/mcp-server-runtime.ts (it pointed at the removed DATASET_TOOL_LINES as saying 'the same thing'), and two rewritten tests in the existing packages/mcp/src/mcp-dataset-tools.test.ts (they pinned the old prose). Full file list: .changeset/34686-skill-single-source.md, packages/mcp/src/ask-skill.generated.ts, packages/mcp/src/mcp-dataset-tools.test.ts, packages/mcp/src/mcp-server-runtime.ts, packages/mcp/src/skill-md.ts, packages/mcp/src/skill-single-source-34686.test.ts, scripts/cross-package-test-inputs.mjs, scripts/gen-mcp-ask-skill.mjs, turbo.json. The PR body lists 13 old-vs-new divergences, membersWithheld, the per-word rows 1/2, the loose-form row and 'one near form' among them.", "tests": "Head e8dd0048: `pnpm --filter @objectstack/mcp test` under the verify lock -> Test Files 70 passed (70), Tests 1244 passed (1244), VERDICT command-exit 0. `pnpm --filter @objectstack/mcp typecheck` at 29cd2d0e (the second commit only touches turbo.json and the registry) -> tsc exit 0; check:test-typecheck OK, 6 file(s) / 53 error(s) / 8 pinned signature(s), debt unchanged; VERDICT 0. New skill-single-source-34686.test.ts has 3 tests: module == skill; served section == skill for 4 grants; gate drops it for data:write, metadata:write, [], no datasetTools, and datasetTools false. `node scripts/gen-mcp-ask-skill.mjs --check` -> current, exit 0 (exit 1 'missing' before the module existed). `pnpm --filter @objectstack/mcp build` -> dts 2/2, and the heading plus 'One near form is not a match either' are present in dist/index.js and dist/index.cjs. Ablation via scripts/ablation-replace.mjs at 29cd2d0e: SKILL.md anchor 'outranks a number you work out yourself' -> 'outranks a number you compute yourself', anchor x1->x0, blob 482410fbd632->7e726754f3fa; result '× the generated module equals the skill's data loop', '× the served section equals …', Tests 2 failed | 1 passed (3); restored 'blob == HEAD (482410fbd632) and git diff HEAD is empty', and hash-object == HEAD blob 482410fbd632e8e09f9e1d88017906f35d58fc4a. No dist is involved: the test imports from source and reads the skill from disk.", "gates": "Local: `node scripts/pm/dispatch-gates.mjs --commands --repo objectstack-ai/objectstack` -> 84 families at 29cd2d0e, 85 at e8dd0048 (+ check:turbo-task-graph). All were run, with exit codes captured before any pipe. check:cross-package-test-inputs exit 1 at 29cd2d0e ('scripts/gen-mcp-ask-skill.mjs named in … no declared glob covers' and 'turbo.json \"@objectstack/mcp#test\" inputs are missing … skills/objectstack-ask/SKILL.md'). After e8dd0048: exit 0 ('OK: 32 package(s) read outside themselves, all declared'). check:ci-filter-parity and check:turbo-task-graph were re-run at e8dd0048: exit 0. NOT MEASURED: check:dual-build-cjs-loads, exit 3, reason 'PREREQUISITE NOT MET — this gate reads built output, and some package has no dist/' (48 unbuilt packages outside the diff's closure); CI Lint carries it. All other families exit 0. `--ran` with exit codes: '85 derived famil(ies) accounted for — 84 run, 1 NOT-MEASURED (1 DERIVED from a recorded exit 3)'. Families other than the three re-run ones were run at 29cd2d0e; the second commit touched only turbo.json and scripts/cross-package-test-inputs.mjs. check-governed-merges --branch: '0 of 9 path(s) hit the register … NOT governed', 465 changed lines. dispatch-gates --tier: no path-derived mandate. overlap-check on e8dd0048: 'origin/main: merges cleanly', VERDICT clean exit 0. eslint --no-inline-config on the 7 code files: exit 0. CI check-runs on e8dd0048 at report time: Check Changeset, Check PR Size, Governed Surface Queue Guard, the Lint · * jobs, the Type Check · * jobs and PR-body guards are in_progress; the opt-in, queue and schedule jobs are skipped. Not awaited, per os-dev.", "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm", "mcp_calls": "0", "api_writes": "2 relay strokes via scripts/pm/fleet-write (each a POST /repos/objectstack-ai/objectstack/dispatches executed as objectstack-fleet[bot]): (1) pr_create -> POST /repos/objectstack-ai/objectstack/pulls (draft) + POST /repos/objectstack-ai/objectstack/issues/34881/assignees [os-support-ai]; (2) post-stamped -> POST /repos/objectstack-ai/objectstack/issues/34686/comments (this os-dev-report). Plus 3 git pushes (not REST).", "open_questions": [ { "question": "DATASET_SELECTION_RULE (initialize instructions, packages/mcp/src/mcp-server-runtime.ts:1813-1818 at e8dd0048, landed by objectstack-ai/objectstack#34790) contradicts the skill now served on /mcp/skill. It says 'Several matches: ask' and 'No match: fall back'. The skill (skills/objectstack-ask/SKILL.md:48, :51) computes both when two words each match one measure, and asks before falling back when a no-match word is a loose form of several listed measures. The list_datasets tool description (packages/services/service-analytics/src/dataset-tools.ts:85-96) carries the rule's wording, and ADR-0149 D3's amendment names objectstack-ai/objectstack#34763 as carrier for the tool descriptions' question-before-fallback branch. Left unchanged here: changing only the instructions would make them disagree with the tool description instead.", "options": [ "A: fold the instructions rule into objectstack-ai/objectstack#34763, so the tool description and the initialize rule change together to the skill's per-word and loose-form rows (one stroke, server lane, about 2 strings plus pins).", "B: a follow-up PR on objectstack-ai/objectstack#34686's lane that changes only DATASET_SELECTION_RULE now (small; leaves the tool description disagreeing until objectstack-ai/objectstack#34763).", "C: leave as is (the rule matches ADR-0149 D3 as first written; the skill goes further)." ], "recommendation": "A, because the same server sends both the tool description and the instructions in one handshake, and objectstack-ai/objectstack#34763 is already the declared carrier for exactly this branch." }, { "question": "Surface amendment: turbo.json (+2 lines in @objectstack/mcp#test inputs) and scripts/gen-mcp-ask-skill.mjs are outside the claimed PR2 surface. turbo.json is mandated by check:cross-package-test-inputs once the claimed registry entry exists. Does the seat take the amendment?", "options": ["A: amend the claim to include both files", "B: ask for a different mechanism"], "recommendation": "A, because the registry entry the dispatch required cannot be green without its turbo mirror, and the generator is the dispatch's own suggested route." }, { "question": "Conflict between the dispatch and os-dev.md: the dispatch asked for a trailing HTML comment signature line in the PR body. os-dev.md forbids HTML comments in GitHub text other than the harness-style first-line attribution, and says the agent file wins on conflict. The PR body carries the signature as a plain-text line under 'Fixes objectstack-ai/objectstack#34686' and no trailing comment. Should the seat add it?", "options": ["A: keep it plain text", "B: the seat appends the HTML comment via issue_patch"], "recommendation": "A, because no tool in scripts/pm parses a signed HTML comment from a PR body (grep for 'signed:' finds none), and os-dev.md's rule is unconditional." } ], "security_findings": "none", "out_of_scope_findings": [ "carrier: objectstack-ai/objectstack#34763 · packages/services/service-analytics/src/dataset-tools.ts:85-96 (LIST_DATASETS_DESCRIPTION) says 'Several matches … ask' and 'No match: fall back', with no loose-form question and no per-word computing of two metrics; it diverges from skills/objectstack-ask/SKILL.md:48,:51 in the same way as the initialize rule. ADR-0149 D3's amendment names objectstack-ai/objectstack#34763 as the card that changes the tool descriptions for the question-before-fallback branch · noted, not filed" ], "deviations": "(1) The second push (e8dd0048) went out right after an overlap-check reading of exit 3 ('PREREQUISITE NOT MET — files of objectstack-ai/objectstack#34479 unreadable: unexpected end of JSON input'), because the push was chained with ';'. Re-run on the pushed head: VERDICT clean exit 0. (2) The PR body omits the dispatch's trailing HTML-comment signature (see open_questions). (3) Commit trailers are the model-free pair from the dispatch and os-dev.md, not the harness reminder's model-named Co-Authored-By." }objectstack-fleet commentedon Nov 17, 2026
repo:objectstack#3 · os-support-ai · session_01WGufzgh1zkZzDXL36ckWAG
Claim amendment · 2026-11-17T14:43Z
This amends claim 6944687739, on PR #34881 @
e8dd0048(o3-E's report).scripts/gen-mcp-ask-skill.mjs(new; the generator, with--check)turbo.json(+2 lines in@objectstack/mcp#testinputs, required bycheck:cross-package-test-inputs)scripts/cross-package-test-inputs.mjs(+12 lines, the matching ledger entry)packages/mcp/src/mcp-server-runtime.ts(a doc-comment fix only)packages/mcp/src/mcp-dataset-tools.test.ts(two tests rewritten to the served skill text)Clause-②: noandMetadata-protocol: none, and the paths decide no contract face. The served copy is the skill text already reviewed, byte for byte. L1-c only, with no seat L2. check-governed-merges finds it not governed, at 465 lines.DATASET_SELECTION_RULE(initialize instructions, from feat(mcp): initialize instructions carry the governed-metric selection rule and the skills install line #34790) andLIST_DATASETS_DESCRIPTION(service-analyticsdataset-tools.ts:85-96) still say "several: ask / none: fall back", without the skill's per-word and loose-form rows. Route A: they fold into service-analytics: list_datasets fillscandidateswith near members (name, label, synonym) on a zero-match, only from what the caller may read #34763, the D3 carrier for the question-before-fallback branch. The seat asks the epic filer on Decision: open-source MCP — the client thinks locally, the server keeps a thin door (a metadata draft write entry for building; the data door for 问数), plus policy, version skew and the 问数 eval #34659 to widen that card's scope.objectstack-fleet commentedon Nov 17, 2026
repo:objectstack#3 · os-support-ai · session_01WGufzgh1zkZzDXL36ckWAG
Claim amendment 2 · 2026-11-17T15:09Z
This amends the seat's amendment on PR #34881, after CI went red on the dispatch-gates self-test.
Surface add:
scripts/pm/dispatch-gates.data.mjs, with oneGOVERNED_READ_FLOORrow forscripts/gen-mcp-ask-skill.mjsreadingskills/objectstack-ask/SKILL.md, and its doc paragraph. Re-run check-governed-merges on the final file list before pushing. If it turns governed, stop and report to the seat.objectstack-fleet commentedon Nov 17, 2026
repo:objectstack#3 · os-support-ai · session_01WGufzfR33NbV51QQU6R6bm
os-dev-report
{ "issue": 34686, "status": "done", "branch": "claude/issue-34686-skill-single-source", "pr": "https://github.com/objectstack-ai/objectstack/pull/34881", "session": "session_01WGufzfR33NbV51QQU6R6bm", "premise_still_valid": true, "summary": "Fix round 1. The red on e8dd0048 (Lint · PM dispatch-gates, and so Lint & Repo Gates) was one self-test case: the GOVERNED_READ_FLOOR census found the new structural read scripts/gen-mcp-ask-skill.mjs -> skills/objectstack-ask/SKILL.md unpinned. Reproduced locally as the only failure (1 of 2217). Fix 4a78d86b adds one floor row {script: 'scripts/gen-mcp-ask-skill.mjs', file: 'skills/objectstack-ask/SKILL.md', declared: false} plus an 'eighth row' doc paragraph in scripts/pm/dispatch-gates.data.mjs. declared is false because the census reads it off a self-test-reads declaration and the generator has no self-test; it spells the skill path in its module body, the check-skill-top-level-keys.mjs shape. Nothing new was declared: no gate family runs the generator, so the DERIVED census case has nothing to place (it passes, 'none underived'). A SKILL.md-only change derives 27 families (check:skill-docs, check:cross-package-test-inputs, check-skills-token-ratchet.mjs and others), and none is gen-mcp-ask-skill.mjs --check. What re-runs on such a change is the @objectstack/mcp suite (Test Core) through the turbo.json input and cross-package-test-inputs row from the earlier commit, and its skill-single-source-34686.test.ts fails on drift and names the generator. Getting --check itself into the gate list would need a new check family (a package.json script plus a workflow step, and .github/workflows/** is governed), so it was not done; see open_questions. scripts/pm/dispatch-gates.data.mjs is outside the amended surface and is listed under 'Outside the claimed surface' in the PR body.", "tests": "Before the fix, at e8dd0048: os-verify-lock -c 'pnpm check:pm-dispatch-gates' gave 'unpinned: scripts/gen-mcp-ask-skill.mjs::skills/objectstack-ask/SKILL.md', '✗ dispatch-gates self-test (fast tier): 1 of 2217 case(s) failed.', 'VERDICT command-exit 1'. After, at 4a78d86b: '✓ every structural read of a GOVERNED file under scripts/ is classified in GOVERNED_READ_FLOOR', '✓ each pinned row's DECLARED flag still reads off the file (no drift)', '✓ every governed read in the census is DERIVED for the file it reads (none underived)', '✓ dispatch-gates self-test (fast tier): 2217 cases pass; 9 slow section(s) deferred.', and then check-dispatch-gates.mjs exit 0, 'VERDICT command-exit 0' (held 341s). No ablation: the diff is a data row with no tested behaviour change. The red-before and green-after self-test runs are the two legs.", "gates": "Local, on 4a78d86b: the 63 families dispatch-gates --commands derives for scripts/pm/dispatch-gates.data.mjs (this round's only file). 62 exit 0, each captured before any pipe. pnpm check:i18n-coverage exit 3 (PREREQUISITE NOT MET, unbuilt dist/), so it is NOT MEASURED locally. That narrowing is declared. Whole-branch reconciliation, dispatch-gates --ran with exit codes: '115 derived, 62 run, 1 NOT-MEASURED, 52 UNRUN'. The 52 unrun are derived from the PR's earlier files, which this round did not change; the previous round ran them locally at e8dd0048. CI check-runs on e8dd0048: everything success or skipped except 'Lint · PM dispatch-gates' failure and 'Lint & Repo Gates' failure, which is the one this round fixes. Examples: Test Core success, TypeScript Type Check success, Build Core success, Governed Surface Queue Guard success, Dogfood Regression Gate success, Check Changeset success. CI on 4a78d86b: in_progress at report time. check-governed-merges --branch: '0 of 10 path(s) hit the register … NOT governed', 482 changed lines (+425/-57). The branch merges cleanly with origin/main fc5913e1 (merge-tree exit 0), so there was no merge. overlap-check at 4a78d86b: 'VERDICT clean exit 0'. It shares dispatch-gates.data.mjs with objectstack-ai/objectstack#34893 and objectstack-ai/objectstack#34841, and both merge cleanly. The first overlap-check run answered exit 3 ('files of objectstack-ai/objectstack#34837 unreadable: unexpected end of JSON input'), and the re-run was clean.", "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm", "mcp_calls": "0", "api_writes": "2 — fleet-write issue_patch on PR objectstack-ai/objectstack#34881 body (run 44116661081, read-back 'identical'); post-stamped comment on issue objectstack-ai/objectstack#34686 (this report). Plus one git push (not a REST write).", "open_questions": [ { "question": "Should gen-mcp-ask-skill.mjs --check also run as a gate family, so that a SKILL.md-only change lists it in dispatch-gates?", "options": [ "A: no. The mcp pin test (Test Core, which turbo re-runs on a SKILL.md edit) already fails on any drift and names the generator. Cost: none.", "B: add a check:mcp-ask-skill package.json script plus a lint.yml step. Cost: it adds a governed .github/workflows edit to this PR (Tier S or H landing) and a second verifier for the same fact." ], "recommendation": "A, because the equality is already enforced at the test layer on exactly the changes that can break it, and B would turn this PR into a governed landing to get a duplicate check." } ], "security_findings": "none", "out_of_scope_findings": [] }