Skip to content

QA run · priority:P0 (24/24) · b914e724 · 2026-11-15 · 22 PASS / 2 PARTIAL / 0 FAIL / 0 BLOCKED / 0 NOT-RUN #33909

Closed

Description

@objectstack-fleet

qa#3 · os-tesla · session_01L9qibzj9DrVWXkq7joYHGB

Release sweep v18.5.0, round 2 (release sha), record R2-P0: the standing P0 smoke on the Version Packages merge. Dispatched by qa#3 (seat #33014), wave anchor #33761, round 1 P0 record #33784 (a557fa3, 22 PASS / 2 PARTIAL). No P0 FAIL, no regression versus round 1 or 18.4.0; the two partials are the same standing dependency gaps as every earlier round.

Environment fingerprint

  • framework objectstack-ai/objectstack b914e72 (chore: version packages (#33097), v18.5.0); ui/ in the same tree.
  • Versions read: GET /api/v1/health → 18.5.0; discovery → 18.5.0; objectstack --version → @objectstack/cli/18.5.0.
  • Console: built in the same tree (pnpm console:build, 12:42–13:00Z, "dist ready (86876 KB)"); the served entry chunk assets/index-CnbKsN6g.js is byte-identical to packages/console/dist (sha256 7f6fd756…13f0), so no stale-bundle trap.
  • Build: install + OS_SKIP_DTS=1 turbo build of showcase / CLI / dogfood closures (70 packages, 1 m 20 s) + spec with dts. Node 22.23.4, pnpm 10.31.0, 4 CPUs, 15 GiB memory cgroup. Playwright with the preinstalled chromium.
  • App: stock showcase, objectstack dev --seed-admin --no-compile --no-watch on its own OS_PORT and file DB per item (ports 41174–41191); walled isolated / group boots by hand with the posture env vars; Postgres via qa-fixture.mjs external-database (PG16, torn down); contributor persona via qa-fixture.mjs contributor-member; every compile / migrate / deploy / verify --rls / external-datasource leg in a scratch app copy. The tree's showcase dist (mtime 12:40) and installed-packages untouched; no e2e/.auth left in the tree.
  • Execution: parallel, 2 runner subagents (opus, effort high): P0A (16 api / cli items) and P0B (8 browser / mixed items), alongside the R2-API slice runners (≤3 at a time).
  • Wall-clock: shared setup 6 min (12:39–12:45Z; console build to 13:00Z) · P0A tests 12:46–13:29Z · P0B tests 13:14–13:58Z · assembly 10 min.

Scope

priority:P0 at b914e72 → 24 runnable items; every revision matched the area JSON and round 1 (none moved). No planned item. Pins: objectql 4 files / 251, plugin-security 3 / 32, rest 2 / 22, runtime 7 / 121, plugin-auth 1 / 57, mcp 2 / 27, cli 8 / 190, dogfood 18 files (P0A); showcase-smoke.spec.ts 50 passed (browser e2e against a live boot, P0B); 0 failed (one dogfood file OOM-killed in a batch, re-run alone 8/8). Clause totals: 218 pass · 0 fail · 2 blocked · 0 skipped. The ui/e2e/live/studio-object-designer.spec.ts F1 pin named by studio-authoring.first-run-loop acc[0] was not run; that clause was driven by hand in the browser on both the en and zh-CN legs.

Per-clause tables: record-R2-P0-clauses-1.md, -2.md.

Item verdicts

item prio tier rev verdict clauses p/f/b/s runner
access-security.rls-both-sides P0 T1+live 11 PARTIAL 8/0/1/0 P0A
access-security.write-path-guards P0 T1+live 9 PASS 9/0/0/0 P0A
access-security.crud-permission-matrix P0 T1+live 13 PARTIAL 8/0/1/0 P0A
access-security.owd-sharing-matrix P0 T1+live 9 PASS 9/0/0/0 P0A
access-security.anonymous-deny-surfaces P0 T1+live 5 PASS 8/0/0/0 P0A
access-security.no-active-org-session-semantics P0 T1+live 12 PASS 14/0/0/0 P0A
access-security.walled-environment-metadata-operator-only P0 T1+live 9 PASS 4/0/0/0 P0A
ai.mcp-stdio-fail-closed P0 T1(corroborating)+live 10 PASS 13/0/0/0 P0A
api-backend.query-contract-matrix P0 T1+live 9 PASS 11/0/0/0 P0A
api-backend.packaged-action-disabled-dispatch P0 T1+live 13 PASS 10/0/0/0 P0A
approvals.account-app-entry P0 T2 browser 10 PASS 9/0/0/0 P0B
automation.packaged-flow-disable-durable P0 T2 10 PASS 9/0/0/0 P0A
cli.dev-boot-contract P0 T2 10 PASS 12/0/0/0 P0A
cli.organization-ownership-ceremony P0 T1+live 11 PASS 7/0/0/0 P0A
identity-auth.default-organization-boot-invariant P0 T1+live 5 PASS 5/0/0/0 P0A
integration-system.datasource-credential-refusal-matrix P0 T2 live 9 PASS 15/0/0/0 P0B
platform-core.boot-health P0 T2 live 15 PASS 8/0/0/0 P0B
platform-core.seed-integrity P0 T2 7 PASS 7/0/0/0 P0A
platform-core.console-login P0 T2 browser 5 PASS 7/0/0/0 P0B
platform-core.nav-surfaces-render P0 T1 pin + T2 10 PASS 8/0/0/0 P0B
platform-core.builtin-apps-nav-render P0 T2 browser 14 PASS 11/0/0/0 P0B
platform-core.v18-boot-refusals P0 T1+live 9 PASS 5/0/0/0 P0A
records-forms.crud-roundtrip P0 T2 browser 19 PASS 12/0/0/0 P0B
studio-authoring.first-run-loop P0 T2 browser 13 PASS 9/0/0/0 P0B

Partials (standing dependency gaps, unchanged)

Commits since round 1 that meet P0 surfaces

Parked-on #33761 (checklist accuracy, fixture gaps)

  • platform-core.seed-integrity steps[1] still gives the baseline as invoice_line=7 / 138 rows; at b914e72 it is 10 / 141 (re-derived as the step says). Repeats round 1.
  • api-backend.query-contract-matrix acc[8] names no variant count; this run drove 22 operator variants in both spellings plus 8 params (30/30, 0 skipped). Worth stating the count.
  • platform-core.v18-boot-refusals acc[1] names os dev as a boot whose refusal carries --dev; os dev catches the refusal and upgrades in place with a backup, and only os serve --dev prints the operator-facing --dev text. Repeats round 1.
  • cli.organization-ownership-ceremony acc[5] "count after = count before less what moved" does not allow this release's seed additions on the second boot (invoice_line 5→10, sys_user_position 5→10, sys_metadata_activation 0→1, sys_migration 4→6, sys_oauth_resource 1→2); the drops matched the apply report exactly (sys_email 4→2, sys_setting_audit 9→1, sys_webhook 1→0). Suggested wording: "no row disappears except as the report moves / deletes it".
  • cli-18-prerelease-db recipe: the restore does not re-date the reset token, so step 3 (UPDATE sys_verification) runs by hand; knownGaps[4] is stale (the activity shard re-dates to sys_activity__r20261114).
  • platform-core.builtin-apps-nav-render: the marketplace catalog proxy answers 502 in this environment (knownGap); the page shows its named "Failed to load marketplace" state, scored as rendering honestly.
  • approvals.account-app-entry acc[6] / first-run-loop zh leg: the avatar-menu Language control is a button named "Language" in the Preferences row, not a menuitem — a role-targeted driver must look for the button.
  • integration-system.datasource-credential-refusal-matrix: a minimal scratch project needs sharingModel declared or security-owd-unset refuses it before the credential check (fixture note).
  • access-security.no-active-org-session-semantics knownGaps[3] (access-security.no-active-org-session-semantics acceptance[4]/[6]: re-point the audit clause to ADR-0131 D7/D9 (sys_audit_log is off the wall; tenant_id is attribution) #32111, NULL tenant_id on audit rows): recorded, not scored.
  • Runner trap: os dev silently takes the next free port when -p is taken; a restart issued while the old server still listens boots a second server on +1 against the same DB. Check the port with lsof (no ss in the container).

Off-clause probes (RUNNER rule 8)

About 74 min over the 24 items (P0A ≈ 51, P0B ≈ 23), same boots and personas (admin, auditor, liaison, contributor, guest, group P1 / P2 members, anonymous, browser contexts). Classes: empty / unknown / blank ids, case and package-id spellings, wrong verbs, string booleans, out-of-range limits and ports, forged owner / actorId / organization, projection / history / search doors as secret-confirmation channels, walled postures. No product defect found. Observations below the filing bar: GET /api/v1/health/ (trailing slash) → 404; an unknown viewName on an object list silently falls back to "All Records"; PUT /api/v1/meta/object/NEW?mode=draft&package= with an empty package value is accepted as an env-wide draft while a missing or unknown package is refused (admin, new name, draft only — same blank-package= pattern as R2-API's /meta/view?package= note); a member reading /api/settings/UNKNOWN gets 404 UNKNOWN_NAMESPACE while a real namespace answers 403 (namespace ids are public manifest ids).

No cards extracted from this record.

Activity

  1. objectstack-fleet commented on Nov 15, 2026

    @objectstack-fleet
    ContributorAuthor

    qa#3 · os-tesla · session_01L9qibzj9DrVWXkq7joYHGB

    R2-P0 · per-clause verdicts 1/2 · b914e72

    Group P0A

    P0A · R2-P0 (priority:P0) · subject b914e72 (v18.5.0; health/version reads 18.5.0) · ports 41174–41181 · DBs /tmp/qa2/P0A/db/*.db · logs /tmp/qa2/P0A/logs/ · pins (vitest --maxWorkers=1 --reporter=verbose, logs /tmp/qa2/P0A/pins/): objectql 4 files/251 · plugin-security 3/32 · rest 2/22 · runtime 7/121 · plugin-auth 1/57 · mcp 2/27 · cli + dogfood see per item

    platform-core.seed-integrity · rev 7 · T2 · PASS (clauses pass/fail/blocked/skipped = 7/0/0/0)

    env: showcase @b914e724, os dev --seed-admin --no-compile --no-watch --log-level info -p 41174 -d file:/tmp/qa2/P0A/db/seed.db (fresh file), restart = process group stopped, second boot on the same file. No pin.

    item clause verdict evidence
    platform-core.seed-integrity acc[0] pass 20 datasets, source module (tsx import of src/data/seed/index.ts) = artifact = server totals: account 14, contact 32, inquiry 3, product 4, project 5, task 10, category 4, bu 9, sys_business_unit 5, team 2, membership 3, field_zoo 2, sys_exchange_rate 4, invoice 12, invoice_line 10, expense_report 4, expense_line 13, preference 1, announcement 2, client_brief 2 = 141; 0 mismatches
    platform-core.seed-integrity acc[1] pass Specimen — Full: f_multiselect ["red","green"], f_lookup zWIdQUbHKAmW5NDa = Northwind's id, f_master_detail = Website Relaunch id, f_json {"nested":{"k":"v"},"list":[1,2,3]}, f_time "14:30:00", f_address/f_location/f_repeater/f_record/f_vector verbatim; f_password "••••••••" (expected-masked)
    platform-core.seed-integrity acc[2] pass banner Seeds: com.example.showcase 141 rows (no ⚠), [Seeder] Seed loading complete {"inserted":141,"updated":0,"skipped":0,"errored":0}, 0 "dropped record" lines
    platform-core.seed-integrity acc[3] pass restart on same file: Seed loading complete {"inserted":0,"updated":0,"skipped":141,"errored":0}; second 20-object sweep diff empty vs first
    platform-core.seed-integrity acc[4] pass Specimen — Full reads f_user null, f_users null, f_secret null; showcase_task 10 rows, cover non-null 0 — expected-absent, not findings
    platform-core.seed-integrity neg[0] pass no seeded object reads 0 (min 1: showcase_preference)
    platform-core.seed-integrity neg[1] pass no count grew on restart (sweep diff empty; sys_organization still 1)
    Notes: checklist-accuracy — steps[1] baseline still says invoice_line=7 / 138 rows; source+artifact+server = 10 / 141 at b914e72 (step says re-derive; derived value used; same as a557fa3). Runner trap: os dev AUTO-SHIFTS to the next free port when -p is taken (a restart issued while the old server still listened booted a second server on 41175 against the same file; killed before it served, then a clean restart was done — the sweep above is from the clean restart). Probe (rule 8): 2 min · GET field_zoo unknown id, $filter non-JSON (400 INVALID_FILTER "must be valid JSON… would have returned the unfiltered result set"), sys_organization after restart (1) · found nothing.

    identity-auth.default-organization-boot-invariant · rev 5 · T1+live · PASS (4/0/0/0 + neg 1/0/0/0)

    env: the same fresh info-level boot as seed-integrity (41174, file:/tmp/qa2/P0A/db/seed.db; --no-compile, file DB kept readable in place of --fresh). Second user = second.qa2@verify.test via admin POST /auth/admin/create-user + change-password.

    item clause verdict evidence
    identity-auth.default-organization-boot-invariant acc[0] pass @objectstack/plugin-auth src/ensure-default-organization.test.ts 57 passed/0 failed; @objectstack/runtime src/identity-objects-default-organization.pin.test.ts 4 passed/0 failed (unit layer, subject b914e72)
    identity-auth.default-organization-boot-invariant acc[1] pass log 12:48:01.241 [default-org] created the Default Organization (org_mwhtycidwearagr4) before 12:48:08.149 Dev admin seeded; row slug default created_at 12:48:01.238Z < first sys_user (admin) created_at 12:48:07.815Z
    identity-auth.default-organization-boot-invariant acc[2] pass sys_member?organization_id=org_mwhtycidwearagr4: admin role owner, second.qa2 role member; both get-session payloads activeOrganizationId "org_mwhtycidwearagr4" (create-user answered membershipCreated:true)
    identity-auth.default-organization-boot-invariant acc[3] pass sys_business_unit 5 seeded rows (bu_acme, bu_field_ops, bu_west_coast, bu_east_coast, bu_hq_finance) all organization_id org_mwhtycidwearagr4
    identity-auth.default-organization-boot-invariant neg[0] pass no NULL organization_id on any seeded sys_business_unit / sys_member row
    Notes: probe (rule 8): 1 min · restart keeps exactly 1 sys_organization (slug default), no second created the Default Organization line on the restart log · found nothing.

    access-security.write-path-guards · rev 9 · T1+live · PASS (clauses 9/0/0/0)

    env: showcase @b914e724 on 41174 (file:/tmp/qa2/P0A/db/seed.db, the stock single boot above). Alice/Bob = qa2-a-251110 / qa2-b-251110 @verify.test (admin create-user + change-password, baseline only). Readonly-when legs on the seeded paid invoice INV-1003 (XokbXxD…) and its line bAosk6V0… (status already 'paid' in the seed — equivalent to setting it).
    Tier 1: @objectstack/dogfood owner-anchor-and-bulk-writes 12/12, showcase-static-readonly 9/9, showcase-readonly-when-parent 9/9 (HTTP, in-process bootStack); @objectstack/objectql engine-insert-static-readonly-strip 21/21 + engine-readonly-strip-caller-values 34/34 (engine over recording/fake driver). Every acceptance clause also driven live.

    item clause verdict evidence
    access-security.write-path-guards acc[0] pass live: admin POST showcase_contact {lead_score:10} → 201, body droppedFields [{fields:["lead_score"],reason:"readonly"}], header X-ObjectStack-Dropped-Fields lead_score;reason=readonly, re-read lead_score null; pin static-readonly 9/9 (HTTP)
    access-security.write-path-guards acc[1] pass live: PATCH {lead_score:99} → 200, re-read lead_score null (before = after)
    access-security.write-path-guards acc[2] pass live: Alice POST note owner_id=Bob → 403 "'owner_id' … is system-managed — creating a record owned by another user requires the transfer grant"; admin query title 'planted 251110' → 0 rows; pin owner-anchor 12/12 (HTTP)
    access-security.write-path-guards acc[3] pass live: Alice self-owner insert 201 (owner_id = Alice); PATCH owner_id=Bob 403, owner_id=null 403 ("release only your own record, back to its queue…"); owner re-reads Alice
    access-security.write-path-guards acc[4] pass live: Alice createMany bare array ×3 → 201, all 3 rows owner_id == Alice's sys_user id; {records:[…]} wrapper → 400 VALIDATION_FAILED "the body must be a JSON array of record objects"
    access-security.write-path-guards acc[5] pass live (admin): PATCH paid invoice tax_rate 99 → 200 droppedFields tax_rate reason readonly_when, re-read 8; PATCH paid line quantity/unit_price/product → droppedFields all three readonly_when, re-read 6/49.99/usDO… unchanged; mixed updateMany [paid line q78, sent-invoice line q8] → results[0].droppedFields quantity readonly_when (re-read 6), results[1] no droppedFields (re-read 8)
    access-security.write-path-guards acc[6] pass live: updateMany continueOnError [Cr02a q6, XNAQ q-1, r92B q13] → 207 total 3/succeeded 2/failed 1, XNAQ VALIDATION_FAILED "Qty must be ≥ 0", re-reads 6/2/13; default-stop contrast → 207 succeeded 1, row 3 NOT_ATTEMPTED "the batch stopped there", re-read unchanged
    access-security.write-path-guards neg[0] pass live ADMIN: forge-insert owner_id=Bob 201 (owner = Bob), transfer to Alice 200 (owner = Alice), disown null 200 (owner null) — the guard gates on privilege
    access-security.write-path-guards neg[1] pass engine pins (layer: engine over recording/fake driver, own test objects — clause says score from them): 'isSystem seeds the readonly column — the exemption the ruling names' ✓ and 'an isSystem caller is untouched by any of this' ✓
    Notes: probe (rule 8): 3 min · updateMany {where,data} body (400 VALIDATION_FAILED naming records), createMany [] (201 count 0), createMany owner forge (403, count 0), owner_id "" on insert (201, stamped the caller), updateMany/deleteMany of a foreign note (207 per-row RECORD_NOT_FOUND / PERMISSION_DENIED, row byte-identical) · found nothing.

    access-security.crud-permission-matrix · rev 13 · T1+live · PARTIAL (clauses 8/0/1/0)

    env: 41174 boot as above; one fresh member per set (qa2-crud-<set>-<ts>@verify.test, admin create-user + change-password) granted by admin POST /data/sys_user_permission_set → 201 each (member_default = baseline only); delegate also POST /data/sys_business_unit_member bu_field_ops → 201. verify leg: objectstack verify --rls in the scratch copy /tmp/qa2/P0A/ws/examples/app-X, exit 0.
    Tier 1: @objectstack/dogfood showcase-crud-persona-matrix 49/49 passed (HTTP in-process: 41 showcase_* rows × 4 verbs baseline-unioned + the 16 delegate × sys_* cells case); verify --rls CRUD half 15 verified, 0 gaps, 0 FAILED, 1 needs-fixture (showcase_account: app validation rejected the auto-record), 8 skipped (0 mismatches), RLS half 0 HOLES. Live: the READ and CREATE columns of all 45 access-matrix.json rows (baseline-unioned) + edit/delete spot cells.

    item clause verdict evidence
    access-security.crud-permission-matrix acc[0] pass live 96/96 cells as expected: every allowed read 200 and allowed create 201 (e.g. contributor invoice/line/task/expense_* 201, ops announcement/business_unit/category/team/project_membership 201, guest_portal inquiry 201); ops DELETE announcement 200 → re-read 404; pin 49/49 (HTTP)
    access-security.crud-permission-matrix acc[1] pass live: every withheld create 403 code PERMISSION_DENIED (auditor invoice/line, liaison project, contributor account/project, guest announcement, manager contact, member_default ×9, ops invoice, delegate sys_business_unit); contributor DELETE own invoice 403, auditor PATCH invoice 403, ops DELETE inquiry 403; sys_user create 405 OBJECT_API_METHOD_NOT_ALLOWED for delegate AND admin
    access-security.crud-permission-matrix acc[2] pass live: admin marker-query after every denied create → 0 rows (all 15 denied creates)
    access-security.crud-permission-matrix acc[3] pass live: auditor GET by id 200 + list carries the foreign private note, inquiry, C1's invoice and line; contributor C2 (no VAR) by id 404 RECORD_NOT_FOUND and list excludes all four
    access-security.crud-permission-matrix acc[4] pass live: ops PATCH admin's announcement 200, re-read 'QA2 ann 251110 ops-edited'; member B's PATCH 403 PERMISSION_DENIED, admin re-read byte-identical
    access-security.crud-permission-matrix acc[5] blocked blocked{dependency, #23267 / knownGaps[2]}: no door binds a set to the guest anchor; a member holding guest_portal reads showcase_inquiry 200 through the baseline (live), REST anonymous answers 401 to both verbs
    access-security.crud-permission-matrix acc[6] pass 45 rows recounted from access-matrix.json (41 showcase_* + 4 delegate × sys_*); all 45 × 4 verbs covered by the HTTP-layer pin (49/49), read+create columns of all 45 re-driven live
    access-security.crud-permission-matrix neg[0] pass admin control of the first denied create per set → 201 each (showcase_invoice, showcase_project, showcase_account ×2, sys_business_unit, showcase_announcement, showcase_contact); admin DELETE inquiry 200 where ops got 403
    access-security.crud-permission-matrix neg[1] pass 0 withheld cells answered 2xx (live 96/96, pin 49/49)
    Notes: the only 405 cells are sys_user create (delete not driven live; pin covers). sys-user.object.ts changed since a557fa3 (#33755 managed-env Add User) — delegate × sys_user read 200 / create 405 for delegate and admin unchanged on this unmanaged boot. Probe (rule 8): 2 min · own vs foreign vs unknown id on a withheld DELETE (403 uniformly — A DELETE unknown 403, no existence oracle), opposite persona (admin on 405 verb → 405) · found nothing.

    automation.packaged-flow-disable-durable · rev 10 · T2 · PASS (clauses 9/0/0/0)

    env: showcase @b914e724 via os dev, port 41175 with OS_PORT=41175 exported, fresh file:/tmp/qa2/P0A/db/pa.db, --seed-admin --no-compile --no-watch --log-level info; cold restart = process group stopped (port free confirmed), second boot on the same file at --log-level info. No pin.

    item clause verdict evidence
    automation.packaged-flow-disable-durable acc[0] pass toggle {enabled:false} 200; GET /data/sys_metadata_activation → exactly 1 row id aTtMRoJ8kQthLchD metadata_type flow, name showcase_urgent_task_alert, package_id com.example.showcase, active false; KEY SET active,created_at,created_by,id,metadata_type,name,package_id,updated_at,updated_by — no organization_id key
    automation.packaged-flow-disable-durable acc[1] pass POST /trigger → 409 {"code":"FLOW_DISABLED","message":"This flow is turned off for this deployment. An administrator can turn it on again in its package's Automations in Studio, or copy it there under a new name."} — exact match; no sys_metadata_activation/ADR in it (those are in the engine's INFO log line)
    automation.packaged-flow-disable-durable acc[2] pass post-restart /_status {"enabled":false,"bound":false}; boot log [Automation] Activation ledger: 1 packaged flow(s) are switched off for this installation and were left unbound — 'showcase_urgent_task_alert'.
    automation.packaged-flow-disable-durable acc[3] pass runs list 1 before / 1 after a post-restart priority=urgent create (201)
    automation.packaged-flow-disable-durable acc[4] pass toggle {enabled:true} 200; ledger rows 1, same id aTtMRoJ8kQthLchD, active true; final urgent create → runs 1 → 2; /_status enabled true bound true
    automation.packaged-flow-disable-durable neg[0] pass the 2xx toggle wrote the row (acc[0]); no 'IN PROCESS ONLY' warn in the log
    automation.packaged-flow-disable-durable neg[1] pass restart did not re-arm: enabled false, bound false, no run from the post-restart create
    automation.packaged-flow-disable-durable neg[2] pass re-enable updated the row in place (same id, updated_at moved) — not deleted
    automation.packaged-flow-disable-durable neg[3] pass the 409 carries the turned-off sentence, not the bare "Flow '…' is disabled"
    Notes: baseline urgent create → 1 run (completed). #33646 (flow doors judge served holders) touched automation.ts / flow-slot-view / service-automation since a557fa3 — driven harder: qualified address /automation/showcase/showcase_urgent_task_alert GET/runs/toggle 200, toggle via the qualified address then BARE trigger and qualified trigger both 409 FLOW_DISABLED, /automation/_env/<packaged flow> → 409 RESOURCE_CONFLICT naming the holder package. Probe (rule 8): 4 min · enabled:"false" string (400 VALIDATION_FAILED), unknown flow toggle (404), member toggle (403 manage_metadata), member ledger read (403), admin ledger PATCH (405), runs ?limit=200 (400 "<= 100"), pkg:name colon spelling (404 — not the grammar) · found nothing.

    access-security.anonymous-deny-surfaces · rev 5 · T1+live · PASS (clauses 8/0/0/0)

    env: 41174 stock single boot (no requireAuth override), file:/tmp/qa2/P0A/db/seed.db. Member = second.qa2@verify.test (baseline only).
    Tier 1: @objectstack/dogfood showcase-anonymous-deny-surfaces 88/88 passed (HTTP, in-process bootStack, platform-default posture). Every clause also driven live.

    item clause verdict evidence
    access-security.anonymous-deny-surfaces acc[0] pass live anon: /data/showcase_private_note, /meta, /actions/…/anon-probe-id, /automation/_status, POST /batch {operations:[]}, /security/explain, analytics query/sql/meta (incl. malformed) — all 11 → 401 code UNAUTHENTICATED
    access-security.anonymous-deny-surfaces acc[1] pass POST /actions/showcase_task/showcase_mark_done/anon-probe-id → 401 {"success":false,"error":{"code":"UNAUTHENTICATED",…,"httpStatus":401}} (never 404)
    access-security.anonymous-deny-surfaces acc[2] pass classified by the pin's predicates: rest-flat for /data /meta /batch /security ({"error":"UNAUTHENTICATED","code":…,"message":…}); dispatcher-wrapper for /actions /automation and the 3 analytics faces; 0 bodies in NONE or both
    access-security.anonymous-deny-surfaces acc[3] pass anon cube-read/SQL/meta → 401 dispatcher-wrapper, malformed {filters:{done:true}} on query+sql → 401; member: query 200 rows [{count:10}], sql 200 echo, meta 200, malformed → 400 VALIDATION_FAILED "filters is not an AnalyticsQuery field — use where"
    access-security.anonymous-deny-surfaces acc[4] pass member GET /data/showcase_private_note 200 {records:[],total:0}; GET /meta 200 {"types":[…]}
    access-security.anonymous-deny-surfaces acc[5] pass anon GET /forms/contact-us → 200 {"slug":"contact-us","object":"showcase_inquiry",…}
    access-security.anonymous-deny-surfaces acc[6] pass one verdict per variant: data, meta, actions, automation, batch, security-explain, analytics ×3 faces (+2 malformed), forms-public, destructive automation — all recorded above
    access-security.anonymous-deny-surfaces neg[0] pass anon DELETE /automation/showcase_reassign_wizard → 401 dispatcher-wrapper; admin GET /automation/showcase_reassign_wizard → 200 (still registered)
    Notes: probe (rule 8): 2 min · anon createMany, /meta/object/:name, /packages, /mcp tools/list (401 "a valid OAuth access token or API key is required"), /automation/:f/runs and /trigger, unknown object /data/nonexistent_obj (401, not 404), unknown action route (401), /forms/no-such-form (404 FORM_NOT_FOUND — public family, correct), /security/explain?object= · found nothing.

    access-security.walled-environment-metadata-operator-only · rev 9 · T1+live · PASS (clauses 4/0/0/0)

    env: walled boots BY HAND, OS_TENANCY_POSTURE=&lt;isolated|group> OS_PLATFORM_OWNER_EMAIL=admin@objectos.ai OS_AUTH_MEMBERSHIP_POLICY=invite-only os dev --seed-admin --no-compile --no-watch --log-level info: isolated 41176 file:/tmp/qa2/P0A/db/walled-iso.db (log "tenancy posture 'isolated' — the Layer 0 organization wall is ACTIVE", /auth/config tenancyPosture isolated, multiOrgEnabled true, degradedTenancy false, banner Server is ready, no DEGRADED); group 41177 walled-grp.db (same, posture group). Operator = admin (active org = default). Org owner qa2-wl-owner-: operator create-user + change-password, owner POST /auth/organization/create qa2-wl-org- + set-active. Operator POST /packages com.qa2.catalog (201) + PUT /meta/permission/qa2_meta_author?package=com.qa2.catalog {systemPermissions:['manage_metadata']} (200). FIXTURE WRITE OUTSIDE HTTP (allowed by fixtures.requires[2]): sys_user_permission_set row {user_id: owner, permission_set qa2_meta_author, organization_id: owner's org} inserted into the run's own scratch SQLite file.
    Tier 1 (b914e72): @objectstack/rest meta-migrate-stored-walled-refusal 6/6 (route unit); @objectstack/runtime packages-walled-write-refusal 32/32, automation-walled-definition-write 12/12, meta-walled-catalog-refusal 19/19 (dispatcher unit); @objectstack/dogfood wall-environment-metadata-refusal 23/23, wall-catalog-refusal 17/17, wall-package-doors-refusal 23/23 (HTTP in-process on the CRM app).

    item clause verdict evidence
    access-security.walled-environment-metadata-operator-only acc[0] pass all 7 named files ≥1 test, 0 failed at b914e72 (counts above)
    access-security.walled-environment-metadata-operator-only acc[1] pass owner (isolated AND group): PUT /meta/object/qa2_walled_probe 403 FORBIDDEN; PUT /meta/permission/showcase_member_default 403 FORBIDDEN; POST /meta/view/showcase_task.in_progress/publish 403 FORBIDDEN; DELETE /packages/com.example.showcase 403 PERMISSION_DENIED; POST /security/permission-sets/showcase_contributor/clone 403 PERMISSION_DENIED; POST /meta/_migrate-stored {} 403 FORBIDDEN; POST /automation qa2_walled_flow 403 PERMISSION_DENIED — each "…requires the platform operator: this deployment runs the '<posture>' tenancy posture…"; read-backs: object 404, member_default unchanged, showcase package 200, clone 404, GET /automation/qa2_walled_flow 404
    access-security.walled-environment-metadata-operator-only acc[2] pass walled operator same PUT → 200 (seq 2), read-back 200, DELETE 200 → 404, both postures; single-posture control (scratch app-M os dev 41178, /auth/config tenancyPosture single): admin PUT /meta/object/qa2_walled_probe → 200, read-back 200, DELETE 200 → 404
    access-security.walled-environment-metadata-operator-only neg[0] pass no org-owner environment-metadata write admitted (7 doors + 5 probe doors, both postures)
    Notes: the grant row is load-bearing — a plain member without it gets "Saving a metadata item requires the manage_metadata capability", the owner gets the wall message. Probe (rule 8): 3 min · owner POST /packages install, PUT/DELETE /meta/object/showcase_task (packaged), POST /packages/com.example.showcase/ensure-customization, PUT /meta/flow · both postures → 403 · found nothing.

    access-security.no-active-org-session-semantics · rev 12 · T1+live · PASS (clauses 14/0/0/0)

    env: the two walled boots above (isolated 41176, group 41177; both invite-only, operator = admin). Personas per boot: producer (2) qa2-noorg-m2-* (operator create-user → membershipCreated, joins operator's active org; then POST /auth/organization/set-active {organizationId:null}); producer (1) qa2-noorg-m1-* (operator create-user, then operator POST /auth/organization/remove-member, fresh sign-in, raw sys_member rows 0); manage_sharing holder = the walled item's org owner, granted qa2_sharing_admin {systemPermissions:['manage_sharing']} stamped with its own org — FIXTURE WRITE OUTSIDE HTTP (direct row in the run's scratch SQLite). Raw NULL counts read from the scratch DB file with better-sqlite3; audit raw rows from <db>.telemetry.db.
    Tier 1: @objectstack/plugin-security no-active-organization-write-refusal 23/23 (plugin unit, stub terminal) + no-active-organization-insert-union-scope 6/6 (engine, real SqlDriver); @objectstack/dogfood no-active-organization-write-refusal 6/6 + sharing-rule-org-less-caller 16/16 (HTTP in-process). Pins stop above the walled live oracle for most clauses (rule 6) — every clause driven live on both walled boots.

    item clause verdict evidence
    access-security.no-active-org-session-semantics acc[0] pass isolated: P2 get-session activeOrganizationId null → announcement/private_note/task/project 200 total 0 each (same member with active org read 2/0/10/6); P1 → 200 total 0 ×4. group: P1 → 200 total 0 ×4; P2 → 200 own membership org only (announcement 2, task 10, project 6, all org_mwhuimfq… = its membership)
    access-security.no-active-org-session-semantics acc[1] pass both postures, both producers: POST /data/showcase_private_note → 403 PERMISSION_DENIED "[Security] Access denied: 'showcase_private_note' is scoped to an organization, and this session has no active organization — so this insert has no organization to place the record in. Join or select an active organization and retry."; createMany 403; POST showcase_task → same naming showcase_task
    access-security.no-active-org-session-semantics acc[2] pass raw NULL-or-empty organization_id counts private_note/task: isolated 0/0 → 0/0 (P2) → 0/0 (P1); group same; self, admin and raw read-back of qa2-noorg-* rows 0
    access-security.no-active-org-session-semantics acc[3] pass holder with active own org: POST /sharing/rules 201 organization_id = its org, list shows only its org (operator's rule absent); after set-active null: GET list, GET by-name (own + operator's), POST evaluate, POST create, DELETE operator's rule → all 403 PERMISSION_DENIED "requires the manage_sharing capability"; operator rule still 200, minted rule 404; data: isolated 200 total 0 while 2 other orgs hold rows; group reads only its 2 memberships' orgs, a third org's note (qa2-org3) absent
    access-security.no-active-org-session-semantics acc[4] pass operator GET /data/sys_audit_log filtered by user_id → 200, every raw telemetry row returned, 0 missing: P2 6 rows (login×2 tenant org, update×3 NULL, logout×1 NULL), P1 8 rows (login×2 org, login×1 NULL after removal, update×4 NULL, logout×1 NULL), same both postures; the user's own read → 403 PERMISSION_DENIED
    access-security.no-active-org-session-semantics acc[5] pass get-session 200; /meta/object/showcase_task 200, /discovery 200, /data/sys_user 200 (1 row), sys_member/sys_organization 200; 0 'Unhandled' / ERR_SYSTEM_WRITE / SystemWriteOrganizationRequired lines in either boot log
    access-security.no-active-org-session-semantics acc[6] pass same state side by side: wall read → 200 empty (isolated; group P1) / own memberships (group P2); write path → 403 naming the missing org, nothing stored; sharing → org-scoped manage_sharing confers nothing (403); audit → rows written, operator reads all, user 403 — no disagreement
    access-security.no-active-org-session-semantics acc[7] pass group, P2 (member of operator's org, non-empty set), project created by operator in that org, get-session activeOrganizationId null: POST /data/showcase_task {title, project} → 403 PERMISSION_DENIED (not 5xx); NULL-or-empty org count task 0 → 0; private_note also 403, 0 → 0
    access-security.no-active-org-session-semantics neg[0] pass org-less org-scoped holder read/wrote nothing cross-tenant (acc[3])
    access-security.no-active-org-session-semantics neg[1] pass no NULL-stamped row (acc[2], acc[7] counts)
    access-security.no-active-org-session-semantics neg[2] pass every audit row (incl. NULL-attributed) readable by the operator (raw = API, both producers, both postures)
    access-security.no-active-org-session-semantics neg[3] pass no 5xx on read, write, sharing or audit paths; 0 unhandled lines in the logs
    access-security.no-active-org-session-semantics neg[4] pass message names "this session has no active organization"
    access-security.no-active-org-session-semantics neg[5] pass code PERMISSION_DENIED (ADR-0112 ledger member), not invented
    Notes: knownGaps[3] — P1's post-removal login and logout rows and P2's logout row carry tenant_id NULL; update rows NULL for both (open question #32111, recorded, not scored). Probe (rule 8): 4 min · group: P2 (no active org) insert naming its OWN membership's organization_id → 201 landing in that org; naming a non-member org → 403 "outside the caller's organization scope"; P1 (no membership) naming the operator org → 403 no-active-org message; NULL counts 0/0 at the end · classes: explicit tenant on insert, opposite posture, producer (1) beside (2), third-org reader scope · found nothing filed (same observation as a557fa3).

    ai.mcp-stdio-fail-closed · rev 10 · T1(corroborating)+live · PASS (clauses 13/0/0/0)

    env: scratch copy /tmp/qa2/P0A/ws/examples/app-M (WS layout, artifact copied from the tree build), DB file:/tmp/qa2/P0A/mcp/data.db. Personas + keys minted on os dev --seed-admin --no-compile --no-watch -p 41178 of that DB: contributor qa2-mcp-contrib-* (admin create-user + sys_user_permission_set showcase_contributor) with its own invoice INV-MCP-; liaison qa2-mcp-liaison- (showcase_client_liaison); keys via POST /api/v1/keys as each persona (201). stdio legs: node_modules/.bin/objectstack start -p 41178 --home /tmp/qa2/P0A/mcp/home -d file:…/data.db [--log-level info] spawned with stdio pipes (driver /tmp/qa2/P0A/scripts/stdio.mjs), OS_MCP_STDIO_ENABLED=true unless stated. MCP serverInfo {"name":"objectstack","version":"18.5.0"}.
    Tier 1 (corroborating only, plugin unit over mocked ctx): @objectstack/mcp plugin.test.ts 18/18, plugin-execution-context.test.ts 9/9.

    item clause verdict evidence
    ai.mcp-stdio-fail-closed acc[0] pass key unset → ERROR Plugin startup failed: com.objectstack.mcp … [MCP] The stdio transport is enabled (OS_MCP_STDIO_ENABLED / autoStart) but OS_MCP_STDIO_API_KEY is not set. stdio must run under a real identity — mint an API key … or POST /api/v1/keys, and set OS_MCP_STDIO_API_KEY=osk_.... Refusing to start an unscoped stdio server (ADR-0101). exit 1, health refused, 0 bytes stdout
    ai.mcp-stdio-fail-closed acc[1] pass osk_unknown → [MCP] OS_MCP_STDIO_API_KEY did not resolve to a valid identity (unknown / revoked / expired / owner-less). Refusing to start stdio (ADR-0101). exit 1; revoked contributor key → [MCP] OS_MCP_STDIO_API_KEY is refused (API_KEY_REVOKED): This API key (osk_iYfb7BJ4…) was suspended by a platform administrator. … Refusing to start stdio (ADR-0101). exit 1; neither served (health refused, 0 bytes stdout)
    ai.mcp-stdio-fail-closed acc[2] pass --log-level info: INFO [MCP] stdio transport principal-bound to OS_MCP_STDIO_API_KEY identity pkeVzuKY… (RLS/FLS/tenant applied) = contributor userId (liaison IMOrNIMH…, admin VgPe0mIz… likewise)
    ai.mcp-stdio-fail-closed acc[3] pass RLS (contributor, showcase_invoice, limit 50): MCP query_records 1 row = REST (Bearer same key) 1 row, ids and field sets equal; get_record INV-1003 (admin-owned) → MCP tool error RECORD_NOT_FOUND 404 / REST 404 RECORD_NOT_FOUND; admin key MCP 13 = REST 13 ids, MCP get_record INV-1003 served. FLS (liaison, showcase_project): MCP 5 rows / 20 fields, no budget = REST same 5 ids and field set; admin REST 23 fields incl. budget
    ai.mcp-stdio-fail-closed acc[4] pass count groupBy status: member MCP {"rows":[{"status":"draft","n":1}]} = member REST POST /data/showcase_invoice/query [{draft,1}]; admin REST draft 3 / paid 5 / sent 5; tools/list carries aggregate_records
    ai.mcp-stdio-fail-closed acc[5] pass liaison MCP sum(budget), count_distinct(budget), count groupBy budget → each isError {"code":"PERMISSION_DENIED","message":"[Security] Field read denied: not permitted to aggregate [budget] on 'showcase_project'","status":403}, no number; REST sum(budget) same message; control count by status MCP = REST {active 2, completed 1, on_hold 1, planned 1}; count(*) → 5
    ai.mcp-stdio-fail-closed acc[6] pass same live session: pre-revoke query_records 1 row; admin signed-in session PATCH /data/sys_api_key/Fi3f57Ow… {revoked:true} → 200; next query_records → isError true, code API_KEY_REVOKED, status 403, 0 rows, no records key; following get_record → same coded error
    ai.mcp-stdio-fail-closed acc[7] pass stdio not enabled, no key, --log-level info: health 200, INFO [MCP] Transport not auto-started (HTTP is served per-request at /api/v1/mcp regardless). Set OS_MCP_STDIO_ENABLED=true or autoStart…, 0 ERROR lines, 0 bytes stdout
    ai.mcp-stdio-fail-closed neg[0] pass unknown and revoked keys exit 1 before serving (health refused, 0 bytes stdout)
    ai.mcp-stdio-fail-closed neg[1] pass member MCP row set = member REST row set (acc[3])
    ai.mcp-stdio-fail-closed neg[2] pass member MCP count 1 ≠ admin total 13
    ai.mcp-stdio-fail-closed neg[3] pass 3 masked-field aggregate shapes refused, no number
    ai.mcp-stdio-fail-closed neg[4] pass post-revocation reads serve 0 rows and carry API_KEY_REVOKED / 403
    Notes: self-check — my first post-revoke capture printed only the truncated text, so the key was restored (admin signed-in PATCH revoked:false, 200) and the revoke leg re-run on a fresh stdio session to read code/status from the parsed envelope (both runs isError + API_KEY_REVOKED). Stdout of every stdio boot is JSON-RPC only (0 non-JSON lines). Probe (rule 8): 4 min · limit 51 (-32602 … Too big: expected number to be <=50 at limit), where on masked budget (403 "references field(s) not readable by the caller: budget"), get_record empty id (404 RECORD_NOT_FOUND), get_record unknown/foreign id (404) · found nothing.

    api-backend.query-contract-matrix · rev 9 · T1+live · PASS (clauses 11/0/0/0)

    env: 41174 stock single boot (file:/tmp/qa2/P0A/db/seed.db); baseline = admin GET showcase_account $top=200 → 14 rows (Hooli, 华宁科技, Fabrikam, …). Contributor = qa2-c1-39110 (showcase_contributor) with its own invoice INV-QA2-C1-39110, contact set by admin. Driver /tmp/qa2/P0A/scripts/qcm.mjs.
    Tier 1: @objectstack/objectql engine.test.ts 136/136 + engine-filter-array-lowering 60/60 (engine, mock driver); @objectstack/rest request-schema-gate.conformance 16/16 (route-handler, mocked protocol); @objectstack/dogfood showcase-expand-crud-gate 10/10 (HTTP in-process). Every clause driven live (the engine/route pins stop above the api oracle).

    item clause verdict evidence
    api-backend.query-contract-matrix acc[0] pass 25 variants × 2 spellings (POST /query $-object where + AST array), id-set equality vs local baseline: eq 9, ne 5, gt 6, gte 7, lt 4, lte 5, in 12, not_in 2, between 10, contains 'orth' 1, contains 'ORTH' 0 (case-exact), not_contains 12, starts_with 1, ends_with 2, like 'W%s' 2, like 'orth' 0 (not auto-wrapped), is_null 12, is_not_null 2, icontains 'ORTH' 1, ilike '%INDUSTRIES' 2, is_empty 12, is_not_empty 2, before 5, after 6, and-compound 6 — 25/25 OK both spellings
    api-backend.query-contract-matrix acc[1] pass GET $orderby=name&$top=3&$skip=2 → Fabrikam
    api-backend.query-contract-matrix acc[2] pass ?$select=name,status → every record key set exactly name,status (no id); POST fields ['name','status'] same; POST showcase_invoice fields ['account.name'] → 400 INVALID_FIELD, message names expand
    api-backend.query-contract-matrix acc[3] pass annual_revenue asc and desc, GET $orderby and POST orderBy → FULL-ORDER-MATCH ×4; $orderby=nope_field → 400 INVALID_SORT (GET and POST)
    api-backend.query-contract-matrix acc[4] pass contributor POST /query expand contact → its invoice returned, contact = raw id "1k6bi7Ng…" (not expanded); GET $expand and by-id ?expand= same; admin same query → contact {"name":"张伟"}; contributor direct GET contact → 403; pin showcase-expand-crud-gate 10/10 (HTTP)
    api-backend.query-contract-matrix acc[5] pass POST {status:{$nin:'done'}} → 400 VALIDATION_FAILED fields[0].field query.where.status.$nin "Operator "$nin" on field "status" requires an array of values…"; AST ['status','not_in','done'] → 400 VALIDATION_FAILED fields[0].field query.where naming $nin/status/ARRAY; GET $filter twin → 400 INVALID_FILTER; no rows
    api-backend.query-contract-matrix acc[6] pass ?$pageSize=5 → 400 UNSUPPORTED_QUERY_PARAM listing "$top, $skip, $orderby, $select, $count, $search, $searchFields, $filter, $expand"; ?not_a_field=x → 400 INVALID_FIELD; where {not_a_field} → 400 INVALID_FIELD
    api-backend.query-contract-matrix acc[7] pass {status:{$in:[]}} → 200 0 rows; {status:{$nin:[]}} → 200 14 of 14
    api-backend.query-contract-matrix acc[8] pass 22 op variants (+ 3 boundary spellings) recorded above; params: $top/$skip (acc[1]), $select (acc[2]), $orderby (acc[3]), $count=true → 200 2 rows total 14, $search=Northwind → Northwind, $filter JSON {status:churned} → Umbrella Health
    api-backend.query-contract-matrix neg[0] pass {limit:'ten'} → 400 VALIDATION_FAILED fields query.limit; {not_a_query_key:{…}} → 400 INVALID_FIELD; neither returned rows
    api-backend.query-contract-matrix neg[1] pass GET ?$select= / %20 / , / ?select= / ?fields= → 400 VALIDATION_ERROR "Query parameter '<spelling>' names no field"; ?$top=2&$count=maybe, ?$count=1, ?count= → 400 VALIDATION_ERROR "must be true or false"; POST {fields:[]} → 400 VALIDATION_FAILED fields[0] query.fields; {select:''} → 400 query.select; {limit:2,count:'maybe'} → 400 VALIDATION_FAILED; by-id ?select= → 400 VALIDATION_ERROR naming select
    Notes: infix [cond,'and',cond] → 400 VALIDATION_FAILED (as steps[1] says). $filter takes JSON only — a non-JSON $filter answers 400 INVALID_FILTER "must be valid JSON … would have returned the unfiltered result set" (good, no widening). Probe (rule 8): 3 min · $filter OData-style string (400, not widened), unknown/empty by-id ids (404), $count=1 (400) · found nothing.

    api-backend.packaged-action-disabled-dispatch · rev 13 · T1+live · PASS (clauses 10/0/0/0)

    env: showcase @b914e724, os dev --seed-admin --no-compile --no-watch --log-level info -p 41175 (OS_PORT exported), fresh file:/tmp/qa2/P0A/db/pa.db, banner MCP: http://localhost:41175/api/v1/mcp; cold restart = process group stopped (port free), second boot on the same file. Unentitled member qa2-pa-m-* (baseline only). MCP over POST /api/v1/mcp with the admin's Bearer session token.
    Tier 1: @objectstack/dogfood packaged-activation-ledger-reach 11/11 + packaged-action-disabled-dispatch-live 8/8 (HTTP, MCP composed, cold boot on a kept file); @objectstack/runtime action-activation-dispatch 12/12 (UNIT, stubbed engine — dispatcher internals only). Every api leg driven live.

    item clause verdict evidence
    api-backend.packaged-action-disabled-dispatch acc[0] pass flip 200; ledger row usPqOyDw… metadata_type action, name showcase_mark_done, package_id com.example.showcase, active false, KEY SET without organization_id; POST /actions/showcase_task/showcase_mark_done {recordId:no-such-record-0000} and {recordId:<real task>} → 409 {"code":"ACTION_DISABLED","message":"This action is turned off for this deployment. An administrator can turn it on again under Setup › Packaged Actions, or you can use another action."}; real task re-read done false / progress 0 / updated_at unchanged, 0 tasks updated
    api-backend.packaged-action-disabled-dispatch acc[1] pass param gallery disabled, params {bogus_key:1} + bogus recordId → 409 ACTION_DISABLED; re-enabled identical request → 400 VALIDATION_ERROR "Invalid action params: Action param "p_text" is required; Unknown action param "bogus_key"…"
    api-backend.packaged-action-disabled-dispatch acc[2] pass every disabled 409 had the nonexistent recordId in play with no read/side effect; corroboration: enabled gallery with valid params + same bogus id → 404 RECORD_NOT_FOUND
    api-backend.packaged-action-disabled-dispatch acc[3] pass member on showcase_zoo_perm_missing enabled → 403 PERMISSION_DENIED "requires capability [showcase.restricted_ops]…"; disabled → 403, bodies byte-identical (true); admin likewise 403 both ways (nobody holds the capability)
    api-backend.packaged-action-disabled-dispatch acc[4] pass MCP tools/call run_action {actionName:showcase_portfolio_snapshot}: enabled → ok {accounts 14, projects 5, invoices 12}; disabled (flip on /actions/_activation/global/…) → isError, {"error":{"code":"ACTION_DISABLED","message":<same sentence as REST>,"status":409}}; re-enabled → runs ok
    api-backend.packaged-action-disabled-dispatch acc[5] pass log [ObjectQLPlugin] Activation ledger: 2 packaged action(s) are switched off … 'showcase_bulk_reassign', 'showcase_mark_done'; post-restart mark_done → 409 ACTION_DISABLED; re-enable 200 → dispatch 200 (task done true, progress 100); ledger still 1 row, same id usPqOyDw…, active true
    api-backend.packaged-action-disabled-dispatch acc[6] pass showcase_bulk_reassign disabled → POST /actions/showcase_task/showcase_bulk_reassign → 409 body.error.code ACTION_DISABLED, turned-off sentence; showcase_reassign_wizard runs [] before = after, no flow ledger row for the wizard; still 409 after restart
    api-backend.packaged-action-disabled-dispatch neg[0] pass no 400/handler/record answer for any disabled action (acc[0]–[2], [6])
    api-backend.packaged-action-disabled-dispatch neg[1] pass unentitled member got 403 (not 409) while disabled; stock boot: 0 ledger rows and the gallery's bogus bag answered 400 (absence = active, no ACTION_DISABLED)
    api-backend.packaged-action-disabled-dispatch neg[2] pass anonymous POST /actions/showcase_task/showcase_mark_done → 401 UNAUTHENTICATED
    Notes: #33725 (declared-gated action on an AI door → elicitation) landed since a557fa3 but is spec-contract only ("本 PR 不改任何运行时或 MCP 行为"); showcase_portfolio_snapshot's MCP run_action behaved as before. Runner self-check: my probe of the activation door with an EMPTY body re-enabled mark_done (documented legacy default enabled:true), so mark_done was re-disabled (200) before the restart leg. Probe (rule 8): 4 min · unknown action flip (404 RESOURCE_NOT_FOUND "has no declaration — there is nothing to switch off"), wrong object segment (404), enabled:"no" (400 VALIDATION_FAILED), empty body {} (200 enabled:true — legacy default), member flip (403 manage_metadata), admin ledger create (405), MCP action key (-32602 did-you-mean actionName) · found nothing.

    access-security.rls-both-sides · rev 11 · T1+live · PARTIAL (clauses 8/0/1/0)

    env: live leg on 41174 stock single boot (file:/tmp/qa2/P0A/db/seed.db); members A = qa2-a-251110, B = qa2-b-251110 @verify.test (admin create-user + change-password; baseline showcase_member_default only). verify leg: objectstack verify --rls in the scratch copy /tmp/qa2/P0A/ws/examples/app-X (in-process stack), exit 0 (✓ verify passed — no runtime failures).
    Tier 1: @objectstack/dogfood showcase-private-owd 8/8 (HTTP in-process; first batched run was OOM-killed by the memory cgroup — environment event, re-run alone green); verify --rls over the showcase (acceptance[4]).

    item clause verdict evidence
    access-security.rls-both-sides acc[0] pass A list = "A note 2 251110
    access-security.rls-both-sides acc[1] pass A GET B's note by id → 404 {"code":"RECORD_NOT_FOUND"} (not-found-shaped denial)
    access-security.rls-both-sides acc[2] pass A PATCH B's note {body:"forged"} → 404 RECORD_NOT_FOUND; admin re-read byte-identical (body "original B body")
    access-security.rls-both-sides acc[3] pass admin GET list carries all 3 ids created in the run (A×2, B×1)
    access-security.rls-both-sides acc[4] pass verify --rls: 21 PROVEN (21 consistent, 0 HOLES) · 3 NOT PROVEN (0 member-visible, 0 probe-blocked, 3 skipped); all-personas 38 PROVEN (38 consistent, 0 HOLES), 10 of 10 positions probed; adopted-row proofs: showcase_account and showcase_invoice ([target adopted from existing rows — admin create failed (400)]); 0 rls-hole
    access-security.rls-both-sides acc[5] blocked skip-explanation half passes — the 3 skips each carry a benign detail: showcase_project_membership "no plain-text probe field", showcase_ext_customer / showcase_ext_order "external read-only object (federated datasource "showcase_external"; no inserts)"; the D11 spot-check is blocked{dependency, knownGaps[0] / #22017 row 11} (needs the maintainer-held private write-up)
    access-security.rls-both-sides neg[0] pass forged PATCH 404 and row byte-identical (acc[2]); updateMany 207 RECORD_NOT_FOUND / deleteMany 207 PERMISSION_DENIED probes left it identical too
    access-security.rls-both-sides neg[1] pass the private-handle verdict is recorded once, here (acc[5]); owd-sharing-matrix acc[4] cross-references it
    access-security.rls-both-sides neg[2] pass this record names this item and clause, never the bare handle
    Notes: verify CRUD half 15 verified, 0 gaps, 0 FAILED, 1 needs-fixture (showcase_account: app validation rejected the auto-record), 8 skipped (0 mismatches). Probe (rule 8): 3 min · as A on B's note: DELETE (403, same as DELETE of an unknown id → no existence oracle), deleteMany (207 per-row PERMISSION_DENIED), updateMany (207 RECORD_NOT_FOUND), POST /query where id = B (0 rows), $search on B's body text (0 rows), GET unknown / blank id (404) · found nothing.

    access-security.owd-sharing-matrix · rev 9 · T1+live · PASS (clauses 9/0/0/0)

    env: 41174 boot as above. Personas (admin create-user + change-password): A / B baseline; C1 / C2 = qa2-c1/c2-251110 (showcase_contributor); OPS (showcase_ops); AUD (showcase_auditor) — sets granted by admin POST /data/sys_user_permission_set (201 each).
    Tier 1: @objectstack/dogfood showcase-private-owd 8/8, showcase-public-read-owd 4/4, showcase-invoice-line-contributor-pair 5/5, showcase-crud-persona-matrix 49/49, controlled-by-parent 4/4, showcase-invoice-cbp 4/4 (HTTP in-process; cbp files the engine derivation beneath). Every clause driven live.

    item clause verdict evidence
    access-security.owd-sharing-matrix acc[0] pass private: B list excludes A's notes; B GET A's note 404, B PATCH 404, admin re-read unchanged; A own GET 200, own PATCH 200 (re-read body "own edit")
    access-security.owd-sharing-matrix acc[1] pass public_read: B list carries admin's announcement and GET by id 200; B PATCH → 403 PERMISSION_DENIED, admin re-read unchanged
    access-security.owd-sharing-matrix acc[2] pass OPS PATCH the same announcement → 200, re-read "QA2 ann 251110 ops-edited"
    access-security.owd-sharing-matrix acc[3] pass public_read_write: admin project (owner null); C1 GET 200 + PATCH name 200 (re-read "… c1"); A identical PATCH → 403 PERMISSION_DENIED, name unchanged
    access-security.owd-sharing-matrix acc[4] pass cbp: C1 invoice (owner C1 email) 201 + line 201; C2 list excludes the line, GET by id 404, PATCH 404, admin re-read unchanged; C1 list carries it, GET 200, PATCH quantity 2 → 200 re-read 2. D11 verdict cross-referenced to access-security.rls-both-sides acc[5] (not double-counted)
    access-security.owd-sharing-matrix acc[5] pass AUD list carries C1's line and GET by id 200 (viewAllRecords across the derived scope)
    access-security.owd-sharing-matrix acc[6] pass all four models driven with per-persona verbs: private (A/B), public_read (B/OPS), public_read_write (C1/A), controlled_by_parent (C1/C2/AUD)
    access-security.owd-sharing-matrix neg[0] pass B's forged direct PATCH on the public_read announcement → 403, row unchanged
    access-security.owd-sharing-matrix neg[1] pass C1 ran the same line probes (list/by-id/PATCH) → all 2xx, so C2's denials are derivation, not a broken route
    Notes: probe (rule 8): 3 min · C1 invoice create with owner absent / owner = C2 (403 "not allowed to save this record with the values you entered", invoice_owner_on_create), C2 line create on C1's invoice (403 "insert … requires edit access to its master record"), AUD foreign note/invoice/inquiry reads (200, VAR), C2 contrast on the same three (404, list excludes) · found nothing.

    platform-core.v18-boot-refusals · rev 9 · T1+live · PASS (clauses 5/0/0/0)

    env: scratch copy /tmp/qa2/P0A/ws/examples/app-V (WS layout). v17-shaped copies by route (b): copies c1–c6 of this release's own showcase file DB (/tmp/qa2/P0A/db/seed.db, booted at b914e72, server stopped), each planted with DELETE FROM sys_migration WHERE id='adr-0131-organization-ownership' (1 row) + ALTER TABLE sys_metadata_activation ADD COLUMN organization_id TEXT, WAL checkpointed. Snapshots via better-sqlite3 (every table, every row, columns per table). Security rig: /tmp/qa2/P0A/ws/examples/app-sec, config plugins:[new SecurityPlugin()], one object qa2sec_note sharingModel private.
    Tier 1: @objectstack/runtime organization-ownership-boot-guard.test.ts 30/30 + organization-ownership-boot-guard.kernel.test.ts 12/12 (unit / kernel); @objectstack/plugin-security authz-identity-objects-boot-refusal.test.ts 3/3 (plugin unit), all at b914e72.

    item clause verdict evidence
    platform-core.v18-boot-refusals acc[0] pass runtime 2 files 42 passed / 0 failed; plugin-security 1 file 3 passed / 0 failed
    platform-core.v18-boot-refusals acc[1] pass OS_DATABASE_URL=file:c1.db OS_AUTH_SECRET=… objectstack serve --port 41179 → EXIT=1, ✗ This database carries no organization-ownership marker: 17.x or an 18.0 pre-release (18.0.0-next.*) created it, … sys_metadata_activation still carries a physical organization_id column … Run 'os migrate organization-ownership --out PLAN' …, then run 'os migrate organization-ownership --apply --plan-file PLAN --backup-taken --out REPORT', and start again.; 0 listening/ready lines; 0 hits 17.x release / fresh installs only. objectstack serve --dev on c2 → EXIT=1, same refusal spelled os migrate organization-ownership --dev --out PLAN / --dev --apply --plan-file PLAN --backup-taken
    platform-core.v18-boot-refusals acc[2] pass c1 before/after the refused production serve: 116 pre-existing tables, 514 rows before = 514 after, row/value diff 0; 10 created tables all 0 rows (sys_metadata_audit, sys_audit_log, sys_activity__r20261115, sys_automation_run, sys_flow_dispatch, sys_sync_run, sys_job_run, sys_notification, sys_notification_delivery, sys_http_delivery); marker rows 0. c2 (serve --dev): 116/514 → 0 diffs, 0 created, marker 0
    platform-core.v18-boot-refusals acc[3] pass LIVE rig objectstack serve --dev --no-server --preset minimal → EXIT=1, ✗ SecurityPlugin cannot boot: its authorization store reads sys_user, sys_member, and this kernel does not register sys_user, sys_member. … mount AuthPlugin, or, on a kernel without authentication such as a test kit, mount createIdentityObjectsPlugin() from @objectstack/plugin-auth.; no listening line; pin green too
    platform-core.v18-boot-refusals neg[0] pass production and serve --dev both refused before listening, 0 row diff, no marker written — no serve, no half-migration
    Notes: checklist-accuracy (repeat): acceptance[1] names os dev as a development boot whose refusal carries --dev; under os dev the refusal is caught and the ceremony auto-runs (probe below), so only os serve --dev shows the operator-facing --dev text. Route (a) (npm 17.7.0 scaffold) not attempted; route (b) used. Probe (rule 8): 3 min · os dev -d file:c5.db (third development boot shape) → ⟳ The organization-ownership boot guard refused this development database (the refusal above), so os dev upgrades it in place, keeping a copy first… → ✓ Upgraded … copied to /tmp/qa2/P0A/v18/backups/organization-ownership-2026-11-15T13-12-48-140Z, health 200 (designed ADR-0131 D10 dev exception); production os serve without OS_AUTH_SECRET (c6) → ✗ This stack enables auth, but no auth secret is set… EXIT=1 · found nothing.
  2. objectstack-fleet commented on Nov 15, 2026

    @objectstack-fleet
    ContributorAuthor

    qa#3 · os-tesla · session_01L9qibzj9DrVWXkq7joYHGB

    R2-P0 · per-clause verdicts 2/2 · b914e72

    Group P0A (continued)

    cli.organization-ownership-ceremony · rev 11 · T1+live · PASS (clauses 7/0/0/0)

    item clause verdict evidence
    cli.organization-ownership-ceremony acc[0] pass pins at b914e72, --maxWorkers=1 --reporter=verbose: @objectstack/cli 8 files / 190 tests, 0 failed (apply-gate 5, comment-reactions 7, apply-flags 7, dialect 19, occupancy 5, generation-1 23, apply 117, host-supplement 7); @objectstack/runtime boot-guard 30 + boot-guard.kernel 12, 0 failed (pins/summary.txt)
    cli.organization-ownership-ceremony acc[1] pass c1 (planted copy of this release's showcase DB, after one refused production os serve with OS_AUTH_SECRET set): bare plan EXIT=0 ✓ Plan written … no row or table in the database was changed, plan kind organization-ownership-plan, ceremony ADR-0131 D10, inventoryDigest 650f0635201f8209, 153 table fates; sha 12375c756d314af9 before = after; --apply with no --plan-file EXIT=1 ✗ Refused: --apply executes only a plan you reviewed…, --json twin {"error":"apply_refused","reason":"plan-file-required",…} EXIT=1, sha unchanged. --dev leg (n5b fresh restore, after a refused serve --dev): plan EXIT=0, primary sha d986283952196453 = after, telemetry sibling 11 tables / 162 rows before = after, row/value diff 0
    cli.organization-ownership-ceremony acc[2] pass --apply --plan-file plan.json --backup-taken --out apply.json --json EXIT=0, complete true, blocking 0, 13/13 steps done; marker adr-0131-organization-ownership verified_at 2026-11-15T13:14:01.315Z, blocking 0, details.checkpoint.shapeGeneration 1 = ORGANIZATION_OWNERSHIP_SHAPE_GENERATION (packages/spec/src/system/migration.zod.ts:215)
    cli.organization-ownership-ceremony acc[3] pass migrated c1 under os serve → ✓ Server is ready, health 200, admin sign-in 200; unmigrated c4 production serve EXIT=1, 0 listening lines, refusal opens "This database carries no organization-ownership marker", names os migrate organization-ownership --out PLAN, 0 hits 17.x release, 116 tables / 514 rows diff 0; c2 serve --dev refusal names --dev --out PLAN / --dev --apply …
    cli.organization-ownership-ceremony acc[4] pass c3: comment-reactions --apply --yes ×2 EXIT=0 both (sys_comment: 0 scanned, 0 with stored reactions, ✓ Converted 0 reaction(s)… recorded as verified, marker sys-comment-reactions-to-records verified 13:14:35.285Z); then os migrate apply --allow-destructive --yes --json EXIT=1, message refused_organization_ownership_unmigrated, tables ["sys_metadata_activation"], applied [], "No run of the organization-ownership ceremony is recorded on this database."; sha d22ed75de8d2a042 = after, organization_id column still present
    cli.organization-ownership-ceremony acc[5] pass 18.0.0-next.5 restore (820fd5a, token re-dated, all legs --dev): serve --dev EXIT=1 naming sys_flow_credential, sys_secret, 0 listening, primary 98 tables / 219 rows diff 0, telemetry 9 / 162 diff 0; apply EXIT=0 complete true blocking 0 (sibling-moves moved 10, jobsRewritten 2, activityRepointed 14; mirrorsDeleted 1; column-drops 2); 2nd serve ✓ Server is ready. After: both identity mails in sys_identity_email under original ids (24 common cols equal bar updated_at/attempt_count from the retry worker), invitations stay in sys_email; 8/8 global audits in sys_platform_setting_audit; on n5b post-apply/pre-boot the 2 identity jobs carry payload/metadata object sys_identity_email + key sys_identity_email:<id>, the 2 invitation jobs byte-identical; reset token from the moved mail → 200 {"status":true}, new password sign-in 200; PATCH task → telemetry sys_http_delivery 0→1 ref_id declared:com.example.showcase/showcase_task_changed
    cli.organization-ownership-ceremony neg[0] pass every refusing arm (production serve, serve --dev, apply without plan-file text + json, drop-gate apply) and every bare plan left the primary checksum (or, after WAL/refused boots, per-table rows) unchanged and the telemetry sibling's rows unchanged; 0 half-migrations
    Notes: deviations — the v17-shaped copies are route (b) planted copies of this release's showcase DB (no 17.x showcase is published), as the item's fixtures allow; the cli-18-prerelease-db restore did not re-date the reset token by itself, so recipe step 3 (UPDATE sys_verification) was run by hand (1 change). Checklist accuracy (repeat): acceptance[5]'s "count after equals count before less what moved" does not admit this release's seed additions on the second boot (invoice_line 5→10, sys_user_position 5→10, sys_metadata_activation 0→1, sys_migration 4→6, sys_oauth_resource 1→2 — new rows, no losses) — suggest "no row disappears except as the report moves/deletes it"; drops matched the report exactly (sys_email 4→2, sys_setting_audit 9→1, sys_webhook 1→0). cli-18-prerelease-db knownGaps[4] stale (shard re-dated to sys_activity__r20261114). Probe (rule 8): 6 min · --json vs text refusal of a plan-less apply (literal only in json, as documented), production serve with no OS_AUTH_SECRET (refused before boot), wrong-password sign-ins on the migrated n5 (401), second comment-reactions run idempotent — no defect.

    cli.dev-boot-contract · rev 10 · T2 · PASS (clauses 12/0/0/0)

    item clause verdict evidence
    cli.dev-boot-contract acc[0] pass scratch copy ws/examples/app-D: objectstack dev --ui --seed-admin -p 41174 -d file:/tmp/qa2/P0A/db/dev1.db (default compile, ✓ Build complete (1432ms)) → health 200 after ~19 s; /api/v1/ready {"success":true,"data":{"status":"ready","state":"running","seed":"settled"&#125;&#125;; boot printed 🎯 Environment ID: env_local / 📦 Artifact: dist/objectstack.json / 🗄️ Database: file:/tmp/qa2/P0A/db/dev1.db
    cli.dev-boot-contract acc[1] pass boot 1 sign-in admin@objectos.ai/admin123 → 200 (createdAt 13:19:41.014Z); restart SAME cmd + DB with --admin-password changed99 → admin123 200 (same createdAt 13:19:41.014Z), changed99 401 INVALID_EMAIL_OR_PASSWORD — seed did not overwrite
    cli.dev-boot-contract acc[2] pass Database line per tier: -d file:…/dev1.db → file:/tmp/qa2/P0A/db/dev1.db; -d :memory: → :memory: (ready 200); OS_DATABASE_URL=file:…/devenv.db → file:/tmp/qa2/P0A/db/devenv.db; config-declared (app-C, qa_home sqlite + datasourceMapping default) → file:/tmp/qa2/P0A/ws/examples/app-C/.objectstack/data/qa_home.db, no objectstack.db created; legacy dev.db (app-L) → file:…/app-L/.objectstack/data/dev.db + notice; nothing chosen, OS_HOME unset → file:/tmp/qa2/P0A/ws/examples/app-D/.objectstack/data/objectstack.db
    cli.dev-boot-contract acc[3] pass --fresh → 🧪 Fresh OS_HOME: /tmp/objectstack-dev-1VQGwp, 🗄️ Database: file:/tmp/objectstack-dev-1VQGwp/data/objectstack.db; dir present during run, ls → No such file after SIGINT (EXIT=130); 2nd run /tmp/objectstack-dev-CBwR3G gone after SIGTERM to the os dev pid (EXIT=143). The project's .objectstack/data/showcase_external.db survives — the documented #5594 cwd-relative carve-out, not a bug
    cli.dev-boot-contract acc[4] pass A on 41174 (dev3), B requested 41174 → ↪ server bound to port 41175 (requested 41174), its URL lines print http://localhost:41175/; GET :41175/api/v1/health 200 version 18.5.0
    cli.dev-boot-contract acc[5] pass touched src/security/capabilities.ts, --no-compile boot → ⚠ dist/objectstack.json is OLDER than your sources — this boot serves the STALE build. / newest source: src/security/capabilities.ts (27s newer than the artifact) / fix: run \objectstack build` or start with `--compile`, …`; server still came up (health 200)
    cli.dev-boot-contract acc[6] pass /tmp/qa2/P0A/noconf (empty dir): os dev -p 41174 → EXIT=1, stdout ✗ Config file not found in /tmp/qa2/P0A/noconf, stderr `Run in a directory with objectstack.config.ts, pass --artifact <path
    cli.dev-boot-contract acc[7] pass console built in this tree: GET /_console/ 200 text/html; Playwright screenshot (/tmp/qa2/P0A/console-dev1.png, taken before any DOM read) shows the ObjectOS "Welcome back" sign-in page at /_console/login with "Sign in as dev admin"
    cli.dev-boot-contract neg[0] pass nothing-chosen boot wrote account 83USdny5vRqSBI0Q (201); SIGINT EXIT=0; same nothing-chosen reboot → same Database line, GET by id 200 with created_at 13:22:14.646Z — persistent, not wiped
    cli.dev-boot-contract neg[1] pass --database-driver memory → EXIT=2, oclif Expected --database-driver=memory to be one of: sqlite, sqlite-wasm, postgres, mysql, mongodb, turso; OS_DATABASE_DRIVER=memory / mingo / in-memory → EXIT=1 each, 0 Database lines, refusal names --fresh and :memory:; -d memory:// / -d mingo:// → EXIT=1 after the parent's 🗄️ Database: memory:// line, ✗ … selects the in-memory (mingo) engine, which is no longer a boot store … os dev --fresh …; 0 ready lines in all 6
    cli.dev-boot-contract neg[2] pass app-L with only .objectstack/data/dev.db (planted copy carrying account 83USdny5vRqSBI0Q): one ⚠ Reading legacy database file …/dev.db — dev, start and migrate now share one default, …/objectstack.db; migrate with: mv … line, Database = dev.db, no objectstack.db created, GET 83USdny5vRqSBI0Q 200
    cli.dev-boot-contract neg[3] pass B's API/Console URL lines name 41175 and the ↪ line names both ports; lsof shows B on *:41175, A on *:41174
    Notes: exit codes (steps[8]) — plain os dev SIGINT → 0 on all 9 plain runs (dev2, dev3, devb, dev6, dev6b, devenv, devmem, devleg, devcfg); --fresh SIGINT 130, SIGTERM to the os dev pid 143; no-config 1. Runner: os dev runs wrapped (scripts/devrun.sh) to read the os dev pid's own exit code. Scratch copies app-D/app-L/app-C only, shared tree untouched; the steps[9] fixture is the qa_home datasource + datasourceMapping in app-C. Probe (rule 8): 4 min · -p 99999 and -p -5 → EXIT=1 ✗ Invalid port: --port "…"; --fresh with -d file:… → explicit DB wins (Database: file:/tmp/qa2/P0A/db/probe.db) beside a Fresh OS_HOME tempdir, and the tempdir was removed on SIGTERM; -d '' → treated as nothing chosen (unified objectstack.db default line), no defect.

    Group P0B

    P0B · R2-P0 · b914e72 (v18.5.0) · env: ports 41182–41191, own file DBs /tmp/qa2/P0B/db/<item>.db, OS_STORAGE_LOCAL_ROOT per item, tree boots objectstack dev --ui --seed-admin --no-compile --no-watch (setsid, stopped by pgid) · console dist index.html 13:00Z (dispatcher's pnpm console:build) · Playwright chromium (stock chromium.launch()) · started 13:10Z · ports used 41182 (boot-health + console-login + builtin-apps + nav-surfaces cluster), 41183 crud, 41184 approvals, 41185/41186 first-run-loop en/zh, 41187 datasource matrix, 41188 PG fixture, 41190 local Playwright driver · pins: showcase-smoke.spec.ts 50 passed (browser e2e vs live HTTP) · finished 13:58Z · all servers stopped, PG torn down

    platform-core.boot-health · rev 15 · T2 live · PASS (clauses pass/fail/blocked/skipped = 8/0/0/0)

    item clause verdict evidence
    platform-core.boot-health acc[0] pass LIVE HTTP, tree boot OS_PORT=41182 OS_STORAGE_LOCAL_ROOT=… objectstack dev --ui --seed-admin -p 41182 -d file:/tmp/qa2/P0B/db/boot-health.db --no-compile --no-watch: GET /api/v1/health → 200 at 13.4 s from spawn, body {"status":"ok",…,"version":"18.5.0"}
    platform-core.boot-health acc[1] pass GET /api/v1/ready → 200 {"success":true,"data":{"status":"ready","state":"running","seed":"settled"&#125;&#125;
    platform-core.boot-health acc[2] pass boot log frozen at Press Ctrl+C to stop (52 lines, only health polls issued before): Flows: 33 flow(s) 18 bound to triggers … · 8 draft + 2× ℹ 1 flow declares a 'time_relative'/'schedule' trigger but is NOT bound — disabled by deployment policy (ℹ, deployment-policy class); 0 ⚠ lines, 0 /error/i lines; Boot diagnostics 4 informational WARN (print engine, settings pre-bind read, approvals base URL, BU sharing rule no recipients) — none of the 4 misauthored classes
    platform-core.boot-health acc[3] pass admin GET /api/v1/meta/app?id=showcase_app → 200, top-level keys [type, items], item keys name,label,icon,branding,active,isDefault,navigation,_packageId,_packageVersion,_provenance,_diagnostics
    platform-core.boot-health acc[4] pass served grp_data children (12) showcase_project,task,account,contact,invoice,expense_report,product,team,category,business_unit,field_zoo,cascade = the 12 object entries of src/ui/apps/index.ts grp_data (lines 50–65) — diff empty
    platform-core.boot-health acc[5] pass GET /_console/ → 200 text/html; charset=utf-8
    platform-core.boot-health neg[0] pass Seeds: com.example.showcase 141 rows (no ⚠, no ok/errors, no lost links); 0 SeedLoader/Seeder lines
    platform-core.boot-health neg[1] pass 0 ERROR lines in the boot window (spawn → banner last line; first non-health request issued after it)
    Notes: version reads 18.5.0 on /api/v1/health, /api/v1 discovery root. Seed 141 rows (item's 138 is illustrative). Probe (rule 8, 2 min): doors /api/v1/meta/app?id= (empty / package id / unknown / anonymous), POST /health, HEAD /ready, /ready?x=1, /health/ (trailing slash), deep /_console route · classes empty string, unknown id, opposite method, no session · findings: none (empty id → 400 VALIDATION_ERROR "names no app"; package id/unknown → 200 empty items as documented; anon → 401; POST health 405; HEAD ready 200; deep route 200 SPA shell). Observation only: /api/v1/health/ (trailing slash) → 404 while /api/v1/health → 200 — strict routing, not a clause.

    platform-core.console-login · rev 5 · T2 browser · PASS (clauses pass/fail/blocked/skipped = 7/0/0/0)

    item clause verdict evidence
    platform-core.console-login acc[0] pass :41182 (boot-health boot, same DB) · /_console/ → /_console/login (inputs login-email/login-password); Playwright fill + role=button "Sign In" → POST /api/v1/auth/sign-in/email 200 with set-auth-token + set-cookie better-auth.session_token; landed /_console/home; screenshot: header + "Get your system ready" card + "Your apps 1" (Showcase tile) + My work, no sidebar (header 1, sidebar 0 — by design)
    platform-core.console-login acc[1] pass reload stays /_console/home; first authed calls after reload: runtime/config 200 · auth/get-session 200 · discovery 200 · auth/me/permissions 200 · auth/config 200; in-page bearer GET /api/v1/meta/app?id=showcase_app → 200 items[0].name "showcase_app"
    platform-core.console-login acc[2] pass POST /api/v1/auth/sign-out (bearer) → 200 {"success":true}; same bearer GET /meta/app?id=showcase_app → 401 {"error":"UNAUTHENTICATED",…}; /auth/get-session → 401 "Sign in first"; /data/showcase_task?top=1 → 401
    platform-core.console-login acc[3] pass leg (a) in-app click on Home's Showcase tile (role=link) → meta/object, meta/app/showcase_app/bundle, meta/view, data/sys_user_preference 401 → /_console/login?redirect=%2Fapps%2Fcom.example.showcase, screenshot = login form, header 0 / sidebar 0; leg (b) on a fresh re-signed session at /apps/com.example.showcase/showcase_task, server sign-out 200, reload → get-session 401 → /_console/login?redirect=%2Fapps%2Fcom.example.showcase%2Fshowcase_task, login form, no shell
    platform-core.console-login acc[4] pass re-sign-in on leg-(b) redirect login → 200 → landed /_console/apps/com.example.showcase/showcase_task (same route), ‹main› "Tasks / All Tasks · 10 …"; get-session 200, meta/app?id=showcase_app 200, POST /data/showcase_category 201 id S_iQJGLN9MY8j7si (leg-(a) re-auth landed the redirect app's capability map)
    platform-core.console-login neg[0] pass fresh context, wrong password → 401 {"message":"Invalid email or password","code":"INVALID_EMAIL_OR_PASSWORD"}; no set-cookie, no set-auth-token header; ctx.cookies() [], localStorage auth-session-token null; role=alert "Invalid email or password. After several failed attempts, sign-in is paused for a while…"; stays /_console/login
    platform-core.console-login neg[1] pass neither leg kept a shell after the server-side sign-out (both legs header 0 / sidebar 0, login form, data calls 401); 0 pageerror
    Notes: run 13:15–13:17Z. #32138-shaped split did not reproduce. Probe (rule 8, 2 min): POST /auth/sign-in/email boundary bodies + revoked-bearer mutation + repeat sign-out · classes empty email, missing password key, empty password, unknown email, case-variant email, 127.0.0.1 Origin, revoked token · findings: none (empty email 400 INVALID_EMAIL; missing password 400 VALIDATION_ERROR; empty password / unknown email 401 INVALID_EMAIL_OR_PASSWORD; upper-case email 200 (case-insensitive); 127.0.0.1 origin 403 INVALID_ORIGIN; revoked bearer POST /data/showcase_category 401 and filtered count 0; second sign-out 200 idempotent).

    platform-core.builtin-apps-nav-render · rev 14 · T2 browser · PASS (clauses pass/fail/blocked/skipped = 11/0/0/0)

    item clause verdict evidence
    platform-core.builtin-apps-nav-render acc[0] pass :41182, admin, 1500 px (sidebar unfolded), collapsed groups expanded via button[data-sidebar=group-label][aria-expanded=false]; goto each sidebar href, settle past splash, screenshot first, then DOM: Setup 48/48 + Account 8/8 real surfaces, 0 pageerror, 0 blank ‹main›, 0 splash, 0 'no actions configured', 0 ErrorBoundary; 11 settings namespaces render their forms (e.g. Mail Delivery: Provider SMTP / Host / Port 587 / Use TLS / Username / Password); admin user page Preferences tab "Preferences 1 · ui.recent" (GET /data/sys_user_preference 200), Linked Accounts 1 (GET /data/sys_account 200); auditor user page tabs render too (Linked Accounts 1, Preferences 0). Browse Marketplace = named "Failed to load marketplace · The marketplace catalog could not be reached. · More · Retry" (GET /api/v1/marketplace/packages 502) → surface honest, catalog content blocked(environment) per knownGap[2]
    platform-core.builtin-apps-nav-render acc[1] pass GET /api/v1/meta/app → [showcase_app, setup, account]; ?id=setup requiredPermissions [setup.access], 9 groups group_overview…group_advanced(expanded:false) = setup.app.ts anchors, 48 leaves (SETUP_NAV_CONTRIBUTIONS + capability-plugin entries: marketplace ×2, position holders, PS assignment, sharing rules, record shares, queues, approvals ×4, webhooks, http deliveries, datasources, connector credentials/connections, cloud connection, branding, audit log …); ?id=account hidden:true, Profile + grp_account_inbox / ai_assistant / security / developer(collapsed), 8 leaves; ?id=studio → 200 {"type":"app","items":[]} (expected, knownGap[1]); sidebar hrefs 48 + 8 = served, no 'All reports' row
    platform-core.builtin-apps-nav-render acc[2] pass member Mei (phone.demo@example.com / showcase123) sign-in 200, landed showcase capability map; /_console/apps/setup and /apps/com.objectstack.setup → GET /meta/app/setup (resp. /com.objectstack.setup) 403 → "You don't have access to this app · This app exists, but your account is not authorized to open it… Back to home" (header 0, sidebar 0 — named, not blank); /_console/apps/com.objectstack.account → Profile with header + sidebar (Inbox / AI Assistant / Security …), meta/app/account/bundle 200
    platform-core.builtin-apps-nav-render acc[3] pass member GET /api/v1/meta/app?id=setup → 200 {"type":"app","items":[]}; list → showcase_app,account; GET /api/v1/meta/app/setup → 403 PERMISSION_DENIED; /meta/app/setup/bundle → 403
    platform-core.builtin-apps-nav-render acc[4] pass member ?id=setup empty items → nav_api_keys and the manage_platform_settings settings URLs unreachable; CONTROL only: admin vs member account nav 8 vs 8 identical ids; member's served account+showcase payloads carry 0 'manage_platform_settings' and 0 nav_api_keys strings
    platform-core.builtin-apps-nav-render acc[5] pass admin payload: nav_organizations (requiresService org-scoping) ABSENT single-org; nav_business_units (requiresObject sys_business_unit) PRESENT and renders "Business Units / Org Chart"; nav_account_memberships (org-scoping) ABSENT in both personas' account nav
    platform-core.builtin-apps-nav-render acc[6] pass nav_sso_providers absent (OS_SSO not wired, knownGap[0]); nav_jwks / sys_jwks absent; no sys_verification / sys_device_code entry; every rendered sidebar link maps to a served entry (48+8)
    platform-core.builtin-apps-nav-render neg[0] pass 0 blank / placeholder across 56 destinations; the only 'Failed to load' is the named marketplace egress state (knownGap, not a render failure)
    platform-core.builtin-apps-nav-render neg[1] pass member gets no Setup content in UI (access-denied ×4 routes incl. deep sys_api_key and settings/mail) or on the wire (?id=setup empty, /meta/app/setup 403, /bundle 403)
    platform-core.builtin-apps-nav-render neg[2] pass member's served navs (showcase_app 51 entries, account 8) carry no manage_platform_settings-gated entry; Setup not served
    platform-core.builtin-apps-nav-render neg[3] pass member GET /api/settings/{localization,company,branding,auth,access_policy,mail,sms,storage,ai,knowledge,lifecycle} → 403 SETTINGS_FORBIDDEN ×11 (admin /api/settings/mail 200 as control); route /_console/apps/setup/system/settings/mail drew "You don't have access to this app", header 0 / sidebar 0, and issued no /api/settings read (only meta/app + meta/app/setup 403)
    Notes: run 13:18–13:24Z on :41182. Setup 48 / Account 8 unchanged from round 1. #33755 (Users Add/Import on a managed environment): on this unmanaged stock boot the Users list draws "Import" + "Invite User" and renders "Users / All Users · 3". Probe (rule 8, 3 min): member doors ?id=Setup, ?id=com.objectstack.setup, /meta/app/SETUP, /meta/apps?id=setup, /meta/app/studio, /api/settings (index), /api/settings/, /api/settings/nonexistent_ns, /data/sys_api_key, /data/sys_setting, /data/sys_session · classes case variant, package-id spelling, sibling plural door, unknown id, readers outside scope · findings: none (case/package-id → empty items; /meta/app/SETUP and /studio 404; /api/settings → manifests []; unknown namespace 404 UNKNOWN_NAMESPACE (namespace names are public manifest ids); sys_api_key 0 rows; sys_setting 403; sys_session only the member's own 2 rows).

    platform-core.nav-surfaces-render · rev 10 · T1 pin + T2 · PASS (clauses pass/fail/blocked/skipped = 8/0/0/0)

    item clause verdict evidence
    platform-core.nav-surfaces-render acc[0] pass layer: browser e2e vs a live HTTP boot (own :41182, file DB, /_console/ entry assets/index-CnbKsN6g.js) — from a scratch copy (/tmp/qa2/P0B/ws/examples/app-smoke, spec byte-identical to the tree's) SMOKE_API_URL=http://localhost:41182 npx playwright test --config=playwright.config.ts e2e/showcase-smoke.spec.ts → 50 passed (1.8m) 13:24:53–13:26:44Z; the 5 chart:true surfaces green (Delivery Operations 3.2s, Chart Gallery 2.8s, Command Center 2.4s, Revenue Pulse 2.9s, Hours by Status (Chart) 3.0s)
    platform-core.nav-surfaces-render acc[1] pass admin GET /api/v1/meta/app?id=showcase_app → 51 non-group entries = 50 leaves (25 page, 17 object, 3 dashboard, 5 report) + nav_sep_reports; the console's rendered sidebar hrefs (50, groups expanded) vs SURFACES (50, base()+slice() paths): served-not-in-SURFACES [] · SURFACES-not-served [] — nothing to hand-walk
    platform-core.nav-surfaces-render acc[2] pass screenshot: header + full sidebar (50 links) alive; /_console/apps/com.example.showcase/object_that_does_not_exist → GET /api/v1/meta/object/object_that_does_not_exist 404; ‹main› "Object Not Found · The object "object_that_does_not_exist" does not exist in the current configuration… · Back to home"
    platform-core.nav-surfaces-render acc[3] pass none-encountered: suite 50/50 plus 7 probe routes, 0 pageerror, no ErrorBoundary fallback hit
    platform-core.nav-surfaces-render neg[0] pass suite's empty-‹main› assertion green on 50/50
    platform-core.nav-surfaces-render neg[1] pass suite's boot-splash refusal (data-boot-splash marker / English lines) green on 50/50
    platform-core.nav-surfaces-render neg[2] pass bad object route kept shell (header 1, sidebar 1), named state, no white page
    platform-core.nav-surfaces-render neg[3] pass the spec's chart check is the bounded poll (SURFACE_BUDGET_MS = 25_000, spec line 137); all 5 chart surfaces laid out — no chart red to classify
    Notes: pin run from a scratch copy so global-setup's e2e/.auth/state.json and test-results/ landed outside the shared tree. Probe (rule 8, 3 min): bad page / dashboard / report / record-id / view-name routes, unknown app · classes unknown id ×6 · persona admin · findings: none (page → "Page Not Found"; dashboard → "Dashboard Not Found"; report → "Report Not Found"; record NO_SUCH_ID → "Record not found … may not have access"; all in shell; /apps/no_such_app_xyz → full-page named "This app can't be opened … Retry / Back to home"). Observation only: an unknown viewName (showcase_account/view/no_such_view) silently falls back to "All Records · 14" with no notice — not a clause.

    records-forms.crud-roundtrip · rev 19 · T2 browser · PASS (clauses pass/fail/blocked/skipped = 12/0/0/0)

    item clause verdict evidence
    records-forms.crud-roundtrip acc[0] pass :41183 own DB, 1440×900: sidebar Data Model › Accounts → New → Account Name os-qa-p0b1115a, Lifecycle Active, Industry Finance (Radix combobox → role=option), website empty → "Create": POST /api/v1/data/showcase_account body {"industry":"finance","status":"active","sales_region":"amer","name":"os-qa-p0b1115a"} → 201 id WIemykh-l8zdH7NE; landed /showcase_account/record/WIemykh-l8zdH7NE; filtered GET total 1, all 4 submitted keys identical, website null
    records-forms.crud-roundtrip acc[1] pass record header Edit → Annual Revenue 7654321 → "Update": PATCH …/WIemykh-l8zdH7NE body {"annual_revenue":7654321} → 200; full-row GET before vs after (24 keys): only annual_revenue null→7654321 and engine-owned updated_at changed
    records-forms.crud-roundtrip acc[2] pass record header "More actions" (menu Refresh / Add to favorites / Share / Delete) › Delete → confirm "Delete Account (Success Overlay) "os-qa-p0b1115a"?" → DELETE 200 {"success":true,"recycleBinEntryId":"LBXEKcbILU2Mh_VZ"}; filtered GET {"records":[],"total":0}; reloaded list 16 rows, os-qa rows only -华宁 and -clone
    records-forms.crud-roundtrip acc[3] pass at create: back to list + reload, row "os-qa-p0b1115a · Active · Finance · —"; at delete: reload, row absent; display values are option labels, clone row revenue "$7,654,321.00" (screenshots taken)
    records-forms.crud-roundtrip acc[4] pass 1440×900, ?related=timeline + reload: tab row "Overview / Activity 2"; GET /data/sys_audit_log 200; Changes chip aria-pressed=true; lines "Annual Revenue — → $7,654,321.00 · Dev Admin · just now" and "Owner — → Dev Admin; Account Name — → os-qa-p0b1115a; Industry — → Finance; Lifecycle — → Active; Sales Region — → AMER · Dev Admin" — option labels, resolved actor/owner, no raw payload, no value→null rows
    records-forms.crud-roundtrip acc[5] pass form create "os-qa-p0b1115a-华宁" → 201 URbFcJvJHxDFL61W; filtered GET name bytes …2de58d8ee5ae81 = submitted bytes; list search icon (data-testid search-icon-button) typed 华宁 → GET …?search=华宁 200, rows "华宁科技" + "os-qa-p0b1115a-华宁"
    records-forms.crud-roundtrip acc[6] pass admin POST …/WIemykh-l8zdH7NE/clone {overrides:{name:'…-clone'}} → 201 {id dtr0NVtZXr5WXiiP ≠ sourceId, sourceId, record}; only id/created_at/updated_at/name differ. Owner half (substitution per verify: contributor-bound member qa2b.member@example.com via qa-fixture contributor-member clones seeded showcase_field_zoo 4HHuBCszd_cUAhhu, source owner_id = admin Cn1WK3OV…): 201, clone owner_id + created_by = member rQzVgxyX…, f_autonumber 0001 → 0003, f_formula 315 both. Readonly half: server stopped, node:sqlite UPDATE showcase_contact SET lead_score = 42 WHERE id = '3qu-BZ0PmGiroH6J' changes 1; restart (single "Server is ready"), GET lead_score 42; admin clone → 201 droppedFields [{object:"showcase_contact",fields:["lead_score"],reason:"readonly"}], header x-objectstack-dropped-fields: lead_score;reason=readonly, clone GET lead_score null
    records-forms.crud-roundtrip acc[7] pass contributor-bound member: premise GET showcase_invoice/n9On3tvkbEGPUxAN (INV-1003) → 404 RECORD_NOT_FOUND, filtered list total 0; POST …/n9On3tvkbEGPUxAN/clone → 404 {"code":"RECORD_NOT_FOUND"}; admin invoice total 13 before = 13 after
    records-forms.crud-roundtrip neg[0] pass New with Account Name empty (Lifecycle Active) → Create: 0 POST sent, dialog stays open with "Account Name is required"; account total 14 before/after
    records-forms.crud-roundtrip neg[1] pass clones re-derived id/created_at/updated_at/f_autonumber and dropped readonly lead_score (acc[6]); RLS-invisible source refused 404 with no new row (acc[7])
    records-forms.crud-roundtrip neg[2] pass API POST showcase_account {"status":"active","industry":"finance"} → 400 {"code":"VALIDATION_FAILED","fields":[{"field":"name","code":"required",…}]}
    records-forms.crud-roundtrip neg[3] pass form create with Tax ID "not-a-tax-id" → POST 400 VALIDATION_FAILED fields[tax_id invalid_format "Tax ID must look like 12-3456789."], shown in the still-open dialog; filtered count 0
    Notes: run 13:29–13:33Z on :41183 (two boots on the same DB, the readonly plant between them; stopped by pgid, port confirmed free). #33780 (related list by parent lookup) not reached by showcase_account's record page — page rendered fully on every visit. Probe (rule 8, 3 min): doors POST /data/showcase_account/:id/clone, /data/showcase_contact/:id/clone, PATCH/DELETE /data/showcase_account/:id · classes unknown id, deleted source id, empty id, overrides boundary (bad tax_id, empty name, colliding id, readonly lead_score smuggled), out-of-range annual_revenue −5, opposite posture (contributor member on showcase_account) · findings: none (unknown/deleted 404 RECORD_NOT_FOUND; empty id 404 ENDPOINT_NOT_FOUND; overrides re-validated 400 invalid_format / required; colliding id refused UNIQUE_VIOLATION "Duplicate record refused…", target row URbFcJvJHxDFL61W unchanged (name still …-华宁); lead_score 99 via overrides → clone null; −5 → 400 min_value; member PATCH/clone/DELETE → 403 PERMISSION_DENIED). Observation only (as round 1): the member's zoo clone did not carry f_password (masked on read) and filled f_owner from its default.

    approvals.account-app-entry · rev 10 · T2 browser · PASS (clauses pass/fail/blocked/skipped = 9/0/0/0)

    item clause verdict evidence
    approvals.account-app-entry acc[0] pass framework b914e72; dispatcher ran pnpm console:build (/home/user/qa/r2-console.log line 9801 "✓ @objectstack/console dist ready (86876 KB) from ui/apps/console, with the tracked sdui.manifest.json", 13:00:13Z); served /_console/ on :41184 loads assets/index-CnbKsN6g.js = dist entry, sha256 7f6fd756ec15…13f0 both sides (cmp identical); built entry chunk grep 1 hit …defaultValue:\Loading…`})})}Tl({ref:`approvals:inbox`,label:`Approvals Inbox`,source:`@object-ui/console`,component:e=>(0,Q.jsx)(Z.S…`
    approvals.account-app-entry acc[1] pass persona qa2b.finance@example.com (qa-fixture contributor-member --position showcase_finance) → avatar "Account menu" › Profile → /_console/apps/com.objectstack.account/component/account/profile_card → sidebar "Approvals" → /_console/apps/com.objectstack.account/component/approvals/inbox; screenshot: tabs "My Pending 1 / Submitted by me / All", row "Invoice Dual Sign-off (parallel approval) · Finance + Legal Sign-off · QA-20261115133339 · Invoice · QA Contributor · You submitted this · Pending", hint bar "Keyboard: j/k move · Enter open · x select · a approve · r reject"; 0 pageerror
    approvals.account-app-entry acc[2] pass persona GET /api/v1/meta/app → 200 ["showcase_app","account"] (no setup); account nav carries {"id":"nav_account_approvals","type":"component","componentRef":"approvals:inbox","requiresService":"approvals"}; same session rendered the inbox
    approvals.account-app-entry acc[3] pass row click → /_console/apps/com.example.showcase/sys_approval_request/record/areq_d91803a5-96ac-41f7-a389-def7c4798da8 (record-host app); buttons before [Approve, Reject, Reassign, Send back, Request info, Send reminder, Recall, Reply]; Approve → dialog "Approve this request?…" → confirm → POST /api/v1/actions/sys_approval_request/approval_approve 200; after reload [Send reminder, Recall, Reply] — no decision actions; GET /approvals/requests/:id before pending_approvers [persona, legal×2], decision_progress {unanimous, got 0, need 2}, viewer.can_act true → after [legal], {got 1, need 2}, can_act false; GET …/actions [submit] → [submit, approve]
    approvals.account-app-entry acc[4] pass cold load (new tab) /_console/apps/com.objectstack.account/component/approvals/inbox?request=areq_d91803a5… → landed /_console/apps/com.example.showcase/sys_approval_request/record/areq_d91803a5… (history.length 2 = replaced), page shows "Invoice Number QA-20261115133339 · Owner Email qa2b.finance@example.com"
    approvals.account-app-entry acc[5] pass inbox row record link href /_console/apps/com.objectstack.account/showcase_invoice/record/aeuehsz5Dn0Hr4Zt on My Pending, Submitted-by-me and All tabs (current app segment) → click lands there and renders invoice QA-20261115133339; persona GET /api/v1/data/showcase_invoice/aeuehsz5Dn0Hr4Zt → 200
    approvals.account-app-entry acc[6] pass avatar menu › Language (options English ✓ / 简体中文) → 简体中文 → PATCH /api/v1/data/sys_user/‹persona› {"locale":"zh-Hans"} 200; GET /auth/me/localization locale "zh-Hans", html lang zh-Hans; screenshot: nav entry "待我审批", tabs "待我审批 / 我发起的 / 全部", status badge "待审批"
    approvals.account-app-entry neg[0] pass inbox rendered in full (tabs + list + hint bar); no component-not-found / blank pane
    approvals.account-app-entry neg[1] pass Approvals entry present in the non-admin's served account nav and sidebar (en and zh); setup absent from the same session's meta/app
    Notes: run 13:33–13:40Z on :41184. Fixture: NODE_USE_ENV_PROXY=1 node scripts/qa/qa-fixture.mjs contributor-member --base-url http://localhost:41184 --email qa2b.finance@example.com --position showcase_finance (own invoice aeuehsz5Dn0Hr4Zt against Contoso) + persona PATCH {status:sent, issued_on} 200 → launched flow:showcase_invoice_signoff. Persona landed /apps/com.example.showcase/page/showcase_capability_map (single visible app) as steps[2] says. Checklist-accuracy (minor): the avatar menu's Language control is a button inside the menu (Preferences row: Toggle theme / Language / In-app alerts / Desktop notifications switches), not a menuitem — role-targeted drivers must look for button "Language". Probe (rule 8, 3 min): GET/approve door as Mei (non-approver), repeat approve by the same approver, forged actorId position:showcase_legal, unknown id, blank id, Mei's pending list · findings: none (Mei GET/approve → 404 REQUEST_NOT_FOUND; re-approve → 403 "actor … is not a pending approver"; forged actorId → 403 "cannot act as 'position:showcase_legal' — … recorded against the authenticated caller"; unknown/blank → 404; Mei's pending list holds only her own 2 expense-report submissions; tally unchanged got 1/need 2).

    studio-authoring.first-run-loop · rev 13 · T2 browser (by hand; F1 not run) · PASS (clauses pass/fail/blocked/skipped = 9/0/0/0)

    Legs: en (fresh boot :41185, file:/tmp/qa2/P0B/db/frl-en.db) and zh-CN (fresh boot :41186, file:/tmp/qa2/P0B/db/frl-zh.db; avatar menu › Language (button) → 简体中文 right after sign-in → PATCH /api/v1/data/sys_user/‹admin› {"locale":"zh-Hans"} 200, html lang zh-Hans). Both from scratch copy /tmp/qa2/P0B/ws/examples/app-frl, objectstack dev --ui --seed-admin --no-compile --no-watch, one persistent Playwright page per leg, testid/role locators. Build chip on both legs: 'New in Studio' / '在 Studio 中新建' (home-build-in-studio; home-build-app count 0).

    item clause verdict evidence
    studio-authoring.first-run-loop acc[0] pass network, by hand. en: display name Repairs Center derived com.default.repairs-center, overwritten (Advanced) com.example.repairs → POST /api/v1/packages 201 {"manifest":{"version":"0.1.0","type":"app","name":"Repairs Center","id":"com.example.repairs","namespace":"repairs"},"source":"authored",…}; zh: 维修中心 derived com.default.weixiu-zhongxin, overwritten → 201, namespace repairs. Same session, no reload: URL → /studio/com.example.repairs/data, studio-pkg-chip reads the package name, switcher lists "Repairs Center com.example.repairs Writable" (zh "维修中心 com.example.repairs 可写") beside the Read-only showcase
    studio-authoring.first-run-loop acc[1] pass both legs: New object "Repair Ticket" → identifier repair_ticket (OWD pre-selected "Private — owner only") → Save as draft → PUT /meta/object/repairs_repair_ticket?mode=draft 200; Add field Status / Picklist (zh 下拉选择), options Open=open, In Repair (derived in_repair, overwritten wip), Done=done; Publish → review sheet "1 OBJECT Repair Ticket New · + Name + Status" → Publish all → POST /packages/com.example.repairs/publish-drafts 200 outcome published, publishedCount 1; toast "Published 1 item in this package / Members can use it once a permission set grants them access. / Open Access" (zh "已发布本软件包的 1 项 …打开权限"); GET /api/v1/meta/object/repairs_repair_ticket → status {"type":"select","label":"Status","options":[{"value":"open","label":"Open"},{"value":"wip","label":"In Repair"},{"value":"done","label":"Done"}]}
    studio-authoring.first-run-loop acc[2] pass Studio Records tab → add-record-button → Broken laptop, Status In Repair → POST /api/v1/data/repairs_repair_ticket {"name":"Broken laptop","status":"wip"} 201; GET /api/v1/data/repairs_repair_ticket → 200 [{"name":"Broken laptop","status":"wip"}] on both legs (zh 200, not 404 — no #29673 regression)
    studio-authoring.first-run-loop acc[3] pass Create app "Repair Center" (identifier repair_center, "Add this package's objects as menu items" checkbox default on) → PUT /meta/app/repair_center?mode=draft 200 → Publish all 200 published; studio-home → app-bar-product-home ("ObjectOS home" / "ObjectOS 首页") → /_console/home: launcher "Your apps 2 … Showcase · Repair Center" (zh "我的应用 2 … 功能展示 · Repair Center"); tile → /_console/apps/com.example.repairs/repairs_repair_ticket, row "Broken laptop · In Repair" label chip (raw "wip" 0 hits); GET /api/v1/meta/app → showcase_app,setup,account,repair_center; ?id=repair_center navigation [{"id":"nav_repairs_repair_ticket","type":"object","objectName":"repairs_repair_ticket"}] (both legs)
    studio-authoring.first-run-loop acc[4] pass each leg's server log holds exactly 1 ✓ Server is ready and 0 restart lines from boot to the end-user list; no code edited (--no-watch boot)
    studio-authoring.first-run-loop acc[5] pass both legs: forged PUT /api/v1/meta/object/showcase_qa2probe?mode=draft&package=com.example.showcase → 422 WRITABLE_PACKAGE_REQUIRED "…that package is read-only (provided by code or an installed app), so it is not a writable base…"; forged PUT of showcase_project + added field (same query) → 403 ITEM_LOCKED "…sealed against runtime edits…"; probe object GET 404, field 0 hits
    studio-authoring.first-run-loop neg[0] pass both read-only writes rejected server-side (above); package-less PUT of showcase_project → 403 NOT_OVERRIDABLE (en leg)
    studio-authoring.first-run-loop neg[1] pass app in the launcher on both legs; list shows the label chip "In Repair"
    studio-authoring.first-run-loop neg[2] pass every clause held on both en and zh-CN legs
    Notes: run 13:37–13:52Z. Object/field/option names typed in English on both legs (the item's rule). The Interfaces step confirmed the nav item the Create-app checkbox seeded (knownGaps[1]) — no manual wiring needed. zh observation (as round 1): auto-created Name field stored with label "名称" (author's locale at creation); an Accept-Language: en read labels owner_id/queue "Owner"/"Queue". Probe (rule 8, 3 min): forged PUT with package=com.nope.pkg, empty package=, package-less PUT · classes unknown id, empty string, missing parameter · findings: none filed (unknown package → refused "no package with that id is installed…"; package-less PUT on a managed object → 403 NOT_OVERRIDABLE). Observation only: PUT /meta/object/repairs_qa2p3?mode=draft&package= (empty string) is accepted as an env-wide draft ("Saved object 'repairs_qa2p3' (env-wide, state=draft)") rather than refused like a missing/unknown package — a new name, draft only, admin caller; worth a look at whether an empty package= should be a 400, not filed.

    integration-system.datasource-credential-refusal-matrix · rev 9 · T2 live · PASS (clauses pass/fail/blocked/skipped = 15/0/0/0)

    item clause verdict evidence
    integration-system.datasource-credential-refusal-matrix acc[0] pass LIVE (no pin), 12 doors × 2 publish paths, all refused. Build door: scratch project /tmp/qa2/P0B/ws/examples/ds-base (one config per door), objectstack build → EXIT=2 each, ✗ defineStack validation failed (1 issue) at datasources.0.config.password (postgres) / config.authToken (turso) / config.url userinfo / config.url ?password= / mongodb config.options.auth.password / mongodb config.options.pool.token ("spelled like a credential") / config.username ${…} placeholder / turso config.encryptionKey on libsql:// and on file: / connectors.0.authentication / connectors.0.auth (token unrecognized on bearer) / connectors.0.providerConfig.baseUrl userinfo. Runtime door (scratch showcase boot :41187): POST /api/v1/datasources → 400 DATASOURCE_ADMIN_ERROR for all 9 datasource doors, details.hint naming the same key; PUT /api/v1/meta/connector/<name> → 422 INVALID_METADATA for the 3 connector doors, path authentication / auth / providerConfig.baseUrl; 0 bodies/logs echo a planted value
    integration-system.datasource-credential-refusal-matrix acc[1] pass Postgres fixture (qa-fixture.mjs external-database --port 41188, PG16 scram, 127.0.0.1:41188): POST /api/v1/datasources with the password in top-level secret → 201 status ok; POST /api/v1/datasources/qa_ext_pg/test → 200 {"ok":true,"latencyMs":29,"tableCount":1}; build door with external.credentialsRef (schemaMode external) → objectstack build EXIT=0 "✓ Build complete … 1 Datasources"
    integration-system.datasource-credential-refusal-matrix acc[2] pass qa_ext_pg: admin door config {"host":"127.0.0.1","port":41188,"database":"qa_ext","username":"qa_ext"} hasSecret true redactedConfigKeys []; metadata door same config + external {"credentialsRef":"sys_secret:sec_a048ca28…"}; full-body grep for the PG password: 0 hits on admin door, metadata door, both lists, sys_metadata?type=datasource (before and after the plant reboot)
    integration-system.datasource-credential-refusal-matrix acc[3] pass GET /api/v1/datasources/qa_ext_pg hasSecret true vs qa_nosecret (same config, no secret) hasSecret false; config objects identical, so the marker carries the distinction; the set one does not read back null
    integration-system.datasource-credential-refusal-matrix acc[4] pass planted with node:sqlite into sys_metadata while the server was stopped: qa_nosecret config passwd/pwd/token/jwt/auth_token/authtoken (S3cretL1x…L6x). Rebooted: admin door redactedConfigKeys [auth_token,authtoken,jwt,passwd,pwd,token], config free of all six; metadata door config free of all six; sys_metadata list 0 S3cretL hits; boot log [metadata_spec_invalid] stored datasource/qa_nosecret … Unrecognized key(s) … passwd, pwd, token, jwt, auth_token, authtoken (values not echoed)
    integration-system.datasource-credential-refusal-matrix acc[5] pass unknown driver qa-plugin-drv (admin door accepts, status error "no driver factory supports driver 'qa-plugin-drv'"): config url qa://u:S3cretU1x@h.example/db, password, authToken, apiSecret, + planted passwd. Both doors serve {"url":"qa://u@h.example/db","apiSecret":"S3cretK1x"}; admin redactedConfigKeys [authToken,passwd,password,url]; apiSecret served as written = ruled boundary (#21921), not a FAIL. Turso legacy row (planted, file: url + encryptionKey S3cretE1x): both doors serve the url only, admin redactedConfigKeys [encryptionKey]
    integration-system.datasource-credential-refusal-matrix acc[6] pass GET qa_ext_pg config → PATCH /api/v1/datasources/qa_ext_pg {"config":‹that config verbatim›} → 200 status ok; /test → 200 ok:true (39 ms); hasSecret true before and after; credentialsRef handle unchanged (sys_secret:sec_a048ca28…); PUT on the same path → 405, Allow: DELETE, GET, HEAD, PATCH
    integration-system.datasource-credential-refusal-matrix acc[7] pass contributor member (qa-fixture contributor-member, bearer): both doors × qa_nosecret / qa_plugin_ds / qa_turso_legacy, both lists, sys_metadata?type=datasource → 403 (admin door "Managing datasources requires the manage_platform_settings capability", meta door "Reading datasource metadata requires …", sys_metadata PERMISSION_DENIED), 0 S3cret; anonymous: same 8 → 401, 0 S3cret
    integration-system.datasource-credential-refusal-matrix neg[0] pass no planted credential value in any read body (only the ruled apiSecret)
    integration-system.datasource-credential-refusal-matrix neg[1] pass build and runtime doors agree on all 12 doors
    integration-system.datasource-credential-refusal-matrix neg[2] pass admin and metadata doors serve the same redacted config for qa_ext_pg, qa_nosecret, qa_plugin_ds, qa_turso_legacy
    integration-system.datasource-credential-refusal-matrix neg[3] pass all six alias spellings redacted (acc[4])
    integration-system.datasource-credential-refusal-matrix neg[4] pass unknown driver's canonical keys, a planted alias and URL userinfo all redacted (acc[5])
    integration-system.datasource-credential-refusal-matrix neg[5] pass the echoed config carries no mask (none is served); round-trip kept the credential and the connection
    integration-system.datasource-credential-refusal-matrix neg[6] pass every refusal names a replacement: datasource doors name external.credentialsRef (7) or the removal prescription "removed in @objectstack/spec 18 … Delete the key" (encryptionKey ×2); connector doors name credentialRef (3); inline/URL refusals also carry the OS_DATASOURCE_<NAME>_PASSWORD code route
    Notes: run 13:47–13:58Z. Build legs in /tmp/qa2/P0B/ws/examples/ds-base (app-todo package.json + node_modules link, minimal defineStack; first control build refused security-owd-unset until sharingModel was declared — my fixture, not a finding). Runtime legs on scratch copy /tmp/qa2/P0B/ws/examples/app-frl, :41187, file DB /tmp/qa2/P0B/db/dsmatrix.db (two boots, plant between them). Postgres fixture on 41188, torn down (teardown --dir /tmp/qa2/P0B/pg → removed). Self-check: my first turso runtime probe named the datasource qa_rt_turso_authToken and met 400 invalid_name (uppercase) — re-driven as qa_rt_turso_authtoken, which met the credential refusal. Doors not covered by this item (knownGaps[5]): the code-author env route and the external.connector channel. Probe (rule 8, 4 min): GET /data/sys_metadata/:id, ?fields=metadata, ?select=metadata,draft_changes, /data/sys_metadata_history, /meta/datasource/X?includeRaw=true / ?mode=draft, sys_metadata ?search= / $search= for each planted value, member POST /datasources/X/test, unknown and blank datasource names · classes projection bypass, history table, search as an existence oracle, unknown id, blank id, reader outside scope · findings: none (projections show only the ruled apiSecret; history empty; includeRaw/mode → 400 unsupported; search for every planted value → 0 rows; member test → 403; unknown/blank → 404 RESOURCE_NOT_FOUND).
  3. objectstack-fleet commented on Nov 15, 2026

    @objectstack-fleet
    ContributorAuthor

    qa#3 · os-tesla · session_01L9qibzj9DrVWXkq7joYHGB

    Close-out 2026-11-15T14:05Z. Wave anchor #33761 (v18.5.0 sweep, round 2, release sha b914e72).

    No FAIL, no regression versus round 1 (#33784) or 18.4.0, no security finding.

    Parked-on: #33761 · access-security.rls-both-sides · acceptance[5] D11 spot-check (#22017 row 11)
    Parked-on: #33761 · access-security.crud-permission-matrix · acceptance[5] guest-anchor binding (#23267)
    

    Notes are on #33761 (comment 6895587997).

  4. objectstack-fleet commented on Nov 15, 2026

    @objectstack-fleet
    ContributorAuthor

    qa#3 · os-tesla · session_01L9qibzj9DrVWXkq7joYHGB

    Closed 2026-11-15T14:06Z: the P0 smoke at the release sha b914e72 holds (no FAIL); close-out in comment 6895607012.

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions