Skip to content

review follow-ups of PR #35682: initialize points at /mcp/skill, run_action no_confirmation_service hint, remaining tools/list weight #35778

Description

@objectstack-fleet

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

Filing gate: ① (L1 follow-ups of PR #35682, one card per PR) · Source: fleet · Area: a4-C · Seat: repo:objectstack#4

review follow-ups of PR #35682

PR #35682 (Part of #34689, Fixes #33272) slimmed the open MCP door's tools/list (47,712 → 36,481 bytes) by moving teaching prose out of tool descriptions into the served SKILL.md. L1-a left non-blocking notes (7026997961, 7028088861) that were recorded on #34689 (7027050676, 7028099958). #34689 closes on its landed code half, so they are carried here.

Items

  • initialize does not point at the skill. The open door's initialize instructions do not tell a client that the teaching text now lives at /api/v1/mcp/skill. A client that never loads the skill loses the moved prose with no hint where it went. One line in packages/mcp/src/mcp-server-runtime.ts's default instructions.
  • run_action lost the no_confirmation_service hint. The base told a client that on no_confirmation_service the user performs the action in the app; the slimmed text folds that into "do not retry unless the user asks". Restore a short clause (packages/mcp/src/mcp-http-tools.ts).
  • Remaining weight outside fix(mcp): slim the open door's tools/list; the served SKILL.md carries the teaching and names validate_expression's variables #35682's surface (optional slimming): list_datasets / query_dataset descriptions (~2,979 B, packages/services/service-analytics/src/dataset-tools.ts), spec QueryDatasetInputSchema (~4,591 B), FlowVariableSchema item descriptions inside validate_expression (~1,838 B). Each needs its own measure-first look; the spec one is a spec-description change.

Why

Business reason: every MCP client pays tools/list on connect, and a client that does not load the skill should still find the moved guidance and know what a refusal means. Who acts: the server lane (area:ai, packages/mcp). Reach: every open-door MCP client.

Grade: p3 · domain:server — guidance wording and optional slimming after a landed fix; no wrong answer today.

Dedup: "PR #35682" → 0; initialize mcp/skill pointer → 0 open.

Related: #34689, #33272, PR #35682, epic #34659. Before/after ask round for #34689: parked on #35154 (7031811704).

Activity

  1. added
    area:ai
    domain:server
    on Nov 20, 2026
  2. objectstack-fleet commented on Nov 20, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Triage: lands in domain:server (packages/mcp) · pm:queue; rationale: area:ai · Task (review follow-ups of PR #35682: the MCP initialize pointer to /mcp/skill, the run_action no-confirmation-service hint, the remaining tool prose) · what an AI client reads at the open MCP door → p3 as set; kept open because it shapes AI answers · size S.

  3. added
    pm:queue
    on Nov 20, 2026
  4. objectstack-fleet commented on Nov 25, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#4 · os-justin · session_01QSeKYo86w1wqy2z2fMrryr

    Claim: PM loop round 8 · 2026-11-25T21:08Z · p3 step-down (seat: no dispatchable area:ai p1/p2 in scope)
    Area: a4-A
    Session: session_01QSeKYo86w1wqy2z2fMrryr
    Account: os-justin
    Branch: claude/issue-35778-mcp-skill-pointer-refusal-hint
    Worktree: objectstack-issue-35778
    Domain: domain:server
    Seat: repo:objectstack#4
    File surface: items 1–2 only — packages/mcp/src/mcp-server-runtime.ts (the default initialize instructions point at GET /api/v1/mcp/skill), packages/mcp/src/mcp-http-tools.ts (run_action's description restores a short no_confirmation_service clause: the user performs the action in the app), their pins under packages/mcp/src/**/*.test.ts, any tools/list or instructions byte pin those edits move, one .changeset/*.md (@objectstack/mcp patch). Item 3 (optional slimming, measure-first, one item a spec-description change) is not taken.
    Container & model: S, mode:subagent, model: TIER_DEFAULT (dispatch-gates --tier: no path-derived mandate), effort: medium
    Clause-②: no
    Metadata-protocol: none
    Responsibility: n/a — not a defect card
    Thread-read: 7033623190
    Premise: holds (main 7f62348: DEFAULT_HTTP_INSTRUCTIONS names no /api/v1/mcp/skill; run_action's text folds no confirmation service into "do not retry unless the user asks", with no in-app hint)
    Serial constraints cleared: open PR #37314 touches packages/mcp/README.md only and #37350 packages/runtime only; #34325 (queued, unclaimed) edits a different string in mcp-http-tools.ts; overlap-check at push
    Pre-claim lane: domain:server — packages/mcp/**
    Pre-claim deps: none named on the card
    Prior rulings read: #34659 D4/D5 (what initialize carries), #33712 / ruling 6909391261 (no-service wording on the doors)

  5. added
    pm:dispatched
    and removed
    pm:queue
    on Nov 25, 2026
  6. objectstack-fleet commented on Nov 25, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#4 · os-justin · session_01QSeKYo86w1wqy2z2fMrryr

    Dispatched · 2026-11-25T21:09Z · mode:subagent (model at TIER_DEFAULT, effort medium), branch claude/issue-35778-mcp-skill-pointer-refusal-hint, under claim 7174679744. Delivery: items 1–2 — the default initialize instructions point at the served skill, and run_action regains its short no_confirmation_service clause — with pins and ablation, a draft PR and an os-dev-report comment here. Item 3 (optional slimming) is not taken.

  7. objectstack-fleet commented on Nov 25, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#4 · os-justin · session_01QSeKYo86w1wqy2z2fMrryr
    os-dev-report

    {
     "issue": 35778,
     "status": "done",
     "branch": "claude/issue-35778-mcp-skill-pointer-refusal-hint",
     "pr": "https://github.com/objectstack-ai/objectstack/pull/37355",
     "head_sha": "e3c3ac47a0",
     "session": "session_01QSeKYo86w1wqy2z2fMrryr",
     "premise_still_valid": true,
     "summary": "Items 1-2 done; item 3 (optional slimming) not taken, stated in the PR. (1) DEFAULT_HTTP_INSTRUCTIONS (packages/mcp/src/mcp-server-runtime.ts) gains: \"Usage guide (SKILL.md): GET this endpoint's path plus /skill (by default /api/v1/mcp/skill).\" Verified against the route: runtime domains/mcp.ts createMcpDomains serves /mcp/skill beside /mcp from one domain list, mounted in dispatcher-plugin.ts under the same configurable prefix (default /api/v1), same isMcpServerEnabled switch, same mcp service (renderSkill), anonymous, so true for every grant; handleHttpRequest's only in-repo caller is that domain. Phrased relative to the endpoint because the prefix is configurable. Host and configured texts stay whole; the stdio default is untouched (no HTTP endpoint there). (2) run_action's description (packages/mcp/src/mcp-http-tools.ts) gains, after the ACTION_CONFIRMATION_REQUIRED sentence: \"On details.reason \\\"no_confirmation_service\\\" a person performs it in the app: do not make the same change with another tool.\" It restores the pre-#35682 hint and carries the not-through-another-tool half from qa comment 6966146204. It is door-neutral and does not pre-empt #34325's stdio-only refusal sentence; it is consistent with ruling 6909391261. Byte deltas: tools/list 36,613 to 36,739 (+126), run_action description 1,228 to 1,352 (+124), under the unchanged 38,000 ceiling. Default initialize text +93 bytes (533 chars on a bare bridge); the 4,096-char bound pin still green. No byte pin moved.",
     "tests": "Pins: new top-level describes in initialize-selection-rule-34686.test.ts (pointer in the first paragraph for 5 grants) and mcp-action-confirmation-handoff-33690.test.ts (the run_action tools/list description carries the clause). Ablations via scripts/ablation-replace.mjs, restored blob == HEAD and git diff HEAD empty. Tests import src, so no dist is in the path. Pointer anchor 1->0: 1 failed | 14 passed ('expected ObjectStack MCP Server... to contain Usage guide (SKILL.md)...'). Clause anchor 1->0: 1 failed | 28 passed. At e3c3ac47a0, under os-verify-lock: build of @objectstack/mcp... VERDICT command-exit 0; mcp typecheck plus full vitest VERDICT command-exit 0, Test Files 85 passed (85), Tests 1509 passed (1509); check:test-typecheck OK.",
     "gates": "dispatch-gates --commands --repo objectstack-ai/objectstack at e3c3ac47a0: 68 families. Each was run with its exit code captured before any pipe: 67 exit 0. pnpm check:dual-build-cjs-loads exit 3 (PREREQUISITE NOT MET: no whole-repo dist), which is NOT MEASURED locally and left to CI. --ran with exit codes: 68 derived, 67 run, 1 NOT-MEASURED (derived from exit 3), 0 UNRUN, exit 0. check:nul-bytes exit 0 (in the set). overlap-check before the push: VERDICT clean exit 0. PR check-runs: in_progress at report time, not awaited.",
     "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm",
     "mcp_calls": "5 — read only: issue_read get #35778, get_comments #35778, get_comments #34325, get #34325, get_comments #33712; no write tools",
     "api_writes": "3 — git push (2, not REST); relay pr_create (POST /repos/objectstack-ai/objectstack/pulls draft + POST issues/37355/assignees os-justin, run 45708029268, body read back identical, 5474 bytes); post-stamped POST issues/35778/comments (this report)",
     "open_questions": [],
     "security_findings": "none",
     "out_of_scope_findings": [
      "carrier: none · noted, not filed: a cloud host that calls handleHttpRequest from its own code and mounts /mcp without the runtime dispatcher gets this default only when it injects no instructions. If it serves no sibling /skill path, the pointer would not hold there. This was not verifiable from this repo; it is recorded in the PR's Acceptance notes."
     ]
    }
  8. objectstack-fleet commented on Nov 25, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#4 · os-justin · session_01QSeKYo86w1wqy2z2fMrryr

    Closed by PR #37355 (L1 ACCEPT 7176128903), merged as 80da086402: items 1–2 delivered — the open door's default initialize instructions name the served usage guide (GET <endpoint>/skill, by default /api/v1/mcp/skill), and run_action again says a no_confirmation_service refusal leaves the action to a person in the app, not to another tool. Item 3 (optional slimming of list_datasets / query_dataset / FlowVariableSchema descriptions) was not taken; it is optional per this card and owed by nobody. pm:dispatched removed.

  9. removed
    pm:dispatched
    on Nov 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:aidomain:serverpriority:p3

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions