Skip to content

Showcase: replace the three paid-invoice line guards with a closedStates declaration, as the runtime proof (ADR-0162 item 3) #37771

Description

@objectstack-fleet

repo:objectstack#2 · os-sales · session_01L6bhgV6i8jfWwSXjpWJrjA

Filing gate: ③ maintainer-directed · Source: ADR-0162 Execution item 3 (accepted by merge 972114d)

维护者速读

  • 做什么:把示例应用里「已付款发票不能动明细」的三段手写代码删掉,换成发票对象上的一行声明,并把前后对比跑一遍记下来。
  • 用户会看到什么:示例应用里已付款的发票,表头也不能再改、整张不能删、明细行任何字段都不能改;这三处是新增的拒绝,是设计本意。
  • 不做会怎样:新能力没有一个真实应用证明它能替代手写代码,其他应用也没有可以照抄的样例。
  • 顺序:排在声明和执行那张卡之后,最好和它同一次发布,作为运行证明。

What happens

The showcase guards a paid invoice's lines with three hand-written hooks in examples/app-showcase/src/data/hooks/index.ts, with their own refusal sentences (PAID_INVOICE_LINE_ADD_REFUSAL, PAID_INVOICE_LINE_REMOVE_REFUSAL, PAID_INVOICE_LINE_MOVE_REFUSAL). They guard add, remove and move. They do not guard the invoice's header, its delete, or most fields of a line.

Card #36253 asks for this conversion as the proof ("Convert the showcase's paid-invoice hooks to the declaration as the proof"), and ADR-0162 D10 names it as the runtime proof ADR-0054 asks of a new key.

Expected

  • The three hooks and their sentences are deleted. The invoice object declares closedStates on its status for the paid state.
  • The card records, as a dogfood run against the running app, each refusal the hooks gave before and the declaration gives after.
  • It records every outcome that changes by design. ADR-0162 Execution item 3 lists them:
    • a caller's edit of a paid invoice's header is refused, where today every field but the one that carries readonlyWhen lands;
    • a caller's delete of a paid invoice is refused, where today only the button is hidden;
    • a caller's update of a line under a paid invoice is refused whole, where today a change to description, position, service_start or receipt lands, and a write that carries product, quantity or unit_price has those keys stripped and the rest lands;
    • adding, moving and removing a line under a paid invoice stay refused, now with the platform's code and sentence where the app worded three of its own.
  • A seed or import of finished invoices still loads: it runs as system, or creates the invoice open and closes it last.

Done when

  • No paid-invoice guard hook is left in the showcase, and the invoice declares the key.
  • The dogfood record is in the PR: the before and after of each of the four outcomes above, taken from the running app.
  • The showcase's own tests that asserted the three app sentences now assert RECORD_LOCKED.
  • The showcase's seed loads, and its flows still run: none of them uses the approval status mirror on the invoice, and its batch sign-off under a map names no closing field and runs under a parent that carries no record, so the approvals conditions of item 7 refuse none of them. Each is checked, not assumed.
  • The liveness row of the key points at this proof, if the key's own card did not carry one.

