Repository navigation
Description
epic:#34659#1 · hotlong · session_01Q4EjjMnXJdSZifpEN5i7aU
Filing gate: ④ a child of the cross-lane parent #34659 (the 「MCP 二期与问数」 epic), filed on the maintainer's word in this session's chat, 2026-11-18, verbatim: 「你要评估,云端哪些要迁移到开源项目,相关卡片要么关闭要么等待」, after 「开源项目能做的尽量在开源项目做,云端等开源项目完全优化好再开工」. Source of the inventory: a reading of the hosted tree at cloud main 0aabf9aa against this repository's main b1eb500d, 2026-11-18. The open repository's agents cannot read the hosted tree, so what each item does is written here.
Why
The hosted product checks a build for some two dozen mistakes that the open framework lets through to publish. An author on the open side, human or AI, ships them and finds out at run time. E1 on #34659 rules that such a mistake is caught by a check in the framework first. #34776 carries the first six; this card is the rest of what the reading found with no open rule of the same meaning.
Who acts: the spec lane (packages/lint, packages/spec/src/kernel). Reader: every author at publish time; the hosted side then deletes its copies.
The checks, by family (each: what is wrong · why it does not work)
Flows
- A condition or a field value compares or writes a select option's label instead of its value · the condition matches no row and the flow never fires; the write fails.
- A record-change start node with no object · it binds to nothing.
- A flow that re-triggers itself and is guarded only by a boolean it writes · it loops or never runs.
- A time-relative trigger that is shadowed by another, has its filter in the wrong place, names an unknown object, or names a field that is not a date · the sweep is discarded or matches nothing.
- A schedule with no timezone · it fires at a time nobody chose (advisory).
- A subflow step naming a flow that does not exist.
- A date helper written inside a plain string, and a CEL expression that faults on a date-only value · the run fails on every row.
- Two flows, one after create and one after update, doing the same thing · one rule written twice (advisory).
Data model
- A field named like a count or a total and typed as a lookup (advisory).
- A formula that reads a summary field that has no configuration · it is stuck at zero.
- A summary whose child object has no reference back to the parent.
referenceset on a field type that reads none.- A field of an approval detail that stays editable while the approval is pending (advisory).
Views, dashboards, app shell
- A board grouped by a field that is not a select (advisory). A dashboard with no widgets.
- A view filter on a formula field the store cannot filter by.
- An object no app's navigation reaches; an app with no navigation; an object with no view (advisory).
Seeds and actions
- A seed key that is not a field of its object, caught before load, not at it.
- A seed, a flow node or an action bound to an object that does not exist (the open rule covers datasets, views and flow triggers only).
- An action body that calls a write API without declaring the write capability.
Scope
- One PR per family. Each rule: runtime publish gate and CLI, a positive and a negative pin, a finding that names the fix. Severity as marked; the lane may raise an advisory after reading the engine.
- Where an open rule already covers part of a case, extend it; do not add a second rule beside it.
- When a family lands, the matching trap leaves the published skills where it is taught as prose.
Done when
- Each line above is either a rule with its pins, or a line on this card saying which existing rule already covers it.
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. Ruling: E1 = A. First batch: lint: six publish-time checks for metadata that passes the schema and does nothing at run time #34776. These are product rules an author sees at publish, not repository gates.
- The hosted card on
referenceon a non-reference type is closed in favour of this card. - Dedup, open and closed:
NO_EXECUTOR lint flow node typeandapproval edge labelfound only lint: six publish-time checks for metadata that passes the schema and does nothing at run time #34776; no card found for the families above.
Activity
objectstack-fleet commentedon Nov 18, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
First touch: p2 ·
domain:devx·pm:blocked. It is a new capability inside epic #34659, filed on the maintainer's 「开源项目能做的尽量在开源项目做,云端等开源项目完全优化好再开工」 (cloud#4842 comment 6971980045). Grading principle of 2026-11-18, item 5: new capability, p2, the grade its in-flight siblings carry; the grade of the epic's children is with the maintainer.Blocked-by: #34776. The first batch of publish-time checks lands first; this second batch reuses its rule shape, one PR per family. It unlocks when #34776 closes.
65 remaining items
objectstack-fleet commentedon Nov 29, 2026
repo:objectstack#1 · zhuangjianguo · session_01QsR2jSjBfkaFUVwRa3pdUK
os-dev-report
{ "issue": 35143, "status": "done", "branch": "claude/project-thread-octcjy", "pr": "https://github.com/objectstack-ai/objectstack/pull/38594", "session": "session_01QsR2jSjBfkaFUVwRa3pdUK", "premise_still_valid": true, "summary": "Takeover of PR #38241 (seat 6, head bc21970eab): branch started at that head, origin/main 30141766 merged, every prior hunk kept and re-verified by rerunning its suites. Rework on contract review 7238045522 (FAIL): M1 importUnmanagedPackage states its plan's flow names on each flow write (server-only saveMetaItem field copyPlanFlowNames, handed to the gate as pending.flows), so a flow calling a sibling declared later installs; S1 the stored names are one sys_metadata read (type $in both spellings, fields ['name']) and none for a flow that calls no other flow (flowCallsAnotherFlow); S2 the ADR-0087 entry's surface/reason/acceptanceCriteria count eight publish-gate errors and say what holds at each door and for a package install; S3 pins for a throwing store read, a throwing listFlows and a missing sys_metadata table; N1 docblock moved. duplicatePackage unchanged (stored source rows already resolve, per the review). New PR #38594 supersedes #38241, head a7c00fdd85.", "tests": "head a7c00fdd85 (metadata-protocol full suite at 531aa7b28f, the next commit typed three test callbacks only): @objectstack/lint test 246 files / 9962 tests passed, typecheck exit 0; @objectstack/metadata-protocol test 372 passed + 9 skipped files, 23659 passed + 45 skipped tests, typecheck exit 0 at a7c00fdd85 with the two touched test files re-run 382/382; @objectstack/spec src/migrations 5 files / 209 tests. Ablation (committed head, mutated on disk, restored with git checkout HEAD): no copyPlanFlowNames → 'installs a package that declares the calling flow before the flow it calls' fails 1/2; flowCallsAnotherFlow guard dropped → 'reads the stored names once' fails 1/8. Reading: an install with targetNamespace of a caller+callee package is refused 422 flow-subflow-unknown and rolled back (the rename does not rewrite config.flowName).", "gates": "dispatch-gates --ran at a7c00fdd85: 103 derived, 101 run, 2 NOT MEASURED, 0 unrun, RAN-EXIT 0. Sweep: 100 exit 0; pnpm --filter @objectstack/cli exec vitest run test/migrate-meta-engine-guidance.test.ts exit 1 (objectql dist missing, MODULE_NOT_FOUND) → rerun after closure build 3/3 passed; check:lean-entry-closure exit 3 → rerun exit 0; check:dual-build-cjs-loads exit 3 (needs a full build), left to CI. check:facade-delegation-only exit 0 (protocol.ts net 0 lines). overlap-check --exclude-pr=38241: VERDICT clean exit 0 vs origin/main and #38550, #38497. PR body gates: check-changeset-no-major, check-adr-0087-registration, check-closing-keyword-parity, check-partof-closing-keyword all exit 0. CI check-runs: not yet read (PR just opened).", "dogfood_battery": "a7c00fdd85 · os-verify-lock: VERDICT command-exit 0 · Test Files 495 passed | 3 skipped (498) · Tests 4187 passed | 68 skipped (4255) · no failure. The closure build exited 1 on @object-ui/data-objectstack only because the command forwarded --concurrency=2 to its tsup (invocation slip); every changed package was rebuilt at that head before the battery.", "mcp_calls": "6 — mcp__github__issue_read (1), mcp__github__pull_request_read (1), plus ToolSearch loads; no MCP write tool", "api_writes": "2 — fleet-write relay pr_create (objectstack-ai/objectstack#38594, assignees zhuangjianguo); this os-dev-report comment on #35143. Plus git push of claude/project-thread-octcjy (not REST). Reviewer request for zhuangjianguo not made: it needs a GitHub write outside the relay, which this order forbids.", "open_questions": [], "security_findings": "withheld", "out_of_scope_findings": [ "class: a · reach: public door POST unmanaged package install with targetNamespace (importUnmanagedPackage) — a package whose flow calls a sibling flow is renamed crm_parent→crm2_parent / crm_child→crm2_child but config.flowName stays crm_child; on main the install succeeds and the step fails on every run (Flow not found), after this PR the install is refused 422 flow-subflow-unknown and rolled back unless the deployment holds the old name · evidence: package-namespace-rename.ts planNamespaceRename rewrites object names only (renameName for flow item names, regex over object names), measured 422 'flow crm2_parent could not be written … flows[0].nodes[1].config.flowName [flow-subflow-unknown]' · dedupe words: unmanaged install targetNamespace flowName rename subflow", "carrier: none · noted, not filed: review nits N2 (listFlows read unsealed), N3 (empty-set exit depends on door), N4 (did-you-mean draws on unfiltered stored read), N5 (rulesRun names the rule on a write it did not judge); in the PR acceptance notes" ] }objectstack-fleet commentedon Nov 29, 2026
repo:objectstack#1 · zhuangjianguo · session_01QsR2jTsdScTh3o2fSjbxSz
2026-11-29T13:35Z · Claim amendment to 7255940266: names the publish gate's wiring file by file, as continuation PR #38594 touches it (review 7238045522 M1, S1); the PR's 16 files all fall inside it; nothing else changes.
Claim: PM loop round 3 (amendment of 7255940266)
Session:
session_01QsR2jTsdScTh3o2fSjbxSzAccount:
zhuangjianguoThread session:
session_01QsR2jSjBfkaFUVwRa3pdUKBranch:
claude/project-thread-octcjyResume-from:
claude/issue-35143-flows-leftovers@bc21970eabWorktree:
objectstack-issue-35143dDomain:
domain:devxSeat:
repo:objectstack#1File surface:
packages/lint/**(the Flows rules of #36691 only, with positive and negative pins), the runtime publish gate's wiring of them, the docs rule-family table and generated reference pages and counts the change regenerates, one changeset. The publish gate's wiring, named file by file as review 7238045522 M1/S1 required them:packages/metadata-protocol/src/protocol-authoring-gate.ts,packages/metadata-protocol/src/runtime-authoring-gate.ts,packages/metadata-protocol/src/protocol.runtime-authoring-gate.test.ts,packages/metadata-protocol/src/protocol.ts,packages/metadata-protocol/src/protocol-save.ts(the server-onlycopyPlanFlowNamesfield),packages/metadata-protocol/src/protocol-package-commits.ts,packages/metadata-protocol/src/protocol-door-requests.ts,packages/metadata-protocol/src/package-unmanaged-install.test.ts; and the ADR-0087 entrypackages/spec/src/migrations/entries/semantic/18.publish-refuses-flows-that-save-and-do-not-run.ts(stop on breach; explain in the report)Container & model:
M,mode:subagent,model: default,effort: highClause-②: yes (narrowing) — carried from claim note 7237918741, judged RIGHT by review 7238045522
Metadata-protocol: narrowed
Responsibility:
n/a — not a defect cardThread-read: 7253061060
Premise: holds per the open lines recorded 7103235688 — F1: the option-label check covers start conditions only, decision-node and edge conditions are not judged; F6: the subflow check is a CLI-only warning because the gate's snapshot holds one flow. The dev re-verifies both on main first.
Serial constraints cleared: no open PR of this seat in
packages/lint; overlap-check runs before the push.Scope this dispatch: the Flows leftovers F1 and F6, the last open lines of the card. Where F6 cannot be judged at the publish door without a false refusal, the dev records on the card which rule covers it and why, which the card's "Done when" admits.
Fixes #35143if both lines close; otherwisePart of #35143.objectstack-fleet commentedon Nov 29, 2026
repo:objectstack#1 · zhuangjianguo · session_01QsR2jTsdScTh3o2fSjbxSz
2026-11-29T13:46Z · Correction to os-dev report 7256645411: its
security_findingsfield isnone, notwithheld. The dev confirmed it wrote "withheld" by mistake and held nothing back. The saved JSON beside the report is corrected. The out-of-scope finding is filed as #38595.objectstack-fleet commentedon Nov 29, 2026
repo:objectstack#1 · zhuangjianguo · session_01QsR2jSjBfkaFUVwRa3pdUK
os-dev-report
{ "issue": 35143, "status": "done", "branch": "claude/project-thread-octcjy", "pr": "https://github.com/objectstack-ai/objectstack/pull/38594", "head": "93f3643eaf", "session": "session_01QsR2jSjBfkaFUVwRa3pdUK", "premise_still_valid": true, "summary": "Patch round on delta review 7257069704 (PASS on re-review 7257584442), head 93f3643eaf on PR #38594 (supersedes #38241). S4: the gate's registry source now lists flows with includeDisabledPackages: true (registeredFlowsWithDisabled in protocol-authoring-gate.ts, 'flow' then the 'flows' spelling, [] on failure), so a call to a flow of a disabled package publishes instead of being refused flow-subflow-unknown. N6: the ADR-0087 entry's reason/acceptanceCriteria reworded. N7: docblocks and the rule explanation (lint authoring-rules, runtime-gate, validate-flow-trigger-readiness, rule-explanations; metadata-protocol runtime-authoring-gate) name a disabled package's flows and a package install's flows. N8: the changeset's Exports bullet names saveMetaItem copyPlanFlowNames and drops evaluateRuntimeAuthoringGate. protocol.ts unchanged in line count. Every round-1 fix (M1, S1, S2, S3, N1) kept. PR body rewritten for this head via relay issue_patch (S4 line, new pin in the test list, suites at this head, expect 11 passed), signed trailer last, read back identical.", "tests": "head 93f3643eaf: @objectstack/lint test 246 files / 9962 tests passed, typecheck exit 0; @objectstack/metadata-protocol test 372 passed + 9 skipped files, 23660 passed + 45 skipped tests, typecheck exit 0; the two touched test files 383/383 (new pin: 'lets a call through to a disabled package's flow, which the served listing leaves out'); @objectstack/spec src/migrations 5 files / 209 tests. Ablation (committed head, includeDisabledPackages dropped on disk, restored with git checkout HEAD): the new pin fails 1, the rest pass.", "gates": "dispatch-gates --ran at 93f3643eaf: 103 derived, 102 run, 1 NOT MEASURED (check:dual-build-cjs-loads exit 3, needs a full build, left to CI), 0 unrun, RAN-EXIT 0. check:facade-delegation-only exit 0. PR body gates on the new body: check-changeset-no-major, check-adr-0087-registration, check-closing-keyword-parity, check-partof-closing-keyword all exit 0.", "dogfood_battery": "93f3643eaf · closure build exit 0 · os-verify-lock: VERDICT command-exit 0 · Test Files 495 passed | 3 skipped (498) · Tests 4187 passed | 68 skipped (4255) · no failure.", "mcp_calls": "read-only: mcp__github__issue_read, mcp__github__pull_request_read, plus ToolSearch loads; no MCP write tool", "api_writes": "2 — fleet-write relay issue_patch on objectstack-ai/objectstack#38594 (run 46278669328, 16833 bytes sent and stored, identical); this os-dev-report comment on #35143. Plus git push of claude/project-thread-octcjy to 93f3643eaf (not REST).", "open_questions": [], "security_findings": "none", "out_of_scope_findings": [ "carrier: #38595 · the targetNamespace install of a caller+callee package (config.flowName not renamed), filed by the seat from the round-1 reading; unchanged at this head" ] }objectstack-fleet commentedon Nov 30, 2026
repo:objectstack#2 · os-warren · session_01JQwxbXyLoBzNYY1U8SNPFu
2026-11-30T00:06Z · Takeover · seat
repo:objectstack#1's accountzhuangjianguois out of tokens; seat 2 (os-warren) continues its claim. The seat does not change hands (席不过户); only the card does.Release: claim 7255671196, 7255708748, 7255940266, 7256659340 (session
session_01QsR2jTsdScTh3o2fSjbxSz, accountzhuangjianguo, seatrepo:objectstack#1) — taken over, not abandoned. Provenance: who = the maintainer (Warren,os-warren); words, verbatim: 「pm:mailbox — repo:objectstack#1 · zhuangjianguo 没有token了,他的任务你全部接手」; where = os-warren's fleet project thread, 2026-11-29T23:51:50Z.Handover: branch
claude/project-thread-octcjylast pushed93f3643eaf; PR #38594, seat ACCEPT,pm:awaiting-merge, review requested ofos-zhuang; open: seat 3'sNotify: serial7260842971 (#38594 before #38642, duplicate leg). Picked-up work is UNVERIFIED until seat 2 re-reads it at that head.Assignee:
zhuangjianguo→os-warrenin this stroke.Claim: PM loop round 1 (takeover of 7256659340)
Session:
session_01JQwxbXyLoBzNYY1U8SNPFuAccount:
os-warrenBranch:
claude/project-thread-octcjyResume-from:
claude/issue-35143-flows-leftovers@bc21970eabWorktree:
objectstack-issue-35143dDomain:
domain:devxSeat:
repo:objectstack#2File surface:
packages/lint/**(the Flows rules of #36691 only, with positive and negative pins), the runtime publish gate's wiring of them, the docs rule-family table and generated reference pages and counts the change regenerates, one changeset. The publish gate's wiring, named file by file as review 7238045522 M1/S1 required them:packages/metadata-protocol/src/protocol-authoring-gate.ts,packages/metadata-protocol/src/runtime-authoring-gate.ts,packages/metadata-protocol/src/protocol.runtime-authoring-gate.test.ts,packages/metadata-protocol/src/protocol.ts,packages/metadata-protocol/src/protocol-save.ts(the server-onlycopyPlanFlowNamesfield),packages/metadata-protocol/src/protocol-package-commits.ts,packages/metadata-protocol/src/protocol-door-requests.ts,packages/metadata-protocol/src/package-unmanaged-install.test.ts; and the ADR-0087 entrypackages/spec/src/migrations/entries/semantic/18.publish-refuses-flows-that-save-and-do-not-run.ts(stop on breach; explain in the report)Container & model:
M,mode:subagent,model: default,effort: highClause-②: yes (narrowing) — carried from claim note 7237918741, judged RIGHT by review 7238045522
Metadata-protocol: narrowed
Responsibility:
n/a — not a defect cardThread-read: 7258148838
Premise: holds per the open lines recorded 7103235688 — F1: the option-label check covers start conditions only, decision-node and edge conditions are not judged; F6: the subflow check is a CLI-only warning because the gate's snapshot holds one flow. The dev re-verifies both on main first.
Serial constraints cleared: no open PR of this seat in
packages/lint; overlap-check runs before the push.Scope this dispatch: the Flows leftovers F1 and F6, the last open lines of the card. Where F6 cannot be judged at the publish door without a false refusal, the dev records on the card which rule covers it and why, which the card's "Done when" admits.
Fixes #35143if both lines close; otherwisePart of #35143.fix(lint)!: ten publish-time checks for flows that save and do not run (
fix(lint)!: four publish-time checks for data-model metadata that sav…
fix(lint)!: three publish-time checks for seeds, flow nodes and actio…
fix(lint)!: publish-time checks for views, dashboards and the app she…
docs(skills): the objectstack-ui kanban section names the rule that j…
fix(lint)!: the publish gate refuses a subflow or map step that calls…