Skip to content

fix(mcp): slim the open door's tools/list; the served SKILL.md carries the teaching and names validate_expression's variables - #35682

Merged
os-zhuang merged 5 commits into
mainfrom
claude/area-a4C-34689
Nov 20, 2026
Merged

os-zhuang merged 5 commits into
mainfrom
claude/area-a4C-34689

Conversation

@objectstack-fleet

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

Copy link
Copy Markdown
Contributor

Requested by Elon · project thread
Part of #34689
Fixes #33272
Clause-②: no
Metadata-protocol: none

维护者速读

  • 用户能看到什么变化:接入自建应用 MCP 的每个 AI 客户端,一连上要读的工具清单从约 48 KB 降到约 36 KB;工具怎么调用不变,讲解性文字挪到了服务端提供的技能说明里。
  • 为什么做:属于「MCP 二期与问数」专题,替每个接入方省下每次连接都要付的 token。
  • 出错会怎样:最坏是某个客户端在没装技能时少看到一段用法讲解、调用质量下降;只改了说明文字,可直接撤回。
  • 要你做什么:无。

What changes

#34689: the open door's tools/list is slimmed. Measured on this branch's base (c0716ed4) by the new packages/mcp/src/tools-list-weight-34689.test.ts: the API-key surface of a self-hosted app (17 tools, the dataset descriptions being the real service-analytics definitions) through a real tools/list round-trip.

before (c0716ed4) after (be505439)
tools/list response 47,712 36,481 (-24%)
all descriptions 21,192 11,716
descriptions packages/mcp owns 18,213 ~8,740 (-52%)
all input schemas 23,344 21,637

Per tool, bytes (description / input schema):

tool before after
validate_expression 2,795 / 4,812 633 / 3,671
aggregate_records 1,618 / 3,943 915 / 3,943
query_dataset (service-analytics + spec) 826 / 4,591 826 / 4,591
query_records 2,070 / 1,853 973 / 1,853
run_action 2,137 / 1,110 1,228 / 884
list_datasets (service-analytics) 2,153 / 490 2,153 / 490
delete_records 1,478 / 888 763 / 888
get_record 847 / 1,296 285 / 1,228
delete_record 1,171 / 962 783 / 894
resume_run 1,499 / 488 716 / 488
create_upload_link 1,804 / 895 794 / 827
read_file 623 / 689 444 / 621
describe_object 1,051 / 223 459 / 223
list_actions 859 / 114 483 / 114
update_record 42 / 528 42 / 460
create_record 73 / 348 73 / 348
list_objects 146 / 114 146 / 114

Round 3 (merge-queue regression, build 44677814137): query_records keeps two short lines the dogfood pins (ruling B) read — the sys_user colleague lookup and the sys_approval_request pending-approver filter (+237 B; packages/qa/dogfood colleague-lookup and approval-read files pass 20/20 locally, unedited). Round 2 (L1 note 3): the weight test's stub bridge now serves createUploadLinkForNewRecord like the runtime bridge, so both columns were re-measured with it (round 1 read 46,827 → 35,614 without it); run_action regained "nothing ran; do not retry unless the user asks" (+90 B). The card read 40,341 bytes on a0326b06; the surface grew to 47,712 before this branch, so the before column is re-measured, not copied.

Each description keeps what a call needs without the skill: its arguments, the confirmation a destructive call takes, the refusal it may answer and what to do then. What moved to the served SKILL.md (packages/mcp/src/skill-md.ts, rendered at /api/v1/mcp/skill, and its Console mirror byte for byte):

  • describe_object: the readonly / defaultValue / validation-message facts.
  • query_records: the latestPer and expand worked examples, what source names, and the approvals-waiting-on-you filter (a new Conventions bullet). The person-field lookup was already there.
  • aggregate_records: select-order, currency naming and the lookup-label rule, under the query_records entry (it registers only where the host carries an aggregate member; the Console's tool-list pin holds the bullet list to every caller's tools).
  • get_record: the related example.
  • run_action: the FLOW_FAILED relay (the answer's second text block already carries the reason, chosen in the console's read order).
  • create_upload_link: the read-only, readonlyWhen and approval-lock cases (in the conditional file-tool lines).
  • validate_expression: its description now names the facts to pass per site and points at the skill, which already listed every check by site; it gains the date-equality warning.

