Skip to content

Approvals: no approver type can name the platform administrators, so a platform-wide review (cloud marketplace) opens on nobody #34218

Closed

Description

@objectstack-fleet

repo:cloud#2 · os-warren · session_01JQwxbWTyRFQwYN1hZXbCHL

Request: assist (from the cloud lane; it blocks cloud follow-up card cloud#4632)
Filing category: ① framework gap, measured by the cloud#4299 dev on the pin b914e7247f (run-stack --with-ui --prod-like --seed).

Business reason

The hosted cloud reviews marketplace submissions with the platform's own approvals engine (cloud ADR-0025, marketplace-review-on-approvals.md §8). The deciders are the platform administrators: those with a cross-tenant admin_full_access grant, or the declared, verified platform owner. None of the ten approver types at the pin can expand to that set:

  • manager, position, department, team, queue, field, expression, org_membership_level, role (alias), user.
  • The organization-scoped types expand inside the request's organization, which is the publisher's.
  • user needs a real id.
  • expression would make the cloud build its own snapshot list, which goes stale when someone's access is revoked.

The measured result: the approval request opens with an empty slate (approver 'user:platform_admin' expanded to nobody), and it sits in no one's queue.

Expected

The approvals engine has an approver binding that names the platform administrators. It is expanded live at node entry from the same source the platform's own admin check reads, with no organization scope, so revoking a grant takes effect at once. The binding never widens who may decide beyond that set.

Acceptance

A flow whose approval node names that binding opens its request with the current platform administrators as pending approvers. A user who is not a platform administrator is not on the slate. A revoked administrator drops off the next request. os lint knows the type.

Reader who acts: the framework automation/approvals owner (packages/spec approval.zod.ts ApproverType, the approvals runtime's approver expansion).
Dedupe: repo:objectstack-ai/objectstack approver platform admin type → 0 relevant.

Activity

  1. objectstack-fleet commented on Nov 16, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:server#5 · zhuangjianguo · session_01QsR2jUZKdq3PK2Sab53cT3
    os-dev-report

    {
      "issue": 34218,
      "status": "needs_area",
      "branch": "claude/area-A5b-34218",
      "pr": null,
      "head": null,
      "session": "session_01QsR2jUZKdq3PK2Sab53cT3",
      "premise_still_valid": true,
      "summary": "Stopped before code on the order's own declaration condition. The repo's declaration reader (scripts/pm/clause2-line.mjs readMetadataProtocolLine, the reader check-changeset-no-major and check-adr-0087-registration use) reads the ordered line `Metadata-protocol: widened` as MALFORMED: its closed vocabulary is METADATA_PROTOCOL_KINDS = ['added', 'narrowed', 'semantic', 'none'] (clause2-line.mjs:515 at 98a4449f), and AGENTS.md Post-Task Checklist step 3 names the same four. `Clause-②: yes (widening)` reads as declared yes/widening. The rulings 6904694980 and 6904772436 do not fix the Metadata-protocol value; it enters through the claim and the order. Worktree created at origin/main 98a4449f; no edits, no commits, no push.",
      "readings": {
        "declaration_self_check": "node: readMetadataProtocolLine('Metadata-protocol: widened') -> {\"kind\":\"malformed\",\"value\":\"widened\",\"line\":\"Metadata-protocol: widened\"}; readClause2Line('Clause-②: yes (widening)') -> {\"kind\":\"declared\",\"value\":\"yes\",\"arm\":\"widening\"}",
        "dispatch_gates_tier": "exit 0 at objectstack-ai/objectstack 98a4449f on the two claim paths: 'Model tier — no path-derived mandate: the surface hits none of the 4 declared glob(s)'; Clause ② SUSPECT hint on packages/spec/src/automation/approval.zod.ts (contract surface, CONTRACT_REVIEW_TIER review owed), consistent with the claim. No mandate named.",
        "fable_facts_at_head": "Spot-checked at 98a4449f, all hold: hasPlatformAdminStanding resolve-authz-context.ts:2971; InstalledPackageSourceSchema package-registry.zod.ts:67; flowPackageOf approval-service.ts:3776 reading automation.armedFlowPackage (:3777-3778), with the 'Not packagedFlowOwner' note at :3771; node-entry read callerPackageId = this.flowPackageOf(...) at ~:4673; createInstalledPackageRefRefusal service-automation plugin.ts:429 and exported nonHostDeclaringPackageOf :573; engine armedFlowPackage doc ~:797; ApproverType enum approval.zod.ts:31 with APPROVER_VALUE_BINDINGS (:263) requiring each new member to declare its value binding. plugin-approvals already depends on @objectstack/service-automation and @objectstack/core (package.json :30, :42), so the source gate needs no new dependency."
      },
      "tests": "none run: stopped before code",
      "gates": "local: declaration self-check (above, malformed reading); node scripts/pm/dispatch-gates.mjs --tier PATHS exit 0 (above). No diff, so no --commands derivation.",
      "dogfood_battery": "n/a — no diff",
      "mcp_calls": "0",
      "api_writes": "1 — this os-dev-report comment via post-stamped (POST issues/34218/comments)",
      "open_questions": [
        {
          "question": "Which Metadata-protocol value does #34218 declare? The ordered `widened` is outside the closed set and reads malformed.",
          "options": [
            "A `Metadata-protocol: added` — a new accepted enum member (`platform_admin`) is `added` by AGENTS.md step 3 and the gate's own help text ('a new authorable key, accepted value or enum member'); the node-entry and save refusals bound only the new member, which no author could write before, so nothing previously accepted becomes refused. Cost: area re-issues the order/claim line; build unchanged. Pairs with `Clause-②: yes (widening)` and a minor changeset on @objectstack/spec.",
            "B `Metadata-protocol: narrowed` — only if the area reads the save-door refusal as narrowing an existing accept set; it would then also need `(narrowing)` on Clause-②, a BREAKING banner, an ADR-0087 marker and the full dogfood battery. Nothing in the rulings makes any existing value refused, so this over-declares."
          ],
          "recommendation": "A, because the change adds one enum member and refuses only that new member outside code-sourced package bodies; the claim comment on the card carries `Metadata-protocol: widened` too, so the area should correct the claim line along with the order (the PR body copies it verbatim)."
        }
      ],
      "security_findings": "none",
      "out_of_scope_findings": [],
      "deviations": [],
      "files_changed": [],
      "line_budget": "n/a",
      "resume": "Branch name reserved but not pushed; worktree /home/claude/objectstack-issue-34218 at 98a4449f, no node_modules installed, safe to remove or reuse."
    }
  2. objectstack-fleet commented on Nov 16, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:server#5 · zhuangjianguo · session_01QsR2jUZKdq3PK2Sab53cT3

    Claim amendment · #34218 · 2026-11-16T02:01Z

    The claim 6905225055 declared Metadata-protocol: widened, which is outside the closed set (added | narrowed | semantic | none, scripts/pm/clause2-line.mjs METADATA_PROTOCOL_KINDS) and reads as malformed (dev stop 6905239693). Corrected line:

    Metadata-protocol: added

    A new accepted enum member (platform_admin); nothing accepted before becomes refused (the node-entry and save refusals apply only to the new member). Clause-②: yes (widening) stands. Every other claim line stands.


    Generated by Claude Code

  3. objectstack-fleet commented on Nov 16, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:server#5 · zhuangjianguo · session_01QsR2jUZKdq3PK2Sab53cT3
    os-dev-report

    {
      "issue": 34218,
      "status": "done",
      "branch": "claude/area-A5b-34218",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/34300",
      "head": "21dd2417492ab4bc49b648803c51de858ab0516b",
      "session": "session_01QsR2jUZKdq3PK2Sab53cT3",
      "premise_still_valid": true,
      "summary": "ApproverType gains platform_admin (no value, auto binding, not org-scoped, non-authorable so no designer offers it). It expands to ONE address slot, platform_admin:* (the colon keeps it an address to the person/address readers). Inbox listing and decision admission add the slot for a caller only when hasPlatformAdminStanding(engine, caller) answers yes at that moment, memoized per request context. Nobody is enumerated or notified, and the decision records actor_id (the person) and acted_as (the slot). At node entry the armed body's package (flowPackageOf / armedFlowPackage, never packagedFlowOwner) must have a registry row with source 'code', or, with no row, a residual owner a code door recorded. Otherwise the node fails closed with FORBIDDEN and writes nothing, and the fallback slate is checked the same way. The runtime save door refuses it (approval-approver-platform-admin-authored, via an atSaveDoor option read off ctx.runtimeWriteType), and os lint knows the type and refuses nothing. Docs and the generated reference are updated, and the changeset carries the corrected declarations. Files beyond the claim's literal path list, all named there by function: packages/plugins/plugin-approvals/src/approver-address.ts (single home of slot and caller equivalence, guarded by approver-address-readers.test.ts), packages/lint/src/authoring-rules.ts (save door passes atSaveDoor) and packages/lint/src/index.ts (rule-id barrel export required by rule-id-barrel-exports.test.ts). These are declared for the area to ratify (open question 2). The org-admin pin is pinned as observed, with no slot but the #3424 override intact, and the choice is open question 1.",
      "tests": "At 21dd2417 (post origin/main merge) unless stated otherwise. New pin file src/platform-admin-approver-34218.test.ts: Tests 14 passed (14). plugin-approvals test: Test Files 121 passed (121), Tests 1666 passed (1666). lint test: Test Files 212 passed (212), Tests 9049 passed (9049). spec test (at dc6720f3, the pre-merge head, and the merge touched no spec file): Test Files 844 passed (844), Tests 27005 passed, 1 todo. Direct dependents (at dc6720f3): metadata-protocol test, Test Files 344 passed and 9 skipped, Tests 22946 passed. scenarios test: 32 files passed, and the 2 build tests failed only on a missing own dist. After building the package they were rerun: Test Files 2 passed, Tests 14 passed. Typecheck plugin-approvals, lint and spec (with check:test-typecheck) at 21dd2417: VERDICT command-exit 0. Ablations ran through scripts/ablation-replace.mjs with source imports (lint is vitest-aliased to src, so no dist leg). Each restored to the HEAD blob with git diff HEAD empty. (a) platformAdminStanding returns Promise.resolve(true): 3 failed | 11 passed, e.g. 'AssertionError: expected [ …(2) ] to deeply equal []'. (a2) resolveActor slot arm without the standing check: 3 failed, e.g. 'AssertionError: promise resolved \"{ request: { …(30) }, …(5) }\" instead of rejecting' (org admin naming the slot). (b) platformAdminApproverRefusal returns undefined at once: 5 failed, each 'promise resolved \"{ …(25) }\" instead of rejecting'. The first (b) attempt was refused by the tool as a no-op (the replacement was a substring of the anchor), and the rerun used a distinctive replacement. (c) atSaveDoor forced false: 'expected [] to deeply equal [ Array(1) ]'. (d) atSaveDoor forced true: 'expected [ { severity: 'error', …(5) } ] to deeply equal []' (CLI leg).",
      "gates": "Local, at 21dd2417. dispatch-gates --commands --repo objectstack-ai/objectstack: 117 derived. Runner record (exit captured before any pipe): 114 exit 0, 3 exit 3 (PREREQUISITE NOT MET). check:dual-build-cjs-loads and check:i18n need a whole-repo build: NOT MEASURED. check:skill-examples first exited 3, no client-react dist. After building client-react it exited 1 on the client SDK surface only, 27 TS7016/TS7006 errors all in the untouched packages/client-react examples, which did not resolve @objectstack/client-react declarations. That counts as NOT MEASURED for this diff and is left to CI. --ran reconciliation: '117 derived, 114 run, 3 NOT-MEASURED, 0 UNRUN', exit 0. pnpm lint: exit 0. check:nul-bytes: OK. spec check:generated: 'All 14 generated artifacts are up to date' (after gen:docs, committed dc6720f3). dispatch-gates --tier: exit 0, no mandate, and the clause-2 suspect surface is approval.zod.ts as expected. Declaration self-check (check-changeset-no-major --event over the PR body): 'Clause-②: yes (widening)', direction widening, 'Metadata-protocol: added', exit 0. check-adr-0087-registration: exit 0. check-closing-keyword-parity --body: exit 2 (binds only Fixes #34218, intended). check-partof-closing-keyword: exit 0. CI on PR 34300 at report time: Governed Surface Queue Guard=success. Type Check (workspace, source, consumer, debt ledger), the Lint lanes, Check Changeset, PR-body guards, Spec property liveness, Check Documentation Links and Check PR Size were in_progress. Skipped by selector: 18.x upgrade harness, Packed-tarball smoke, Queue verdict, Borrowed queue verdict, Schedule gate. mergeable true, mergeable_state blocked (draft and pending checks).",
      "dogfood_battery": "n/a: no ! in the PR title and no (narrowing) arm",
      "mcp_calls": "0",
      "api_writes": "3: relay writes as objectstack-fleet[bot]. (1) post-stamped issue comment 6905239693 on #34218 (first run's needs_area report). (2) fleet-write pr_create, objectstack-ai/objectstack#34300, read back byte-identical (9926 bytes), no labels and no assignees. (3) post-stamped issue comment on #34218 (this report). git push is not a REST write.",
      "open_questions": [
        {
          "question": "The order's pin says an org admin of the request's organization cannot decide a platform_admin step. They take no slot, but the existing #3424 override still lets them decide it (recorded via_override true, acted_as not the slot). Should the override be withheld when the slate holds the platform slot?",
          "options": [
            "A Keep the #3424 override unchanged (shipped as-is). Zero work. An org admin of the request's org can still approve a platform-administered step for their own organization, recorded as an override.",
            "B Withhold the tenant-admin override arm on a request whose pending slate holds platform_admin:* (the platform-admin override arm stays). Small: one guard in override admission, one pin flip, one ablation, about half a day including review."
          ],
          "recommendation": "B. Business need: cloud#4632's platform-administered step exists so that someone outside the tenant decides. A tenant admin approving their own organization's platform review defeats it. Long-term soundness: the slot should mean 'platform decides' everywhere, not 'platform or the subject's admin', and this matches the order's literal pin. AI-error resistance: a structural refusal is louder than an override nobody expects. Startup focus: no new surface, it narrows an existing arm on one new case. It is a permission boundary, so it is on the human floor."
        },
        {
          "question": "Three files outside the claim's literal path list, each named there by function, carry the change: approver-address.ts, lint authoring-rules.ts and lint index.ts. Ratify them as within the surface?",
          "options": [
            "A Ratify: each is where the named function lives (slot/caller equivalence has one guarded home; the save door's flag is passed in authoring-rules; the barrel export is test-mandated). No work.",
            "B Rework: move the slot logic into approval-service.ts. This breaks the approver-address-readers guard and duplicates equivalence logic, about one day, and makes the code worse."
          ],
          "recommendation": "A. Long-term soundness: one home for slot equivalence is the guarded architecture. AI-error resistance: a second reader is exactly what the guard exists to stop. Business need and startup focus are unaffected either way."
        }
      ],
      "security_findings": "none",
      "out_of_scope_findings": [
        "carrier: none · noted, not filed. Console 'My Pending' (ui sharedUserFeeds.approverIdentities) builds client-side identity lists, which will not carry platform_admin:*, so a platform admin's console feed may omit slot requests while the server inbox lists them. This is a read-only inference, not reproduced. Dedupe words: approverIdentities, My Pending, platform_admin, inbox feed",
        "carrier: none · noted, not filed. check:skill-examples client SDK surface reddened locally after a fresh client-react build (TS7016: no declaration file for @objectstack/client-react, dist/index.d.ts present). This is likely build-state specific to this shared box and not reproduced on a clean tree. Dedupe words: skill-examples, client-react, TS7016, declaration file"
      ],
      "deviations": "Three files beyond the claim's literal paths (open question 2). The harness attribution reminder asked for a model-named Co-Authored-By. Per dev-common, the commits carry the model-free 'Co-Authored-By: Claude' and Claude-Session trailers, so none was written. No env var value was printed."
    }
  4. objectstack-fleet commented on Nov 16, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:server#5 · zhuangjianguo · session_01QsR2jUZKdq3PK2Sab53cT3

    Claim amendment 2 · #34218 · 2026-11-16T04:48Z

    Surface: the seat ratified three files outside the claim's literal path list as within the surface. Each is named there by function. packages/plugins/plugin-approvals/src/approver-address.ts is the single guarded home of slot and caller equivalence. packages/lint/src/authoring-rules.ts passes the save door's atSaveDoor flag. packages/lint/src/index.ts is the rule-id barrel export that rule-id-barrel-exports.test.ts requires.

    Scope addition, per the seat's ruling B: on a request whose pending slate holds platform_admin:*, the tenant-admin override arm (#3424) is withheld. The platform-admin override arm stays. The type is new, so no answer served today moves. Clause-②: yes (widening) and Metadata-protocol: added stand. Every other claim line stands.


    Generated by Claude Code

  5. objectstack-fleet commented on Nov 16, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:server#5 · zhuangjianguo · session_01QsR2jRsWwTRkuRCyQwvpAG

    Seat rulings on PR #34300, recorded for the next seat · 2026-11-16T09:03Z

    These were given in the lane thread earlier today and are recorded here at review-c's request.

    • Q1 = B. When an approval slate holds a platform_admin:* approver, the tenant-admin override is withheld for that step. A tenant administrator cannot decide a platform-wide review in place of the platform administrators.
    • Q2 = A. The surface listed in claim amendment 2 (6907614406) is ratified.
    • The console "My Pending" gap is a ui-lane p3 card. Area S6 files it.
    • Point 2 of seat ruling 6904694980, as amended in 6904772436, stands: a platform flow is an armed body from a registry row with source:'code', and the check fails closed at node entry.

    PR #34300 is handed to the next seat in the state review-c left it: L2 FAIL 6909152619 and L1 FAIL 6909167452 at cffa4a4. A delta for both is owed on S6's fixed head.

  6. objectstack-fleet commented on Nov 16, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#1 · os-project-manager · session_01FEkQ5kgF3mo9f7LXuv5hac

    Takeover · #34218 · 2026-11-16T09:51Z

    Release: cross-account takeover of claim 6905225055 (session session_01QsR2jUZKdq3PK2Sab53cT3, account zhuangjianguo, domain:server#5 area S6). Who: Leehom (maintainer). Words: 「接手 前任。#28677 (comment) 的未完成任务」. Where: this account's fleet project, seat thread 「运行 objectstack 仓库车道席位」, 2026-11-16T09:36Z. The old seat signed off with brief 6912561028; hand-off record 6912407414.
    Hand-over: old branch last pushed claude/area-A5b-34218@ba113a3fdf; draft PR #34300, CI green; L2 record 6912724496 at this head is FAIL (M1 must-fix, S2 should-fix); L1 delta owed.

    Claim: repo:objectstack area-lease mode, area o1-C, lease lease:o1-C (takeover of domain:server#5's in-flight card on the maintainer's order above) · fix rounds by os-dev sub-agents (mode:subagent) · posted at 2026-11-16T09:51Z
    Session: session_01FEkQ5kgF3mo9f7LXuv5hac
    Account: os-project-manager
    Branch: claude/area-A5b-34218
    Worktree: objectstack-issue-34218
    Domain: domain:server
    Seat: repo:objectstack#1
    File surface: packages/spec/src/automation/approval.zod.ts (new ApproverType member platform_admin, no value) and the spec baselines it feeds; packages/plugins/plugin-approvals/src/approval-service.ts (expansion to one platform_admin address slot; inbox listing and decision admission via hasPlatformAdminStanding(caller); fail-closed refusal at node entry unless the armed body is a source: 'code' package's own); the tenant save door's early refusal where approver types are already validated; os lint's approver-type list; approvals docs; a new test file named by the card; a changeset (stop on breach; explain in the report) Amended by 6907614406 and ratified by seat rulings 6912025809 (Q2 = A); hand-off 6912407414 adds packages/plugins/plugin-approvals/src/approval-node.ts.
    Container & model: S, mode:subagent, model: default, effort: high
    Clause-②: yes (widening)
    Metadata-protocol: added (claim amendment 6905259267)
    Responsibility: objectstack spec + plugin-approvals: no approver type names the platform administrators, so a platform-wide review (cloud marketplace) opens on nobody | existing approver types, tenant flows, installed (marketplace/authored) packages, tenant overrides of a host flow | the hosted cloud marketplace review (cloud#4632) and any host-package flow that needs platform-admin decisions
    Thread-read: 6912025809
    Premise: holds (card measurement; seat rulings 6904694980, 6904772436, 6912025809)
    Serial constraints cleared: none: PR #34300 reads mergeable_state clean against main at takeover.
    Resume-from: claude/area-A5b-34218@ba113a3fdfec8c992dca0ab81e2d1d4a0eb37458
    Pre-claim lane: repo:objectstack lane; fix in packages/plugins/plugin-approvals (domain:server); the packages/spec/src face stays in lane with a CONTRACT_REVIEW_TIER record.
    Pre-claim deps: none open (cloud#4632 waits on this card).
    Prior rulings read: seat placement 6904655367, ruling 6904694980 amended by 6904772436, seat rulings 6912025809 (Q1 = B, Q2 = A); L2 6912724496; ADR-0146 (package source); #3424. No ⛔ conflict.


    Generated by Claude Code

  7. objectstack-fleet commented on Nov 16, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#1 · os-project-manager · session_01FEkQ5kgF3mo9f7LXuv5hac
    os-dev-report

    {
      "issue": 34218,
      "status": "done",
      "branch": "claude/area-A5b-34218",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/34300",
      "head": "5c867107e9d65e0f966d7f75cf2e1f1dac93a5d6",
      "session": "session_01FEkQ5kgF3mo9f7LXuv5hac",
      "premise_still_valid": true,
      "summary": "Fix round on #34300, from 275b45c8 to 5c867107 (two new commits pushed: f1a021ef code and pins, 5c867107 docs and changeset). S3: the open path records on the request's config snapshot that a platform_admin step opened the platform administrators' slot, and every door reads the pending slate through one reader (pendingSlateOf / pendingSlateAsDoorsRead) that keeps the slot only on a request carrying that record: the served request and per-viewer flags, the decision, send-back, comment, hand-off, reminder and override admissions, action-link minting, the SLA hand-over, and the approver index (syncApproverIndex on every slate write, and the rebuild at plugin start). Only the open path writes the record; a key of that name in a step's config is dropped, and the spec schema declares none. Nothing is migrated: the stored text is not rewritten. N7: the slot test judges any entry as the text the stored slate holds for it, so it is total. N8: pins for a queue's members and an expression yielding a list of people. N4: PR body refreshed through the relay. M1 and S2 from the previous round stand, and the S2 ablation is now measured. Test Core (3/8) on 5c867107 is not this PR's: see gates.",
      "tests": "pin file `pnpm --filter @objectstack/plugin-approvals exec vitest run --maxWorkers=2 src/platform-admin-approver-34218.test.ts` on 5c867107: Tests 52 passed (52). Full suite `pnpm --filter @objectstack/plugin-approvals test` on 5c867107 (same lock hold, after all legs restored): Test Files 121 passed (121), Tests 1704 passed (1704). Ablations on 5c867107 via scripts/ablation-replace.mjs (source-imported, no dist leg; every leg 'ok mutation landed', then 'ok restored: blob == HEAD', git diff HEAD 0 bytes, no marker left): S3 doors (pendingSlateAsDoorsRead keeps the slot without the record) Tests 2 failed | 50 passed (52), the two no-record pins, CONTROL green; S3 index (syncApproverIndex indexes without the record) 1 failed | 51 passed, the vote pin, `expected [ …(6) ] to not include 'areq_…'`; S3 record (open path keeps a handed record) 1 failed | 51 passed, `to not have property \"__platformAdminSlotOpened\"`; N7 (no text coercion) 1 failed | 51 passed, the totality pin; S2 (stepRunsInArmedBody answers yes) 4 failed | 48 passed, `promise resolved \"{ …(25) }\" instead of rejecting`. M1 on 275b45c8 (previous leg): 15 failed | 30 passed (45), cases 7 to 21.",
      "gates": "Local, on 5c867107: `pnpm --filter @objectstack/plugin-approvals typecheck` (includes check:test-typecheck) exit 0. `dispatch-gates --commands --repo objectstack-ai/objectstack`: 118 derived (same list as on 275b45c8), all 118 run, each exit 0; `--ran`: '118 derived famil(ies) accounted for — 118 run, 0 NOT-MEASURED', exit 0. `--tier`: exit 0, no path-derived mandate, clause-② suspect surface approval.zod.ts as declared, changed lines 1570 under 3000. CI on 5c867107: 68 check-runs, 56 success, 10 skipped, 2 failure: `Test Core (3/8)` and aggregate `Test Core`. The one failing test is @objectstack/mcp src/mcp-file-tools.test.ts 'read_file extracts PDF and Word text on a worker pool, off the request thread > out of CPU budget on the worker: the pages read so far, truncated, with the budget note, as in-process' (received content 'none': a 30 ms CPU budget that read no page). Not this PR's: @objectstack/mcp's workspace closure (16 packages) does not include @objectstack/plugin-approvals, the only package changed since 275b45c8, whose CI had Test Core 8/8 success; the file passes locally on 5c867107 under the lock (Tests 47 passed (47), VERDICT command-exit 0). No rerun requested (not in this dev's write budget). Every other required context on 5c867107 is success.",
      "dogfood_battery": "n/a — no `!` in the PR title and the Clause-② line has no (narrowing) arm; CI 'Dogfood Regression Gate' on 5c867107: success",
      "mcp_calls": "0",
      "api_writes": "2 relay writes this round — fleet-write issue_patch #34300 body (POST /repos/objectstack-ai/objectstack/dispatches 204, run 43875189138 success, read-back identical 17542 bytes) and this os-dev-report comment via post-stamped (POST /repos/objectstack-ai/objectstack/issues/34218/comments); plus 1 git push (275b45c8..5c867107)",
      "open_questions": [],
      "security_findings": "withheld",
      "out_of_scope_findings": [
        "observation, not filed (not reproduced, so not class a) · CI Test Core (3/8) on 5c867107: @objectstack/mcp mcp-file-tools CPU-budget test read no page within 30 ms on the runner; passes locally 47/47 · carrier: none · noted, not filed"
      ],
      "deviations": [
        "Pushed two commits after review#1's claim at 275b45c8, as the PM's latest note directed; the PR head is now 5c867107 and needs a re-knock.",
        "The PR body keeps line 1's attribution comment and ends with the relay's signed trailer: both are HTML comments, mandated by the harness and by the relay's PR_BODY_TRAILER_SHAPE.",
        "Ablation S2 on 275b45c8 queue-timed out three times (exit 99, NOT MEASURED, restored each time); it was measured on 5c867107 instead.",
        "An unpushed local docs commit (96a2a446) was folded into this round's docs commit with git reset --soft 275b45c8, a commit only this session had; its sentence on a deployment with no platform administrator was dropped, because N6 stays a follow-up.",
        "Commits carry the model-free trailers the dispatch order names, not the model-named Co-Authored-By the harness reminder asks for.",
        "test:repo is not run locally; it belongs to CI."
      ],
      "files_changed": [
        "packages/plugins/plugin-approvals/src/approval-service.ts",
        "packages/plugins/plugin-approvals/src/approver-address.ts",
        "packages/plugins/plugin-approvals/src/platform-admin-approver-34218.test.ts",
        ".changeset/34218-platform-admin-approver.md",
        "content/docs/automation/approvals.mdx"
      ],
      "line_budget": "n/a — no skills/** file touched"
    }

    Generated by Claude Code

  8. objectstack-fleet commented on Nov 16, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#1 · os-project-manager · session_01FEkQ5kgF3mo9f7LXuv5hac
    os-dev-report

    {
      "issue": 34218,
      "status": "done",
      "branch": "claude/area-A5b-34218",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/34300",
      "head": "611bd23552bc921976041cbc3b0e270936c1979f",
      "parents": [
        "5c867107e9d65e0f966d7f75cf2e1f1dac93a5d6",
        "cfcba539205a2b11e363168ccc2647e74addac0d (origin/main)"
      ],
      "session": "session_01FEkQ5kgF3mo9f7LXuv5hac",
      "premise_still_valid": true,
      "summary": "Pre-landing sync (landing-operations.md section A). In a recreated worktree, `bash scripts/pm/os-regen-merge.sh` exited 0 after steps 1 to 3. It merged origin/main cfcba539 into 5c867107 as merge commit 611bd235; the pre-merge base was 2c96e0df. Step 2 kept the branch's bytes of content/docs/references/automation/approval.mdx because main did not change that file, and it took no other path. Step 3: the merge left nothing more to commit. For step 4 I ran the spec build and then gen:docs. The regeneration diff is empty (git status --porcelain shows 0 lines), so there is no regen commit. I pushed the merge with no force and no rebase, then waited for CI on 611bd235: 68 check-runs, 58 success, 10 skipped, 0 failure. No other content changed; the PR body is as the PM left it.",
      "regen_diff": "empty: after `pnpm --filter @objectstack/spec build` (exit 0) and `pnpm --filter @objectstack/spec gen:docs` (exit 0), git status --porcelain shows 0 lines; it still shows 0 after check:generated, the closure build, the pin file and the typecheck",
      "tests": "On 611bd235, after `pnpm --workspace-concurrency=2 --filter '@objectstack/plugin-approvals^...' build` (exit 0): `pnpm --filter @objectstack/plugin-approvals exec vitest run --maxWorkers=2 src/platform-admin-approver-34218.test.ts` gives Test Files 1 passed (1), Tests 52 passed (52), exit 0. `pnpm --filter @objectstack/plugin-approvals typecheck` exits 0, and check:test-typecheck reports OK. All of it ran under the verify lock (VERDICT command-exit 0).",
      "gates": "Under the verify lock: SPEC_BUILD_EXIT=0, GEN_DOCS_EXIT=0, and `pnpm --filter @objectstack/spec check:generated` CHECK_GENERATED_EXIT=0 with 'All 14 generated artifacts are up to date' (check:docs, check:authorable-surface, check:api-surface, check:spec-changes, check:skill-refs and the rest each ✓). Exact-name git grep checks against origin/main and HEAD over content/docs/references/data/field.mdx, data/object.mdx and system/migration.mdx: \"sends the comparison or a null match on the same column.\" counts 1 on main and 1 on HEAD; \"sends the referenced value in place of the reference; every other picker host leaves the entry out.\" 1 and 1; \"empty or cannot be read (the hop's row or field does not come back,\" 5 and 5; \"In a record form, whatever its layout,\" 6 and 6. The retired \"does not read it yet.\" is absent on both: exit 1 on main and on HEAD, with a control leg on the merge base 2c96e0df that answers exit 0. git diff origin/main HEAD over those three files is 0 lines. This PR's entries: \"platform_admin\" in content/docs/references/automation/approval.mdx counts 2 on HEAD and is absent on origin/main (exit 1). git diff 5c867107 HEAD on approval.mdx is 0 lines. Across content/docs/references, HEAD differs from origin/main in 1 file (approval.mdx, +5/-4). CI on 611bd235: 68 check-runs, 58 success, 10 skipped (opt-in or selector-skipped: 18.x upgrade harness, Borrowed queue verdict, Dogfood Regression Gate matrix row, Dogfood Verify CLI, Lint UI, Packed-tarball smoke, Queue verdict, Schedule gate, Temporal Conformance, UI Published Artifacts), and 0 failure. Every completed required family succeeded, including Test Core 8/8, Test UI 16/16, Build Core, Build & E2E UI, Live E2E UI, TypeScript Type Check, Lint & Repo Gates, Dogfood Regression Gate and Governed Surface Queue Guard.",
      "dogfood_battery": "n/a: the PR title has no `!` and the Clause-② line has no (narrowing) arm. CI 'Dogfood Regression Gate' on 611bd235: success",
      "mcp_calls": "0",
      "api_writes": "1 relay write this round: this os-dev-report comment via post-stamped. Also 1 git push, 5c867107..611bd235, with no force",
      "open_questions": [],
      "security_findings": "withheld",
      "out_of_scope_findings": [],
      "deviations": [
        "The merge commit is the one os-regen-merge.sh wrote ('Merge remote-tracking branch origin/main into claude/area-A5b-34218'). It carries no session trailer.",
        "The spec regen run waited through two verify-lock queue timeouts (exit 99, NOT MEASURED) behind a long locked dogfood run, then ran on the third attempt."
      ],
      "files_changed": [],
      "line_budget": "n/a: no skills/** file touched"
    }

    Generated by Claude Code

  9. objectstack-fleet commented on Nov 16, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#1 · os-project-manager · session_01FEkQ5kgF3mo9f7LXuv5hac

    Delivered · #34218 · 2026-11-16T15:20Z

    PR #34300 merged through the queue as 27c0b206eb (2026-11-16T15:19Z); Fixes #34218 closed this card. L1 ACCEPT 6917866045 and merge delta 6919746270 (L1-b); L2 PASS 6916583417, 6917999656 and merge delta 6919829940 (review#1, CONTRACT_REVIEW_TIER); landing record 6919851582.

    Delivered: the platform_admin approver type (rulings 6904694980, 6904772436; seat rulings 6912025809 Q1=B / Q2=A). Only that type opens the platform administrators' slot, only for a step in the armed body of a code-source package's flow, and the doors honour the slot only on a request this version opened through such a step. Lint and the save door refuse it in authored metadata.

    Left open, filed: #34409 (inbox listing keeps the active-organization filter for a platform administrator), #34410 (no platform administrator on the deployment: a slot nobody can take, no warning; the slot's raw display label). For cloud#4632: the cloud lane still owes the confirmation that its flow ships in a code-registered package (ruling 6904772436, last line) before it relies on the type.

    State change: pm:dispatched and lease:o1-C removed in this stroke.


    Generated by Claude Code

  10. removed
    pm:dispatched
    pm:blocking
    on Nov 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

domain:serverenhancementpriority:p2repo:cloud

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions