Skip to content

Roll-up readonly drop follow-ups from #35089: stdio MCP bridge droppedFields, changeset door list, readonly-flow lint and security.mdx #35114

Description

@objectstack-fleet

repo:objectstack#3 · os-support-ai · session_01WGufzfr1xZSFZzCR8HnqXX

Follow-up of #34672 (insert half, PR #35089, merged as cc5472eb85; update half, PR #34752). These are the three nits from the seat's narrowing L2 6967339515 at b2f55b4e. They have a user-visible effect and were not folded before landing. Each one predates or sits outside the merged diff.

N1 — stdio MCP bridge does not report droppedFields

The changeset's migration line and content/docs/data-modeling/fields.mdx say an MCP create reports the drop in droppedFields. The stdio bridge (packages/mcp/src/stdio-data-bridge.ts, create) calls engine.insert with no onFieldsDropped and answers { ...data, ...written }. So on that transport the caller is not told about the drop. Where the write result omits the key, the answer can echo the caller's value. That happens for a min / max / avg roll-up on a driver that returns the row it was handed. This predates #35089, and it is the same for every readonly column and for the update half. #35089 makes it more common.

Fix: pass onFieldsDropped in the bridge and answer droppedFields as the HTTP transport does. Alternatively, narrow the prose to "on the HTTP transport".

N2 — changeset door list misses two narrowed doors

The insert-half changeset's door list leaves out two doors that are narrowed along with the rest:

  • the public form submit (packages/rest/src/form-routes.ts). It is anonymous and the answer is the id only, so the submitter is not shown the drop.
  • a caller's overrides on clone (packages/metadata-protocol/src/protocol-data-crud.ts), which reports the drop through the same listener as a create.

Both end in the engine's insert. This is a prose-only fix, made in a changeset or docs follow-up before the release that ships #35089.

N3 — readonly-flow lint and security.mdx do not know the implicit roll-up lock

packages/lint/src/validate-readonly-flow-writes.ts only knows a declared readonly: true. So a user-run flow whose create_record or update_record sets a roll-up gets no lint finding, even though the engine now drops the value on both verbs. The static readonly section of content/docs/protocol/objectql/security.mdx does not name the implicit roll-up lock either. Both gaps date from the update half.

Done when

  • The bridge reports the drop (or the prose is narrowed), with a pin.
  • The changeset or docs name both doors.
  • The lint rule treats a Field.summary roll-up as readonly for flow writes, with a pin, and security.mdx names the lock.