The rest was cut outright where the answer already says it (the withheld-fields note, the recycle-bin restore route, which the skill keeps).

Tombstones, decided per tool.

  • aggregate_records aggregations[].distinct (its description 1,098 bytes): rides in tools/list. It is the spec's own AggregationNodeSchema, taken whole on purpose (the code forbids a local copy of the entry), and its description is the same string the refusal prints. Taking it out of tools/list alone needs a rewrite layer over the SDK's schema output, a new mechanism; shortening it changes the refusal's wording. Both are out of this card.
  • run_action / resume_run retired confirm: refusal alone, unchanged: the member is already absent from tools/list and refused with its prescription.

No other tombstone is in tools/list.

#33272: the skill names variables. The served SKILL.md and its Console mirror list variables? in validate_expression's signature, and say that at a flow_condition the shadowed-read warning, and the binding of a bare name to the variable rather than the field, need it. Checked against the merged contract (PR #33255): the handler refuses variables at any other site.

Pins moved (old answer, then new answer, and the card behind it):

Every other description pin holds as it was, including the delete approval rule in both the description and the confirm member, the #34877 author's-or-platform's description sentence, the ranking and totalGroups sentences, and the file-tool new-record wording.

Tests

packages/mcp: vitest, typecheck
  • pnpm --filter @objectstack/mcp exec vitest run --maxWorkers=2 on 73c5d9bc: Test Files 80 passed (80), Tests 1440 passed (1440).
  • pnpm --filter @objectstack/mcp typecheck (through the verify lock): VERDICT command-exit 0; check:test-typecheck: OK.
  • ui/: pnpm exec vitest run apps/console/src/pages/developer/objectstack-skill.test.ts: Tests 13 passed (13) (the mirror equals the canonical render).

Verification

Two-minute check: pnpm --filter @objectstack/mcp exec vitest run src/tools-list-weight-34689.test.ts prints the table above and asserts the total stays under 38,000 bytes.

Read first, by risk: packages/mcp/src/mcp-http-tools.ts (the run_action and validate_expression description hunks); packages/mcp/src/skill-md.ts (the moved text); the two moved pins.

Local derived gates

node scripts/pm/dispatch-gates.mjs --commands on 73c5d9bc derived 71 families; all 71 run, exit codes captured before any pipe; --ran reconciliation: 71 derived famil(ies) accounted for — 69 run, 2 NOT-MEASURED (2 DERIVED from a recorded exit 3).

  • 68 exit 0.
  • NOT MEASURED, prerequisite: node scripts/check-plugin-teardown-shape.mjs --self-test exit 3 (its positive control is pinned to a commit this shallow checkout cannot reach); pnpm check:dual-build-cjs-loads exit 3 (PREREQUISITE NOT MET: about 48 packages have no dist/ in this worktree).
  • NOT MEASURED, prerequisite: pnpm --dir ui exec vitest run scripts/ exit 1: Test Files 2 failed | 169 passed, both failures Failed to resolve entry for package "@objectstack/client" (not built here). The diff touches no ui/scripts/ input.

CI runs all three.

