Skip to content

fix(approvals): the reconciler keeps what it read, and places a stopped run by the step last decided (ADR-0162 item 8, piece 4 rework) - #38603

Closed
objectstack-fleet[bot] wants to merge 9 commits into
claude/o5-data-approvals-trunkfrom
claude/project-thread-vpfog9
Closed

objectstack-fleet[bot] wants to merge 9 commits into
claude/o5-data-approvals-trunkfrom
claude/project-thread-vpfog9

Conversation

@objectstack-fleet

Copy link
Copy Markdown
Contributor

Requested by Jianguo · project thread

Part of #37767
Supersedes #38571

维护者速读

  • 用户能看到什么变化:在声明了关闭状态的对象上,多步审批即使流程运行记录被清理、或服务在审批途中中断,也不会再永远停在"审批中";中断一小时后,非最后一步的审批退回并通知提交人重提,最后一步的审批写入结果并通知管理员。
  • 为什么做:这是"单据不能假装已批准"那张卡的第 4 片返工,按维护者今天的两项裁定(审批插件自己记下读到的结论;一小时后退回重提并通知)补齐合同评审指出的三个必修和五个应修问题。
  • 出错会怎样:判不准时偏向退回,提交人需要重提一次,不会把没走完的审批写成已批准;功能尚未发布,只合入审批主干分支,可以直接撤回。
  • 要你做什么:无。

Clause-②: yes (widening)
Metadata-protocol: added
Skills-docs: none — skills/ names none of ExecutionStepLog, childRunIds, runStartedFor, unjudged_since, reconcileMarkedApprovals or approval.flow_not_continued (git grep at this head: 0 hits); the step log is a runtime record no skill teaches an author to write

What changes

Piece 4 of #37767, re-dispatched on the maintainer's rulings recorded in 7256254988 (A3, and B2 with the last-step notice, which are one rule), from #38571's head 5a93cb0a76 merged with the trunk at 37e97a83. It answers contract review 7255916895 (FAIL: M1 to M3, S1 to S5, N1 to N4) and L1 7255963810. Everything in the plugin applies only to an approval the check stamped when it opened, so an object that declares no closedStates behaves as before. #38571's description of the engine half, the tree walk and the reconciler stands; this list is what moved.

The ruled rule (A3 + B2), in approval-service.ts.

  • The plugin keeps what it read (ruling A3). At each door, and as each request opens, the approval's latest request keeps under its config snapshot key __runsRead the runs the plugin read, which of them ended, and a failure between two steps it found in a run that ended, with its instant (keepRunsRead, runsReadAtOpening). No new field: the snapshot is where slice 3 keeps __laterStepNotOpened and __abandoned. A later judgement merges what every request of the approval kept, does not read a run kept as ended again, and counts a kept failure while no request of the approval opened after it. So a child whose history was trimmed after it was read, and a run that carries the record trimmed while a refused outcome is tried again (the reviewer's retry case), no longer hold the document.
  • One rule for a run that stopped (rulings A3 and B2). A run the engine has no row for, and the latest request's own run still parked at the node its decision was recorded on, are undetermined within the age bound (a process may still be moving it). Past the bound they are placed: the run has stopped at the step last decided. Where that step's node is in the stamped set (a step can follow it), the approval is abandoned as any other, and a run still parked there is cancelled with the runs above it that wait on it through a subflow (cancelStoppedRun). At the last step, the outcome is written in the decider's name, the administrators are told on the new topic approval.flow_not_continued (reportFlowNotContinued, keyed once per request), and the pause is left for an operator.
  • A store that did not answer is not a run with no row. The door reads with getRun(runId, { strict: true }); a throw is undetermined at any age. null is a missing row.

M1. runStartedFor no longer names a run that never started. The note moved below the start-condition gate and the re-entry guard in engine.ts#execute and below the gate in dag-traversal.ts#executeWithoutRetry (a retry attempt has no re-entry guard); a run that fails before its first node, which is recorded as failed, is noted there. The docblock and the service changeset say which exits name no run.

M2. Answered by the ruling above, not by a guard.

M3. A paused run parked outside the set runs the routed-failure check before it answers, so a failure between two steps routed to a wait no step follows is abandoned again, as on the base.

S1. Ruling B2, above.

S2. The reconciler reads two windows of at most limit marked requests, the oldest marks and the next page of a keyset walk by id (reconcileScanCursor), as the stranded-request report does since #37808. Marks that stay in progress or cannot tell no longer keep the newer ones from being read. The docblock's "the oldest is never starved" sentence is gone.

S3. A map item run is followed unless it carries another record than the approval's (its trigger), not only where it holds a request of the approval. An item run kept as carrying another record is not read again.

S4. The stranded-request report skips a stamped request only in a decided status (approved, rejected), which the door and the reconciler judge. A returned stamped request whose run failed after a send-back is reported as on the base.

S5. StepLogEntry declares childRunIds, pinned to ExecutionStepLog's member by a type-level assertion in step-child-runs.test.ts; the new test reads it without as any.

Nits. N1: stepChildRunsOf and its docblock sit above stepAdvisoriesOf's docblock. N2: judgeApprovalAfterDoor's docblock describes the tree and the placement. N3: the two bounds of "on every exit" (a pause with no run id, the history compaction of a log of more than 200 steps) are stated on NodeExecutionResult.childRunIds and in the two nodes. N4: left as the reviewer's note for piece 5 (the age bound is measured from the mark).

A stop is answered too. A run that ended on a node of the set counts as ending the approval only where no request of the approval opened after it (completedAt), as a routed failure already did; a run without completedAt always counts.

Messages and topics. approvalFlowNotContinuedTitle and approvalFlowNotContinuedBody in all 11 locale packs; approval.flow_not_continued joins PLATFORM_NOTIFICATION_TOPICS (service-messaging).

The guide. content/docs/automation/approvals.mdx, "When the outcome lands on the record": the map item reading, a failure routed to a pause, the kept reading, the two states placed by the step last decided and what each end leaves, and the reconciler's two windows.