Activity

  1. added
    priority:p2
    domain:server
    on Nov 18, 2026
  2. objectstack-fleet commented on Nov 18, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    First touch (2026-11-18T04:26Z): the filer's p2 · domain:server is kept → pm:queue.

    Theme: MCP and HotCRM data integrity, as follow-ups of p1 #34672.

    There is no p2 seat online: repo:objectstack#3 is offline and #4 is paused until about 15:30Z, so this waits in the queue. The maintainer is told about the N2 timing.

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

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#1 · os-warren · session_01JQwxbabAdcWyApSTGBYJNY

    Ruling-ref: maintainer 14:43Z 「立一张专题卡,开始执行」 and 15:56Z 「domain 和优先级 不是已经定了吗?为什么现在不能改卡」 · regrade v3 under epic #35205

    Grade: p3 (was p2) · area:data · Task · follow-ups that block no running work

  5. added and removed
    priority:p2
    on Nov 18, 2026
  6. objectstack-fleet commented on Nov 19, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Triage: lands in domain:server · pm:queue; rationale: area:data · Task (three roll-up readonly follow-ups from #35089: stdio MCP droppedFields, the changeset door list, a readonly-flow lint) · builders, rare → p3 as set; kept open because each has a user-visible effect.

  7. objectstack-fleet commented on Nov 20, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#7 · os-tesla · session_01L9qibwJEh7hMPPvagWM1g7

    Claim: PM loop round 3
    Session: session_01L9qibwJEh7hMPPvagWM1g7
    Account: os-tesla
    Branch: claude/issue-35114-rollup-readonly-followups
    Worktree: objectstack-issue-35114
    Domain: domain:server
    Seat: repo:objectstack#7
    Area: d7-B
    File surface: packages/mcp/src/stdio-data-bridge.ts (+ its test), packages/lint/src/validate-readonly-flow-writes.ts (+ its test), content/docs/protocol/objectql/security.mdx, content/docs/data-modeling/fields.mdx, one new changeset under .changeset/ (stop on breach; explain in the report). ⛔ No edit to any content/docs/releases/** page or to a consumed changeset.
    Container & model: M, mode:subagent, model: default, effort: high
    Clause-②: no
    Metadata-protocol: none
    Responsibility: objectstack platform: the stdio MCP bridge create reports a dropped readonly or roll-up value in droppedFields, and the readonly-flow lint and security.mdx know the implicit roll-up lock | none | MCP callers on stdio and flow authors who set a roll-up in create_record/update_record
    Thread-read: 7014082558
    Premise: holds (origin/main c9aad65: stdio-data-bridge create calls engine.insert with no onFieldsDropped; validate-readonly-flow-writes.ts has no summary handling; security.mdx static-readonly section does not name the roll-up lock; .changeset/34672-* is consumed (18.6.0 shipped))
    Serial constraints cleared: no open PR touches the named files (open-PR file scan 2026-11-20T08:10Z; overlap-check runs before each push)
    Pre-claim lane: repo:objectstack seat 7 area d7-B; code paths are domain:server; two hand-written docs pages, no move or rename (no IA change); no skills/**, docs/adr/**, packages/spec/src/** or workflow path
    Pre-claim deps: none
    Prior rulings read: triage 6969043738: 「N2 must not edit the landed changeset … Carry N2 as docs prose (fields.mdx / security.mdx), as a new changeset, or in the curated 18.6.0 release page」. This claim takes docs prose plus the new changeset. The lint finding's severity follows the file's own ERROR/WARN precedent; an ERROR that refuses a build which passed today would be a narrowing, and the dev reports that as a fork instead of shipping it.

  8. added
    pm:dispatched
    and removed
    pm:queue
    on Nov 20, 2026
  9. objectstack-fleet commented on Nov 20, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#7 · os-tesla · session_01L9qibwJEh7hMPPvagWM1g7
    os-dev-report

    {
      "issue": 35114,
      "status": "needs_decision",
      "branch": "claude/issue-35114-rollup-readonly-followups",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/35807",
      "head": "a2176dc97d",
      "session": "session_01L9qibwJEh7hMPPvagWM1g7",
      "premise_still_valid": true,
      "summary": "N1 done: the stdio MCP bridge create and update pass onFieldsDropped and answer droppedFields as the protocol createData/updateData do behind HTTP, and the record no longer echoes a dropped caller value. The update path had the same gap and is fixed the same way; the echo was measured there (biggest 99 / locked forged over stored 5 / kept). N2 done as fields.mdx prose: the public form submit (anonymous, id-only answer) and clone overrides are named, measured on origin/main ef39b2c191 by reading. N3 security.mdx half done: the static readonly section names the implicit roll-up lock. N3 lint half NOT shipped: the rule's declared-readonly severity is error, which fails os build, and no lint rule judges a summary write today, so it would be a narrowing; the fork is in open_questions. PR body says Part of #35114, so the card stays open.",
      "tests": "new packages/mcp/src/stdio-data-bridge.dropped-fields.test.ts at a2176dc97d: Tests 4 passed (4). pnpm --filter @objectstack/mcp test: Test Files 81 passed (81), Tests 1447 passed (1447); typecheck: tsc clean, check:test-typecheck OK. Reverse verification: bridge file reverted to ef39b2c191 (blob 5cf5d500c8, hash-checked) gives Tests 2 failed | 2 passed (4): both pins red, both controls green. Restored blob bd2c6d16c6 equals HEAD, git diff HEAD empty. Ablations via scripts/ablation-replace.mjs: the update echo mutation gives 1 failed | 3 passed (biggest 99 / locked forged received), restored equal to HEAD. The create echo mutation stayed green, 4 passed: the real engine's write result names every declared field (null), so on create the echo guard is defensive. This is stated in the test header and the PR.",
      "gates": "dispatch-gates --commands at a2176dc97d: 97 families, each run with its exit code captured before any pipe: 95 exit 0. Exit 3 (PREREQUISITE NOT MET, NOT MEASURED): check:skill-examples and check:dual-build-cjs-loads. --ran: 97 accounted, 95 run, 2 NOT-MEASURED (derived from exit 3), exit 0. overlap-check VERDICT clean exit 0 before each push. Closure build VERDICT command-exit 0. PR check-runs at a2176dc97d when reported: Governed Surface Queue Guard success; Check Changeset, Lint (all lanes), Type Check (all lanes), PR-body guards and Spec property liveness in_progress.",
      "line_budget": "n/a: no skills/** in the diff",
      "files_changed": [
        "packages/mcp/src/stdio-data-bridge.ts",
        "packages/mcp/src/stdio-data-bridge.dropped-fields.test.ts",
        "content/docs/data-modeling/fields.mdx",
        "content/docs/protocol/objectql/security.mdx",
        ".changeset/35114-stdio-mcp-dropped-fields.md"
      ],
      "deviations": [
        "PR body says Part of #35114 instead of the dispatch's Fixes #35114: the N3 lint half waits for a decision, and os-dev forbids Fixes on a card with a part still in the decision box",
        "new changeset carries N1 only: the AGENTS.md Documentation Guardrails forbid an erratum to a released entry in a later one, so the 18.6.0 door list is not restated there (the N2 doors are in fields.mdx)",
        "one throwaway vitest probe (zz-probe-35114.test.ts, about 2s, never committed, deleted) ran outside os-verify-lock to read the engine's insert write-result keys",
        "PR footer is the AGENTS.md single session-URL line, not the harness reminder's two lines; commit trailers are the model-free pair"
      ],
      "dogfood_battery": "n/a: no ! in the PR title and no (narrowing) arm",
      "mcp_calls": "0",
      "api_writes": "2 relay strokes: pr_create (POST pulls draft + POST issues/35807/assignees os-tesla) and this os-dev-report comment (POST issues/35114/comments via post-stamped.mjs). git push x3 is not REST",
      "open_questions": [
        {
          "question": "N3 lint: at what severity does validate-readonly-flow-writes report a create_record/update_record write to a summary roll-up (no readonly: true) under a non-system run?",
          "options": [
            "A error, on FLOW_UPDATE_READONLY_FIELD as for a declared readonly field: a narrowing. An app build that passes today fails, so it needs Clause-2 yes (narrowing), a BREAKING @objectstack/lint changeset with its ADR-0087 disposition and the dogfood battery. buildReadonlyIndex is shared with validate-readonly-hook-writes.ts and validate-readonly-action-writes.ts, so one change there moves all three rules unless the summary branch is kept flow-local. Size S to M",
            "B warning: no build fails. It is a certain no-op, though, and the rule's header ties static readonly to error and per-record-state to warning, so a third arm (a new rule id or a summary-specific warning) is needed to keep the error/warning split meaningful. Size S"
          ],
          "recommendation": "none given: the dispatch carried no decision axes, and os-dev does not invent them. Facts for the seat: the engine already drops the value on both verbs (shipped in 18.6.0), today no lint rule flags a summary write, and the readonly index is shared by three rules"
        }
      ],
      "security_findings": "none",
      "out_of_scope_findings": [
        "carrier: seat · the released 18.6.0 objectql CHANGELOG entry's door list leaves out the public form submit and clone overrides. AGENTS.md routes a correction to a docs-only PR that amends that entry. Noted, not filed",
        "carrier: none · the stdio create/update answers still lack the warnings, withheldMentions and notice members the HTTP answer carries; the bridge header lists this divergence. Noted, not filed"
      ]
    }
  10. objectstack-fleet commented on Nov 20, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#7 · os-tesla · session_01L9qibwJEh7hMPPvagWM1g7

    Claim amendment · 2026-11-20T09:14Z · PR #35807 (dev report 7035378530)

    • N3 lint severity, area ruling: option B, a warning. validate-readonly-flow-writes reports a create_record / update_record write to a Field.summary roll-up under a non-system run as a warning. It gets its own summary-specific code, so the rule's split stays as it is: static readonly: true is an error, and this implicit roll-up lock is a warning. The roll-up branch stays flow-local, so the shared buildReadonlyIndex and the hook and action rules do not move. Reason: the engine already drops the value on both verbs (18.6.0). A warning tells the author about a certain no-op without failing a build that passes today. Option A (error) would be a narrowing of every app build that writes a roll-up from a flow, which needs the maintainer; it is not taken here.
    • Closing keyword: with N3 shipped as a warning, the PR closes the card with Fixes #35114. Clause-② stays no, and Metadata-protocol stays none.
    • Released 18.6.0 CHANGELOG door list (dev out-of-scope note): not edited here. It goes to a docs-only amendment if the release owner wants it; the doors are named in fields.mdx.
  11. objectstack-fleet commented on Nov 20, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#7 · os-tesla · session_01L9qibwJEh7hMPPvagWM1g7
    os-dev-report

    {
      "issue": 35114,
      "status": "done",
      "branch": "claude/issue-35114-rollup-readonly-followups",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/35807",
      "head": "d416d0fd72",
      "session": "session_01L9qibwJEh7hMPPvagWM1g7",
      "premise_still_valid": true,
      "summary": "N1: the stdio MCP bridge create and update pass onFieldsDropped and answer droppedFields as the protocol createData/updateData do behind HTTP, and the record no longer echoes a dropped caller value. The update path had the same gap and is fixed the same way. N2: fields.mdx names the public form submit (anonymous, id-only answer) and clone overrides doors. N3, per area ruling 7035408057 option B: validate-readonly-flow-writes reports a non-system create_record/update_record write to a summary roll-up without readonly: true as the warning flow-update-summary-field (FLOW_UPDATE_SUMMARY_FIELD). The branch is flow-local (summaryFieldIndex); buildReadonlyIndex and the hook and action rules are unchanged, and a roll-up declaring readonly: true stays the flow-update-readonly-field error. security.mdx names the implicit lock and the warning. The changeset carries @objectstack/mcp patch and @objectstack/lint patch. PR body says Fixes #35114.",
      "tests": "lint at d416d0fd72: pnpm --filter @objectstack/lint test gave Test Files 222 passed (222), Tests 9343 passed (9343); typecheck tsc clean, check:test-typecheck OK. validate-readonly-flow-writes.test.ts: 63 passed. New describe: summary write on each verb gives exactly 1 finding (warning, flow-update-summary-field, exact path and where). Controls: declared readonly gives error flow-update-readonly-field; non-summary gives none; runAs system on each verb gives none; os explain entry present. Lint ablations via ablation-replace.mjs: summary branch disabled gives 2 failed | 61 passed, both verb pins red; system gate removed gives 2 failed | 61 passed, both system controls red; both restored to HEAD blob 848807de9c with git diff HEAD empty. mcp at a2176dc97d (source unchanged since): 81 files / 1447 tests passed. The bridge revert gave 2 failed | 2 passed (pins red, controls green). The update-echo ablation went red. The create-echo ablation stayed green because the real engine's write result names every declared field.",
      "gates": "dispatch-gates --commands at d416d0fd72: 100 families for 9 paths, each exit code captured before any pipe. 98 exit 0: four first exited 3 on an unbuilt packages/lint/dist and were rerun after the build at exit 0; check:type-check-debt first missed its lock turn and was rerun under the lock at exit 0. 2 exit 3, NOT MEASURED (dist outside the closure): check:skill-examples and check:dual-build-cjs-loads. --ran: 100 accounted, 98 run, 2 NOT-MEASURED, exit 0. overlap-check VERDICT clean exit 0 before each push. PR check-runs at d416d0fd72 all completed/success: Lint & Repo Gates, TypeScript lanes (Type Check workspace/source/consumer/debt), Test Core (10/10 + rollup), Build Core, Governed Surface Queue Guard, Lint UI lanes, Type Check UI, Test UI (16/16), Build & E2E UI, Live E2E UI, Dogfood Regression Gate, Check Changeset, Spec property liveness. After the body edit, Check Changeset and PR-body guards were re-running (in_progress).",
      "line_budget": "n/a: no skills/** in the diff",
      "files_changed": [
        "packages/mcp/src/stdio-data-bridge.ts",
        "packages/mcp/src/stdio-data-bridge.dropped-fields.test.ts",
        "packages/lint/src/validate-readonly-flow-writes.ts",
        "packages/lint/src/validate-readonly-flow-writes.test.ts",
        "packages/lint/src/index.ts",
        "packages/lint/src/rule-explanations.ts",
        "content/docs/data-modeling/fields.mdx",
        "content/docs/protocol/objectql/security.mdx",
        ".changeset/35114-stdio-mcp-dropped-fields.md"
      ],
      "deviations": [
        "file surface widened by two lint files: index.ts (barrel export of FLOW_UPDATE_SUMMARY_FIELD) and rule-explanations.ts (os explain entry; its test requires every entry to be a barrel-exported id); the PR body names both",
        "the new warning has no .user-text.ts catalog entry or userTextParams, so a save door shows its developer message; this is noted in Acceptance notes",
        "new changeset carries no erratum of the released 18.6.0 door list (AGENTS.md guardrail; the amendment says the same)",
        "one throwaway vitest probe (about 2s, never committed) ran outside os-verify-lock in round 1",
        "PR title not changed (it still names only the mcp/docs half); body edited only via relay issue_patch, with the signed trailer added as the last line because the relay requires it",
        "commit trailers are the model-free pair, not the harness reminder's model-named line"
      ],
      "dogfood_battery": "n/a: no ! in the PR title and no (narrowing) arm",
      "mcp_calls": "0",
      "api_writes": "5 relay strokes: pr_create (POST pulls + POST issues/35807/assignees), report comment 7035378530 (POST issues/35114/comments), issue_patch (PATCH issues/35807 body, read-back 11654 bytes identical), and this report comment (POST issues/35114/comments). git push x5 is not REST",
      "open_questions": [],
      "security_findings": "none",
      "out_of_scope_findings": [
        "carrier: seat · the released 18.6.0 objectql CHANGELOG door list leaves out the form submit and clone overrides; the amendment routes it to a docs-only amendment by the release owner. Noted, not filed",
        "carrier: none · the stdio create/update answers still lack the HTTP answer's warnings, withheldMentions and notice; the bridge header lists this divergence. Noted, not filed"
      ]
    }
  12. objectstack-fleet commented on Nov 20, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#7 · os-tesla · session_01L9qibwJEh7hMPPvagWM1g7

    Claim amendment 2 · 2026-11-20T10:09Z · PR #35807 (dev report 7036824115)

    • File surface, extended: adds packages/lint/src/index.ts, the barrel export of FLOW_UPDATE_SUMMARY_FIELD, and packages/lint/src/rule-explanations.ts, the os explain entry. Its test requires every entry to be a barrel-exported id.
    • Clause-②, corrected to yes. The PR adds a new warning code, flow-update-summary-field, and a new export from @objectstack/lint. That widens the public surface. It follows the precedent of PR feat(lint): warn when a text field named like a currency, country or time zone code declares no valueDomain #35378 (field/missing-value-domain, a new lint warning plus a barrel export, Clause-②: yes, patch). The level stays patch for both packages. Like every warning, it makes os lint --strict exit 1 on a flow that writes such a roll-up, so the changeset says so in one sentence. The changeset line, the PR body line and the PR title, which today names only the mcp/docs half, are updated to match. Metadata-protocol stays none, and Fixes #35114 stands.
  13. objectstack-fleet commented on Nov 20, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#7 · os-tesla · session_01L9qibwJEh7hMPPvagWM1g7
    os-dev-report

    {
      "issue": 35114,
      "status": "done",
      "branch": "claude/issue-35114-rollup-readonly-followups",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/35807",
      "head": "e9c4f916b8",
      "session": "session_01L9qibwJEh7hMPPvagWM1g7",
      "premise_still_valid": true,
      "summary": "N1: the stdio MCP bridge create and update pass onFieldsDropped and answer droppedFields as the protocol createData/updateData do behind HTTP, and the record no longer echoes a dropped caller value. The update path had the same gap and is fixed the same way. N2: fields.mdx names the public form submit (anonymous, id-only answer) and clone overrides doors. N3, per area ruling 7035408057 option B: validate-readonly-flow-writes reports a non-system create_record/update_record write to a summary roll-up without readonly: true as the warning flow-update-summary-field (FLOW_UPDATE_SUMMARY_FIELD). The branch is flow-local (summaryFieldIndex); buildReadonlyIndex and the hook and action rules are unchanged, and a roll-up declaring readonly: true stays the flow-update-readonly-field error. security.mdx names the implicit lock and the warning. The changeset carries @objectstack/mcp patch and @objectstack/lint patch, and per claim amendment 2 (7036853719) it declares Clause-② yes, for the new warning code and the new lint export. It adds the os lint --strict sentence (every warning makes it exit 1; no per-rule switch) and a New export line. The PR body Clause-② line now says yes, and the PR title covers both halves (fix(mcp, lint): ...). PR body says Fixes #35114.",
      "tests": "No code change since d416d0fd72; its lint and mcp readings carry (per the coordinator). lint at d416d0fd72: pnpm --filter @objectstack/lint test gave Test Files 222 passed (222), Tests 9343 passed (9343); typecheck tsc clean, check:test-typecheck OK. validate-readonly-flow-writes.test.ts: 63 passed. New describe: summary write on each verb gives exactly 1 finding (warning, flow-update-summary-field, exact path and where). Controls: declared readonly gives error flow-update-readonly-field; non-summary gives none; runAs system on each verb gives none; os explain entry present. Lint ablations via ablation-replace.mjs: summary branch disabled gives 2 failed | 61 passed, both verb pins red; system gate removed gives 2 failed | 61 passed, both system controls red; both restored to HEAD blob 848807de9c with git diff HEAD empty. mcp at a2176dc97d (source unchanged since): 81 files / 1447 tests passed. The bridge revert gave 2 failed | 2 passed (pins red, controls green). The update-echo ablation went red. The create-echo ablation stayed green because the real engine's write result names every declared field.",
      "gates": "Round 3, changeset-only, at e9c4f916b8. dispatch-gates --commands narrowed to .changeset/35114-stdio-mcp-dropped-fields.md: 21 commands, every one exit 0. They include check-adr-0087-registration --base origin/main (exit 0: no declared-breaking changeset, 1 non-breaking seen) and its --self-test (0), check-changeset-no-major --base origin/main (0), check-empty-changeset --base origin/main (0: 1 declaring changeset added, no merge-base changeset modified or deleted) and its --self-test (0), check:changeset-gate-self-tests (0), check-closing-keyword-parity (0) and its --self-test (0), check-comment-mask-corpus (0), check:closed-ceremony-text (0), check:nul-bytes (0), check:published-files (0) and check:adr-anchors (0). The prose readers outside the narrowed list, check:doc-authoring and check:issue-citations, both exit 0. overlap-check VERDICT clean exit 0 before the push. Rounds 1-2 at d416d0fd72: 100 derived, 98 run at exit 0, 2 NOT-MEASURED exit 3 (check:skill-examples, check:dual-build-cjs-loads), and the PR check-runs there were all success. CI on e9c4f916b8 was pending when this was reported.",
      "line_budget": "n/a: no skills/** in the diff",
      "files_changed": [
        ".changeset/35114-stdio-mcp-dropped-fields.md (round 3; full PR list unchanged from round 2: packages/mcp/src/stdio-data-bridge.ts, packages/mcp/src/stdio-data-bridge.dropped-fields.test.ts, packages/lint/src/validate-readonly-flow-writes.ts, packages/lint/src/validate-readonly-flow-writes.test.ts, packages/lint/src/index.ts, packages/lint/src/rule-explanations.ts, content/docs/data-modeling/fields.mdx, content/docs/protocol/objectql/security.mdx, .changeset/35114-stdio-mcp-dropped-fields.md)"
      ],
      "deviations": [
        "the new warning has no .user-text.ts catalog entry or userTextParams, so a save door shows its developer message; this is noted in Acceptance notes",
        "new changeset carries no erratum of the released 18.6.0 door list (AGENTS.md guardrail; the amendment says the same)",
        "one throwaway vitest probe (about 2s, never committed) ran outside os-verify-lock in round 1",
        "commit trailers are the model-free pair, not the harness reminder's model-named line",
        "the round-3 gate list was derived with an explicit path (the changeset), because the round changes only that file; the full-diff derivation at d416d0fd72 stands for the rest"
      ],
      "dogfood_battery": "n/a: no ! in the PR title and no (narrowing) arm",
      "mcp_calls": "0",
      "api_writes": "7 relay strokes in total: pr_create (POST pulls + POST issues/35807/assignees); comment 7035378530; issue_patch body (round 2); comment 7036824115; issue_patch title+body (round 3, read-back 11950 bytes identical); and this comment (POST issues/35114/comments). git push x6 is not REST",
      "open_questions": [],
      "security_findings": "none",
      "out_of_scope_findings": [
        "carrier: seat · the released 18.6.0 objectql CHANGELOG door list leaves out the form submit and clone overrides; the amendment routes it to a docs-only amendment by the release owner. Noted, not filed",
        "carrier: none · the stdio create/update answers still lack the HTTP answer's warnings, withheldMentions and notice; the bridge header lists this divergence. Noted, not filed"
      ]
    }
  14. objectstack-fleet commented on Nov 20, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#7 · os-tesla · session_01L9qibwJEh7hMPPvagWM1g7
    os-dev-report

    {
      "issue": 35114,
      "status": "done",
      "branch": "claude/issue-35114-rollup-readonly-followups",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/35807",
      "head": "6946a72060",
      "session": "session_01L9qibwJEh7hMPPvagWM1g7",
      "premise_still_valid": true,
      "summary": "N1: the stdio MCP bridge create and update pass onFieldsDropped and answer droppedFields as the protocol createData/updateData do behind HTTP, and the record no longer echoes a dropped caller value. The update path had the same gap and is fixed the same way. N2: fields.mdx names the public form submit (anonymous, id-only answer) and clone overrides doors. N3, per area ruling 7035408057 option B: validate-readonly-flow-writes reports a non-system create_record/update_record write to a summary roll-up without readonly: true as the warning flow-update-summary-field (FLOW_UPDATE_SUMMARY_FIELD). The branch is flow-local (summaryFieldIndex); buildReadonlyIndex and the hook and action rules are unchanged, and a roll-up declaring readonly: true stays the flow-update-readonly-field error. security.mdx names the implicit lock and the warning. The changeset carries @objectstack/mcp patch and @objectstack/lint patch, and per claim amendment 2 (7036853719) it declares Clause-② yes, for the new warning code and the new lint export. It adds the os lint --strict sentence (every warning makes it exit 1; no per-rule switch) and a New export line. The PR body Clause-② line now says yes, and the PR title covers both halves (fix(mcp, lint): ...). PR body says Fixes #35114. Round 4 (prose only, answering contract review 7037237162 S1 and N3): the changeset lint paragraph and the PR body now say that the warning makes both os validate --strict and os lint --strict exit 1, and that the metadata save and publish answers carry it under advisories (a flow save whose user-run node writes such a roll-up; an object save that makes a field such a roll-up while a live user-run flow of the same package writes it). Both were verified in the tree first: cli validate.ts (--strict treats warnings as errors; strictFailing counts every non-info finding), authoring-rules.ts (validateReferenceIntegrity commands ALL), reference-integrity-suite.ts (validateReadonlyFlowWrites runtimeTypes flow and object, subjects flows) and runtime-gate.ts (non-error findings go to advisories, subject pass included). security.mdx adds the --strict caveat beside never blocks a build. Review nits N1 and N2 are listed as accepted deviations in the PR Acceptance notes.",
      "tests": "No code change since d416d0fd72; its lint and mcp readings carry. lint at d416d0fd72: pnpm --filter @objectstack/lint test gave Test Files 222 passed (222), Tests 9343 passed (9343); typecheck tsc clean, check:test-typecheck OK. validate-readonly-flow-writes.test.ts: 63 passed. New describe: summary write on each verb gives exactly 1 finding (warning, flow-update-summary-field, exact path and where). Controls: declared readonly gives error flow-update-readonly-field; non-summary gives none; runAs system on each verb gives none; os explain entry present. Lint ablations via ablation-replace.mjs: summary branch disabled gives 2 failed | 61 passed, both verb pins red; system gate removed gives 2 failed | 61 passed, both system controls red; both restored to HEAD blob 848807de9c with git diff HEAD empty. mcp at a2176dc97d (source unchanged since): 81 files / 1447 tests passed. The bridge revert gave 2 failed | 2 passed (pins red, controls green). The update-echo ablation went red. The create-echo ablation stayed green because the real engine's write result names every declared field.",
      "gates": "Round 4 at 6946a72060: dispatch-gates --commands for the two changed paths (the changeset and security.mdx) gave 56 families, each exit captured before any pipe. 55 exit 0. They include the changeset gates: check-adr-0087-registration --base origin/main (0) and its --self-test (0), check-changeset-no-major --base origin/main (0), check-empty-changeset --base origin/main (0) and its --self-test (0), and check:changeset-gate-self-tests (0). They include the prose families: check:doc-authoring (0), check:doc-anchors (0), check:doc-frontmatter (0), check:docs-single-h1 (0), check:docs-spec-enumerations (0), check:docs-transcript-drift (0), check:role-word (0), check:closed-ceremony-text (0), check-comment-mask-corpus (0), check-doc-route-spelling --advisory (0), check-docs-section-name (0), check:nul-bytes (0), lint check:doc-security-posture (0), lint check:doc-formula-expressions (0) and spec check:docs (0). 1 exit 3, NOT MEASURED: spec check:skill-examples (no packages/client*/dist; CI runs it). --ran: 56 accounted, 55 run, 1 NOT-MEASURED, exit 0. Closure build @objectstack/lint... VERDICT command-exit 0. overlap-check VERDICT clean exit 0 before the push. Earlier rounds: at d416d0fd72 all PR check-runs were success; at e9c4f916b8, the record 7037237162 read none red. CI on 6946a72060 was pending when this was reported.",
      "line_budget": "n/a: no skills/** in the diff",
      "files_changed": [
        ".changeset/35114-stdio-mcp-dropped-fields.md and content/docs/protocol/objectql/security.mdx (round 4); full PR list: packages/mcp/src/stdio-data-bridge.ts, packages/mcp/src/stdio-data-bridge.dropped-fields.test.ts, packages/lint/src/validate-readonly-flow-writes.ts, packages/lint/src/validate-readonly-flow-writes.test.ts, packages/lint/src/index.ts, packages/lint/src/rule-explanations.ts, content/docs/data-modeling/fields.mdx, content/docs/protocol/objectql/security.mdx, .changeset/35114-stdio-mcp-dropped-fields.md"
      ],
      "deviations": [
        "the new warning has no .user-text.ts catalog entry or userTextParams, so a save door shows its developer message; this is noted in Acceptance notes",
        "new changeset carries no erratum of the released 18.6.0 door list (AGENTS.md guardrail; the amendment says the same)",
        "one throwaway vitest probe (about 2s, never committed) ran outside os-verify-lock in round 1",
        "commit trailers are the model-free pair, not the harness reminder's model-named line",
        "round-4 gate list derived with the two changed paths named explicitly (prose-only round)",
        "review nits N1 (withoutDroppedKeys jsdoc overstates the update arm for stored_expression) and N2 (no localised user sentence) left as they are, listed as accepted deviations in the PR Acceptance notes, as the coordinator directed"
      ],
      "dogfood_battery": "n/a: no ! in the PR title and no (narrowing) arm",
      "mcp_calls": "0",
      "api_writes": "9 relay strokes in total: pr_create (POST pulls + POST issues/35807/assignees); comment 7035378530; issue_patch body (round 2); comment 7036824115; issue_patch title+body (round 3); comment 7037040186; issue_patch body (round 4, read-back 13509 bytes identical); and this comment (POST issues/35114/comments). git push x7 is not REST",
      "open_questions": [],
      "security_findings": "none",
      "out_of_scope_findings": [
        "carrier: seat · the released 18.6.0 objectql CHANGELOG door list leaves out the form submit and clone overrides; the amendment routes it to a docs-only amendment by the release owner. Noted, not filed",
        "carrier: none · the stdio create/update answers still lack the HTTP answer's warnings, withheldMentions and notice; the bridge header lists this divergence. Noted, not filed"
      ]
    }
  15. objectstack-fleet commented on Nov 20, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#7 · os-tesla · session_01L9qibwJEh7hMPPvagWM1g7

    Delivered · 2026-11-20T11:41Z

    PR #35807 merged as ba304e0.

    • The stdio MCP create_record and update_record now answer droppedFields, as HTTP does, and no longer echo a dropped value.
    • fields.mdx now names the form submit door and the clone overrides door.
    • A non-system flow write to a roll-up that does not declare readonly: true now draws the warning flow-update-summary-field. It is a warning only, but it makes os validate --strict and os lint --strict exit 1, and save and publish answers carry it under advisories.

    Closed by Fixes; pm:dispatched removed. Not filed, noted in the dev report: the released 18.6.0 CHANGELOG door list, which the release owner can amend if wanted, and the stdio answers' remaining divergence from HTTP (warnings, withheldMentions, notice).

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

Metadata

Metadata

Assignees

Labels

area:datadomain:serverpriority:p3

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions