Repository navigation
docs(design): MCP local-first door record, brought to the #34659 and #34691 rulings - #34813
Conversation
…ion card Design and measurement plan for the open-source MCP draft door, the local export/simulate/submit loop, the ask-data skill, and the cloud door changes. Draft only: every decision in it is open. Claude-Session: https://claude.ai/code/session_01Q4EjjMnXJdSZifpEN5i7aU Co-authored-by: Claude <noreply@anthropic.com>
Fills the Measurements table: open door 40 KB of tools and 98 B of instructions; cloud door 36 KB of tools, 33 KB first rules read; dataset term match 6 of 30; ask-skill pilot 3 of 12 to 9 of 12 at one run per cell. Claude-Session: https://claude.ai/code/session_01Q4EjjMnXJdSZifpEN5i7aU Co-authored-by: Claude <noreply@anthropic.com>
The eval lane keeps accuracy figures out of public text until the maintainer sets what may be published; the direction stays, in words. Claude-Session: https://claude.ai/code/session_01Q4EjjMnXJdSZifpEN5i7aU Co-authored-by: Claude <noreply@anthropic.com>
…34691 rulings Status, decisions, Design C item 5 and the milestone table now follow the recorded rulings (6940528935; F1 B 6943126855 / 6943149235; 6943116536; 6944452341). File:line references re-read on 6091b64; cloud readings kept as read on cloud 53a5844 and named under Not verified. Claude-Session: https://claude.ai/code/session_01WGufzfR33NbV51QQU6R6bm Co-authored-by: Claude <noreply@anthropic.com>
|
repo:objectstack#3 · os-support-ai · session_01WGufzfWpJ96QY9T7d8DvFg L1: ACCEPT · 2026-11-17T11:34ZHead-sha: a986e35 席位核对PR shape. Draft, base Governed / changeset. Check-runs at a986e35. 49 runs, every one Carried commits unchanged. The first three commits have the same Every quoted ruling is verbatim (the area's ask). Read against the records:
No new decision. Each changed line traces to a record, to #34659's body or to a re-measurement. Design B's "only the flow test run is built now" is E3 phased; M-2/M-3 "held until the maintainer's go on the M-1 summary" is the body's restart-when line; Design C 1 and 5 execute F1 B without fixing a matcher. Re-measurement spot check on 6091b64. Must-fixNone. Should-fix
Notes
o3-E lands (non-governed). A later push owes an L1-c delta read. |
L1-c should-fix S1 on PR #34813 (comment 6946879505): #34659's body lists #34789 in M-1. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WGufzfR33NbV51QQU6R6bm
…ore landing) Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WGufzfR33NbV51QQU6R6bm
|
repo:objectstack#3 · os-support-ai · session_01WGufzfWpJ96QY9T7d8DvFg L1: ACCEPT (delta) · 2026-11-17T11:37ZHead-sha: bb28d38
No open findings. |
|
repo:objectstack#3 · os-support-ai · session_01WGufzfR33NbV51QQU6R6bm Landing · 2026-11-17T12:06Z
State: ready + auto-merge armed. No card (Part of #34659); supersedes draft #34675, which seat 3 closes once this merges. |
⛔ merge queue 构建失败 — 先分诊,再决定要不要重排队列构建 44080293971 红了。队列跑的是全量套件(PR 侧 CI 只跑 affected 子集), 分类: 失败的 job(日志抽取,best effort):
跨 PR 相同签名(24h,按失败测试文件聚合):
历史信号:
分诊清单:
Generated by Claude Code · merge-queue-triage workflow (#4859) |
|
repo:objectstack#3 · os-support-ai · session_01WGufzfR33NbV51QQU6R6bm Re-queue · 2026-11-17T12:33ZSame head |
Requested by Yibo Wang · project thread
Part of #34659
Supersedes #34675
Clause-②: no
Metadata-protocol: none
Original text: the three commits by the first epic seat (
session_01Q4EjjMnXJdSZifpEN5i7aU), carried from #34675's branchclaude/sharp-cray-3nr8u9and rebased ontomainunchanged. This PR adds one commit that brings the record to the rulings. It decides nothing new.维护者速读
docs/design/mcp-local-first-door.md的「Decisions (ruled)」节与 Design C 第 5 条(E2 的写法:候选永不算命中,契约归 spec: list_datasets answers a term with no match with acandidateslist, never selected; ADR-0149 D3 gains the amendment note #34761 / service-analytics: list_datasets fillscandidateswith near members (name, label, synonym) on a zero-match, only from what the caller may read #34763)。What changes
One file,
docs/design/mcp-local-first-door.md(+53 / -39 in this PR's own commit; +168 againstmainwith the original three commits).candidateslist, never selected; ADR-0149 D3 gains the amendment note #34761 / service-analytics: list_datasets fillscandidateswith near members (name, label, synonym) on a zero-match, only from what the caller may read #34763 for the contract; it no longer states a matcher of its own.6091b645; moved ones were corrected. Cloud readings were not re-taken: they are labelled with their reading commit and listed under Not verified.Every changed statement
62d9d0d99and cloud53a58446091b645; cloud readings not re-takentypes.ts:96-102:97-102(96 is the docblock end; file unchanged since the reading)62d9d0d99): 40 and 296091b645protocol-authoring-gate.ts:430-445:430-447draftPublishVerdict:713:714(713 is its docblock line)#34777(draft register, item lint),#34774(restriction-profile route)#34776's six publish-time checks53a5844; not re-read"initializeinstructionsmcp-server-runtime.ts:1771DEFAULT_HTTP_INSTRUCTIONS,:1772-1773(1771 was the docblock end at the reading commit too); carried by #34686, first PR #34790 draft#34687,#34685,#34687candidatesif any (E2), otherwise falls back and says so; #34685, #34686candidatesdefined as members whose name, label or synonym contains the term; needs the maintainer's wordcandidateslist, never auto-selected; candidates never count as a match, D3's exact match stands and D3 gains a note; which members, shape, order and cap are #34761's and #34763'scandidates, never selected (#34761, #34763)53a5844Tests
Docs only: no package, test or gate code changed, so there are no unit tests to run and no ablation applies.
Acceptance notes
scripts/pm/overlap-check.mjsreports a conflict with docs(design): MCP local-first door — design and measurement plan (draft for the decision card) #34675 on this same file. That is the supersession, not a collision: docs(design): MCP local-first door — design and measurement plan (draft for the decision card) #34675 stays open as a draft until this lands.docs/design/**ships in no package'sfiles[], so this PR carriesskip-changesetand no changeset.Verification
Head
a986e35d.Tier:
node scripts/pm/dispatch-gates.mjs --repo objectstack-ai/objectstack --tier docs/design/mcp-local-first-door.mdexit 0, "Model tier — no path-derived mandate: the surface hits none of the 4 declared glob(s)". No mandate is named, so this body carries no Served-tier line.Local derived gates: 16 derived, 16 run, every exit 0
node scripts/pm/dispatch-gates.mjs --repo objectstack-ai/objectstack --commandsderived 16 commands against merge base6091b645. All exited 0:node scripts/check-adr-links.mjsand--self-testnode scripts/check-closing-keyword-parity.mjsand--self-testnode scripts/check-comment-mask-corpus.mjs(22653 files, 0 disagree)node scripts/ci/plan-test-core-shards.mjs --self-testpnpm --filter @objectstack/lint run check:doc-formula-expressions. The first run exited 3, a prerequisite refusal (lint and formula not built), so it measured nothing. Afterpnpm exec turbo run build --concurrency=2 --filter=@objectstack/formula --filter=@objectstack/lintunder the verify lock (VERDICT command-exit 0), the re-run exited 0.pnpm check:adr-anchors,check:ci-filter-parity,check:cross-package-test-inputs,check:doc-authoring,check:driver-memory-census,check:gitlink-declared,check:nul-bytes,check:refd-timer-probe,check:watch-hint-literaldispatch-gates --ranwith every command and its exit code: "16 derived famil(ies) accounted for — 16 run, 0 NOT-MEASURED (a DERIVED zero — all 16 recorded an exit code and none of them is 3)". A control-byte self-scan of the file found nothing.CI runs everything else (artifact rosters, wide-population families, type-check lanes).
Re-measurement of every objectstack file:line, on 6091b64
runtime/src/domains/mcp.ts:247-257: holds; noauthoringin thehandleHttpRequestoptions.mcp/src/types.ts: the interface is at 97-102.mcp-server-runtime.ts:1695-1728registerAuthoringTools: holds.DEFAULT_HTTP_INSTRUCTIONSis at 1772-1773, 98 bytes; the file is byte-unchanged since62d9d0d99.lint/src/authoring-rules.ts:186-205: holds.AUTHORING_RULEShas 69 entries, 40CLI_AND_RUNTIMEand 29CLI_ONLY; there were 68 (40 / 28) on62d9d0d99, and one CLI-only rule was added since.protocol-authoring-gate.ts: the draft branch is 430-447;draftPublishVerdictis at 714.runtime/src/http-dispatcher.ts:767: holds.qa/scenarios/src/runner/driver.ts:468-483: holds.ui/packages/app-shell/src/preview/imports@object-ui/*,@objectstack/lintand@objectstack/spec/*only.restriction-profileoutsidepackages/cliandpackages/spec, so no runtime serves the route.meta registerhas no mode flag, andlinthas no item flag.packages/lint/srchas no non-test hit forNO_EXECUTORand no approve/reject edge check.skills/**file nameslist_datasets.candidateslist, never selected; ADR-0149 D3 gains the amendment note #34761, service-analytics: list_datasets fillscandidateswith near members (name, label, synonym) on a zero-match, only from what the caller may read #34763, qa: a weekly runner for the published skills' existing eval cases (subscription login, with- and no-skill arms), and the eval lane's weekly line #34764, mcp: the stdio door's list_datasets never localizes, so its catalogue and label matches ignore the workspace default locale (ADR-0149 D2) #34787 are open; feat(mcp): initialize instructions carry the governed-metric selection rule and the skills install line #34790 is an open draft. None has merged.Generated by Claude Code