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: the action-page contract docblock and ADR-0043 still describe the email-link reject without its required reason #36709
area:workflowApprovals and automation — the work that runs without a person driving itdocumentationImprovements or additions to documentationdomain:specDomain lane — seat card indexed by label:pm:seatfindingRecorded observation — held, not dispatchable until the findings triage round grades itpriority:p2Medium: important, M3
Filing gate ① · Source: fleet · contract review 7101851923 on PR #36695 (#35722), nit N1, filed on seat 3's request (#32588 comment 7101877978). Parent topic #36243.
What is wrong
PR #36695 made the email action-link reject require a typed reason. Two texts still describe the old behaviour:
packages/spec/src/contracts/approval-service.ts: the docblock for IApprovalService.handleActionPage says the POST reads only token and answers the result page. It now also reads comment, and it can answer the confirm page with 400 (reason_required).
ADR-0043 still lists comment capture on the confirm page under Non-goals, as not shipped.
Done when
The docblock names comment and the 400 / reason_required confirm-page answer.
Triage: lands in area:workflow · domain:spec · priority:p2 · Task · pm:queue; rationale: the spec contract ships in @objectstack/spec and is what authors and the AI read, so a wrong sentence there is p2 under the table (wrong shipped text). Behaviour is correct.
Claim: PM loop round 1 (zone wf-A, routed from wf-B by the seat)
Session: session_01WGufzg3KqwSpt61Y8ovKK7
Account: os-support-ai
Branch: claude/issue-36709-approval-action-page-docs
Worktree: objectstack-issue-36709
Domain: domain:spec
Seat: repo:objectstack#3
Area: wf-A
File surface: packages/spec/src/contracts/approval-service.ts (the IApprovalService.handleActionPage docblock only) and docs/adr/0043-actionable-approval-links.md (one add-only note). Nothing else; a changeset only if the repo's gate asks for one on a spec docblock.
Container & model: S, mode:subagent, model: default (no path-derived mandate), effort: high (reason: touches packages/spec and an ADR; the zone order sets high for any spec/ADR card)
Clause-②: no (docblock text; no schema or type change)
Metadata-protocol: none
Responsibility: n/a — not a defect card (wrong shipped text; behaviour is correct per the card)
Thread-read: none
Premise: holds — PR #36695 merged 2026-11-24T01:30Z; handleActionPage docblock at packages/spec/src/contracts/approval-service.ts:1439 on origin/main 517e415; ADR-0043 is docs/adr/0043-actionable-approval-links.md.
Serial constraints cleared: no open PR touches either file (open-PR sweep 2026-11-24T22:17Z).
Pre-claim lane: domain:spec — the docblock lives in packages/spec/src/contracts/**; stays in this lane by the lane-keep rule (text only).
Pre-claim deps: none named; source PR #36695 merged.
Prior rulings read: handleactionpage,reason_required,adr-0043 → 0 hits; none; thread: none; repo: objectstack-ai/objectstack
Landing: docs/adr/** is a governed row (add-only low-risk arm in objectstack). The landing tier is read from check-governed-merges.mjs --pr N; if it answers H, the seat hands the PR to the approver and this zone does not land it.
{
"issue": 36709,
"status": "done",
"branch": "claude/issue-36709-approval-action-page-docs",
"pr": "https://github.com/objectstack-ai/objectstack/pull/37153",
"head_sha": "5d4cdbc23f2f43ad74b6132f90221e9e5bdd52ed",
"session": "session_01WGufzg3KqwSpt61Y8ovKK7",
"model": "claude-opus-5-5 (Opus 5.5)",
"Dev-effort": "high",
"Rounds": 1,
"premise_still_valid": true,
"summary": "The IApprovalService.handleActionPage docblock (packages/spec/src/contracts/approval-service.ts) now says the GET confirm form for a reject link carries a required reason field named comment. It says the POST reads token and, for a reject, comment (the last of each when a field repeats), that a reject records that reason, and that an approve reads no comment and records 'Via action link'. A new bullet says a reject whose comment is missing, blank or not a string is refused before the token is consumed and answered the same confirm page again with status 400 (redemption outcome reason_required); a dead link is judged first and still gets its 200 result page. @param/@returns match. Every statement was read off origin/main 517e4153 (handleActionPage, redeemActionToken, actionRedemptionPage). ADR-0043 gains one add-only paragraph after its Non-goals list: no existing line was edited or removed. A patch changeset for @objectstack/spec was added because the docblock ships (measured, see tests). Landing reads Tier H, not the low-risk arm (see open_questions).",
"files_changed": [
"packages/spec/src/contracts/approval-service.ts (+21/-9, handleActionPage docblock only)",
"docs/adr/0043-actionable-approval-links.md (+10/-0, add-only)",
".changeset/36709-action-page-contract-reject-reason.md (+14/-0, '@objectstack/spec': patch)"
],
"line_budget": "54 changed lines (+45/-9) over 3 files, against the 3000 human-merge threshold: under",
"Clause-②": "no",
"Metadata-protocol": "none",
"tests": "Local, on 5d4cdbc2. pnpm --filter @objectstack/spec build: lock VERDICT command-exit 0. pnpm --filter @objectstack/spec typecheck: VERDICT command-exit 0, 'check:test-typecheck: OK'. pnpm --filter @objectstack/spec test: VERDICT command-exit 0, 'Test Files 889 passed (889)', 'Tests 28273 passed | 1 todo (28274)'. A first attempt was cut by my own 580 s timeout while it waited on the lock; I reran it in the background and read it to completion. Changeset measured, not assumed: after the build, the new sentence 'refuses the input, not the link' is found in packages/spec/dist/contracts/index.d.ts and index.d.mts (files[] includes dist). Positive control: the existing sentence 'The token is the only credential' is found in the same two files. No ablation: docblock and ADR text only, no tested behaviour changed.",
"gates": "Local: node scripts/pm/dispatch-gates.mjs --commands --repo objectstack-ai/objectstack derived 85 commands with the changeset present; each was run with its exit code captured before any pipe. 82 exited 0. Three exited 3 (PREREQUISITE NOT MET) and are NOT MEASURED locally: check-plugin-teardown-shape.mjs --self-test (shallow checkout cannot reach the pinned fixture), check:dual-build-cjs-loads (whole workspace unbuilt), check:lean-entry-closure (@objectstack/objectql unbuilt). check:doc-formula-expressions first exited 3 (unbuilt @objectstack/formula), then exited 0 after building formula and lint. --ran with exit codes: 'Run reconciliation — 85 derived, 82 run, 3 NOT-MEASURED, 0 UNRUN'. ADR leg: addOnlyNoteReasons on the diff returns exactly one reason, 'names no decision or status heading' (see open_questions). overlap-check.mjs --branch: 'VERDICT clean exit 0' before both pushes. Branch claude/issue-37041-batch-lock-detail-lines at a77035329e touches no file in this diff. CI on 5d4cdbc2: 70 check-runs, success x59, skipped x11, no failure. Required set: Lint & Repo Gates success, TypeScript Type Check success, Test Core success, Build Core success, Governed Surface Queue Guard success, Type Check UI success, Test UI success, Build & E2E UI success, Live E2E UI success, Dogfood Regression Gate success, Lint UI skipped. Check Changeset success. PR mergeable_state was 'blocked' (checks still running) right after the push, never 'dirty'; still draft.",
"governed_tier": "node scripts/pm/check-governed-merges.mjs --pr 37153 (after git fetch origin main), exit 3, verbatim: '⛔ GOVERNED — a human merge is the review record for this PR (#9495 regime).' / '⚖️ landing tier: H(人合) — the maintainer's hand, or an authorized APPROVED review (GOVERNED_APPROVERS) and then the owning seat lands it.' / 'docs/adr/** ×1 — architecture decision records - docs/adr/0043-actionable-approval-links.md' / low-risk arm 'Tier H —': 'a path outside skills wording and prose: packages/spec/src/contracts/approval-service.ts'; 'an ADR change that is not an add-only note: `docs/adr/0043-actionable-approval-links.md` names no decision or status heading, so where a note sits cannot be judged'; '`.changeset/36709-action-page-contract-reject-reason.md` releases '@objectstack/spec': patch; the arm allows only `'@objectstack/skills': patch`' / 'size: 54 changed line(s) (+45 / -9) ≤ 3000 — under the human-merge threshold'.",
"dogfood_battery": "n/a: no '!' in the PR title and no (narrowing) arm. CI's Dogfood Regression Gate on 5d4cdbc2: success.",
"deviations": [
"Changeset added. The order said to add one only if a gate needs it: Check Changeset needs either a changeset or skip-changeset, and skip-changeset would be wrong because the docblock ships in dist (measured above).",
"PR body ends with the AGENTS.md session-URL footer and the signed trailer. The harness's extra robot-emoji footer was left out so the body carries one footer.",
"No signature line at the top of the PR body: the order makes the attribution comment and the Requested-by line its first two lines, and the signed trailer closes it (the shape PR #37077 uses)."
],
"mcp_calls": "0",
"api_writes": "2 relay writes: (1) fleet-write dispatch.mjs pr_create, one dispatch: POST /repos/objectstack-ai/objectstack/pulls (draft forced) plus POST /repos/objectstack-ai/objectstack/issues/37153/assignees [os-support-ai]; read-back 6181 bytes sent, 6181 stored, identical. (2) post-stamped.mjs: this report, POST /repos/objectstack-ai/objectstack/issues/36709/comments. Plus 2 git pushes (not REST).",
"open_questions": [
{
"question": "The order expected the ADR note to land on the add-only low-risk arm (Tier S). check-governed-merges gives Tier H for three independent reasons, and two of them cannot be fixed inside one PR: ADR-0043 has no Decision or Status heading, so no add-only note to it can ever pass the arm's reader; and the arm refuses any path outside skills prose and any changeset other than @objectstack/skills. How should it land?",
"options": [
"A: Keep PR #37153 as one PR and hand it to the approver as Tier H.",
"B: Split it. The spec docblock and changeset go in their own PR, which touches no governed path, so the seat lands it after review. The ADR-0043 note goes in a second, ADR-only PR, which still reads Tier H (no ruled heading) and goes to the approver."
],
"recommendation": "B, if the seat wants the shipped contract text fixed without waiting on the approver: the spec half is ungoverned and CI is already green on it. Otherwise A, since the approver's one review covers both halves. B costs one extra branch and PR and changes no text."
}
],
"security_findings": "none",
"out_of_scope_findings": [
"carrier: seat (repo:objectstack#3) · noted, not filed: ADR-0043 has no Decision or Status heading, so the registry's add-only low-risk arm can never accept a note to it; any ADR with the same heading shape is likewise always Tier H for notes. This is a property of the record and the arm, not a defect."
]
}
Close-out · zone wf-A · 2026-11-25T00:50Z: PR #37153 merged 2026-11-25T00:49Z as 8ddadc1 (Tier H, approved and queued by os-zhuang; L1 ACCEPT 7147558768, L2 PASS 7147583508). The IApprovalService.handleActionPage docblock now names the reject link's required comment and the 400 / reason_required confirm-page answer, and ADR-0043 carries an add-only note that comment capture shipped for reject in #36695. Fixes closed this card; pm:dispatched removed. Nothing left open.
area:workflowApprovals and automation — the work that runs without a person driving itdocumentationImprovements or additions to documentationdomain:specDomain lane — seat card indexed by label:pm:seatfindingRecorded observation — held, not dispatchable until the findings triage round grades itpriority:p2Medium: important, M3
Activity
objectstack-fleet commentedon Nov 24, 2026
repo:objectstack#3 · os-support-ai · session_01WGufzg3KqwSpt61Y8ovKK7
Claim: PM loop round 1 (zone wf-A, routed from wf-B by the seat)
Session:
session_01WGufzg3KqwSpt61Y8ovKK7Account:
os-support-aiBranch:
claude/issue-36709-approval-action-page-docsWorktree:
objectstack-issue-36709Domain:
domain:specSeat:
repo:objectstack#3Area: wf-A
File surface:
packages/spec/src/contracts/approval-service.ts(theIApprovalService.handleActionPagedocblock only) anddocs/adr/0043-actionable-approval-links.md(one add-only note). Nothing else; a changeset only if the repo's gate asks for one on a spec docblock.Container & model:
S,mode:subagent,model: default (no path-derived mandate),effort: high (reason: touches packages/spec and an ADR; the zone order sets high for any spec/ADR card)Clause-②: no (docblock text; no schema or type change)
Metadata-protocol: none
Responsibility:
n/a — not a defect card(wrong shipped text; behaviour is correct per the card)Thread-read: none
Premise: holds — PR #36695 merged 2026-11-24T01:30Z;
handleActionPagedocblock atpackages/spec/src/contracts/approval-service.ts:1439on origin/main 517e415; ADR-0043 isdocs/adr/0043-actionable-approval-links.md.Serial constraints cleared: no open PR touches either file (open-PR sweep 2026-11-24T22:17Z).
Pre-claim lane:
domain:spec— the docblock lives inpackages/spec/src/contracts/**; stays in this lane by the lane-keep rule (text only).Pre-claim deps: none named; source PR #36695 merged.
Prior rulings read: handleactionpage,reason_required,adr-0043 → 0 hits; none; thread: none; repo: objectstack-ai/objectstack
Landing:
docs/adr/**is a governed row (add-only low-risk arm in objectstack). The landing tier is read fromcheck-governed-merges.mjs --pr N; if it answers H, the seat hands the PR to the approver and this zone does not land it.objectstack-fleet commentedon Nov 24, 2026
repo:objectstack#3 · os-support-ai · session_01WGufzg3KqwSpt61Y8ovKK7
os-dev-report
{ "issue": 36709, "status": "done", "branch": "claude/issue-36709-approval-action-page-docs", "pr": "https://github.com/objectstack-ai/objectstack/pull/37153", "head_sha": "5d4cdbc23f2f43ad74b6132f90221e9e5bdd52ed", "session": "session_01WGufzg3KqwSpt61Y8ovKK7", "model": "claude-opus-5-5 (Opus 5.5)", "Dev-effort": "high", "Rounds": 1, "premise_still_valid": true, "summary": "The IApprovalService.handleActionPage docblock (packages/spec/src/contracts/approval-service.ts) now says the GET confirm form for a reject link carries a required reason field named comment. It says the POST reads token and, for a reject, comment (the last of each when a field repeats), that a reject records that reason, and that an approve reads no comment and records 'Via action link'. A new bullet says a reject whose comment is missing, blank or not a string is refused before the token is consumed and answered the same confirm page again with status 400 (redemption outcome reason_required); a dead link is judged first and still gets its 200 result page. @param/@returns match. Every statement was read off origin/main 517e4153 (handleActionPage, redeemActionToken, actionRedemptionPage). ADR-0043 gains one add-only paragraph after its Non-goals list: no existing line was edited or removed. A patch changeset for @objectstack/spec was added because the docblock ships (measured, see tests). Landing reads Tier H, not the low-risk arm (see open_questions).", "files_changed": [ "packages/spec/src/contracts/approval-service.ts (+21/-9, handleActionPage docblock only)", "docs/adr/0043-actionable-approval-links.md (+10/-0, add-only)", ".changeset/36709-action-page-contract-reject-reason.md (+14/-0, '@objectstack/spec': patch)" ], "line_budget": "54 changed lines (+45/-9) over 3 files, against the 3000 human-merge threshold: under", "Clause-②": "no", "Metadata-protocol": "none", "tests": "Local, on 5d4cdbc2. pnpm --filter @objectstack/spec build: lock VERDICT command-exit 0. pnpm --filter @objectstack/spec typecheck: VERDICT command-exit 0, 'check:test-typecheck: OK'. pnpm --filter @objectstack/spec test: VERDICT command-exit 0, 'Test Files 889 passed (889)', 'Tests 28273 passed | 1 todo (28274)'. A first attempt was cut by my own 580 s timeout while it waited on the lock; I reran it in the background and read it to completion. Changeset measured, not assumed: after the build, the new sentence 'refuses the input, not the link' is found in packages/spec/dist/contracts/index.d.ts and index.d.mts (files[] includes dist). Positive control: the existing sentence 'The token is the only credential' is found in the same two files. No ablation: docblock and ADR text only, no tested behaviour changed.", "gates": "Local: node scripts/pm/dispatch-gates.mjs --commands --repo objectstack-ai/objectstack derived 85 commands with the changeset present; each was run with its exit code captured before any pipe. 82 exited 0. Three exited 3 (PREREQUISITE NOT MET) and are NOT MEASURED locally: check-plugin-teardown-shape.mjs --self-test (shallow checkout cannot reach the pinned fixture), check:dual-build-cjs-loads (whole workspace unbuilt), check:lean-entry-closure (@objectstack/objectql unbuilt). check:doc-formula-expressions first exited 3 (unbuilt @objectstack/formula), then exited 0 after building formula and lint. --ran with exit codes: 'Run reconciliation — 85 derived, 82 run, 3 NOT-MEASURED, 0 UNRUN'. ADR leg: addOnlyNoteReasons on the diff returns exactly one reason, 'names no decision or status heading' (see open_questions). overlap-check.mjs --branch: 'VERDICT clean exit 0' before both pushes. Branch claude/issue-37041-batch-lock-detail-lines at a77035329e touches no file in this diff. CI on 5d4cdbc2: 70 check-runs, success x59, skipped x11, no failure. Required set: Lint & Repo Gates success, TypeScript Type Check success, Test Core success, Build Core success, Governed Surface Queue Guard success, Type Check UI success, Test UI success, Build & E2E UI success, Live E2E UI success, Dogfood Regression Gate success, Lint UI skipped. Check Changeset success. PR mergeable_state was 'blocked' (checks still running) right after the push, never 'dirty'; still draft.", "governed_tier": "node scripts/pm/check-governed-merges.mjs --pr 37153 (after git fetch origin main), exit 3, verbatim: '⛔ GOVERNED — a human merge is the review record for this PR (#9495 regime).' / '⚖️ landing tier: H(人合) — the maintainer's hand, or an authorized APPROVED review (GOVERNED_APPROVERS) and then the owning seat lands it.' / 'docs/adr/** ×1 — architecture decision records - docs/adr/0043-actionable-approval-links.md' / low-risk arm 'Tier H —': 'a path outside skills wording and prose: packages/spec/src/contracts/approval-service.ts'; 'an ADR change that is not an add-only note: `docs/adr/0043-actionable-approval-links.md` names no decision or status heading, so where a note sits cannot be judged'; '`.changeset/36709-action-page-contract-reject-reason.md` releases '@objectstack/spec': patch; the arm allows only `'@objectstack/skills': patch`' / 'size: 54 changed line(s) (+45 / -9) ≤ 3000 — under the human-merge threshold'.", "dogfood_battery": "n/a: no '!' in the PR title and no (narrowing) arm. CI's Dogfood Regression Gate on 5d4cdbc2: success.", "deviations": [ "Changeset added. The order said to add one only if a gate needs it: Check Changeset needs either a changeset or skip-changeset, and skip-changeset would be wrong because the docblock ships in dist (measured above).", "PR body ends with the AGENTS.md session-URL footer and the signed trailer. The harness's extra robot-emoji footer was left out so the body carries one footer.", "No signature line at the top of the PR body: the order makes the attribution comment and the Requested-by line its first two lines, and the signed trailer closes it (the shape PR #37077 uses)." ], "mcp_calls": "0", "api_writes": "2 relay writes: (1) fleet-write dispatch.mjs pr_create, one dispatch: POST /repos/objectstack-ai/objectstack/pulls (draft forced) plus POST /repos/objectstack-ai/objectstack/issues/37153/assignees [os-support-ai]; read-back 6181 bytes sent, 6181 stored, identical. (2) post-stamped.mjs: this report, POST /repos/objectstack-ai/objectstack/issues/36709/comments. Plus 2 git pushes (not REST).", "open_questions": [ { "question": "The order expected the ADR note to land on the add-only low-risk arm (Tier S). check-governed-merges gives Tier H for three independent reasons, and two of them cannot be fixed inside one PR: ADR-0043 has no Decision or Status heading, so no add-only note to it can ever pass the arm's reader; and the arm refuses any path outside skills prose and any changeset other than @objectstack/skills. How should it land?", "options": [ "A: Keep PR #37153 as one PR and hand it to the approver as Tier H.", "B: Split it. The spec docblock and changeset go in their own PR, which touches no governed path, so the seat lands it after review. The ADR-0043 note goes in a second, ADR-only PR, which still reads Tier H (no ruled heading) and goes to the approver." ], "recommendation": "B, if the seat wants the shipped contract text fixed without waiting on the approver: the spec half is ungoverned and CI is already green on it. Otherwise A, since the approver's one review covers both halves. B costs one extra branch and PR and changes no text." } ], "security_findings": "none", "out_of_scope_findings": [ "carrier: seat (repo:objectstack#3) · noted, not filed: ADR-0043 has no Decision or Status heading, so the registry's add-only low-risk arm can never accept a note to it; any ADR with the same heading shape is likewise always Tier H for notes. This is a property of the record and the arm, not a defect." ] }objectstack-fleet commentedon Nov 25, 2026
repo:objectstack#3 · os-support-ai · session_01WGufzg3KqwSpt61Y8ovKK7
Close-out · zone wf-A · 2026-11-25T00:50Z: PR #37153 merged 2026-11-25T00:49Z as 8ddadc1 (Tier H, approved and queued by os-zhuang; L1 ACCEPT 7147558768, L2 PASS 7147583508). The
IApprovalService.handleActionPagedocblock now names the reject link's requiredcommentand the400/reason_requiredconfirm-page answer, and ADR-0043 carries an add-only note that comment capture shipped for reject in #36695.Fixesclosed this card;pm:dispatchedremoved. Nothing left open.