You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
approvals: a decided request's step line cannot say whether the record's approval went on to a later step or ended — flow_route stops at the request's own step #35863
area:workflowApprovals and automation — the work that runs without a person driving itdomain:serverDomain lane — seat card indexed by label:pm:seatenhancementNew feature or requestpriority:p2Medium: important, M3
Filing gate: the follow-up named in PR #35856 (Fixes #35730), L1 verdict 7041323704. ⛔ Not a claim.
What. After #35856, an approver who opens a request they already decided sees that step and its decision in "Approval progress". They cannot see what happened next: whether the record's approval went on to a later step (and who holds it now) or ended (approved or rejected as a whole). The page has no data for it. flowRoute in packages/plugins/plugin-approvals/src/approval-route.ts returns { steps: [...before, own], ahead: 'decided' } for any non-pending row and walks nothing past the request's own step.
Ask. Let the served route carry where the record's approval stands after this request: either the steps after the own step with their state, or a single "outcome" (went on to step N / ended approved / ended rejected / recalled). Then draw one line under the decided step in ApprovalStepLine (ui/packages/app-shell/src/views/approval-progress/). This adds data to a served shape, so it owes a contract read. Pin: a request decided at step 1 of a two-step flow shows that step 2 is pending, and one decided at the last step shows that the approval ended.
Blocked-by: #35856.
Suggested-grade: p3 · the decided card is no longer empty after #35856; this adds context.
Dedupe: flow_route (0 open hits), searched before filing.
Triage: lands in domain:server (plugin-approvals) · pm:blocked (kept); rationale: area:workflow · Feature · after #35856 an approver reopening a decided request sees their own step but not whether the record's approval went on (and who holds it) or ended; flowRoute stops at the request's own step; follow-up of #35730 (maintainer p1) → p2 (UX rule for an experience problem in any area: no p3; the filed p3 is raised) · size M (route data plus one line in ApprovalStepLine).
Claim: PM loop round 1 (area:workflow zone wf-B)
Session: session_01WGufzeiHatzB4rRx1t4Php
Thread session: session_01WGufzg3ayWUHg9nLoybejn
Account: os-support-ai
Branch: claude/project-thread-x90m5y
Worktree: objectstack (card thread container)
Domain: domain:server
Seat: repo:objectstack#3
Area: wf-B
File surface: packages/plugins/plugin-approvals/src/** (approval-route.ts flowRoute, tests); packages/spec/src/contracts/approval-service.ts (the served flow_route shape and its doc); ui/packages/app-shell/src/views/approval-progress/** and the flow_route readers in ui/packages/app-shell/src/** (ApprovalStepLine and its pins)
Container & model: M, mode:thread, model: default (dispatch-gates --tier at 517e4153: "no path-derived mandate", spec contract path flagged Clause-② SUSPECT), effort: high
Clause-②: yes
Metadata-protocol: none
Responsibility: n/a — not a defect card
Thread-read: 7042569075
Premise: holds
Serial constraints cleared: #37041 (wf-B, claimed 7145985823, branch claude/issue-37041-batch-lock-detail-lines) may edit the lock docblocks in packages/spec/src/contracts/approval-service.ts and approval-service.ts getRecordLocks: different members, overlap-check before every push decides; no other open PR touches plugin-approvals, the spec approval contract or app-shell approval-progress at 517e4153
Pre-claim lane: domain:server (plugin-approvals); the spec contract and ui/** legs stay in this lane by the lane-keep rule; the widening owes an L2 contract review
Pre-claim deps: Blocked-by: #35856 is merged (#35730 closed; unblock comment 7042569075)
Prior rulings read: card thread holds triage comments only (7042462136, 7042569075), no ruling; the chosen shape (an optional outcome on a decided flow_route) touches no ruled text, per the card thread's own reading, re-checked at L1
Premise reading at origin/main 517e415: approval-route.ts:128 returns { steps: [...before, own], ahead: 'decided' } for any non-pending row and walks nothing past the request's own step.
Shape taken (card option 2): an optional outcome on the served route, present only when ahead is 'decided', saying whether the approval went on (and to which step) or ended, and with what decision; omitted when the run's own rows say nothing, never guessed.
Edit 2026-11-24T23:46Z (seat correction): file surface also covers ui/packages/i18n/** locale bundles (approvalsInbox rows), the ui/apps/console approvals API type mirror (approvalsApi.ts) and content/docs/automation/approvals.mdx, as PR #37148 measured; Clause-② yes and Metadata-protocol none unchanged. overlap-check of the branch vs origin/main and PR #37145 (#37041): clean.
{
"issue": 35863,
"status": "done",
"branch": "claude/project-thread-x90m5y",
"pr": "https://github.com/objectstack-ai/objectstack/pull/37148",
"session": "session_01WGufzg3ayWUHg9nLoybejn",
"premise_still_valid": true,
"summary": "A decided request's flow_route now carries an optional outcome {step?, status, ended}: the run's latest later request (pending first) and whether the run has ended, read off the run's own request rows and automation.getRun judged by TERMINAL_RUN_STATUSES; absent when nothing is known or several later requests are pending. ApprovalStepLine draws one line under the decided step from it on the approval request page; four approvalsInbox rows in all 11 locales; approvals.mdx documents it. Card option 2 (one outcome) chosen over the steps-after list, reasons in the PR body.",
"tests": "plugin-approvals approval-route.test.ts + flow-route.integration.test.ts: Test Files 2 passed, Tests 34 passed (VERDICT command-exit 0). ui app-shell ApprovalDecisionPanel.stepLine-12491 + RecordApprovalsPanel stepProgressVertical + servedRoute-26668: Test Files 3 passed, Tests 29 passed; edited harness re-run at 1f6480a2: 20 passed. Ablations via scripts/ablation-replace.mjs (source-imported suites, no dist leg): flowRoute outcome to undefined -> 4 failed/30 passed; runHasEnded forced false -> 3 failed/6 passed; decision panel outcome hand-off deleted -> 4 failed/16 passed; each restored, tree clean.",
"gates": "local: dispatch-gates --ran 120/120 accounted; 117 exit 0; exit 3 (prerequisite, NOT MEASURED locally): check-plugin-teardown-shape --self-test (shallow clone), check:dual-build-cjs-loads, check:i18n. spec check:generated all 14 up to date; plugin-approvals + spec typecheck exit 0; check:test-source-alias exit 0 at 1f6480a2 after the CI finding. CI at head 1f6480a2: 70 check-runs, 61 success, 9 skipped, 0 failed; all 11 required contexts and Check Changeset success; mergeable clean. Type Check UI not run locally (needs the UI build closure): CI success.",
"dogfood_battery": "n/a — no ! in the PR title and no (narrowing) arm",
"mcp_calls": "0 — no MCP GitHub calls",
"api_writes": "3 relay strokes: pr_create (POST /repos/objectstack-ai/objectstack/pulls + POST .../issues/37148/assignees), issue_patch (PATCH .../issues/37148 body), this os-dev-report comment (POST .../issues/35863/comments); plus git push",
"open_questions": [],
"security_findings": "none",
"out_of_scope_findings": [
"carrier: none · noted, not filed: the outcome line does not name who holds the later step (approver names of a later request are a read-access question, not display); a run that fails after an approval reads ended with status approved (run status not served). Both in the PR's Acceptance notes."
]
}
Dev-effort: high · Rounds: 1 (one CI fix round: test-source-alias import)
area:workflowApprovals and automation — the work that runs without a person driving itdomain:serverDomain lane — seat card indexed by label:pm:seatenhancementNew feature or requestpriority:p2Medium: important, M3
Activity
objectstack-fleet commentedon Nov 20, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Triage: lands in
domain:server(plugin-approvals) ·pm:blocked(kept); rationale: area:workflow · Feature · after #35856 an approver reopening a decided request sees their own step but not whether the record's approval went on (and who holds it) or ended;flowRoutestops at the request's own step; follow-up of #35730 (maintainer p1) → p2 (UX rule for an experience problem in any area: no p3; the filed p3 is raised) · size M (route data plus one line inApprovalStepLine).objectstack-fleet commentedon Nov 20, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
2026-11-20T14:50Z · Unblocked: its only
Blocked-by:PR #35856 has landed (#35730 is closed).pm:blocked→pm:queue; grade p2 and lane unchanged.objectstack-fleet commentedon Nov 24, 2026
repo:objectstack#3 · os-support-ai · session_01WGufzeiHatzB4rRx1t4Php
Claim: PM loop round 1 (area:workflow zone wf-B)
Session:
session_01WGufzeiHatzB4rRx1t4PhpThread session:
session_01WGufzg3ayWUHg9nLoybejnAccount:
os-support-aiBranch:
claude/project-thread-x90m5yWorktree:
objectstack (card thread container)Domain:
domain:serverSeat:
repo:objectstack#3Area: wf-B
File surface:
packages/plugins/plugin-approvals/src/**(approval-route.tsflowRoute, tests);packages/spec/src/contracts/approval-service.ts(the served flow_route shape and its doc);ui/packages/app-shell/src/views/approval-progress/**and the flow_route readers inui/packages/app-shell/src/**(ApprovalStepLine and its pins)Container & model:
M,mode:thread,model: default (dispatch-gates --tier at 517e4153: "no path-derived mandate", spec contract path flagged Clause-② SUSPECT),effort: highClause-②: yes
Metadata-protocol: none
Responsibility:
n/a — not a defect cardThread-read: 7042569075
Premise: holds
Serial constraints cleared:
#37041 (wf-B, claimed 7145985823, branch claude/issue-37041-batch-lock-detail-lines) may edit the lock docblocks in packages/spec/src/contracts/approval-service.ts and approval-service.ts getRecordLocks: different members, overlap-check before every push decides; no other open PR touches plugin-approvals, the spec approval contract or app-shell approval-progress at 517e4153Pre-claim lane:
domain:server(plugin-approvals); the spec contract andui/**legs stay in this lane by the lane-keep rule; the widening owes an L2 contract reviewPre-claim deps:
Blocked-by: #35856is merged (#35730 closed; unblock comment 7042569075)Prior rulings read: card thread holds triage comments only (7042462136, 7042569075), no ruling; the chosen shape (an optional
outcomeon a decided flow_route) touches no ruled text, per the card thread's own reading, re-checked at L1Premise reading at origin/main 517e415:
approval-route.ts:128returns{ steps: [...before, own], ahead: 'decided' }for any non-pending row and walks nothing past the request's own step.Shape taken (card option 2): an optional
outcomeon the served route, present only whenaheadis'decided', saying whether the approval went on (and to which step) or ended, and with what decision; omitted when the run's own rows say nothing, never guessed.Edit 2026-11-24T23:46Z (seat correction): file surface also covers
ui/packages/i18n/**locale bundles (approvalsInbox rows), theui/apps/consoleapprovals API type mirror (approvalsApi.ts) andcontent/docs/automation/approvals.mdx, as PR #37148 measured; Clause-② yes and Metadata-protocol none unchanged. overlap-check of the branch vs origin/main and PR #37145 (#37041): clean.objectstack-fleet commentedon Nov 24, 2026
repo:objectstack#3 · os-support-ai · session_01WGufzg3ayWUHg9nLoybejn
os-dev-report
{ "issue": 35863, "status": "done", "branch": "claude/project-thread-x90m5y", "pr": "https://github.com/objectstack-ai/objectstack/pull/37148", "session": "session_01WGufzg3ayWUHg9nLoybejn", "premise_still_valid": true, "summary": "A decided request's flow_route now carries an optional outcome {step?, status, ended}: the run's latest later request (pending first) and whether the run has ended, read off the run's own request rows and automation.getRun judged by TERMINAL_RUN_STATUSES; absent when nothing is known or several later requests are pending. ApprovalStepLine draws one line under the decided step from it on the approval request page; four approvalsInbox rows in all 11 locales; approvals.mdx documents it. Card option 2 (one outcome) chosen over the steps-after list, reasons in the PR body.", "tests": "plugin-approvals approval-route.test.ts + flow-route.integration.test.ts: Test Files 2 passed, Tests 34 passed (VERDICT command-exit 0). ui app-shell ApprovalDecisionPanel.stepLine-12491 + RecordApprovalsPanel stepProgressVertical + servedRoute-26668: Test Files 3 passed, Tests 29 passed; edited harness re-run at 1f6480a2: 20 passed. Ablations via scripts/ablation-replace.mjs (source-imported suites, no dist leg): flowRoute outcome to undefined -> 4 failed/30 passed; runHasEnded forced false -> 3 failed/6 passed; decision panel outcome hand-off deleted -> 4 failed/16 passed; each restored, tree clean.", "gates": "local: dispatch-gates --ran 120/120 accounted; 117 exit 0; exit 3 (prerequisite, NOT MEASURED locally): check-plugin-teardown-shape --self-test (shallow clone), check:dual-build-cjs-loads, check:i18n. spec check:generated all 14 up to date; plugin-approvals + spec typecheck exit 0; check:test-source-alias exit 0 at 1f6480a2 after the CI finding. CI at head 1f6480a2: 70 check-runs, 61 success, 9 skipped, 0 failed; all 11 required contexts and Check Changeset success; mergeable clean. Type Check UI not run locally (needs the UI build closure): CI success.", "dogfood_battery": "n/a — no ! in the PR title and no (narrowing) arm", "mcp_calls": "0 — no MCP GitHub calls", "api_writes": "3 relay strokes: pr_create (POST /repos/objectstack-ai/objectstack/pulls + POST .../issues/37148/assignees), issue_patch (PATCH .../issues/37148 body), this os-dev-report comment (POST .../issues/35863/comments); plus git push", "open_questions": [], "security_findings": "none", "out_of_scope_findings": [ "carrier: none · noted, not filed: the outcome line does not name who holds the later step (approver names of a later request are a read-access question, not display); a run that fails after an approval reads ended with status approved (run status not served). Both in the PR's Acceptance notes." ] }Dev-effort: high · Rounds: 1 (one CI fix round: test-source-alias import)
objectstack-fleet commentedon Nov 25, 2026
repo:objectstack#3 · os-support-ai · session_01WGufzeiHatzB4rRx1t4Php
Close-out · 2026-11-25T05:23Z
flow_routecarries an optionaloutcome: the later step and its status when the approval went on, orended: trueonly when the run is provably a root run that ran the armed body with no child-run node and has stopped. The step line in the record's approval panel reads it. Disclosure is within 【能力需求】plugin-approvals 审批请求可见性:对业务记录有读权者应可只读查看审批动态(或提供可见性 hook) #8652 ruling 5299823744, per the seat's ruling on PR feat(approvals): a decided request's step line says where the record's approval went next #37148 (7150863825).pm:dispatchedremoved. Card closed byFixes #35863.