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 viewer-block descriptions: name can_override_approve (follow-up to #34755) #34839
Follow-up owed by #34755 (contract review N1, plus two nits). This is text only; behaviour already reads the served predicate.
Context. After #34755 the approval request's served viewer block carries can_override_approve beside can_override. The Approve action reads the new flag; Reject, Reassign and Recall keep reading can_override.
Correct these descriptions. Each still names three viewer leaves, or still ties Approve to can_override:
The attachedOnRead docblock in packages/spec/src/data/object.zod.ts.
The comment over the approvals entry in packages/platform-objects/src/apps/account.app.ts.
The docblock in ui/packages/app-shell/src/utils/approvalOverride.ts.
The verify text of the approvals entries in docs/qa/platform-checklist/areas/approvals.json.
Also:
skills/objectstack-automation/references/state-machines-and-approvals.md: the onEmptyApprovers row says admin_rescue means "only a privileged admin can act via Reassign". The runtime opens such a request on the organization's administrators. Align the text with content/docs/automation/approvals.mdx.
(nit) approval-override-audit.test.ts: the letter-case case replaces engine.find on the shared double without restoring it. Restore it in the case body, or rebuild the double per case.
(nit) If a MySQL or other case-folding test lane exists, add one pin there for the email-target letter-case rule.
Done when: each text states the four-leaf viewer block, and Approve reading can_override_approve, as served. No behaviour change.
First touch (13:5xZ). Graded p2 · domain:skills, queued.
Theme: MCP. Skills docs that teach authoring are in that theme, because external agents author from them. Item 5 makes this more than a nit.
state-machines-and-approvals.md tells an authoring agent that admin_rescue lets only a privileged admin act through Reassign.
The runtime actually opens the request on the organization's administrators.
So an agent that builds an approval from this text will describe its behaviour wrongly to the user.
Items 1–4, 6 and 7 are wording and test hygiene. They ride along in the same PR because they are cheap and in the same area. On their own they would fall under the p3 standard.
Claim: PM loop (area o3-C, skills p2 released by the maintainer 22:35Z, seat note 22:36Z)
Session: session_01WGufziunkXbDT7wUWqfmWz
Account: os-support-ai
Branch: claude/issue-34839-approve-override-descriptions
Worktree: objectstack-issue-34839
Domain: domain:skills
Seat: repo:objectstack#3
File surface: comments and docblocks only in packages/spec/src/data/object.zod.ts (the attachedOnRead docblock, ~:2883), packages/platform-objects/src/apps/account.app.ts (the comment over the approvals entry, ~:114) and ui/packages/app-shell/src/utils/approvalOverride.ts (docblock, :37); the approvals entries' verify text in docs/qa/platform-checklist/areas/approvals.json (with each touched item's revision + history entry); the onEmptyApprovers row of skills/objectstack-automation/references/state-machines-and-approvals.md (:375); test hygiene in packages/plugins/plugin-approvals/src/approval-override-audit.test.ts (item 6; item 7 only if a case-folding test lane exists, else reported); scripts/check-skills-token-ratchet.mjs (that file's row only, by the measured remainder, only if same-file cuts cannot pay); root .changeset/
Container & model: M, mode:subagent (area o3-C os-dev), model: CONTRACT_REVIEW_TIER (dispatch-gates --tier printed "Model tier — MANDATORY" for skills/objectstack-automation/references/state-machines-and-approvals.md ⇢ 'skills/**', clause ①, no one-line exit), effort: medium (seat 22:36Z: small text card)
Clause-②: no
Metadata-protocol: none
Responsibility: published skill objectstack-automation and in-code descriptions in objectstack (after #34755 the served approval viewer block has four leaves and Approve reads can_override_approve; four descriptions still name three leaves or tie Approve to can_override, and the skill says admin_rescue lets "only a privileged admin act via Reassign" where the runtime opens the request on the organization's administrators) | none | every authoring agent that installs the skill, and every reader of those descriptions
Thread-read: 6949955415
Premise: holds on origin/main 65ec3c5. packages/spec/src/data/object.zod.ts:2883 reads viewer: { can_act, is_submitter, can_override }; packages/platform-objects/src/apps/account.app.ts:114 ties the approvals entry to can_act || can_override; ui/packages/app-shell/src/utils/approvalOverride.ts:37-38 names can_override alone; docs/qa/platform-checklist/areas/approvals.json:344,366 name three viewer flags; skills/objectstack-automation/references/state-machines-and-approvals.md:375 says "only a privileged admin can act via Reassign" while content/docs/automation/approvals.mdx:118,304,335 say the request opens on the organization's administrators. The dev re-measures the served viewer block and each action's predicate in plugin-approvals before writing. No behaviour change.
Serial constraints cleared: open PR #35002 (#34637) also edits state-machines-and-approvals.md (+7, another section) and pays that skill's ratchet row if any; overlap-check before every push, whoever lands second merges main.
Pre-claim lane: domain:skills (triage 6949955415) — seat-assigned to area o3-C. The non-skills paths are comment, docblock, checklist-text and test-hygiene edits the card names.
Pre-claim deps: none named; #34755 merged.
Prior rulings read: card-named only (#34755 contract review N1 and two nits); thread: none; repo: objectstack-ai/objectstack
{
"issue": 34839,
"status": "done",
"branch": "claude/issue-34839-approve-override-descriptions",
"pr": "https://github.com/objectstack-ai/objectstack/pull/35066",
"session": "session_01WGufziunkXbDT7wUWqfmWz",
"premise_still_valid": true,
"Dev-effort": "medium",
"Rounds": 1,
"summary": "Text-only card, no behaviour change, draft PR 35066 at head 77dbe40f6e (base 367e324eeb; the four premise lines re-measured there and held). Read from the runtime first: attachViewers serves four viewer leaves (can_act, is_submitter, can_override, can_override_approve); approval_approve's override arm reads can_override_approve, and approval_reject, approval_reassign and approval_recall read can_override. Three in-code descriptions, three platform-checklist items (revision bump plus a 2026-11-18 history entry each, ref 34839) and the automation skill's onEmptyApprovers row now say that; the skill row says the request opens on the organization's administrators. Four things to know. (1) Checklist item approvals.record-page-decisions needed more than a leaf list: its admin is the request's submitter, so after 34755 the override menu holds no Approve; steps[9] and acceptance[4].verify said it lists Override Approve. Re-pointed from source, not re-run in a browser. (2) Item 6's premise is partly false: the double is already rebuilt before every case (beforeEach calls makeFakeEngine), so the replaced find could not leak; the try/finally was added anyway, as asked, and fixes no observed leak. (3) Item 7: no pin added. A live MySQL lane exists (ci.yml, Temporal Conformance live PG + MySQL) but runs the driver-sql suite only; nothing runs ApprovalService on a case-folding store. (4) Ratchet row untouched: the reference file is priced (ceiling 5916, was at 5916), the edit shortens it by 9 bytes to 5913 tokens. Changeset names @objectstack/skills and @objectstack/platform-objects (the edited comment reaches platform-objects' dist, measured; the spec docblock does not). Landing: check-governed-merges --branch answers Tier H; its low-risk skills arm reads NOT MEASURED on a branch, and by its own allowlist cannot apply, since five of seven paths are outside a catalog row or rider pattern and the changeset releases more than a skills patch. Conflict to note: the developer agent file forbids agent-written HTML comments in a PR body, the dispatch order requires the attribution comment and the signed trailer; the body follows the dispatch order. The harness reminder asked for a model-named commit trailer; commits carry the model-free pair.",
"tests": "Head 77dbe40f6e. approval-override-audit.test.ts alone: base copy of the file (367e324eeb) Tests 20 passed (20); edited copy Tests 20 passed (20); both VERDICT command-exit 0. pnpm --filter @objectstack/plugin-approvals exec vitest run --maxWorkers=2: Test Files 122 passed (122), Tests 1741 passed (1741), VERDICT command-exit 0 (run at 4e9206e2bb and again at 77dbe40f6e). pnpm --filter @objectstack/plugin-approvals typecheck: VERDICT command-exit 0. pnpm --filter @objectstack/spec check:generated: all 14 generated artifacts up to date against a dist built from this branch, VERDICT command-exit 0. No ablation: no tested behaviour changed. Not run locally, declared to CI: the full suites of spec, platform-objects and app-shell (comment-only diffs), test:repo.",
"gates": "dispatch-gates --commands derived 113 families at 77dbe40f6e; each run with its exit code captured before any pipe. 110 exit 0. pnpm check:dual-build-cjs-loads exit 3 and pnpm check:i18n exit 3: PREREQUISITE NOT MET (full workspace build, CLI build), NOT MEASURED locally. pnpm --dir ui exec vitest run scripts/ exit 1: Test Files 1 failed, 170 passed, 2 skipped; the failure (unit-registry-absence-collision.test.ts) was an unbuilt @objectstack/client; after building its closure that file alone passed 15 of 15, exit 0; the full family was not re-run. dispatch-gates --ran: '113 derived famil(ies) accounted for, 111 run, 2 NOT-MEASURED (2 DERIVED from a recorded exit 3)', exit 0. Outside the derived list: check-platform-checklist --changed-from origin/main 'OK, 2 anchored file(s) in the change set, 20 anchor(s) judged, 0 lost' exit 0; pnpm gen:checklist-status exit 0 with a clean tree; check-skills-token-ratchet 'state-machines-and-approvals.md is 5913 tokens (ceiling 5916; headroom 3)' exit 0; overlap-check clean against origin/main and PR 35002 before each push. The derivation warned that origin/main moved after the branch point and changed ci.yml and lint.yml; main was not merged in. PR check-runs at report time, head 77dbe40f6e: 25 runs; completed: Borrowed queue verdict: skipped; Schedule gate · skip when a green push run covers the commit: skipped; 18.x upgrade harness (opt-in): skipped; Queue verdict: skipped; Packed-tarball smoke (opt-in): skipped; Governed Surface Queue Guard: success; in_progress: Lint · scoped · query-options erasure, Type Check · source gates, Type Check · workspace, Lint · repo & tooling gates, Type Check · consumer gates, Lint · PM dispatch-gates, Type Check · debt ledger, Lint · docs & code guards, Lint · CI, release & engine gates, Lint · scoped · slot lookup & corpus, Lint · scoped · tooling self-tests, Lint · ESLint, Check Changeset, Check Documentation Links, Check PR Size, Flag docs affected by code changes, filter, PR-body guards (claim · duplicate · Part-of · single-writer path), Spec property liveness.",
"dogfood_battery": "n/a — no ! in the PR title and no (narrowing) arm",
"mcp_calls": "0",
"api_writes": "2 relay strokes through fleet-write (POST /repos/objectstack-ai/objectstack/dispatches each): pr_create (draft, assignee os-support-ai, no labels; run 44215270553, read back identical, 11814 bytes) and this os-dev-report comment on issue 34839 via post-stamped. Plus 3 git pushes of the branch.",
"open_questions": [],
"security_findings": "none",
"out_of_scope_findings": [
"carrier: none · noted, not filed · no test lane runs ApprovalService on a store whose collation folds letter case, so the email-target letter-case rule is pinned only against the in-memory double (approval-override-audit.test.ts); reading only, no reproduced defect",
"carrier: none · noted, not filed · approvals.record-page-decisions steps[9] and acceptance[4] now expect no Approve in the override menu for the submitting admin; derived from source, owed a browser run the next time the item is executed"
]
}
Delivered by PR #35066 (merged, b85dff0). The descriptions of the approval record's served viewer block now name all four leaves: can_act, is_submitter, can_override and can_override_approve. They also say that an administrator's override never approves their own request. This covers the attachedOnRead docblock in object.zod.ts, the comment in account.app.ts and the docblock in approvalOverride.ts. The automation skill's onEmptyApprovers row now says admin_rescue opens on the organization's administrators. Three approvals checklist items are re-pointed, each with a revision bump and a history entry. The record-page-decisions expectation is read from source, and it is owed a browser run the next time the item is executed. The audit test restores its double in a finally. The PR landed at Tier H: L1-a ACCEPT 6966200070, seat contract review PASS 6966273412 (Security-touching: yes), and os-zhuang readied and queued it. pm:dispatched and lease:o3-C come off with this close.
Open at the merge, nits only:
N1: the quoted can_act || can_override shape fits Reject and Reassign, but not Recall.
N2: the skill row leaves out the empty-slate fallback.
One stale comment remains at account-approvals-nav.test.ts:10.
Activity
objectstack-fleet commentedon Nov 17, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
First touch (13:5xZ). Graded p2 · domain:skills, queued.
Theme: MCP. Skills docs that teach authoring are in that theme, because external agents author from them. Item 5 makes this more than a nit.
state-machines-and-approvals.mdtells an authoring agent thatadmin_rescuelets only a privileged admin act through Reassign.Items 1–4, 6 and 7 are wording and test hygiene. They ride along in the same PR because they are cheap and in the same area. On their own they would fall under the p3 standard.
objectstack-fleet commentedon Nov 18, 2026
repo:objectstack#3 · os-support-ai · session_01WGufziunkXbDT7wUWqfmWz
Claim: PM loop (area o3-C, skills p2 released by the maintainer 22:35Z, seat note 22:36Z)
Session:
session_01WGufziunkXbDT7wUWqfmWzAccount:
os-support-aiBranch:
claude/issue-34839-approve-override-descriptionsWorktree:
objectstack-issue-34839Domain:
domain:skillsSeat:
repo:objectstack#3File surface: comments and docblocks only in
packages/spec/src/data/object.zod.ts(theattachedOnReaddocblock, ~:2883),packages/platform-objects/src/apps/account.app.ts(the comment over the approvals entry, ~:114) andui/packages/app-shell/src/utils/approvalOverride.ts(docblock,:37); the approvals entries' verify text in:375); test hygiene indocs/qa/platform-checklist/areas/approvals.json(with each touched item's revision + history entry); theonEmptyApproversrow ofskills/objectstack-automation/references/state-machines-and-approvals.md(packages/plugins/plugin-approvals/src/approval-override-audit.test.ts(item 6; item 7 only if a case-folding test lane exists, else reported);scripts/check-skills-token-ratchet.mjs(that file's row only, by the measured remainder, only if same-file cuts cannot pay); root.changeset/Container & model:
M,mode:subagent(area o3-C os-dev),model: CONTRACT_REVIEW_TIER(dispatch-gates --tier printed "Model tier — MANDATORY" forskills/objectstack-automation/references/state-machines-and-approvals.md⇢ 'skills/**', clause ①, no one-line exit),effort: medium(seat 22:36Z: small text card)Clause-②: no
Metadata-protocol: none
Responsibility: published skill
objectstack-automationand in-code descriptions in objectstack (after #34755 the served approvalviewerblock has four leaves and Approve readscan_override_approve; four descriptions still name three leaves or tie Approve tocan_override, and the skill saysadmin_rescuelets "only a privileged admin act via Reassign" where the runtime opens the request on the organization's administrators) | none | every authoring agent that installs the skill, and every reader of those descriptionsThread-read: 6949955415
Premise: holds on origin/main 65ec3c5.
packages/spec/src/data/object.zod.ts:2883readsviewer: { can_act, is_submitter, can_override };packages/platform-objects/src/apps/account.app.ts:114ties the approvals entry tocan_act || can_override;ui/packages/app-shell/src/utils/approvalOverride.ts:37-38namescan_overridealone;docs/qa/platform-checklist/areas/approvals.json:344,366name three viewer flags;skills/objectstack-automation/references/state-machines-and-approvals.md:375says "only a privileged admin can act via Reassign" whilecontent/docs/automation/approvals.mdx:118,304,335say the request opens on the organization's administrators. The dev re-measures the servedviewerblock and each action's predicate inplugin-approvalsbefore writing. No behaviour change.Serial constraints cleared: open PR #35002 (#34637) also edits
state-machines-and-approvals.md(+7, another section) and pays that skill's ratchet row if any; overlap-check before every push, whoever lands second merges main.Pre-claim lane:
domain:skills(triage 6949955415) — seat-assigned to area o3-C. The non-skills paths are comment, docblock, checklist-text and test-hygiene edits the card names.Pre-claim deps: none named; #34755 merged.
Prior rulings read: card-named only (#34755 contract review N1 and two nits); thread: none; repo: objectstack-ai/objectstack
objectstack-fleet commentedon Nov 18, 2026
repo:objectstack#3 · os-support-ai · session_01WGufziunkXbDT7wUWqfmWz
os-dev-report
{ "issue": 34839, "status": "done", "branch": "claude/issue-34839-approve-override-descriptions", "pr": "https://github.com/objectstack-ai/objectstack/pull/35066", "session": "session_01WGufziunkXbDT7wUWqfmWz", "premise_still_valid": true, "Dev-effort": "medium", "Rounds": 1, "summary": "Text-only card, no behaviour change, draft PR 35066 at head 77dbe40f6e (base 367e324eeb; the four premise lines re-measured there and held). Read from the runtime first: attachViewers serves four viewer leaves (can_act, is_submitter, can_override, can_override_approve); approval_approve's override arm reads can_override_approve, and approval_reject, approval_reassign and approval_recall read can_override. Three in-code descriptions, three platform-checklist items (revision bump plus a 2026-11-18 history entry each, ref 34839) and the automation skill's onEmptyApprovers row now say that; the skill row says the request opens on the organization's administrators. Four things to know. (1) Checklist item approvals.record-page-decisions needed more than a leaf list: its admin is the request's submitter, so after 34755 the override menu holds no Approve; steps[9] and acceptance[4].verify said it lists Override Approve. Re-pointed from source, not re-run in a browser. (2) Item 6's premise is partly false: the double is already rebuilt before every case (beforeEach calls makeFakeEngine), so the replaced find could not leak; the try/finally was added anyway, as asked, and fixes no observed leak. (3) Item 7: no pin added. A live MySQL lane exists (ci.yml, Temporal Conformance live PG + MySQL) but runs the driver-sql suite only; nothing runs ApprovalService on a case-folding store. (4) Ratchet row untouched: the reference file is priced (ceiling 5916, was at 5916), the edit shortens it by 9 bytes to 5913 tokens. Changeset names @objectstack/skills and @objectstack/platform-objects (the edited comment reaches platform-objects' dist, measured; the spec docblock does not). Landing: check-governed-merges --branch answers Tier H; its low-risk skills arm reads NOT MEASURED on a branch, and by its own allowlist cannot apply, since five of seven paths are outside a catalog row or rider pattern and the changeset releases more than a skills patch. Conflict to note: the developer agent file forbids agent-written HTML comments in a PR body, the dispatch order requires the attribution comment and the signed trailer; the body follows the dispatch order. The harness reminder asked for a model-named commit trailer; commits carry the model-free pair.", "tests": "Head 77dbe40f6e. approval-override-audit.test.ts alone: base copy of the file (367e324eeb) Tests 20 passed (20); edited copy Tests 20 passed (20); both VERDICT command-exit 0. pnpm --filter @objectstack/plugin-approvals exec vitest run --maxWorkers=2: Test Files 122 passed (122), Tests 1741 passed (1741), VERDICT command-exit 0 (run at 4e9206e2bb and again at 77dbe40f6e). pnpm --filter @objectstack/plugin-approvals typecheck: VERDICT command-exit 0. pnpm --filter @objectstack/spec check:generated: all 14 generated artifacts up to date against a dist built from this branch, VERDICT command-exit 0. No ablation: no tested behaviour changed. Not run locally, declared to CI: the full suites of spec, platform-objects and app-shell (comment-only diffs), test:repo.", "gates": "dispatch-gates --commands derived 113 families at 77dbe40f6e; each run with its exit code captured before any pipe. 110 exit 0. pnpm check:dual-build-cjs-loads exit 3 and pnpm check:i18n exit 3: PREREQUISITE NOT MET (full workspace build, CLI build), NOT MEASURED locally. pnpm --dir ui exec vitest run scripts/ exit 1: Test Files 1 failed, 170 passed, 2 skipped; the failure (unit-registry-absence-collision.test.ts) was an unbuilt @objectstack/client; after building its closure that file alone passed 15 of 15, exit 0; the full family was not re-run. dispatch-gates --ran: '113 derived famil(ies) accounted for, 111 run, 2 NOT-MEASURED (2 DERIVED from a recorded exit 3)', exit 0. Outside the derived list: check-platform-checklist --changed-from origin/main 'OK, 2 anchored file(s) in the change set, 20 anchor(s) judged, 0 lost' exit 0; pnpm gen:checklist-status exit 0 with a clean tree; check-skills-token-ratchet 'state-machines-and-approvals.md is 5913 tokens (ceiling 5916; headroom 3)' exit 0; overlap-check clean against origin/main and PR 35002 before each push. The derivation warned that origin/main moved after the branch point and changed ci.yml and lint.yml; main was not merged in. PR check-runs at report time, head 77dbe40f6e: 25 runs; completed: Borrowed queue verdict: skipped; Schedule gate · skip when a green push run covers the commit: skipped; 18.x upgrade harness (opt-in): skipped; Queue verdict: skipped; Packed-tarball smoke (opt-in): skipped; Governed Surface Queue Guard: success; in_progress: Lint · scoped · query-options erasure, Type Check · source gates, Type Check · workspace, Lint · repo & tooling gates, Type Check · consumer gates, Lint · PM dispatch-gates, Type Check · debt ledger, Lint · docs & code guards, Lint · CI, release & engine gates, Lint · scoped · slot lookup & corpus, Lint · scoped · tooling self-tests, Lint · ESLint, Check Changeset, Check Documentation Links, Check PR Size, Flag docs affected by code changes, filter, PR-body guards (claim · duplicate · Part-of · single-writer path), Spec property liveness.", "dogfood_battery": "n/a — no ! in the PR title and no (narrowing) arm", "mcp_calls": "0", "api_writes": "2 relay strokes through fleet-write (POST /repos/objectstack-ai/objectstack/dispatches each): pr_create (draft, assignee os-support-ai, no labels; run 44215270553, read back identical, 11814 bytes) and this os-dev-report comment on issue 34839 via post-stamped. Plus 3 git pushes of the branch.", "open_questions": [], "security_findings": "none", "out_of_scope_findings": [ "carrier: none · noted, not filed · no test lane runs ApprovalService on a store whose collation folds letter case, so the email-target letter-case rule is pinned only against the in-memory double (approval-override-audit.test.ts); reading only, no reproduced defect", "carrier: none · noted, not filed · approvals.record-page-decisions steps[9] and acceptance[4] now expect no Approve in the override menu for the submitting admin; derived from source, owed a browser run the next time the item is executed" ] }objectstack-fleet commentedon Nov 18, 2026
repo:objectstack#3 · os-support-ai · session_01WGufziunkXbDT7wUWqfmWz
Delivered by PR #35066 (merged, b85dff0). The descriptions of the approval record's served viewer block now name all four leaves:
can_act,is_submitter,can_overrideandcan_override_approve. They also say that an administrator's override never approves their own request. This covers theattachedOnReaddocblock inobject.zod.ts, the comment inaccount.app.tsand the docblock inapprovalOverride.ts. The automation skill'sonEmptyApproversrow now saysadmin_rescueopens on the organization's administrators. Three approvals checklist items are re-pointed, each with a revision bump and a history entry. Therecord-page-decisionsexpectation is read from source, and it is owed a browser run the next time the item is executed. The audit test restores its double in afinally. The PR landed at Tier H: L1-a ACCEPT 6966200070, seat contract review PASS 6966273412 (Security-touching: yes), and os-zhuang readied and queued it.pm:dispatchedandlease:o3-Ccome off with this close.Open at the merge, nits only:
can_act || can_overrideshape fits Reject and Reassign, but not Recall.account-approvals-nav.test.ts:10.Dev-effort: high · Rounds: 1.