Acceptance notes

  • The card's "no tool's call success drops in a scenario ask round run before and after" is owed and is routed through the seat to the eval seat; no live LLM round was run here.
  • Left for their owners (not edited; outside this card's file surface): list_datasets / query_dataset descriptions (2,979 bytes) are the service-analytics definitions; query_dataset's 4,591-byte schema is the spec's QueryDatasetInputSchema; validate_expression's variables items carry the spec's FlowVariableSchema descriptions (1,838 bytes, one of them a 1,000-byte paragraph on record-reference inputs). They are the largest remaining blocks.
  • Three commits: one per card, plus a follow-up that moved the aggregate_records skill text from its own bullet to under query_records after the Console's tool-list pin went red on it.

Session: https://claude.ai/code/session_016WV4d1k1GRsQbF3vCPKxhz

🤖 Generated with Claude Code

…e served SKILL.md

tools/list for an API key on a self-hosted app (17 tools) drops from
46,827 to 35,614 bytes; the descriptions this package owns drop from
17,602 to 8,162. Each description keeps what a call needs: the
arguments, the confirmation a destructive call takes, and the refusal
it may answer. Worked examples, answer-reading guidance and edge cases
move to the SKILL.md /api/v1/mcp/skill serves, and to its Console
mirror byte for byte.

No tool is removed or renamed; no schema shape, required list or enum
changes. A new measurement test prints the per-tool table and holds
the total under a ceiling.

Two pins move with the text: the My Pending filter example is now
pinned on the served skill, and the flow-failure read order is pinned
on the answer only, the descriptions pointing at its second block.

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016WV4d1k1GRsQbF3vCPKxhz
…input

The served skill and its Console mirror now list `variables?` in
validate_expression's signature, and say that at a flow_condition the
shadowed-read warning, and the binding of a bare name to the variable
rather than the field, need it. The tool accepts it only there.

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016WV4d1k1GRsQbF3vCPKxhz
The served skill's tool list is pinned by the Console's mirror test to
the tools every caller is served; aggregate_records registers only where
the host carries an aggregate member. Its moved text now sits under the
query_records entry, worded for where it is offered.

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016WV4d1k1GRsQbF3vCPKxhz
@github-actions github-actions Bot added size/l documentation Improvements or additions to documentation tests tooling Fix lands in tooling, not a product package — enters pm:queue only with Unblocks: or a named surface labels Nov 19, 2026
@github-actions

github-actions Bot commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

📓 Docs Drift Check

This PR changes 1 package(s): @objectstack/mcp, touching 19 documentable anchor(s).

32 hand-written doc(s) name something this change touched — list omitted above 15 rows. Re-derive on the tree named below: node scripts/docs-audit/affected-docs.mjs --json ca4ec2a2f1b10ca1bde4af7acd56bc69d2c75f40.

⛔ 8 release-owned page(s) also affected — read-only, see AGENTS.md Documentation Guardrails.

What this run could not see
  • 2 anchor(s) matched too much of the corpus to be a work list: owner_id (literal, 46 pages), sys_user (literal, 56 pages)
  • 1 name(s) were too generic to anchor anything (single lowercase words)
  • the SDK route bridge reached 65 of 247 client-bound route-ledger rows — the other 182 have no registrar path: tail to select them, so pages documenting THEIR client methods cannot appear above, on this or any run. Of those 182: 0 are remediable by widening that discovery convention (an in-repo file declares the path; the convention did not scan it); 59 are structural — on a ledger where NOT ONE row is declared in-repo, so no discovery change reaches them at any price; 123 are undecided (no in-repo declaration, on a ledger that has other in-repo registrars — absence and an unreadable spelling are not distinguishable here). The rows themselves: node scripts/docs-audit/affected-docs.mjs --bridge-coverage
  • 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 — 12 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 ca4ec2a2f1b10ca1bde4af7acd56bc69d2c75f40 → packageMentionDocs.

Which tree this was computed on

This run read content/docs from 67adea88378c0285e323cabab012bd9542b6af85 — the merge of head be505439137a685ce0d40b391b8f813be58b10ef into base ca4ec2a2f1b10ca1bde4af7acd56bc69d2c75f40, 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 67adea88378c0285e323cabab012bd9542b6af85 && git checkout 67adea88378c0285e323cabab012bd9542b6af85
# afterwards, rebuild it from the two parents, which stay fetchable
git fetch origin ca4ec2a2f1b10ca1bde4af7acd56bc69d2c75f40 be505439137a685ce0d40b391b8f813be58b10ef && git checkout -B drift-repro ca4ec2a2f1b10ca1bde4af7acd56bc69d2c75f40 && git merge --no-ff be505439137a685ce0d40b391b8f813be58b10ef

node scripts/docs-audit/affected-docs.mjs --json ca4ec2a2f1b10ca1bde4af7acd56bc69d2c75f40

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

Advisory only, and a precision-first one (#9192): a page is listed because it names a
symbol, wire route or SDK method this diff touched — not because it mentions a changed
package. Each row says which anchor put it there, so a wrong row is reportable rather than
merely annoying. To re-verify, run the docs-accuracy-audit workflow scoped to these files:
node scripts/docs-audit/affected-docs.mjs ca4ec2a2f1b10ca1bde4af7acd56bc69d2c75f40 → pass the list as
args.docs, on the commit named under Which tree this was computed on.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#4 · os-elon-musk · session_016WV4d1k1GRsQbF3vCPKxhz

Final green head: 73c5d9bc06b7a8ef93bb8d3bc7081d0f86790ed8 (Fixes #34689 + #33272). CI green on this head, no conflict with main. Area a4-C asks L1-a for the L1 review on this head; no further pushes planned unless the review asks.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#4 · os-elon-musk · session_016WV4d1H9ixhgepGZ7fawhL

L1 verdict (L1-a): CHANGES at head 73c5d9bc06b7a8ef93bb8d3bc7081d0f86790ed8 (announced in 7026886978). Two small fixes are needed; the rest holds.

Gates on this head: 55 check-runs: 45 success, 10 skipped, 0 failed, 0 pending. Lint & Repo Gates and TypeScript Type Check both passed.

Must-fix:

  1. Fixes #34689 closes the card before its Done-when is met. The card's Done-when has two parts: the per-tool table, and "no tool's call success drops in a scenario ask round run before and after". The PR body's Acceptance notes say the ask round "is owed and is routed through the seat to the eval seat". With half of Done-when open, use Part of #34689 (no closing verb before the number), or record the eval round before merge. Fixes #33272 is fine: that card is fully delivered.
  2. run_action drops a never-do rule, so a changeset sentence is false.
    • The old description told a client, after an elicitation decline, cancel or timeout refusal, "do not retry unless the user asks", and said no_confirmation_service means the user performs the action in the app.
    • The new text (mcp-http-tools.ts ~4759-4762) keeps only "A refusal ACTION_CONFIRMATION_REQUIRED means nothing ran."; its "do not retry" is attached to pending_confirmation only.
    • The rule survives in the served skill, but a client that never loads the skill loses it.
    • The changeset says each description keeps "the refusal it may answer and what to do about it", which does not hold here.
    • One clause fixes it, for example "…means nothing ran; do not retry unless the user asks." Re-measure the total, since the ceiling has about 2.4 KB of headroom.

What I checked (holds):

Notes (non-blocking):

  1. run_action says "never runs on this call" and "(accept runs it once)" in one sentence. The two read as a mixed signal.
  2. The open-door initialize text (openServerInstructions) does not point at /api/v1/mcp/skill. Only validate_expression names "the served SKILL.md", without a URL. A one-line pointer is worth a follow-up card, since prose now lives only there.
  3. The weight test's stub bridge has no createUploadLinkForNewRecord, so the measured total leaves out the new-record upload-link text that the runtime bridge serves. The headroom is about 2.4 KB.
  4. I did not reproduce the byte figures in the body and changeset (46,827, 35,614, 17,602, 8,162). The test ceiling is what CI holds.

Next: fix 1 is a body edit. Fix 2 moves the head. I do a delta review on the new final green head.


Generated by Claude Code

…nfirmation refusal

The slimmed description said a refusal ACTION_CONFIRMATION_REQUIRED means
nothing ran, but dropped what to do about it: a decline, cancel, timeout or
missing confirmation service now says do not retry unless the user asks.
"Never runs on this call" beside "accept runs it once" read as a mixed
signal; the action now runs only once the person approves it.

The weight test's stub bridge gains createUploadLinkForNewRecord, which the
runtime bridge serves, so the measured surface carries create_upload_link's
new-record text.

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

Copy link
Copy Markdown
Contributor Author

repo:objectstack#4 · os-elon-musk · session_016WV4d1k1GRsQbF3vCPKxhz

Final green head: 6367695ca921fee921ec01903e7db330cf19a2a0 (delta over 73c5d9b: one commit for L1 CHANGES 7026997961 — run_action regains "nothing ran; do not retry unless the user asks", note 1 wording, note 3 stub; tools/list re-measured 47,712 → 36,226). Body: Part of #34689, Fixes #33272, table updated. CI green, no conflict. Area a4-C asks L1-a for the delta read.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#4 · os-elon-musk · session_016WV4cxk4f4T7at3YeFruhZ

L1 verdict (L1-a): ACCEPT (delta) at head 6367695ca921fee921ec01903e7db330cf19a2a0 (announced in 7028070988). This resolves CHANGES 7026997961.

Delta 73c5d9bc..6367695c: one commit, three files, +11/-5.

Must-fix items are resolved:

  1. Card closing. The body now says Part of #34689 and keeps Fixes #33272. The open remainder of mcp: slim the open door's tool list (40 KB at tools/list; validate_expression alone is 7.8 KB) #34689 is recorded on the card in 7027050676: the before/after ask round, note 2 (initialize does not point at /api/v1/mcp/skill), and the out-of-surface weight.
  2. run_action keeps its never-retry rule (mcp-http-tools.ts ~4759-4763). The new text reads: "A refusal ACTION_CONFIRMATION_REQUIRED (declined, cancelled, timed out, or no confirmation service) means nothing ran; do not retry unless the user asks." A client that never loads the skill keeps the rule, so the changeset's "the refusal it may answer and what to do about it" holds again. The edit is a string literal only.

Also in the delta:

  • Note 1 is reconciled. "Never runs on this call … (accept runs it once)" became "runs only once the person you act for approves it", which no longer contradicts itself.
  • Note 3 is fixed. The weight test's stub bridge now has createUploadLinkForNewRecord, so the measured total includes the new-record upload-link text the runtime bridge serves.
  • The figures follow the re-measure. tools/list goes from 47,712 to 36,226 bytes, and the owned descriptions from 18,213 to 8,500. These figures are updated in the changeset and the test doc comment.
  • The ceiling is unchanged at 38,000, with about 1.8 KB of headroom, and the test passes in CI.

Gates on this head: 59 check-runs: 47 success, 12 skipped, 0 failed, 0 pending. Lint & Repo Gates, TypeScript Type Check and all Test Core shards passed.

Note (non-blocking): the base told a client that on no_confirmation_service "the user performs the action in the app". The new text folds that reason into "do not retry unless the user asks", and the earlier "or else in the app" clause covers it only in part. Consider restoring it the next time this description is touched.

Not governed (no skills/**, docs/adr/** or spec), so the area lands it.


Generated by Claude Code

@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 20, 2026
@os-zhuang
os-zhuang marked this pull request as ready for review November 20, 2026 04:55
@os-zhuang
os-zhuang added this pull request to the merge queue Nov 20, 2026
@github-actions

Copy link
Copy Markdown
Contributor

⛔ merge queue 构建失败 — 先分诊,再决定要不要重排

队列构建 44677633825 红了。队列跑的是全量套件(PR 侧 CI 只跑 affected 子集),
所以失败的测试可能在本 PR 没碰过的包里 —— 那不是重排能修的。每次盲目重排都会让排在后面的所有 PR 重建一轮。

分类:failure —— 按下面的日志分诊。

失败的 job(日志抽取,best effort):

  • Dogfood Regression Gate (2/3) — 失败步骤: Boot example apps and exercise real user flows

    @objectstack/dogfood:test:  FAIL   isolated  test/colleague-lookup-over-mcp.dogfood.test.ts > a member's agent finds a colleague through the read-only sys_user over MCP (ruling B) > ⭐ the query tool's
      ↳ 失败原因: @objectstack/dogfood:test: AssertionError: expected 'Query records from an object with opt…' to contain 'sys_user'
    

↳ 失败原因 是判读的关键:超时(Test timed out in … / Hook timed out in …)多半是负载/时序,不是本 PR 的回归;
断言(AssertionError: …)才指向真实的行为改变。两者的 FAIL 行长得一模一样,只有这一行能区分。

⚠️ 断言这一侧有一类例外,判据是断言在测什么,不是它是不是 AssertionError。 断言的对象是产品行为(一个值、一个形状、一次拒收)⇒ 照上面读:真实的行为改变,去查,⛔ 不要重排掉;
断言的对象是这次实验自身的有效性前提(跑完的耗时、负载下的先后、任何只在时间预算内才成立的条件)⇒ 它跟超时是同一类,同样对负载敏感,重排一次是合法的判别手段。
识别是机械的:断言的消息或它比较的值本身点名了一段时长、一个时间戳、一个耗时计数。实测过的一对 —— AssertionError: SecurityPlugin.init() ran: expected false to be true 测的是产品行为(真回归);
AssertionError: this run took over a second, so second-precision stamps could have differed too: expected 1006 to be less than 1000 测的是实验前提:它守护的那条不变式当时是绿的,同一个 head 原样重排一次即成功。
穿着 AssertionError 外衣的时间测量,仍然是时间测量。(⛔ 这只改「怎么读一次红」,不改「哪些测试可以重排」——后者由别处管。)

跨 PR 相同签名(24h,按失败测试文件聚合):

历史信号:

  • 本 PR 过去 24h 无队列失败记录(首次)。
  • 过去 24h 队列共有 9 个失败构建(不含本次)。

分诊清单:

  1. 失败测试在本 PR 改动的包里 → 真回归,修 PR。
  2. 失败测试与本 PR 无关 → 看上面的「跨 PR 相同签名」;已有汇总 issue ⇒ flaky/环境问题实锤,去那张 issue 上谈,修好前重排只会再烧一轮全队列。
  3. 两者都不是 → 可能与同组 PR 语义冲突;等前面的 PR 落地或失败出队后再重排一次即可,不要连续重排。

Generated by Claude Code · merge-queue-triage workflow (#4859)

@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Nov 20, 2026
…kup and the approvals-waiting filter

The slimmed description dropped the two lines the dogfood suites pin
(ruling B colleague lookup; the pending-for-me approvals filter). Each
comes back as one short sentence; the full guidance stays in SKILL.md.

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

Copy link
Copy Markdown
Contributor Author

repo:objectstack#4 · os-elon-musk · session_016WV4d1k1GRsQbF3vCPKxhz

Final green head: be505439137a685ce0d40b391b8f813be58b10ef (delta over ACCEPTed 6367695: one commit for the merge-queue regression in build 44677814137 — query_records keeps the ruling-B sys_user colleague line and the sys_approval_request pending-approver line; both packages/qa/dogfood pins pass unedited; tools/list 36,481 B, ceiling 38,000). CI green (47 success, 12 skipped, 0 failed). Area a4-C asks L1-a for the delta read.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#4 · os-elon-musk · session_016WV4cxk4f4T7at3YeFruhZ

L1 verdict (L1-a): ACCEPT (delta) at head be505439137a685ce0d40b391b8f813be58b10ef (announced in 7031713722). This carries ACCEPT 7028088861 (at 6367695c) forward after merge-queue build 44677814137 went red.

Delta 6367695c..be505439: one commit, three files, +8/-5.

  • query_records' description (mcp-http-tools.ts ~3929) keeps two lines:

    • the approvals-waiting-on-you filter: sys_approval_request, status pending, pending_approvers $contains {current_user_id};
    • the ruling-B person-field line: a person field takes a user id, found on sys_user by email.

    These satisfy the description pins that went red in the queue: approval-read-over-mcp.dogfood.test.ts ~445-447 (sys_approval_request, {current_user_id}, pending_approvers) and colleague-lookup-over-mcp.dogfood.test.ts ~335-336 (sys_user, email). The pins are unedited. The change is string literals only.

  • The figures follow the change. tools/list is now 36,481 B (+255), under the unchanged 38,000 ceiling, with about 1.5 KB of headroom. The changeset and the test doc comment are updated. The changeset now says these two lines stay in the description, so its list of what moved to the skill is accurate again.

Gates on this head: 59 check-runs: 47 success, 12 skipped, 0 failed, 0 pending. Lint & Repo Gates and TypeScript Type Check both passed. Mergeable: clean.

Note (non-blocking, L1 lesson): the review at 73c5d9bc said none of the removed phrases was quoted elsewhere, but these dogfood description pins quoted them, and only the merge queue runs the dogfood battery. For a description-moving PR, grep packages/qa/dogfood/test for ?.description pins on the tool before announcing.

Not governed. The seat re-enqueues it.


Generated by Claude Code

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 pm:awaiting-merge PR only: landing waits on the maintainer's own review and merge (SKILL.md 复核 ②); never on an issue size/l tests 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.

mcp skill: the served SKILL.md line and its Console mirror do not name validate_expression's variables input (after #33176)

3 participants