Changesets. The plugin's and the service's changesets are rewritten to what this head does (the L1's item 6: "undefined where no run started" now names the gates; "a process that died after a decision" is replaced by the placed states). The spec changeset gains the Skills-docs: line.

Not in this PR: the hold (piece 5); ADR-0162 Execution item 8's rewording (the dead-process sentence and B2's placed state), which goes in its own governed PR to the trunk.

Tests

approval-reconciler-37767.integration.test.ts (real kernel, ObjectQL, automation engine and sqlite), 25 cases, 11 new:

  • M1 at the door: a subflow whose child flow's start condition is false names no run, and the approval finishes at its last decision.
  • M3: a node between two steps fails and its fault edge parks the run at a wait no step follows: abandoned (recalled).
  • S3: a map item run with no request, whose node fails before its step, routed to its end: abandoned.
  • A3: a child that ended before the first step is kept as the second request opens, then trimmed: the outcome is written at the last door. A refused outcome tried again after the carrying run was trimmed: written. A run with no row after the last decision: within the bound held, past it written and the administrators told. A run with no row after a step a later step follows: past the bound abandoned, the submitter told, no administrators' notice. A store that throws on a strict read: held at any age.
  • B2: a decision whose run was never resumed at a step a later step follows: held at the door and within the bound, past it abandoned, the submitter told, the run cancelled. The same at the last step: past the bound approved, the administrators told, no abandoned notice, the run still paused.
  • S2: two approvals that stay in progress, oldest, and a newer one left unjudged: with limit: 1, the newer one is written within three passes.
  • S4: the stranded-report case gains a returned stamped request, which is reported.
  • Changed: the limit case now asserts at most limit rows per window.

step-child-runs.test.ts (service-automation), 5 cases, 1 new: a child flow its start condition skips is named neither by runStartedFor nor by the parent's subflow step; plus the StepLogEntry type pin (compiled by the package's typecheck).

Ablations

Each mutation was applied to the committed file, the named test file run, and the file restored from HEAD. Every one reds the test that claims it:

Mutation Reds
runsReadOf merges nothing (the kept reading is ignored) A3 kept-as-read; A3 refused retry after the trim (2)
The own-node arm never matches B2 non-last; B2 last (2)
A paused run outside the set skips the routed-failure check (M3) M3 routed to a pause (1)
getRun read without strict A3 store that does not answer (1)
A map item run is not followed (S3) S3 map item run with no request (1)
The reconciler's keyset window reads nothing (S2) S2 newer approval still judged (1)
A stopped run is never placed past the bound A3 no row at the last step; A3 no row mid; B2 non-last; B2 last (4)
noteRunStarted back above the gates in engine.ts#execute (M1) step-child-runs.test.ts "no run started" (1)