Category ③: maintainer-directed. A build card of ADR-0162, child of #36253.
Grade: area:data · Feature · n/a (not a defect) · reach: the showcase app and every author who copies it · evidence: read (the three hooks on main at 972114df)
Suggested-grade: p2 · part of the feature #36253; it is the proof the key's release needs
Size: M (one app: its hooks, one object, its tests and the dogfood record).
Business reason: carried from #36253. The proof that the declaration replaces hand-written guards, and the sample other apps copy.
Reader: seat 2 (repo:objectstack#2), a card thread, effort high; the dogfood run follows the dogfood-verification skill.
Blocked-by: #37768 (item 1). If the liveness gate wants the runtime proof in the same release as the key, this card lands on the same trunk branch before it merges.
Clause-②: no. An example app changes; no published package contract moves.
Metadata-protocol: none
Dedupe: searched closedStates (all issues): 1 hit, #36253 itself.
Related: #36253, PR #37606 (ADR-0162), #24731 (the guards this card removes).

Activity

  1. added
    priority:p2
    pm:blocked
    domain:server
    on Nov 27, 2026
  2. objectstack-fleet commented on Nov 27, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Triage: lands in area:data · domain:server · Feature · priority:p2 · pm:blocked · size S; rationale: closedStates. The showcase replaces three paid-invoice line guards with a declaration. Part of #36253; p2. It keeps its named blocker.

  3. objectstack-fleet commented on Dec 1, 2026

    @objectstack-fleet
    ContributorAuthor

    triage@os-warren · os-warren · session_01JQwxbZzZ2f5mzcvJbRrRNZ

    Triage: unlock · pm:blocked → pm:queue · grade unchanged.
    Its blocker #37768 closed at 2026-12-01T02:37:40Z (completed), and the closedStates key it delivers reached main with PR #38810 at 02:23:49Z.

  4. added
    pm:queue
    and removed
    pm:blocked
    on Dec 1, 2026
  5. objectstack-fleet commented on Dec 1, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack@os-support-ai · os-support-ai · session_01WGufzhKEbEnW8pwZRgK2gJ

    Claim: PM loop round 1 · 2026-12-01T12:08Z
    Area: osa-data
    Session: session_01WGufzhKEbEnW8pwZRgK2gJ
    Account: os-support-ai
    Branch: claude/issue-37771-showcase-closed-states
    Worktree: objectstack-issue-37771
    Domain: domain:server
    Seat: repo:objectstack@os-support-ai
    File surface: examples/app-showcase/src/data/hooks/index.ts (the three paid-invoice line hooks and their three sentences removed), examples/app-showcase/src/data/objects/invoice.object.ts (the closedStates declaration on its status for the paid state), the showcase's existing tests that assert the three app sentences (re-pointed to RECORD_LOCKED), the showcase seed file(s) only if a finished invoice no longer loads, one new showcase test file named for this card, one .changeset/*.md if the showcase package owes one. ⛔ No packages/** edit: the key and its enforcement are on main (PR #38810). Stop on breach; explain in the report.
    Container & model: M, mode:subagent, model: default (dispatch-gates --tier: "Model tier — no path-derived mandate … floor sonnet · default opus · ceiling fable"), effort: high (M: one app's hooks, object and tests plus a before/after dogfood record against the running showcase, driven in-container over REST and the console)
    Clause-②: no
    Metadata-protocol: none
    Responsibility: n/a — not a defect card
    Thread-read: 7299319795
    Premise: holds at origin/main ac97540 — the three hooks and PAID_INVOICE_LINE_ADD_REFUSAL / _REMOVE_ / _MOVE_ are at examples/app-showcase/src/data/hooks/index.ts:168-172 (used :222, :247, :271); the closedStates key is live on main (packages/spec/liveness/object.json row closedStates, status live, its own runtime proof packages/qa/dogfood/test/closed-state-lock.test.ts — so the card's last Done-when box is already met by the key's card and this card names that instead of moving the row).
    Pre-claim lane: examples/app-showcase/** ⇒ the subsystem it exercises, the data layer (domain:server, file ownership only).
    Pre-claim deps: Blocked-by: #37768 (item 1) — #37768 closed completed 2026-12-01T02:37Z, the key reached main in PR #38810 (merged 440574f62c); triage unlock 7299319795.
    Prior rulings read: check-prior-rulings.mjs --card 37771 --paths 'examples/app-showcase/src/data/**': 0 rulings in the card's thread; governing text ADR-0162 D10 (the showcase conversion is the runtime proof) and Execution item 3 (the four by-design outcomes the card lists); ruling records 7200732942 / 7202242844 on #36253 read for this item: no conflict.
    Serial constraints cleared: check-handover.mjs --inflight --card=37771 over this surface: no overlap read (one unread surface, #38415, a seat reading stroke naming no path). Seat repo:objectstack#3 (os-steve, zone o3-D) holds no claim or assignee on this card; its last trace on the ADR-0162 family is #37768's close (7298818185). overlap-check.mjs before every push.

  6. added
    pm:dispatched
    and removed
    pm:queue
    on Dec 1, 2026
  7. objectstack-fleet commented on Dec 1, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack@os-support-ai · os-support-ai · session_01WGufzhKEbEnW8pwZRgK2gJ

    Release: claim 7310713284 (session session_01WGufzhKEbEnW8pwZRgK2gJ, zone osa-data) · 2026-12-01T12:13Z · route change, not abandonment. pm:dispatched → pm:queue, assignee os-support-ai off, for seat repo:objectstack#3 to claim.

    Reason: this card hangs off #37768, and release 7272899889 on #37767 handed the approval topic's piece 5 and its follow-ups, with #37766 and #37768, to seat 3 on the maintainer's words 「审批专题第 5 块 以及后续让 3号座位接手」 (os-warren's fleet project timeline, 2026-11-30T08:23Z). Seat repo:objectstack@os-support-ai ruled the zone yields it (seat thread, 2026-12-01T12:12Z).

    State handed over: no code written, no PR. Branch claude/issue-37771-showcase-closed-states sits at the base ac97540f75 with zero commits (safe to delete or reuse); no -wip backup, as there was nothing to back up. No dogfood readings were taken.

    Read at ac97540f75 by the dev before the stop, not run (for the next claimant):

    • Two dogfood tests outside a packages/**-free fence go red on this card's by-design outcomes: packages/qa/dogfood/test/invoice-conditional-rules-server.dogfood.test.ts:67-77 (a caller's tax_rate PATCH on paid INV-1003 expects 200, discarded) and packages/qa/dogfood/test/showcase-readonly-when-parent.dogfood.test.ts:80-164 (a caller's PATCH / updateMany on a paid invoice's line expects 200 with the readonlyWhen keys stripped; :120 expects 200 on a paid header PATCH). Under closedStates on paid all become 409 RECORD_LOCKED. The other dogfood files touching showcase_invoice (98 hits) were not swept. Suggest the fence include them, in the same PR.
    • Other readers of the three hooks and sentences: examples/app-showcase/test/paid-invoice-line-lock.test.ts (asserts the three sentences, has a REVERSE block); the comment at examples/app-showcase/src/data/objects/invoice.object.ts:390-397; docs/qa/platform-checklist/areas/records-forms.json:4565, 4573, 4584, 4689 ("the eight seeded showcase hooks", showcase_guard_paid_invoice_line_remove); a comment at packages/qa/dogfood/test/showcase-crud-persona-matrix.dogfood.test.ts:330.
    • showcase_invoice_signoff opens an approval on showcase_invoice with no status mirror and lockRecord: false; ADR-0162 item 8 says an approval on an object that declares closedStates holds the record between steps and needs a host job service: confirm in the running app.
  8. 3 remaining items

  9. objectstack-fleet commented on Dec 1, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack@os-support-ai · os-support-ai · session_01WGufzhKEbEnW8pwZRgK2gJ

    Claim: PM loop round 1 · 2026-12-01T12:15Z · re-claim after Release 7310856746, on seat 3's release of the lane to this zone (mailbox #38766 comment 7310848639: "All five are released to osa-data … your #37771 claim may stand"), relayed by seat repo:objectstack@os-support-ai. The surface is wider than claim 7310713284 by the dev's pre-stop read (in 7310856746).
    Area: osa-data
    Session: session_01WGufzhKEbEnW8pwZRgK2gJ
    Account: os-support-ai
    Branch: claude/issue-37771-showcase-closed-states (at base ac97540f75, zero commits)
    Worktree: objectstack-issue-37771
    Domain: domain:server
    Seat: repo:objectstack@os-support-ai
    File surface: examples/app-showcase/src/data/hooks/index.ts (the three paid-invoice line hooks and their three sentences removed), examples/app-showcase/src/data/objects/invoice.object.ts (the closedStates declaration on its status for the paid state, and the comment at :390-397), examples/app-showcase/test/paid-invoice-line-lock.test.ts (re-pointed to RECORD_LOCKED), packages/qa/dogfood/test/invoice-conditional-rules-server.dogfood.test.ts, packages/qa/dogfood/test/showcase-readonly-when-parent.dogfood.test.ts, packages/qa/dogfood/test/ (reason: any other dogfood test that pins a caller write on a paid showcase invoice or its lines, the outcomes ADR-0162 Execution item 3 changes by design; edits limited to those pins, the dev names each file in the PR body), docs/qa/platform-checklist/areas/records-forms.json (the items that name the removed hooks), the showcase seed file(s) only if a finished invoice no longer loads, one new showcase test file named for this card, one .changeset/*.md if owed. ⛔ No packages/** source edit outside packages/qa/dogfood/test/. Stop on breach; explain in the report.
    Container & model: M, mode:subagent, model: default (dispatch-gates --tier: "Model tier — no path-derived mandate … floor sonnet · default opus · ceiling fable"), effort: high
    Clause-②: no
    Metadata-protocol: none
    Responsibility: n/a — not a defect card
    Thread-read: 7310856746
    Premise: holds at origin/main ac97540, as claim 7310713284 recorded.
    Pre-claim deps: as 7310713284 (#37768 closed, key on main in PR #38810).
    Prior rulings read: as 7310713284; plus seat 3's lane release 7310848639, which ends release 7272899889's hand-over for this card.
    Serial constraints cleared: check-handover.mjs --inflight --card=37771 over the added files: no overlap read (one unread surface, #38415, a seat reading stroke naming no path). overlap-check.mjs before every push.

  10. added
    pm:dispatched
    and removed
    pm:queue
    on Dec 1, 2026
  11. objectstack-fleet commented on Dec 1, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack@os-support-ai · os-support-ai · session_01WGufzhKEbEnW8pwZRgK2gJ
    os-dev-report

    {
      "issue": 37771,
      "status": "blocked",
      "branch": "claude/issue-37771-showcase-closed-states",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/38917",
      "session": "session_01WGufzhKEbEnW8pwZRgK2gJ",
      "premise_still_valid": true,
      "summary": "The conversion is done and pushed: the showcase invoice declares closedStates {status:['paid']}, and the three paid-invoice line hooks, their prelude and their three sentences are deleted. paid-invoice-line-lock.test.ts now asserts RECORD_LOCKED (code, status 409, reason, lockReason) and covers the outcomes that change by design. Two dogfood files (invoice-conditional-rules-server, showcase-readonly-when-parent) are re-pointed to the 409. A comment in the persona matrix and the records-forms.object-hook-lifecycle checklist item (revision 14) no longer name the removed hooks. The before/after dogfood record of all four ADR-0162 item-3 outcomes, the seed load and three flows were taken from the running showcase and are in the PR. Two things outside the claim's file surface keep CI red, and both wait on the seat. (1) examples/app-showcase/test/approval-resume-relation-expand.test.ts: 3 tests red because its kernel runs no job service, and the approvals plugin refuses an approval on a closedStates object in that case (ADR-0162 item 8, by design). A minimal job-service stub fixed all 12, measured and then reverted. (2) check:adr-symbol-anchors: ADR-0162 lines 77 and 718 anchor the deleted hook symbols. Repairing it means editing docs/adr (Tier H) or a maintainer-only exemption; see open_questions. Head 5be97d0f. Draft PR #38917 is open with CI started.",
      "tests": "Head 5be97d0f. examples/app-showcase: vitest run test/paid-invoice-line-lock.test.ts 16/16 passed; the whole showcase suite 548 passed, 3 failed (all in approval-resume-relation-expand.test.ts: 'VALIDATION_FAILED: The approval of showcase_invoice … was not started … this host runs no job service', outside the surface). With a job-service stub plugin added to that test's kernel (local, reverted, not committed): 12/12 passed. Dogfood: every dogfood test file naming showcase_invoice (24) plus authz-conformance, controlled-by-parent, owner-anchor-and-bulk-writes and flow-runas: before the dogfood edits, 2 files red (1 + 6 tests: the 200-strip pins), the rest green. After the edits, those two files pass 11/11. typecheck exit 0 for @objectstack/example-showcase and @objectstack/dogfood (both tsconfigs include test/). Running app over REST, BEFORE on ac97540f75 and AFTER on the branch, caller admin@objectos.ai (role user): 1 header PATCH 200 (region lands, tax_rate stripped) -> 409 RECORD_LOCKED; 2 DELETE paid INV-1005 200 (row gone) -> 409 (row kept); 3a/3b line PATCH 200 (open fields land, readonlyWhen fields stripped) -> 409, nothing changed; 4a-4d add/move-on/move-off/delete line 400 HOOK_ABORTED with the three app sentences -> 409 RECORD_LOCKED 'This Invoice is closed, so it and its lines can no longer be changed or deleted'; draft control 200 -> 200. Seed: 141 rows on both boots; the paid INV-1003 keeps its line (total 299.94). Flows identical before and after: invoice signoff approve (run completed, caller edit after the run 200), reject (flag_held puts the invoice back to draft, completed), release_signoff map over two tasks (completed). No ablation: the REVERSE block in paid-invoice-line-lock.test.ts registers the invoice without closedStates and shows the writes land.",
      "gates": "dispatch-gates --commands at 5be97d0f: 64 derived. 60 exit 0 (incl. check:nul-bytes, check:platform-checklist, check:cross-package-test-inputs, check:examples-live-imports, check:type-check-coverage/debt). check:adr-symbol-anchors exit 1 (ADR-0162:77 and :718 anchor the deleted GuardPaidInvoiceLine*Hook symbols: blocker 2). NOT MEASURED: node scripts/check-plugin-teardown-shape.mjs --self-test :: exit 3 (shallow clone; fixture pinned to commit 621a4876); pnpm check:dual-build-cjs-loads :: exit 3 (prerequisite: full build); pnpm check:query-options-erasure :: exit 124 (local 240 s timeout). --ran reconciliation: 64 derived, 61 run, 3 NOT-MEASURED, 0 UNRUN. node scripts/check-platform-checklist.mjs --changed-from origin/main exit 0 ('11 anchor(s) judged, 0 lost'; outside the derived list). overlap-check before each of the 3 pushes: VERDICT clean. PR check-runs: 34 at report time (15 completed, 19 in_progress); verdicts not yet read, so NOT MEASURED: CI families, reason: in progress at report time. Expected red: the showcase test job (blocker 1) and Lint & Repo Gates via check:adr-symbol-anchors (blocker 2).",
      "mcp_calls": "0",
      "api_writes": "2 relay writes: pr_create (POST /repos/objectstack-ai/objectstack/pulls draft, plus POST …/issues/38917/assignees [os-support-ai] and POST …/issues/38917/labels [skip-changeset], one stroke, read back identical); post-stamped os-dev-report comment on #37771. git pushes (not REST): the probe at ac97540f75 earlier, then 6ea6705ff9, 935eba92, 5be97d0f.",
      "classifier_refusals": [],
      "open_questions": [
        {
          "question": "The deleted hook symbols are anchored by ADR-0162 lines 77 (Context) and 718 (Readings taken at 6c290d3af7), so check:adr-symbol-anchors is red. How should they be repaired?",
          "options": [
            "A: widen the fence to docs/adr/0162-*.md and re-anchor both lines to the file-level path examples/app-showcase/src/data/hooks/index.ts (still resolves; prose untouched). Cost: this PR becomes Tier H (maintainer approval to land). Work: two anchor edits.",
            "B: the maintainer adds the HISTORICAL anchor-exempt marker on both lines in a separate governed PR. Cost: the maintainer's hand, and this PR stays red until that lands. Work: none here.",
            "C: move the ADR anchor repair into a small separate Tier H PR that lands first. Cost: one extra PR and ordering. This PR stays Tier S/ordinary."
          ],
          "recommendation": "C. The readings describe the tree as it was when the ADR was written, and the file-level anchor keeps them checked without touching prose. A separate PR keeps this showcase change landable through the ordinary queue, instead of making it Tier H for two anchor lines."
        }
      ],
      "security_findings": "none",
      "out_of_scope_findings": [
        "carrier: seat (fence widening) · examples/app-showcase/test/approval-resume-relation-expand.test.ts boots ObjectQL + automation + approvals + messaging with no job service, so after closedStates the invoice sign-off's first request is refused (ADR-0162 item 8, by design). Measured fix: a minimal 'job' service plugin (schedule/cancel) registered before ApprovalsServicePlugin, 12/12 green. Needs that file added to the fence; it is the showcase's own test.",
        "carrier: checklist owner · docs/qa/platform-checklist records-forms.conditional-rules-header acceptance[2] ('a 200 on the PATCH is expected … stripReadonlyWhenFields semantics: keep, not reject') and its automated.ref description now describe a 200 the server no longer gives on the paid INV-1003 (409 RECORD_LOCKED). Its oracle (unchanged re-read) and negative[1] still hold. Outside the surface, noted in the PR.",
        "carrier: ADR-0162 Execution item 4 card · the console's master-detail save writes the header first. A showcase save that edits lines and sets paid in one batch would meet a closed header on the line writes. Not driven here."
      ],
      "deviations": "The dev server was started with 'pnpm --filter @objectstack/example-showcase dev -- --fresh -p 38771', not the root 'pnpm dev', because the root script's check-dev-prereqs refuses on a partial workspace build (39 of 111 dists missing) and only the showcase closure was built. The derived gate loop outran the 10-minute foreground cap once and the harness moved it to the background; it finished on its own, and the rest ran in the foreground. The PR footer uses AGENTS.md's session-URL footer form, not the harness's suggested two-line form.",
      "files_changed": [
        "examples/app-showcase/src/data/hooks/index.ts",
        "examples/app-showcase/src/data/objects/invoice.object.ts",
        "examples/app-showcase/test/paid-invoice-line-lock.test.ts",
        "packages/qa/dogfood/test/invoice-conditional-rules-server.dogfood.test.ts",
        "packages/qa/dogfood/test/showcase-readonly-when-parent.dogfood.test.ts",
        "packages/qa/dogfood/test/showcase-crud-persona-matrix.dogfood.test.ts",
        "docs/qa/platform-checklist/areas/records-forms.json"
      ],
      "head_sha": "5be97d0f5ee7acd04293aa43e38c3fb57a63712a"
    }
  12. objectstack-fleet commented on Dec 1, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack@os-support-ai · os-support-ai · session_01WGufzhKEbEnW8pwZRgK2gJ

    Claim amendment 1 to claim 7310886229 · 2026-12-01T13:15Z
    Area: osa-data
    Session: session_01WGufzhKEbEnW8pwZRgK2gJ
    Branch: claude/issue-37771-showcase-closed-states (PR #38917, head 5be97d0f5e)
    Adds to File surface: examples/app-showcase/test/approval-resume-relation-expand.test.ts (reason: its kernel boots the approvals plugin with no job service, so after the closedStates declaration the invoice sign-off's first request is refused, ADR-0162 Execution item 8 by design; the fix registers a minimal job service in that test's kernel, measured 12/12 by the dev and reverted pending this amendment). Nothing else widens.
    Serial constraints cleared: check-handover.mjs --inflight --paths=examples/app-showcase/test/approval-resume-relation-expand.test.ts --card=37771: no overlap read (one unread surface, #38415, a seat reading stroke naming no path).
    Not in this amendment: docs/adr/0162-*.md lines 77 and 718 anchor the deleted hook symbols (check:adr-symbol-anchors red). docs/adr/** stays off an implementation card's surface; the repair is routed through the seat.

  13. objectstack-fleet commented on Dec 1, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack@os-support-ai · os-support-ai · session_01WGufzhKEbEnW8pwZRgK2gJ

    2026-12-01T13:18Z · PR #38917 waits on #38919 (seat routing, option C): ADR-0162 :77 and :718 anchor the three hook symbols this card deletes, so check:adr-symbol-anchors stays red until #38919 re-anchors them to the file. The card stays claimed and in flight (patch round 1 runs on #38917); after #38919 merges, #38917 merges main and goes to L1.

    Blocked-by: #38919

  14. objectstack-fleet commented on Dec 1, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack@os-support-ai · os-support-ai · session_01WGufzhKEbEnW8pwZRgK2gJ
    os-dev-report

    {
      "issue": 37771,
      "status": "done",
      "branch": "claude/issue-37771-showcase-closed-states",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/38917",
      "session": "session_01WGufzhKEbEnW8pwZRgK2gJ",
      "premise_still_valid": true,
      "summary": "Patch round 1 at head b50ff4699591893d602f62fad13220a355653d76. Under claim amendment 1, approval-resume-relation-expand.test.ts now registers a minimal job service (StubJobServicePlugin, schedule/cancel no-ops) ahead of ApprovalsServicePlugin, with a one-line ADR-0162 Execution item 8 comment. The showcase suite is fully green. The PR body was updated through the relay issue_patch with the new head, the test counts and the line routing the ADR anchor repair to #38919; docs/adr was not touched. CI's two reds at 5be97d0f were not real failures. Run 46653876930 was cancelled by the b50ff469 push (concurrency): every lane in it shows conclusion cancelled, no step shows failure, and the 'TypeScript Type Check' and 'Lint & Repo Gates' aggregators only reported those cancelled lanes. At b50ff469 'TypeScript Type Check' is success. 'Lint & Repo Gates' fails only through 'Lint · docs & code guards', whose single failing gate step is 'ADR symbol anchors resolve (no line numbers survive)' (58 other steps succeed). That step is routed to #38919.",
      "tests": "Head b50ff469. pnpm --filter @objectstack/example-showcase exec vitest run --maxWorkers=2 test/approval-resume-relation-expand.test.ts: 12/12 passed (9/12 at 5be97d0f). The whole showcase suite (vitest run --maxWorkers=2): Test Files 49 passed (49), Tests 551 passed (551). pnpm --filter @objectstack/example-showcase typecheck: VERDICT command-exit 0. Earlier round's readings stand unchanged: paid-invoice-line-lock 16/16, the dogfood files 11/11, and the running-app before/after record in the PR.",
      "gates": "Local at b50ff469: dispatch-gates --commands gives the same 64 as at 5be97d0f. 61 run: 60 exit 0 (check:slot-lookup and check-comment-mask-corpus exit 0 on a retry with a longer cap, after exit 124 at the 100 s cap), and pnpm check:adr-symbol-anchors exit 1 (ADR-0162:77/:718, routed to #38919). NOT MEASURED locally: check-plugin-teardown-shape --self-test :: exit 3 (shallow clone), check:dual-build-cjs-loads :: exit 3 (full build prerequisite), check:query-options-erasure (240 s local cap at 5be97d0f; CI green). overlap-check before the push: VERDICT clean against origin/main 8338d07029. CI check-runs at b50ff469, all completed: TypeScript Type Check=success; Type Check · workspace/source gates/consumer gates/debt ledger=success; Lint & Repo Gates=failure (failing step 'Verify every lint lane succeeded', lane lint-docs-code); Lint · docs & code guards=failure (failing step 'Lane verdict'; the only failed gate is 'ADR symbol anchors resolve (no line numbers survive)', 58 other steps success; routed to #38919); Lint · ESLint, Lint · repo & tooling gates, Lint · CI, release & engine gates, Lint · PM dispatch-gates, Lint · scoped · query-options erasure / slot lookup & corpus / tooling self-tests=success; Test Core (all 12 shards plus the aggregate)=success; Build Core=success; Test UI=success; Live E2E UI=success; Dogfood Regression Gate=success; Governed Surface Queue Guard=success; Spec property liveness=success; PR-body guards=success; Check PR Size=success; Check Documentation Links=success. pr-state: 36 success · 22 expected skip · 0 unexpected skip · 2 failed (the two above) · 0 pending.",
      "mcp_calls": "0",
      "api_writes": "This round, 2 relay writes: issue_patch on #38917 (PATCH /repos/objectstack-ai/objectstack/issues/38917 body, read back identical; the first attempt was refused before sending for a missing signature, and the body now ends with the sanctioned signed trailer line); post-stamped os-dev-report comment on #37771. git push: b50ff469. Earlier round: pr_create (with assignees and labels legs) and one os-dev-report comment.",
      "classifier_refusals": [],
      "open_questions": [],
      "security_findings": "none",
      "out_of_scope_findings": [
        "carrier: #38919 · ADR-0162:77 and :718 anchor the deleted GuardPaidInvoiceLine*Hook symbols; check:adr-symbol-anchors stays red on this PR until #38919 lands.",
        "carrier: checklist owner · records-forms.conditional-rules-header acceptance[2] and its automated.ref description still describe a 200 the server no longer gives on the paid INV-1003 (now 409 RECORD_LOCKED). The oracle (unchanged re-read) and negative[1] still hold. Noted in the PR.",
        "carrier: ADR-0162 Execution item 4 card · the console's master-detail save writes the header first. A save that edits lines and sets paid in one batch would meet a closed header. Not driven here."
      ],
      "deviations": "The relay refused the first issue_patch because a PR body must open with a signature or end with the signed trailer. The body now ends with the trailer line PR_BODY_TRAILER_SHAPE names (the HTML-comment form os-dev.md allows only where the writer demands it); 'Fixes #37771' stays line 1. Worktree objectstack-issue-37771 removed after the round; all commits are on origin.",
      "files_changed": [
        "examples/app-showcase/src/data/hooks/index.ts",
        "examples/app-showcase/src/data/objects/invoice.object.ts",
        "examples/app-showcase/test/paid-invoice-line-lock.test.ts",
        "examples/app-showcase/test/approval-resume-relation-expand.test.ts",
        "packages/qa/dogfood/test/invoice-conditional-rules-server.dogfood.test.ts",
        "packages/qa/dogfood/test/showcase-readonly-when-parent.dogfood.test.ts",
        "packages/qa/dogfood/test/showcase-crud-persona-matrix.dogfood.test.ts",
        "docs/qa/platform-checklist/areas/records-forms.json"
      ],
      "head_sha": "b50ff4699591893d602f62fad13220a355653d76"
    }
  15. objectstack-fleet commented on Dec 1, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack@os-support-ai · os-support-ai · session_01WGufzhKEbEnW8pwZRgK2gJ

    2026-12-01T16:30Z · Blocker spent: #38919 closed, PR #38936 merged at 2026-12-01T16:28Z (merge commit 45e4457), ADR-0162 :77 and :718 now anchor the hooks file. The Blocked-by: #38919 line (my earlier comment) no longer holds. Next on PR #38917: merge main, re-read check:adr-symbol-anchors, push, L1 delta on the new head, then the zone lands it (not governed).

    Blocked-by: none

  16. objectstack-fleet commented on Dec 1, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack@os-support-ai · os-support-ai · session_01WGufzhKEbEnW8pwZRgK2gJ

    2026-12-01T17:47Z · Done: PR #38917 merged at 2026-12-01T17:46Z and closed this card (L1 ACCEPT 7318948961). Review follow-ups: #38987 (two checklist clauses). Clearing pm:dispatched and the assignee: nothing is in flight here.

  17. removed
    pm:dispatched
    on Dec 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:datadomain:serverpriority:p2

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions