Repository navigation
Closed
Labels
area:aiAI-native — agent / tool / skill metadata, and the MCP surface an agent drivesdomain:serverDomain lane — seat card indexed by label:pm:seatpriority:p2Medium: important, M3
Description
epic:#34659#1 · hotlong · session_01Q4EjjMnXJdSZifpEN5i7aU
Filing gate: ④ a child of the cross-lane parent #34659 (the 「MCP 二期与问数」 epic), filed by the session the maintainer set to file this epic's cards. Ruling: #34894 = A, comment 6953671481, the maintainer verbatim: 「两件都同意:构建提交进仓库,#34894 选 A」.
Why
The decision "one match answers, several ask, near ones are offered, none falls back and says so" is computed today in a hosted wrapper, for one client. The ruling moves it into the framework's executor so every client that calls the tool reads the same next step in the result.
Evidence (objectstack a0326b06; the hosted wrapper read on cloud 53a5844)
grep -n nextStepoverpackages/services/service-analytics/src/dataset-tools.tsandpackages/mcp/src/mcp-http-tools.tsfinds nothing.- The hosted wrapper computes it from the framework's own
matches, in the user's language, and composes the citation from the result'sprovenance. Its header records the measured reason: a model handed a finished string copies it; one that assembles it from parts often does not. - A tool result is read by any client that made the call. In this session's five-repetition pilot a client with no skill reached the governed route in a minority of runs.
Scope
- The executor fills
nextStepfor the terms it was handed, from its own matches and from service-analytics: list_datasets fillscandidateswith near members (name, label, synonym) on a zero-match, only from what the caller may read #34763's candidates, andsourceLinefromprovenance, to the shape of the spec card. Only over what the caller was admitted to see. - The sentence is written in the caller's locale by the path the door already resolves it with; the same sentence on HTTP and stdio.
- The tool descriptions, the initialize rule and the ask-data skill (skills: the ask-data skill's zero-match row reads the
candidateslist once list_datasets fills it #34868) say: follownextStep; citesourceLine. - The MCP door passes both through. File surface:
packages/services/service-analytics/**,packages/mcp/**.
Done when
- On
examples/app-crm: a word with one match, a word with two, a near-miss word and an unknown word each return the decision the rule gives, with a pin for each; a withheld member appears in none. - The daily MCP ask round (eval: a daily MCP ask round on the open-source runner — local boot, subscription login, no cloud access #34869) reads the skill-off arm before and after.
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. Decision record: [Decision] Should the framework's dataset tools return the next step and the citation line themselves, so the MCP door gets what the product's agent gets #34894. The hosted wrapper's removal is the cloud PM's (#34690).
- Blocked-by: service-analytics: list_datasets fills
candidateswith near members (name, label, synonym) on a zero-match, only from what the caller may read #34763
Metadata
Metadata
Assignees
Labels
area:aiAI-native — agent / tool / skill metadata, and the MCP surface an agent drivesdomain:serverDomain lane — seat card indexed by label:pm:seatpriority:p2Medium: important, M3
Activity
objectstack-fleet commentedon Nov 17, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
First touch (R1199, 16:5xZ): p2 · domain:server →
pm:blocked.Theme: MCP and epic #34659. The executor computes
nextStepandsourceLine, and the MCP door returns them, implementing the maintainer's ruling on #34894 (A). No named customer effect, so p2. Blocked: it waits on #34763.objectstack-fleet commentedon Nov 17, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Unlock (20:0xZ): the only blocker, #34763, closed at 20:01Z. Moved
pm:blocked→pm:queue. The grade is unchanged.objectstack-fleet commentedon Nov 17, 2026
repo:objectstack#3 · os-support-ai · session_01WGufziunkXbDT7wUWqfmWz
Claim: PM loop (area o3-C, epic #34659, seat note 21:06Z)
Session:
session_01WGufziunkXbDT7wUWqfmWzAccount:
os-support-aiBranch:
claude/issue-34919-dataset-next-stepWorktree:
objectstack-issue-34919Domain:
domain:serverSeat:
repo:objectstack#3File surface:
packages/services/service-analytics/**(the dataset executor computesnextStepandsourceLine; tool descriptions) andpackages/mcp/src/**(the door passes both through on HTTP and stdio; the initialize rule), their tests, root.changeset/. ⛔ Notskills/objectstack-ask/**orpackages/mcp/src/ask-skill.generated.ts: those are area o3-E's (#34977 in review), and the skill's "follownextStep" line is theirs to add after this lands. If the result shape is declared inpackages/spec, the dev stops and reports before widening.Container & model:
M,mode:subagent(area o3-C os-dev),model: TIER_DEFAULT,effort: high(seat)Clause-②: yes (widening, expected) — new
nextStepandsourceLinefields in the dataset tools' results widen a declared tool contract, so the seat's L2 follows; the dev confirms from the measured diffMetadata-protocol: none expected
Responsibility:
@objectstack/service-analytics/@objectstack/mcpin objectstack (the one-match / several-ask / near-offered / none-falls-back decision and the citation line are computed today only in a hosted wrapper for one client; ruling #34894 A moves them into the framework executor so every client reads the same next step) | none | every MCP client that calls the dataset toolsThread-read: 6959442493
Premise: holds on origin/main 421f180:
grep nextStep|sourceLineoverpackages/services/service-analytics/src,packages/mcp/srcandpackages/spec/srcfinds nothing;dataset-tools.ts:451computescandidates(#34763 / #34904, closed) and returns them at :461. The dev re-measures onexamples/app-crmbefore code.Serial constraints cleared: area o3-E (ask-data, #34977 on
packages/mcp/src/ask-skill.generated.tsandskills/objectstack-ask/**) is told this file list before building; overlap-check against open PRs before every push.Pre-claim lane:
domain:server— seat-assigned to area o3-C.Pre-claim deps:
Blocked-by: objectstack-ai/objectstack#34763, closed 20:01Z; triage unlock 6959442493 re-queued it at p2 (epic p2, dispatched per the maintainer's 12:25Z rule).Prior rulings read: #34894 = A (6953671481, maintainer verbatim 「两件都同意:构建提交进仓库,#34894 选 A」); thread: none; repo: objectstack-ai/objectstack
docs(spec): one nextStep reports one case, and the ADR-0149 M1 note n…
21 remaining items
objectstack-fleet commentedon Nov 18, 2026
repo:objectstack#1 · os-warren · session_01JQwxbWDsbbJizuYnDwBxT8
Landed · 2026-11-18T04:10Z: PR #35043 (first PR of this card: executor
nextStep/sourceLine, served by the MCP door) MERGED as6932cb84feat 2026-11-18T04:01:04Z. The card stays open for PR #35100 (skill line, Tier H, rework round running under claim 6968320293); done-when item 2 lives on #34869 (6967910642). Release freeze from 04:09Z: #35100 goes to draft + reviews only until the seat lifts it.objectstack-fleet commentedon Nov 18, 2026
repo:objectstack#1 · os-warren · session_01JQwxbWDsbbJizuYnDwBxT8
os-dev-report
{ "issue": 34919, "status": "done", "branch": "claude/issue-34919-ask-skill-next-step", "pr": "https://github.com/objectstack-ai/objectstack/pull/35100", "session": "session_01JQwxbWDsbbJizuYnDwBxT8", "premise_still_valid": true, "summary": "Rework round for L1-c REWORK 6967924755, one commit 9da3374525 on 8f4b4468 (plain push, no merge of origin/main: overlap-check clean). M1: PR objectstack-ai/objectstack#35100 body now opens with `Part of objectstack-ai/objectstack#34919` and carries no closing keyword; no second Claim was added to the card. S1: the `sourceLine` half left the step 2 line and is folded into step 3's citation bullet (\"Cite the answer's `sourceLine` as given; without one, build the source from `provenance` (...), not from memory.\"), so the skill holds exactly one citation instruction; step 2 keeps the `nextStep` line. Row re-measured 1753 -> 1750 (7019 bytes, less 20, ceil(6999/4)), pinned at the measurement; `Clause-②: no` in PR body and changeset per the seat ruling; ask-skill.generated.ts regenerated; skills-reference.mdx unchanged (check:skill-docs in sync). PR stays draft; objectstack-ai/objectstack#35043 was still open at 861f110f when read. Notes: commit trailers use the AGENTS.md model-free pair, not the harness reminder's model-named one; the PR body's harness attribution first line and the previous author's signed trailer line were kept as found.", "tests": "All at 9da3374525. Under os-verify-lock: `pnpm --workspace-concurrency=2 --filter '@objectstack/mcp^...' build` VERDICT command-exit 0; `pnpm --filter @objectstack/mcp exec vitest run --maxWorkers=2 && pnpm --filter @objectstack/mcp typecheck` VERDICT command-exit 0, Test Files 71 passed (71), Tests 1261 passed (1261), includes skill-single-source-34686.test.ts. `node scripts/gen-mcp-ask-skill.mjs --check` exit 0 (\"is current with skills/objectstack-ask/SKILL.md\"). No ablation: prose-only change, no tested behaviour changed. Note: the vitest run was on the tree before a message-only amend of the same commit (tree identical; `git diff HEAD` empty).", "gates": "Local: dispatch-gates --commands (no paths) derived 88; 87 exit 0, 1 NOT MEASURED: `pnpm check:dual-build-cjs-loads` exit 3 PREREQUISITE NOT MET (no whole-workspace build; CI runs it). --ran: \"1 of 88 derived famil(ies) UNRUN\" (that one). `node scripts/check-skills-token-ratchet.mjs` exit 0: \"skills/objectstack-ask/SKILL.md is 1750 tokens (ceiling 1750; headroom 0)\", bundle total 263550; `--self-test` exit 0, 104 cases pass. spec `check:skill-docs` exit 0; `check:skill-refs` exit 0 (\"9 generated files in sync\"); `check:skill-examples` exit 0 (\"347 prose examples type-check across 3 surface(s)\") after building the client-react closure (first try exit 3 PREREQUISITE NOT MET). `node scripts/pm/check-governed-merges.mjs --branch HEAD` exit 3: GOVERNED, landing tier H, skills/** x1 (bare `--branch` is refused, exit 1: it wants a ref). `node scripts/pm/overlap-check.mjs --branch=HEAD` exit 0, VERDICT clean vs origin/main 526282e11a, objectstack-ai/objectstack#35087, objectstack-ai/objectstack#35077, objectstack-ai/objectstack#33849. `check:nul-bytes` exit 0. CI check-runs on 9da3374525: in_progress, not read (report not held for CI); PR-body guards expected to re-read the new body.", "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm", "mcp_calls": "0", "api_writes": "2 — relay (fleet-write dispatch): issue_patch body on objectstack-ai/objectstack#35100 (run 44236612772, read-back 8454 bytes sent, 8454 stored, identical); post-stamped comment on objectstack-ai/objectstack#34919 (this report). Plus one git push.", "open_questions": [], "security_findings": "none", "out_of_scope_findings": [] }objectstack-fleet commentedon Nov 18, 2026
repo:objectstack#1 · os-warren · session_01JQwxbWDsbbJizuYnDwBxT8
os-dev-report
{ "issue": 34919, "status": "done", "branch": "claude/issue-34919-ask-skill-next-step", "pr": "https://github.com/objectstack-ai/objectstack/pull/35100", "session": "session_01JQwxbWDsbbJizuYnDwBxT8", "premise_still_valid": true, "summary": "Fix round for contract review 6969596617, finding S1, in the ruled direction (the nextStep note wins). skills/objectstack-ask/SKILL.md: the nextStep line continues 'If `note` says to answer one measure and ask about a word, do both; use none of that word's candidates until the user answers.' and the paragraph under it opens 'When you only ask, the reply is the question alone'. Paid down first (', one or several' cut from the candidates row, whose right cell states it); the token row moves 1750 -> 1779, pinned at the measurement (+29 this round, +39 over main). Served copy regenerated, changeset and PR body updated; one commit b82c7383fc4, one push. N1 is an accepted deviation in the review and was not touched. No example added.", "tests": "All at b82c7383fc4. Verify lock: `pnpm --workspace-concurrency=2 --filter '@objectstack/mcp^...' build` VERDICT command-exit 0; `pnpm --filter @objectstack/mcp exec vitest run --maxWorkers=2 && pnpm --filter @objectstack/mcp typecheck` Test Files 71 passed (71), Tests 1261 passed (1261), VERDICT command-exit 0 (skill-single-source-34686.test.ts is in the package's test set). No ablation: prose and a ratchet row only.", "gates": "Local, exit captured before any pipe: gen-mcp-ask-skill.mjs --check 0 (current); check-skills-token-ratchet.mjs 0 (objectstack-ask 1779 / 1779, +0; bundle total 263579) and --self-test 0 (104 cases pass); spec check:skill-docs 0, check:skill-refs 0 (9 generated files in sync), check:skill-examples 0 (347 prose examples, after building the client-react closure under the lock, VERDICT command-exit 0); check-nul-bytes 0; overlap-check --branch=HEAD 0, VERDICT clean against origin/main dfc6bbf615 and 2 PR heads; check-governed-merges --branch HEAD exit 3 = GOVERNED, Tier H (expected; head repo NOT MEASURED on a branch read). dispatch-gates --commands: 88 derived, 87 exit 0, 1 NOT MEASURED: `pnpm check:dual-build-cjs-loads` exit 3, PREREQUISITE NOT MET (reads every package's dist; no whole-workspace build here; CI runs it). --ran: '88 derived famil(ies) accounted for, 87 run, 1 NOT-MEASURED'. The derivation printed a stale-tree note (branch at least 20 commits behind origin/main; main not merged: no conflict, no red). CI check-runs on b82c7383fc4 at report time: 37 success, 18 skipped, 2 in_progress, 0 failure.", "dogfood_battery": "n/a: no `!` in the PR title and no (narrowing) arm", "mcp_calls": "0", "api_writes": "2: relay issue_patch on pull 35100 (PATCH /repos/objectstack-ai/objectstack/issues/35100, run 44258316750, read-back identical, 10068 bytes); this report comment (POST /repos/objectstack-ai/objectstack/issues/34919/comments via post-stamped). Plus one git push.", "open_questions": [ { "question": "The dispatch cap 'net-add <= +40 tokens' can be read per round or over main. Which was meant?", "options": ["A: per round: this round is +29", "B: over main for the whole PR: the PR is +39 (1740 -> 1779)"], "recommendation": "Either reading holds at this head; no action needed." } ], "security_findings": "none", "out_of_scope_findings": [] }objectstack-fleet commentedon Nov 18, 2026
repo:objectstack#1 · os-warren · session_01JQwxbWDsbbJizuYnDwBxT8
Closed · 2026-11-18T09:09Z: both PRs of this card have merged. PR #35043 (executor
nextStep/sourceLine, served by the MCP door) as6932cb84fe, and PR #35100 (the ask skill followsnextStep; Tier H, os-zhuang) asf54fc93090at 2026-11-18T08:28:11Z. Done-when item 2 (the before/after ask round) lives on #34869 (6967910642). The rule scoped by #35005 reaches the skill through #35158. Leaseo1-Creleased.