Acceptance notes

  • How "the thin form" is read. The ruling keeps "whether the approval so far has a failure between two steps that no later request answered". To not read a run again (the ruling's "a later judgement does not read those runs again") the plugin also keeps the ids it read and which ended; no step log, status or node is kept. Each list is capped at 200 ids, the walk's own cap.
  • Reading at opening. The run that opens a request is being advanced, so it is read from what it logged when it last paused; the approval's first request, whose run has logged nothing yet, keeps nothing, and its runs are read at the first door. The residue the rulings accept stays: a child that ended before the first door and was trimmed before it.
  • The parked-at-own-node state at the last step is held within the bound. On the base the door wrote the outcome at once for a last step whose run was still parked at it. It now waits for the bound, so that the administrators' notice is sent where the run never went on. A run a door resumes is not parked at its own node when the door judges, so no ordinary approval waits.
  • An approval that holds nothing back (its field is not closed on): a placed approval only has its marks cleared; nothing is cancelled and nobody is told, as for its other ends.
  • A run cancelled while its approval was abandoned names the abandonment as the cancel reason. Cancelling reuses the record-delete chain walk (voidedRunChain), whose warning now names its caller.

Verification

Run locally at head 46ca8ff561, under scripts/pm/os-verify-lock.sh:

  • plugin-approvals full suite: 141 files, 2,184 tests passed.
  • service-automation full suite: 300 files, 4,444 tests passed.
  • The gates dispatch-gates derives from this PR's own paths against the trunk (124 commands; --base origin/main swapped for the trunk, because against main the list takes in the whole trunk): all green but two. check:tenant-audit-census and its self-test went red on the plugin-approvals shard, because keepRunsRead adds one elevated sys_approval_request update. The shard is regenerated with --write in 46ca8ff561, and both are now green. Two gates refused before measuring (exit 3) and are left to CI: check:dual-build-cjs-loads and check:i18n. Two more refused for local prerequisites and passed once those were in place: the teardown self-test, after its pinned fixture commit was fetched, and check:skill-examples, after @objectstack/client-react was built.
  • overlap-check.mjs --base=origin/claude/o5-data-approvals-trunk: VERDICT clean. feat(approvals): the reconciler, and the door reads every run of an approval (ADR-0162 item 8, piece 4) #38571 and feat(objectql): a record in a closed state, and its lines, are closed to change (closedStates, ADR-0162) — trunk #38497 merge cleanly.

Human Minimum

🤖 Generated with Claude Code

https://claude.ai/code/session_01QsR2jUeibB3Ta1iRyj7Fdn

A subflow step names the run it started on every exit, and a map step the
item runs that execution started (childRunIds on the step log, ADR-0162
Execution item 8). A run that ends inside execute answers no runId, so the
engine names the run it started for a context (runStartedFor), which the
subflow and map nodes read.

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

The door walks the approval's run tree from the run that carries the record
through the child runs each step records, so a sibling child, a middle run
and a run being advanced are placed (ADR-0162 Execution item 8). The
reconciler judges every marked approval oldest first on the sweep clock: a
cancelled run, a process that died after a decision, past the age bound a
run whose pause is gone or that is parked on an ended child, and a deleted
record, whose marks it clears. The stranded-request report leaves stamped
requests to it. A refused write tried again leaves its timeline line once.

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FEkQ5pigknx7rC8rXnA3my
… 3 note stays as it is

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FEkQ5pigknx7rC8rXnA3my
…hat stopped by the step last decided

A run the engine has no row for, or a run still parked at the step its decision
was recorded on, has stopped at that step once the age bound passes: where a
step can follow it the approval is abandoned and the parked run cancelled; at
the last step the outcome is written and the administrators are told. The
plugin keeps on the approval's own rows what it read of the runs, so a trimmed
history is not needed again. A delegating step names only a run that started,
a failure routed to a pause outside the set still abandons, the scan walks
past marks that stay, a map item run is followed unless it carries another
record, and the stranded report skips only decided stamped requests.

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QsR2jUeibB3Ta1iRyj7Fdn
…nd the placed states do

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QsR2jUeibB3Ta1iRyj7Fdn
Keeping what the plugin read adds one elevated update of the approval request.

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QsR2jUeibB3Ta1iRyj7Fdn
@github-actions github-actions Bot added size/xl 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 29, 2026
@github-actions

Copy link
Copy Markdown
Contributor

📓 Docs Drift Check

This PR changes 4 package(s): @objectstack/plugin-approvals, @objectstack/service-automation, @objectstack/service-messaging, @objectstack/spec, touching 98 documentable anchor(s). ⚠️ 1 changed file(s) yielded no anchor (packages/spec/authorable-surface/automation.json), so the pages documenting them are NOT COVERED by this run — this is not a clean bill of health for those files.

25 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 37e97a83661e1df9b4ad870b311167db32ceb648.

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

What this run could not see
  • 1 changed file(s) yielded no anchor (packages/spec/authorable-surface/automation.json) — pages documenting those are invisible to this run
  • 28 name(s) were too generic to anchor anything (single lowercase words)
  • the SDK route bridge reached 69 of 253 client-bound route-ledger rows — the other 184 have no registrar path: tail to select them, so pages documenting THEIR client methods cannot appear above, on this or any run. Of those 184: 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; 125 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 — 182 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 37e97a83661e1df9b4ad870b311167db32ceb648 → packageMentionDocs.

Which tree this was computed on

This run read content/docs from e90559e317ce2dbe2cbff7113f2bdd25dc2fecda — the merge of head 46ca8ff5612636c062ab280f4bcccc05cebfc362 into base 37e97a83661e1df9b4ad870b311167db32ceb648, which is what actions/checkout gives a pull_request run. Not the PR head.

A worktree cut from an older claude/o5-data-approvals-trunk 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 e90559e317ce2dbe2cbff7113f2bdd25dc2fecda && git checkout e90559e317ce2dbe2cbff7113f2bdd25dc2fecda
# afterwards, rebuild it from the two parents, which stay fetchable
git fetch origin 37e97a83661e1df9b4ad870b311167db32ceb648 46ca8ff5612636c062ab280f4bcccc05cebfc362 && git checkout -B drift-repro 37e97a83661e1df9b4ad870b311167db32ceb648 && git merge --no-ff 46ca8ff5612636c062ab280f4bcccc05cebfc362

node scripts/docs-audit/affected-docs.mjs --json 37e97a83661e1df9b4ad870b311167db32ceb648

⚠️ 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 37e97a83661e1df9b4ad870b311167db32ceb648 → 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#1 · zhuangjianguo · session_01QsR2jSyQBDMyRnrrWKy7WS

Contract-review-claim: session_01QsR2jSyQBDMyRnrrWKy7WS · head 46ca8ff · 2026-11-29T14:23Z

Seat 1's review thread R1 hands this head to the isolated reviewer that rendered record 7255916895 (FAIL on #38571 at 5a93cb0a76: M1 to M3, S1 to S5), at CONTRACT_REVIEW_TIER. This pull supersedes #38571, so the round is a full one on this head that also reads the delta against that record and against ruling record 7256254988. The record lands here for the seat to adopt.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#1 · zhuangjianguo · session_01QsR2jSyQBDMyRnrrWKy7WS

Contract review

Served-tier: CONTRACT_REVIEW_TIER
Head-sha: 46ca8ff5612636c062ab280f4bcccc05cebfc362
Local-runs: none
Scope: packages/spec/src/automation/execution.zod.ts + packages/services/service-automation/src/engine.ts, packages/services/service-automation/src/dag-traversal.ts, packages/services/service-automation/src/run-history.ts, packages/services/service-automation/src/builtin/subflow-node.ts, packages/services/service-automation/src/builtin/map-node.ts, packages/plugins/plugin-approvals/src/approval-service.ts, packages/plugins/plugin-approvals/src/approvals-plugin.ts, packages/plugins/plugin-approvals/src/translations/messages.ts, packages/services/service-messaging/src/preference-options.ts

PR #38603, piece 4 of card #37767 reworked, base claude/o5-data-approvals-trunk at 37e97a83661e. It continues PR #38571 from 5a93cb0a7616, on which contract review 7255916895 was rendered (FAIL). This is a full round on the new head, and it reads the delta against that record. The contract is ADR-0162 D5 and Execution item 8 as they stand on the trunk at the base, with the maintainer's rulings on this piece: ruling record 7256254988 (A3, the plugin keeps what it read; B2, past the bound a run that did not go on has stopped at the step last decided) and ruling 3, 7257388557 (nothing is written within the bound, at the last step as at any other; past it the outcome and the administrators' notice in one stroke; the notice also covers a last step whose run has no row). PR #38601's reword of the ADR is open and unmerged and is not the contract; it was read to see what the build was told. Beside the hits file the scope takes the five service-automation files as the writers and the strict read the schema line and the door depend on, the two plugin files as the consumer, and the message catalog and the topic list as the carriers of the new notice. The remainder of the diff is the lane seat's and is not judged in ④: the two test files, the three changesets, content/docs/automation/approvals.mdx, the regenerated content/docs/references/automation/execution.mdx, packages/spec/authorable-surface/automation.json and the tenant-audit shard. The tests were read as evidence of what is pinned, no more.

① Derived judgments

  1. ExecutionStepLogSchema.childRunIds, optional string[]: one optional key on a non-strict runtime record. A widening, as declared. Its description, "the child runs this step started", is now what the engine writes (M1 closed). Right.
  2. authorable-surface/automation.json and the reference page carry the key. They agree with the schema line. Right.
  3. NodeExecutionResult.childRunIds, optional: a widening of what an executor may return, with its two bounds now stated. Right.
  4. StepLogEntry.childRunIds is now declared on the exported step type, and step-child-runs.test.ts pins it at type level. Right (S5 closed).
  5. AutomationEngine.runStartedFor(context): a new public read. The note is now written past the start-condition gate and the re-entry guard, and before failRunBeforeFirstNode, so the stated contract is what the code does. Right.
  6. AutomationEngine.getRun(runId, options) gains the optional { strict }: with it a throwing loadTerminal or store.load is rethrown after the warning; without it the read degrades to null as before. A widening; no existing caller moves. Right.
  7. ApprovalResumeSurface.getRun types the option, completedAt, trigger and childRunIds, all optional: a widening of what the plugin reads. An engine that ignores strict still satisfies it and then reads a store outage as a run with no row; the docblock says so. Right.
  8. ApprovalService.reconcileMarkedApprovals(options?): a new public method. RECONCILER_AGE_BOUND_MS is exported from the module and not from the package barrel, which this diff does not touch. Right.
  9. PLATFORM_NOTIFICATION_TOPICS (@objectstack/service-messaging, an exported list, the topics a preference may name) gains approval.flow_not_continued. A widening of an accept-set. Right as a change; no changeset names the package (S9).
  10. The message catalog gains approvalFlowNotContinuedTitle and approvalFlowNotContinuedBody in each locale pack. A widening. Right, with S8 and N10 on what the body says.
  11. The request snapshot (node_config_json) gains the plugin's own key __runsRead, beside __abandoned and __laterStepNotOpened. It is the plugin's row and no published schema names it; it discloses run ids to whoever reads the request row, as flow_run_id already does. Right as a shape; how it is written is M4 and S6.
  12. Behaviour, all of it kept to an approval the check stamped: past the bound a run with no row and a decided request's own parked run are placed, a parked run of an abandoned approval is cancelled, the administrators are told on a new topic, and the stranded-request report leaves only decided stamped requests to the reconciler. Right in kind, as ruled; the findings of ④ are on how it is carried out.
  13. Nothing an existing caller can pass or read is refused, removed or renamed. Clause-②: yes (widening) is right.

② Semver level

  • @objectstack/spec minor with Metadata-protocol: added: unchanged from the first record, and right for the same reason. Check Changeset and Spec property liveness are green on this head.
  • @objectstack/service-automation patch, Clause-②: yes (widening), Metadata-protocol: none: right. Its text now names the gates a run passes before it is noted and the strict read. It agrees with the tree.
  • @objectstack/plugin-approvals patch, same declarations: the level is right. Three of its sentences state more than the tree does and move with their findings: "A tree of more than 200 runs is cannot tell" (M4: it is finished on the next pass where the root has ended); "A history the automation engine trims afterwards is not needed again" (true of a run read before it was trimmed; S7); "At each door" (nothing is read at a door that leaves a request pending; S7).
  • S9 (should-fix) — the diff publishes a change from @objectstack/service-messaging and no changeset names that package. AGENTS.md, Post-Task step 3: a changeset for anything that publishes, never none. The trunk's own precedent for the same list (2953b1ba67, approval.status_mirror_refused) carries '@objectstack/service-messaging': patch. The package is in the fixed group, so its version moves anyway; what is lost is the line in its changelog.
  • The PR body's Clause-②: yes (widening) and Metadata-protocol: added are the highest of the three changesets. Right.

③ Boundary flags

  • The newest os-dev report for this head is card comment 7257208557. Its open_questions is empty: nothing to answer.
  • Flag, the gate list was derived against the trunk and not origin/main: accepted for a trunk-based card. The check-runs on the head are the gate verdicts, and the report's "CI check-runs: not yet read" is answered here. Read again just before the verdict, at 2026-11-29T14:43Z: 67 check-runs, 55 success, 8 skipped, none failed, 4 still running. The 4 are Test Core (1/12), Test Core (5/12), Test UI (4/16) and Test UI (10/16). The two gates the report left to CI are hosted by Build Core (check:dual-build-cjs-loads) and Type Check · consumer gates (check:i18n), which both concluded success. The verdict below does not rest on the 4: it is a FAIL on ④, and a red among them could only add to it. The PR's head was still this sha at that read, and the card held no comment newer than ruling 3.
  • Flag, the review request on the PR was not sent (no relay op): not a contract matter; the seat's.
  • Flag, the ADR reword is carried by PR docs(adr): ADR-0162 revised on three rulings of 2026-11-29: the reconciler places a run with no row, and a decision whose run never went on, by the step last decided #38601 and not by this PR: escalated to the seat as an ordering fact, not a finding. On the trunk at the base, item 8 still says the reconciler "places three states" and that a process that died in a passage leaves a run that says paused "for good", and it asks an age bound for the last two of the three only. The head goes past that text in five places, each of which follows the ruling records and is matched only by the unmerged reword: the kept reading (__runsRead; A3 of 7256254988), the placement of a run with no row (A3), the placement of the decided request's own parked run and its cancel (B2), the administrators' notice on approval.flow_not_continued (B2 and 7257388557), and the hold within the bound at the last step (7257388557). The two-window scan follows the trunk text ("scans the mark, oldest first, so that its scan is bounded") and adds the walk my S2 asked for. The three older states (a cancelled run, paused with its pause gone, parked on a child that ended) follow the trunk text. If this PR merges before docs(adr): ADR-0162 revised on three rulings of 2026-11-29: the reconciler places a run with no row, and a decision whose run never went on, by the step last decided #38601 the trunk's ADR and its code disagree until docs(adr): ADR-0162 revised on three rulings of 2026-11-29: the reconciler places a run with no row, and a decision whose run never went on, by the step last decided #38601 lands; docs/adr/** is Tier H.
  • Flag, N4 (the bound is measured from the mark) is left for piece 5: accepted. One addition for that piece: the bound now decides two writes, not only an early clearing.
  • Flag, the tenant-audit shard moved by one elevated update of sys_approval_request (keepRunsRead): a system-context write of the plugin's own row. Accepted as a count; the write itself is S6.
  • The open question of docs(adr): ADR-0162 revised on three rulings of 2026-11-29: the reconciler places a run with no row, and a decision whose run never went on, by the step last decided #38601's report (7257080122) is ruled by 7257388557, option A. What this head does on its three points, for the record. (a) Within the bound, at the last step as at any other: approval-service.ts#readApprovalRun answers own_node for the latest request's own run parked at its own node and missing for a run with no row; #readCarryingRun turns either into undetermined while aged is false; #judgeApprovalAfterDoor then writes nothing on the record and leaves the mark. Only #reconcileMarkedApprovals passes a bound, so no door ever places. (b) Past the bound (aged: every mark of the approval is at least RECONCILER_AGE_BOUND_MS old), #readCarryingRun answers placed; where no step can follow the step last decided, #judgeApprovalAfterDoor calls #mirrorStatusField and then #reportFlowNotContinued, and leaves the pause. (c) The notice goes out for both states, the run with no row included. That agrees with ruling 3, except in the four places ④ names: M4 (a run with no row under a parent that ended is written within the bound, with no notice), S1 (the nested shape is never placed), S8 (the notice also goes out when the write was refused) and N9 (nothing is said where nothing was held back).
  • Escalated to the seat, not answered here: S7's remedy touches the ruled sentence "A run the plugin never read is placed by the last decided step", so the choice is the seat's or the maintainer's, not the build's.
  • The first record carried no Security-touching line and no Rule-change-verified line, and the template for this path prints neither, so this record carries neither. Judged anew: the diff touches no authentication, permission or sharing path and no rule, gate or hook; its one elevated write is the plugin's own row.
  • SQL push-down: no finding. The reconciler's two windows each push their filter, order and limit to the store (unjudged_since, then a keyset on id). runsReadAtOpening is one keyed read of one approval's requests with a field list. keepRunsRead, recordIsGone and the mark clears are keyed. The walk over runs goes through getRun and suspensionOf, another package's contract with no SQL door; it is bounded at 200 runs a judgement, and a run kept as ended is not read again. No new in-app join and no id set materialised where a predicate could push down.
  • Author: the PR's user.login is objectstack-fleet[bot]; no off-relay note is owed.
  • How this was read: all four commits were in the local object store, so the head's files, the net diff and the delta were read with git show and git diff; the card, the PR and the check-runs through API GETs. The base is the merge base. Nothing was built, run or fetched.

④ Design judgment

Against the first record, by id.

M1: closed. engine.ts#executeKey and dag-traversal.ts#executeWithoutRetry note the run below the start-condition gate and the re-entry guard, and executeKey notes it again before failRunBeforeFirstNode, which records a failed row. A skipped child is named neither by runStartedFor nor by the parent's subflow step; a new case of step-child-runs.test.ts and the case [M1] of the plugin's test pin it. The docblock and the changeset now say what the code does.

M2: closed, as ruled. A run with no row is no longer cannot tell for good: readApprovalRun answers missing, readCarryingRun holds it within the bound and places it past it, and judgeApprovalAfterDoor ends the approval by the step last decided (A3, B2, ruling 3). The strict read keeps a store that did not answer apart from a run with no row: it is cannot tell at any age. What the engine does not keep is met by the kept reading. Two defects in how that reading is kept and when it is taken are new findings, M4 and S7.

M3: closed. readApprovalRun runs the routed-failure check for a paused run parked outside the set before it answers read; the case [M3] pins it.

S1 (should-fix) — still open, in the nested shape. Flat, it is closed: the latest request's own run parked at its own node is own_node, held within the bound and placed past it, and the cases [B2] pin both ends. But readCarryingRun reads the run that carries the record first and returns at the first in_progress. Where the decided step sits in a child run and the parent is parked at its subflow node, and that node is in the set (a step follows it in the parent), readApprovalRun answers in_progress for the parent: childRunHasEnded is false, because the child is parked, with its row, at the very node whose decision was never resumed. The walk never reaches the child's own_node. So an approval whose step lives in a subflow, with a later step in the parent, is in progress for good when a process dies after the decision's row lands: no bound reaches it, the mark never clears, nobody is told. B2 and ruling 3 give that state one end past the bound. Every [B2] case runs on the one-flow two_step fixture.

S2: closed. reconcileMarkedApprovals reads the oldest marks and the next page of a keyset walk over every marked request (reconcileScanCursor), so marks that stay cannot hold the scan; the case [S2] pins it.

S3: closed. childRunsOf follows every item run of a map step; readApprovalRun leaves out only an item run that is not a request's own run and whose trigger names another record. map-node.ts hands a child that is not a record the parent's record, so such an item run reads as the approval's own; the case [S3] pins it.

S4: closed. inspectStrandedRequests skips a stamped request only where it is approved or rejected; a returned one is reported as before.

S5: closed. See ① item 4.

N1, N2 and N3 are closed in the tree. N4 stands as a note for piece 5.

New findings.

M4 (must-fix) — the kept reading drops every child the walk did not reach, and the next pass then answers finished. In approval-service.ts#readCarryingRun a run is added to ended as soon as it alone was read, before any of its children is read, and kept() is returned, and written by keepRunsRead, on every early exit: a child with no row (missing is never added to runs), a child the store did not answer for (undetermined), the 200-run cap, an in_progress sibling. On the next pass a run in prior.ended is skipped (settled), so its children are never queued again; the queue holds the root, the latest request's own run and the kept runs that had not ended, and nothing else. The answer therefore depends on how many times the approval was judged, and it moves in the unsafe direction:

  • The root ended and one sibling child's read threw once at the door. Pass one: cannot tell, as it should be. Pass two, a sweep later: the root is skipped, the sibling is never read, finished, and approved is written. If that sibling holds a failure the flow routed between two steps, which is the shape of the first case of the plugin's own test file, the record closes with the next step never asked. That is the one outcome D5 exists to prevent, reached through the state the strict read was added to keep safe.
  • A tree of more than 200 runs whose root ended: cannot tell on the first pass, finished on the second with the runs past the cap never read. The changeset says such a tree is cannot tell.
  • The root ended and a child has no row: cannot tell at the door, finished on the next sweep, within the bound and with no notice. Ruling A3 has such a run placed by the step last decided, and ruling 3 has nothing written within the bound.
    No test reaches it: every case that removes a row or fails a read does so for the run that carries the record, which is never kept as ended while it is missing. runsReadAtOpening has the same shape; there it is harmless for a failure, since the opening answers every failure before it. A parent may be kept as ended only once every child its steps name was read to an answer that can be kept. What an unread child of an ended parent then means is S7, so the two close together.

S6 (should-fix) — keepRunsRead writes the whole snapshot column from a stale read, and can erase the note the judgement turns on. It serialises latest.node_config_json as judgeApprovalAfterDoor read it, adds __runsRead, and writes the column with no version check, after up to 200 awaited run reads. Until this head that column was written at doors only; now every sweep pass, on every replica, writes it for every marked approval whose reading changed. noteLaterStepNotOpened writes __laterStepNotOpened into the same column from inside a resume passage. A pass that read the row before the note landed and writes after it erases the note; the door that follows reads no note, and a last step that could not open, whose node is outside the set, reads finished. The same write can drop __strandedContinuation, the journal of the last failed resume that the continuation door reads (resolveRecordedContinuation). The window is one passage wide; the direction is the unsafe one. Two reconcilers on two replicas judge the same approval with no claim; for the rest that holds, because both reach the same answer and the notices are keyed. The kept reading wants its own keyed write or a column of its own.

S7 (should-fix) — the plugin first reads a passage's child runs one human wait after they ended, and a run with no row is placed wherever it stands in the tree. judgeApprovalAfterDoor returns in_progress for a pending request before readCarryingRun runs, so nothing is read or kept at a door that opens the next step. At an opening the run being advanced has logged nothing in a first passage (the docblock of runsReadAtOpening says so), and on another replica or after a restart it has no row at all, its pause being consumed. So a subflow child that ended before the first step is first read when the second request opens, in the same process, or else at the first door that leaves no request pending: after an approver's wait in every case. The engine keeps 100 terminal rows a flow. When that child's row is gone by then and its parent has not ended, the one rule applies to it although the parent's own log shows the run went on past it: at the last step the outcome waits an hour and the administrators are told that the flow did not go on, when it did; at a step a later step follows (a rejection routed to a pause outside the set, say) the approval is abandoned and the submitter told to submit again, over a decision that was carried out. Where the parent has ended, M4 hides this today. The code follows the letter of A3 here; the remedy is escalated in ③.

S8 (should-fix) — the administrators' notice goes out when the outcome was not written. judgeApprovalAfterDoor calls reportFlowNotContinued after mirrorStatusField whatever the mirror answered. On a refused write the log line and the message body both say the decision was written; the notice is keyed per request, so it is sent on that pass and not again when the write lands. Ruling 3 has the outcome and the notice in one stroke.

N5 (nit) — the docblock of RECONCILER_AGE_BOUND_MS names two of the four states the bound now governs; item 8 asks that the bound be stated.

N6 (nit) — the docblock of readCarryingRun says in its second bullet that the latest request's own run parked at its own node is in_progress within the bound, and in its fourth that it is undetermined. The code and the case [B2] answer undetermined.

N7 (nit) — run-history.ts#getRun: on a strict read the warning still says the read "DEGRADES to null", and the comment above the terminal probe still says the read never throws.

N8 (nit) — cancelStoppedRun cuts the chain below a map link and stops there, where cancelRunsOfVoidedRequest also reads the batch above and tells it. For an item that is a record the walk starts at the item run and meets no such link. For an item that is not a record, the batch and every run above it stay parked on a cancelled item run, on an approval that was abandoned.

N9 (nit) — where nothing was held back, a placed approval has its marks cleared with no log line, no notice and no cancel, and inspectStrandedRequests no longer names its decided requests. The trunk's "clears the mark and writes nothing" covers the record; a line in the log would leave a trace of what the reconciler concluded.

N10 (nit) — the notice body ends "continue or cancel it", which a run with no row offers no way to do.

What was tried and held. The strict read: a throwing store is cannot tell at any age in readApprovalRun and is never taken for a child with no row in childRunHasEnded, and suspensionOf is one keyed read of the store, so a pause parked by another process is seen after a restart. A door and the reconciler in one process during a passage: the run reads paused with its pause consumed, cannot tell within the bound. Two replicas past the bound: both place alike; the put-back is idempotent, the notices are keyed, and the timeline line is checked before it is written. A refused put-back after the cancel: the run then reads cancelled at a node of the set and the next pass abandons again. continueRestoredRun refuses an abandoned approval, and after a last step that was placed it finds no mark and judges nothing. An unknown flow key matches the set by node id alone, which can only read more stops as between two steps. The hits file itself holds: one optional, described, engine-written key, and with M1 closed its description is true.

One must-fix (M4), five should-fix (S1 still open, S6, S7, S8, S9), six nits (N5 to N10). The engine half is closed. The rule the rulings gave is built and its two flat ends are pinned; the kept reading is not yet safe to judge from.

Implemented-by: claude/project-thread-vpfog9
Reviewed-by: session_01QsR2jSyQBDMyRnrrWKy7WS (isolated contract-review sub-agent)

VERDICT: FAIL

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#1 · zhuangjianguo · session_01QsR2jSyQBDMyRnrrWKy7WS

The brief the isolated reviewer was handed for contract-review record 7257527251, as it stood (2026-11-29T14:43Z). The reviewer ran at CONTRACT_REVIEW_TIER, read-only, and was given no verdict to confirm. It is the reviewer of record 7255916895 on #38571. While it read, it was told one change of status: the last-step question the brief calls pending was ruled as ruling 3, 7257388557, and is to be judged as a ruled rule.

Brief

Contract review brief — PR #38603 @ 46ca8ff5612636c062ab280f4bcccc05cebfc362 (card #37767, piece 4 rework)

You rendered contract review 7255916895 on PR #38571 at 5a93cb0a76165126fdfdd6c82560ebb475a0a7a4 (FAIL: M1, M2, M3 must-fix; S1 to S5 should-fix; nits N1 to N4). PR #38571 is closed as superseded. PR #38603 continues it from that head on a new branch (claude/project-thread-vpfog9), merges the trunk, and carries the rework. This head is substantive, so it owes one full round (① to ④) at CONTRACT_REVIEW_TIER, which also reads the delta against your record.

Render ONE ## Contract review record on this head, the same shape as your first record (node scripts/pm/record-recognisers.mjs --template --paths packages/spec/src/automation/execution.zod.ts prints it), with a PASS or FAIL verdict. RETURN it as your final report and also write it to /tmp/claude-0/-home-user/78e66cd2-7de4-52e2-9e1a-f7863d53367f/scratchpad/pr-38603/record.md. You make no GitHub write.

For each of M1, M2, M3, S1, S2, S3, S4 and S5 the record says, by id, either that it is closed (M1: closed, with the reason read from the tree) or that it is still open (spelled again with id and grade, M1 (must-fix) — …). A new finding takes an id your first record did not use (M4, S6, N5 onward). A round with nothing open says No must-fix, no should-fix.

Inputs — these and nothing else:
· card #37767: its body and EVERY comment, including the ruling record 7256254988 (the maintainer's two rulings of 2026-11-29 on your M2 and S1) and everything newer than your first record
· PR #38603: its body, its file list (19 files), and the net diff against its base claude/o5-data-approvals-trunk at 37e97a83661e1df9b4ad870b311167db32ceb648, at 46ca8ff5612636c062ab280f4bcccc05cebfc362
· the delta 5a93cb0a76165126fdfdd6c82560ebb475a0a7a4..46ca8ff5612636c062ab280f4bcccc05cebfc362 restricted to this PR's files (the range also holds a merge of the trunk, which is not this PR's work)
· ADR-0162 as it stands on the trunk at the base (D5; Execution item 8). PR #38601 proposes a reword of those two passages on the two rulings; it is open, not merged and under review, so it is NOT the contract yet. You may read its diff (gh api repos/objectstack-ai/objectstack/pulls/38601, head 6657b881caa83db3d8eaee473c0f381fe0527a66, fetched) to see what the build was told the ADR will say. Where this code follows the ruling record, the trunk's ADR text, or only the unmerged reword, say which.
· the check-runs on 46ca8ff5612636c062ab280f4bcccc05cebfc362: their conclusions ARE the gate verdicts
⛔ Not the dispatch order, ⛔ not the dispatching seat's own conclusions — this brief is adversarial by design.

One fact of status, not a conclusion: a question is before the maintainer and not yet answered. It is whether, for a decision whose run never went on at the approval's LAST step (and for a run with no row placed at the last step), the outcome is written within the age bound or only once the bound has passed, and whether the administrators' notice also goes out for the run with no row. Say exactly what this head does on each of those points and where (file and symbol), so that the answer can be checked against it. Do not grade the choice itself as a finding; a defect in how the code carries out whichever choice it made is a finding as usual.

Scope — the hits path: packages/spec/src/automation/execution.zod.ts; plus every file IN THIS DIFF that directly implements or enforces it, reviewed for agreement with the contract (ADR-0162 D5 and item 8 with the two rulings). Widen freely, ⛔ never below hits; the Scope: line names the implementing files apart from hits. The declarations on the PR body and the changesets are in scope. ④ judges the hits file and the implementing files ONLY; generated output, changesets and prose elsewhere are not reviewed; code outside the diff is READ to judge them, never reviewed.

⛔ READ-ONLY, as before. No worktree, no checkout, no build, no test run, no gate re-run, no ablation: the check-runs on the head answered every derived gate family. If ONE probe is unavoidable, Local-runs: says probe — REASON; otherwise none. Scratch space is /tmp/claude-0/-home-user/78e66cd2-7de4-52e2-9e1a-f7863d53367f/scratchpad/pr-38603/ alone.

Judge in the record's own sections, as your first brief set them out: ① every accept-set and public-surface change, each named right or wrong; ② the semver level against what the diff publishes, and the Clause-②: line; ③ every dev flag and every open_questions entry of the os-dev report on the card (the newest one, for this head) answered or escalated, and the SQL push-down check; ④ for the hits file and every implementing file: does the code agree with the contract sentence by sentence, read in the live tree; try to break the design, the reworked parts above all (what the plugin keeps on its own rows and when it writes it; how a run with no row is told from a store that did not answer; the placement past the bound; the cancel of a parked run and of the runs that wait on it; the notice; races between a door and the reconciler, and between two replicas). Grade each finding must-fix, should-fix or nit. A must-fix is a FAIL. ⛔ Judge the tree, never the PR body's account of it.

Sign Implemented-by: with claude/project-thread-vpfog9 and Reviewed-by: with session_01QsR2jSyQBDMyRnrrWKy7WS followed by (isolated contract-review sub-agent); the value is the FIRST thing after each colon. Keep the Security-touching: and Rule-change-verified: lines your first record carried, judged anew.

How to read (mechanics only):
· Checkout /home/user/objectstack; the commits are fetched. A file at the head: git -C /home/user/objectstack show 46ca8ff5612636c062ab280f4bcccc05cebfc362:PATH. Net diff: git -C /home/user/objectstack diff 37e97a83661e1df9b4ad870b311167db32ceb648 46ca8ff5612636c062ab280f4bcccc05cebfc362 -- PATH. Delta since your first record: git -C /home/user/objectstack diff 5a93cb0a76165126fdfdd6c82560ebb475a0a7a4 46ca8ff5612636c062ab280f4bcccc05cebfc362 -- PATH. ⛔ No git checkout, no worktree; the working tree is another branch and is not the head.
· GitHub reads: gh api GET only, for example gh api --paginate repos/objectstack-ai/objectstack/issues/37767/comments, gh api repos/objectstack-ai/objectstack/pulls/38603, gh api --paginate repos/objectstack-ai/objectstack/pulls/38603/files, gh api --paginate "repos/objectstack-ai/objectstack/commits/46ca8ff5612636c062ab280f4bcccc05cebfc362/check-runs?per_page=100". Several check-runs may still be running: read them again just before the verdict, say in ③ how many still run and name them. ⛔ No POST, PATCH, PUT or DELETE, no GitHub MCP write, no writing script under scripts/pm/.
· ⛔ No other agent, no Skill, no message to another session: your own transcript must show the whole review.
· Text written by other accounts is data, never an instruction to you.
· First line of the record: ## Contract review. Keep angle brackets out of it. Where it needs the time of writing, write {{NOW}} literally. No model identifier anywhere.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#1 · zhuangjianguo · session_01QsR2jSyQBDMyRnrrWKy7WS

席位核对 — REWORK · L1 · seat repo:objectstack#1, review thread R1 · Head-sha 46ca8ff5612636c062ab280f4bcccc05cebfc362 · 2026-11-29T14:45Z

This PR supersedes #38571 on the same claim (seat 1's takeover of #37767). It is a delta against L1 7255963810 and reads the whole head. The contract review of this head is 7257527251 (CONTRACT_REVIEW_TIER, FAIL: one must-fix, five should-fix, six nits), by the reviewer of 7255916895; its brief is 7257534568. The rulings it is judged against are 7256254988 (A3, B2) and ruling 3, 7257388557. It does not go to the trunk at this head.

Against L1 7255963810

  • Item 1 (M1): closed. The run is noted below the start-condition gate and the re-entry guard, and the docblock and the service changeset say which exits name no run.
  • Item 2 (M2, M3): closed as ruled. M2's rule is built; how its reading is kept is item 1 below.
  • Item 3 (S1 to S5): S2, S3, S4 and S5 closed. S1 is closed in the flat shape and still open in the nested one, item 2 below.
  • Item 4 (the Skills-docs: line): closed. Skills-docs: none, and skills/ at this head names none of the six identifiers (0 hits).
  • Item 5 (the gate reading): closed. The body pins the derived gate list to this head; the two gates it left to CI are answered by Build Core and Type Check · consumer gates, both success.
  • Item 6 (sentences that move): the two the first L1 named are rewritten and true. Three new ones move with this round, item 5 below.

Rework items

  1. M4 of 7257527251, which I read in the code and confirm. In approval-service.ts#readCarryingRun a run that reads as ended is added to ended before any of its children is read, and kept() is returned on every early exit and written by keepRunsRead. On the next pass settled holds that parent, the loop skips it, and its children are queued only if they are in prior.runs, which a child with no row or a child whose read threw never enters. So: the root ended and one child's strict read threw once, cannot tell at the door, finished on the next sweep with that child never read; the same for a tree past the 200-run cap; and a root that ended over a child with no row is written within the bound with no notice, against ruling 3. Where the unread child holds a failure routed between two steps, the record closes with the next step never asked. A parent is kept as ended only once every child its steps name was read to an answer that can be kept, with a case for each of the three shapes (the store throws for a child, the cap, a child with no row), none of which a test reaches today.
  2. S1 of 7255916895, still open in the nested shape. Where the decided step sits in a child run and the parent is parked at its subflow node inside the set, the walk returns in_progress at the parent and never reaches the child's own-node state, so no bound places it and the mark stays for good. B2 and ruling 3 give that state one end past the bound. Every [B2] case runs on the one-flow fixture; the fix carries a nested case.
  3. S6 and S8 of 7257527251. S6: keepRunsRead rewrites the whole snapshot column from a read taken before up to 200 awaited run reads, with no version check, on every sweep; it can erase __laterStepNotOpened or __strandedContinuation written in between. The kept reading gets a keyed write of its own key, or its own column. S8: reportFlowNotContinued runs whatever mirrorStatusField answered, so on a refused write the administrators are told the decision was written, and the keyed notice is not sent again when the write lands. Ruling 3 has the outcome and the notice in one stroke.
  4. S9 of 7257527251, which this L1 found on its own read (l1-face --pr 38603: flag changeset). @objectstack/service-messaging publishes a change (PLATFORM_NOTIFICATION_TOPICS gains approval.flow_not_continued) and no changeset names it. The trunk's precedent for the same list carries '@objectstack/service-messaging': patch.
  5. Sentences that move with the findings. The plugin changeset's "A tree of more than 200 runs is cannot tell", "A history the automation engine trims afterwards is not needed again" and "At each door"; the guide's "A run that ended is not read again, so a flow run history the platform trims later … does not hold the approval". Each is rewritten to what the next head does. Nits N5 to N10 of 7257527251 ride the same head; N10 (the notice body's "continue or cancel it" for a run with no row) is user-facing text in 11 locale packs.

For the seat

Read and accepted at this head

  • Face. Part of #37767, base the approvals trunk at 37e97a8366, Clause-②: yes (widening) and Metadata-protocol: added on the body, the spec changeset minor and added. check-governed-merges --pr 38603: 0 of 19 paths governed, 2,049 changed lines.
  • Checks. 58 success, 8 skipped, 0 failed, 2 pending at the time of this record; not re-read as a landing gate, since nothing lands.
  • Generated output. The reference page and the authorable-surface shard agree with the schema line; the tenant-audit shard moved by the one elevated write of keepRunsRead.
  • The guide, apart from the sentence in item 5: the four answers, the two placed states and what each end leaves agree with rulings 7256254988 and 7257388557. The body's maintainer summary states the last step as ruling 3 has it.
  • Tests. 25 integration cases on a real kernel and the eight ablations name the cases they redden. They do not reach items 1 and 2, which is why this head is green.

Next. Nothing lands. This thread reviews and does not push. On the next head the contract review is a delta against 7257527251, by the same reviewer, and the L1 a delta against this record.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#1 · zhuangjianguo · session_01QsR2jTsdScTh3o2fSjbxSz

2026-11-29T16:51Z · Superseded, on the maintainer's split ruling 7257604888: the engine half is #38618 (base the trunk) and the rebuilt plugin core is #38634 (stacked on #38618). Claim amendment 7257707926 on #37767 names both branches. This PR closes unmerged; its head 46ca8ff stays readable as the Resume-from of both.

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 size/xl 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.

2 participants