Repository navigation
Description
qa#2 · os-elon-musk · session_016WV4cxJNpkr4Xh649tuo55
The post-release npm smoke of the published 19.0.0-next.4 (checklist-test §6), dispatched by the qa seat (qa#2) and run by runner s1. The runner made no GitHub write. The shape is copied cell for cell from #38847 (smoke:npm-19.0.0-next.3). Cell ids A–F and U are kept. U is now 19.0.0-next.3 → 19.0.0-next.4, and D stays 18.6.0 → 19.0.0-next.4. As the brief asks, D records the protocol-19 switch (os migrate protocol --to 19 --apply --yes, required since #38844).
ENVIRONMENT
- Subject:
@objectstack/*@19.0.0-next.4andcreate-objectstack@19.0.0-next.4, from npm.- Published 2026-12-03T15:39:56Z, per
npm view @objectstack/spec time. - The line on npm:
19.0.0-next.0(11-26),next.2(11-28),next.3(12-01) andnext.4(12-03).
- Published 2026-12-03T15:39:56Z, per
- Dist-tags:
latest= 18.6.0 andnext= 19.0.0-next.4 on all 11 packages checked (create-objectstack, spec, cli, runtime, console, plugin-auth, skills, plugin-hono-server, verify, driver-sql, client). - Release tag:
@objectstack/runtime@19.0.0-next.4.e009d815f4b8is the annotated tag object. It peels to commit779ff419cff5f92ff056e6911abd74eb0b24d697, "chore: version packages (next) (chore: version packages (next) #38857)", 2026-12-03T14:56:15Z.- Its parent is
ac14a744(fix(app-shell): count the record discussion reaction read's batches against the row budget as one read #39342). The P0 subject of QA run · priority:P0 (24/24) · 23e859ae · 2026-12-03 · 22 PASS / 2 PARTIAL / 0 FAIL / 0 BLOCKED / 0 NOT-RUN #39334,23e859ae, is an ancestor. - Docs and history were read with
git show 779ff419:PATH, which is the same tree ase009d815:PATH.
- Install: everything under test came from the registry into scratch dirs under
/tmp/smoke-next4, outside the repo. There was no workspace build and nolink:. - Tools: Node v22.23.5, npm 10.9.9, pnpm 10.28.0 in the scaffolds, PostgreSQL 16.15 (a scratch cluster on 41119, data dir
/tmp/smoke-next4-pg), Playwright with Chromium (pre-installed). - Ports: 41100–41105, 41119 and 41120–41123, one file DB per cell. Every server and the pg cluster were stopped at the end, and a scan of 41100–41149 found nothing listening.
- Concurrency: runner u1 shared the container on 41150–41199 and
/tmp/upg-next4. Neither runner touched the other's ports or dirs. - Browser note: the Console's anonymous session check keeps a connection open, so I used
domcontentloadedplus explicit waits, andwaitForURL(…, {waitUntil:'commit'})after sign-in (see C3).
A. NEW USER ONBOARDING (docs at the tag: getting-started/your-first-project.mdx)
- A1 PASS.
npm create objectstack@19.0.0-next.4 my-app -- --skip-skillsexited 0 in 14.5 s with the banner "Create ObjectStack v19.0.0-next.4".- It wrote no
.claudedir. package.jsonhas 6@objectstackpins, all exactly 19.0.0-next.4: spec, runtime and plugin-hono-server, plus cli, skills and verify as dev.- The lock holds 62 distinct
@objectstack/*packages, all 19.0.0-next.4, and the console resolves as@objectstack/console@19.0.0-next.4. - There are 3 objects (company, contact, article), 1 app and 3 views, and
engines: { protocol: '^19' }is stamped. - The
DockerfilereadsFROM ghcr.io/objectstack-ai/objectstack:19.0.0-next.4.
- It wrote no
- A2 PASS.
npx -y create-objectstack@19.0.0-next.4 skillapp(skills on): "Installing AI skills … from @objectstack/skills@19.0.0-next.4", "claude-code … Agent detected — installing non-interactively", "Found 14 skills in node_modules"..claude/skillsholds 14 skills andskills-lock.jsonis written.diff -rqagainstnode_modules/@objectstack/skills/dist/skillsdiffers only by the catalogREADME.md.
- A3 PASS.
npx os validateexit 0, "Running author-time rules (89)" (90 on next.3, see O-N1), "Validation passed (225ms)".- It reports 3 objects, 18 fields, 1 app and 3 views.
- A4 PASS.
npx os dev --ui -p 41100answered health in 14 s with "Server is ready".- Driver is
SqlDriver(better-sqlite3), 43 plugins loaded (includingFormTypeSwitchBootGuardand theform-type-switch-birth-marker), and the dev admin is seeded. - The 68-line log has 0 WARN/ERROR/DATABASE_ERROR lines.
- It also has one advisory line,
[Registry] [nav_contribution_group_renamed] … "group_integrations" … retired group id. That is service-automation: the connector-credentials Setup entry still targets the retired groupgroup_integrations, so every boot logsnav_contribution_group_renamed#39335 (open), and it prints on every next.4 boot I made (A4, C1, D, E, F4, U). /api/v1/healthreturns{"status":"ok","version":"19.0.0-next.4"}.
- Driver is
- A5 PASS.
GET /_console/returns 200 text/html, 46571 bytes.- Entry chunk
assets/index-JI6ohNOy.jsreturns 200 application/javascript, 413949 bytes. It iscmp-identical to the published@objectstack/console@19.0.0-next.4tarball (npm pack). The next.3 entry was 419621 bytes.
- Entry chunk
- A6 PASS. Real browser, fresh context, at
http://localhost:41100:/_console/goes to/_console/loginin 0.9 s.- The form sign-in as the dev admin lands on
/_console/apps/com.example.my-app/my_app_company. - The sidebar reads "Company, Contact, Article, Task, Note, Recent", with "Get started 0/4". The screenshot shows the empty Companies list.
- After sign-in: 0 console errors and 0 responses ≥ 400. Before sign-in only the anonymous
GET /api/v1/auth/get-sessionanswers 401 (O1). - Sign-in with
Origin: http://127.0.0.1:41100orhttp://evil.examplegets 403INVALID_ORIGIN, andlocalhostgets 401 for a wrong password (as on next.3, O-A2).
- The form sign-in as the dev admin lands on
- A7 PASS. The docs' CRUD on :41100 against
my_app_company:- Sign-in 200;
POST /api/v1/data/my_app_company201; list?select=name&sort=-created_at&top=10200 (total 1); GET 200; PATCH 200. - DELETE 200 with
recycleBinEntryId, then GET 404. - Anonymous GET 401.
POST /auth/sign-up/email403SELF_REGISTRATION_CLOSED.
- Sign-in 200;
- A8 PASS. "New Company" opens "Create Company", and Create gives
POST /api/v1/data/my_app_company201.- The record panel opens (
?recordId=MW3H0CKxeIXw4BvQ) with the toastCompany "Created in Console UI 19.0.0-next.4" created. - The server read-back returns 200 with that name.
- 0 console errors and 0 responses ≥ 400 after sign-in.
- The record panel opens (
B. STUDIO (same dev boot)
- B1 PASS.
- The bare
/_console/studioredirects to Setup → Packages (/_console/apps/com.objectstack.setup/component/developer/packages?face=admin). It lists "My App · 0.1.0 · Enabled · Code" and "New Package". /_console/homeredirects to…/setup/dashboard/system_overview.- The app switcher ("Main · Setup · Design layout · View in App Studio · Add app") → "View in App Studio" opens
/_console/studio/com.example.my-app/metadata/object/my_app_company?package=com.example.my-app.- The page shows the banner "Read-only package — switch to or create a writable package to edit".
- The menu has Overview, Data (Object, Dataset), UI (Application, Page, Dashboard, Report, Form), Automation, Access, AI and Advanced. Form is new on next.4.
- 0 console errors and 0 responses ≥ 400 beyond the anonymous 401.
- The bare
- B2 PASS. The authoring loop in a real browser.
- Setup → Packages → New Package, with only Display name "Smoke Tracker" filled.
- It trace-shows
POST /api/v1/packages201,PUT /api/v1/meta/app/smoke_tracker?mode=draft&package=com.default.smoke-tracker&surface=studio200, andPOST …/meta/app/smoke_tracker/publish?package=…200. - It lands on
/_console/studio/com.default.smoke-tracker/overview, and the toast carries the advisory[app-navigation-empty](O-B2, unchanged).
- It trace-shows
- Object → New Object "Ticket" (identifier
ticket, "Only the owner can see") → Create.- It trace-shows PUT draft 200 then publish 200 on
smoke_tracker_ticket, and the same on the app. - It lands on
…/metadata/object/smoke_tracker_ticket.
- It trace-shows PUT draft 200 then publish 200 on
- Add field opens a Label/Type popover, and Create opens the Field Properties panel (Cancel/Save). "Severity" → Save gives PUT draft 200 plus publish 200 and the toast "Saved, live now: Ticket".
GET /meta/object/smoke_tracker_ticketthen listsname, severity, and/meta/_draftsis{"drafts":[]}.
- The draft path: I saved a draft over REST (
PUT …?mode=draft&package=com.default.smoke-tracker200,state=draft), and_draftslisted it.- The package Overview → Pending tab showed "Changes the AI assistant drafted wait here until you publish them. Your own saves go live at once … 1 OBJECT Ticket … Update — Publishing releases the 1 pending draft". "Publish all" gave
POST /api/v1/packages/com.default.smoke-tracker/publish-drafts200. - After reload nothing is pending,
_drafts=[], and the fieldstatusis live.
- The package Overview → Pending tab showed "Changes the AI assistant drafted wait here until you publish them. Your own saves go live at once … 1 OBJECT Ticket … Update — Publishing releases the 1 pending draft". "Publish all" gave
- REST on the new object as the dev admin:
POST /data/smoke_tracker_ticket201, list total 1, anonymous 401.
- 0 console errors and 0 responses ≥ 400 beyond the anonymous 401. The "AI assistant drafted" source of drafts was not driven.
- Setup → Packages → New Package, with only Display name "Smoke Tracker" filled.
C. PRODUCTION PATH (a fresh capp scaffold, random OS_AUTH_SECRET / OS_SECRET_KEY, fresh file DB cdb/prod.db)
- C1 PASS.
os buildexit 0 (dist/objectstack.json22294 B).OS_DATABASE_URL=file:…/cdb/prod.db os migrate apply --yesexit 0: 104 tables created, 0 changes.- It wrote two birth markers: "organization-ownership … shape generation 1, platform 19.0.0-next.4" and, new, "form-type-switch … birth marker written (protocol 19, platform 19.0.0-next.4)".
os start --artifact ./dist/objectstack.json --port 41101: Mode production, health in 9 s, version 19.0.0-next.4.- The log has 1 WARN,
[better-auth] User not found, caused by my own sign-in probe of a refused address, plus the usual "StorageServicePlugin using local driver" advisory (O2) and the service-automation: the connector-credentials Setup entry still targets the retired groupgroup_integrations, so every boot logsnav_contribution_group_renamed#39335 line.
- C2 PASS.
- The first sign-up is admitted (200, session token). The second gets 403
SELF_REGISTRATION_CLOSED, and that address then cannot sign in (401). - The dev admin gets 403
PERMISSION_DENIED"This password is the development seed password, and a server that is not in development mode does not accept it …" (as next.3, intended).
- The first sign-up is admitted (200, session token). The second gets 403
- C3 PASS. CRUD as the first admin on
capp_company: create 201, list total 1, get 200, patch 200, delete 200, get 404, anonymous 401./_console/returns 200 text/html.- Real-browser sign-in as the first admin lands on
/_console/apps/com.example.capp/capp_company, with 0 console errors and 0 responses ≥ 400 after sign-in. It reproduced twice. - Automation self-check. My first browser run timed out in
waitForURLbecause it waited for theloadevent. A debug run showed the page had landed with every API call 200. WithwaitUntil:'commit'it passed twice, so this was my driving, not the product.
D. UPGRADE 18.6.0 → 19.0.0-next.4 WITH REAL DATA (dirs d/app186, d/app186b; ports 41120–41123)
- D1 PASS (an enriched app, with the protocol-19 switch). Observations O-D1, O-D2′, O-D4, O-N2 … O-N7.
- Setup on 18.6.0.
create-objectstack@18.6.0 app186 --skip-skills(9 pins).- I added a record-after-create flow with an approval node (approver
org_membership_levelowner, out-edges unlabelled), plus@objectstack/plugin-approvals@18.6.0andApprovalsServicePlugininplugins. - I added a code
form(simple, one section) tonote.view.ts. os validateexit 0, 71 rules.
- I added a record-after-create flow with an approval node (approver
- Data written on 18.6.0 over HTTP (
os dev:41120, file DBd1.db):- Dev admin sign-in 200, and
POST /auth/admin/create-user200 (upg.user@example.com), who signs in 200. - The record insert on
app186_notereturned 201 and opened asys_approval_requestwith statuspending. PUT /api/settings/branding {workspace_name:"Smoke v18.6"}200.- A stored form row,
PUT /meta/view/app186_note_quickwith a flattened{object, viewKind:'form', type, sections}body, returned 200 and read back with_diagnostics.valid: true. - Boot log: 0 DATABASE_ERROR/ERROR, 1 WARN (approvals "no public base URL").
- Dev admin sign-in 200, and
- Bump. All 10
@objectstack/*pins moved to 19.0.0-next.4.pnpm installexit 0 with no peer warning, 65 lock packages all next.4, andos --versionprints cli/19.0.0-next.4. - First refusal.
os validateexit 1 onviews.0.form: view.form was removed in @objectstack/spec 19.0.0 (ADR-0159 D7) … Run os migrate meta --from 18. os migrate meta --from 18(dry): exit 0, "Chain: protocol 18 → 19", "Would apply 1 mechanical change(s)" (views[0].form → (removed),view-forms-to-form-items, an internal record form), 95 manual changes, and the'^18' … --write rewrites it to '^19'notice.--write: exit 0, "Wrote 1 of 1 mechanical change(s) into 1 file(s)", "Rewrote the declared protocol range … '^18' → '^19'", "Re-ran the chain … no mechanical change remains".- On this
exportsOf(…)-wired scaffold the write landed: cli:os migrate meta --writewrites 0 edits on the stock create-objectstack wiring (exportsOf(…)) and on helper-built stacks (HotCRM 0 of 144), while both outputs say "Applied N mechanical change(s)" #38879 / O-U1 is fixed. - It also printed
⚠ 1 change(s) in the migrated stack are named by no applied entry and were not written: forms. Here the form was internal and is meant to go.
- On this
- Validate ✨ Set up Copilot instructions #2: exit 1 on
flow-approval-decision-unrouted(O-D1, unchanged). After labelling the two approval out-edgesapproveandreject,os validateexit 0 (89 rules) andos buildexit 0. - Schema. With no
OS_AUTH_SECRET,os migrate planexamines only 64 tables and says it did not compose the auth family (O-N2). With a secret exported:- It examines 106 tables: 18 to create, 12 columns to add, 2 safe, 0 needs-confirm, 0 destructive.
apply --yesreturns "Applied 2 change(s)", and plan ✨ Set up Copilot instructions #2 reads "in sync".
- The protocol-19 switch.
- A boot of a copy without the switch exits 1 before listening:
✗ This database has not been switched to protocol 19: it carries no switch record (sys_migration 'adr-0159-form-type-switch') … Run 'os migrate protocol --to 19 --dev --database-url …' … then '… --apply --yes'. - The preview
os migrate protocol --to 19 --devexits 1:1 holding the switch,view "app186_note_quick" … a viewKind: 'form' item carries no config object. Save the view again on this release with its form content repaired …, "Nothing was written". - My 18.6 flattened form row holds the switch (O-N6).
- Remedy, as the refusal says, on 18.6.0: an 18.6.0 install booted fine on the 19-migrated DB copy, 0 DATABASE_ERROR.
- A merge PUT kept
viewKind, and was refused. - I deleted the row (
DELETE200) and re-saved it as a container{object, form:{…}}(200).
- A merge PUT kept
- Preview ✨ Set up Copilot instructions #2 exits 0 ("1 to move … can switch").
--apply --yesreturns "1 form row(s) written, 1 old-shape row(s) taken away … Switched to protocol 19". - The moved row is served
valid:false(O-N7).
- A boot of a copy without the switch exits 1 before listening:
- Boots 1 and 2 on next.4 (
os dev --no-watch -p 41120):- Health 19.0.0-next.4, 0 DATABASE_ERROR.
- Dev admin 200, and the created user 200 with the original password (wrong password 401).
- The note reads back, branding reads "Smoke v18.6", and the 18.6-era approval is still
pending. - A new insert opened a second approval, approved 200.
- The 18.6-era request approved with 200
finalized:true, decision:approve. - Automation self-check. On my first try the 18.6-era approve answered 409
RESUME_TARGET_LOST, because I had copiedd1.dbwithout itsd1.telemetry.dbsidecar, which holds the paused run. With the original sidecar in place it approved 200. That was my copy, not the product (O-N3).
- Where the docs at the tag put the switch:
upgrading.mdxlines 172–185 ("A protocol major can also move stored metadata between types … Until the switch is recorded, a protocol-19os serve(and soos devandos start) refuses to start on a database an earlier release created") — yes.deployment/stored-forms-upgrade.mdxanddeployment/cli.mdx(theos migrate protocol --to 19rows) — yes.releases/v19/index.mdx"Coming from 18.x" steps 1–9 — no. 0 hits formigrate protocol, and nothing in the 9 steps sends the reader to the switch, though every upgraded database refuses to boot without it. See F1b (iii) and candidate card K3.
- Setup on 18.6.0.
- D2 PASS (the untouched default 18.6.0 scaffold
app186b, :41122/:41123).- Before: create-user 200, that user signs in 200, a note 201, branding 200, and 0 DATABASE_ERROR/WARN/ERROR.
- After the bump: 9 pins, 65 lock packages all next.4. With
'^18',os validateandos buildboth exit 1 with✗ The protocol handshake refuses this stack (OS_PROTOCOL_INCOMPATIBLE) … Run: objectstack migrate meta --from 18. On next.3 they passed with a ⚠ (O-D2, now as the v19 page says "after next.3"). migrate meta --from 18(dry) gives 0 mechanical and 95 manual changes.--writeonly rewrote the range (objectstack.config.ts:40 … '^18' → '^19').--from 17lists 640 manual changes (545[protocol 18], 95[protocol 19]).- Validate (89 rules) and build exit 0.
- Plan: 101 tables, 18 to create, 7 columns to add, 2 safe, 0 destructive. Apply, then plan ✨ Set up Copilot instructions #2 in sync, and
--allow-destructive --yesgives "already in sync". - Switch: the preview says "No stored row holds a form in an old shape" and exits 0.
--apply --yesgives "Switched to protocol 19". - A copy of the untouched 18.6 DB, booted on next.4 with no apply and no switch, exits 1 with the same
✗ … not been switched to protocol 19line. - Boots 1 and 2: 0 DATABASE_ERROR/WARN/ERROR and 0
[schema-drift]/[protocol]lines. Admin 200, user 200, the note "B on 18.6.0" (total 1), and branding "Smoke v18.6". - The
Dockerfilestill readsFROM ghcr.io/objectstack-ai/objectstack:18.6.0after the bump (O-D4, unchanged; the v19 page has 0 hits for "Dockerfile").
E. POSTGRESQL (16.15 scratch cluster, port 41119; pgapp = a fresh create-objectstack@19.0.0-next.4 scaffold, dev port 41102)
- E1 PARTIAL. The clause is the loud refusal when the
pgclient is missing, and it was again not consulted.- The stock scaffold boots on pg with no
pnpm add pg: "Driver: SqlDriver(pg)", 42 plugins. pg@8.23.1arrives through@objectstack/knowledge-pgvector@19.0.0-next.4, andrequire.resolve('pg')from the project root fails, so it is not a direct dependency.- The docs now say so (docs(getting-started): "The packages you depend on" and the drivers table describe the 18.x scaffold on 19 — the connector executors are listed as installed, and pg is said to be needed though the 19 scaffold boots on PostgreSQL without it #38851 holds).
your-first-project.mdxlines 285–288 say "PostgreSQL: its clientpgis an optional peer ofdriver-sql, and the CLI brings it —@objectstack/clidepends on@objectstack/knowledge-pgvector…".drivers.mdxline 47 says the same, and "boot fails loudly" now applies only to "an embedder without the CLI". - A CLI-less embedder was not built, so the refusal stays unconsulted.
- The stock scaffold boots on pg with no
- E2 PASS. A fresh pg DB
smoke194:- Health in 19 s, 104 public tables, 0 DATABASE_ERROR/WARN/ERROR at ready.
- Sign-in 200,
GET /meta/_drafts200{"drafts":[]}. - Docs CRUD on
pgapp_company: 201 / list total 1 / 200 / 200 / 200, then 404./_console/returns 200 text/html. - A real-browser Console create gives
POST /data/pgapp_company201, a record panel (?recordId=uIwxIit7pvuVRC-v) and the toast "Company "PG Console UI next.4" created", with 0 responses ≥ 400 after sign-in. - Studio loop over REST:
POST /packageswithengines.protocol '^19'201.PUT /meta/object/smoke_pg_ticket?mode=draft&package=com.default.smoke-pg&surface=studio200, and_draftslists it.POST /packages/com.default.smoke-pg/publish-drafts200 (outcome: published,publishedCount: 1).sys_metadataholdsobject|smoke_pg_ticket|com.default.smoke-pg|active, and a record on it returns 201.
- Restart on the same DB: health in 19 s, 0 WARN/ERROR. The ticket list has total 1, the UI-created company survives, and
_draftsis[]. No[protocol] … declares no engines.protocol rangeline this time, because the package declared^19(O-E1).
- E3 PASS. Re-judge of PostgreSQL: the sys_metadata ACTIVE overlay uniqueness never lands — overlay-index.ts skips #26630's PostgreSQL arm, DROP INDEX is refused (2BP01) and the NULL-distinct constraint stays (18.4.0, 18.5.0) #33901: it holds on next.4.
- DATABASE_ERROR is 0 at ready, after sign-in, after
_drafts, after the Console create, after the publish and after the restart. pg_indexesshowsCREATE UNIQUE INDEX idx_sys_metadata_overlay_active ON public.sys_metadata USING btree (type, name, COALESCE(package_id, ''), COALESCE(bundle_member, '')) WHERE (state = 'active'), andpg_constrainthas 0 rows of that name.- PostgreSQL: the NULL-safe row identity of sys_setting and sys_notification_preference never lands — DROP INDEX is refused by the declared UNIQUE constraint (2BP01) and CREATE UNIQUE INDEX IF NOT EXISTS then no-ops as success (18.2.0) #26630's
uniq_sys_setting_organization_id_namespace_key_scope_user_idanduniq_sys_notification_preference_a22d7d27are present. - Rolled-back transactions:
- T1, a second ACTIVE copy of the published row, is refused (
duplicate key … "idx_sys_metadata_overlay_active"). - T2, two ACTIVE package-less
('object','probe_dup'): the second is refused. - T3, ACTIVE plus a draft twin, is admitted. T4,
bundle_memberNULL against'm1', is admitted. - 0 rows are left over.
- T1, a second ACTIVE copy of the published row, is refused (
- DATABASE_ERROR is 0 at ready, after sign-in, after
F. RE-JUDGE AND PROBES
- F1a PASS. Re-judge of docs(releases): 18.6.0 is on npm with 64 breaking changes but has no release page (
releases/v18/18-6.mdx) and no v18.6.0 row inupgrading.mdx#35182:content/docs/releases/v18/18-6.mdxexists at the tag, andupgrading.mdxline 563 is| v18.6.0 | [Upgrade checklist — 18.6.0](/docs/releases/v18/18-6#upgrade-checklist) |. - F1b FAIL. One cell, three legs, with (iii) failing.
- (i) release: after a stable publish, a
nextdist-tag already on a stable version is left belowlatest—npx create-objectstack@nextscaffolds 18.5.0 after 18.6.0 #35183 holds.next= 19.0.0-next.4 is abovelatest= 18.6.0 on 11 packages. - (ii) CHANGELOG coverage of
!commits holds.git log ea6e312a..779ff419holds 236 commits and 11type(scope)!:commits (11 with--first-parent). All 11 have a CHANGELOG line, matched by 7-character sha in the 16,569 CHANGELOG shas at the tag.- feat(objectql)!: a record in a closed state, and its lines, are closed to change and held for its whole approval (closedStates, ADR-0162) #38810
closedStates(440574f6), the next.3 miss, now has its line:packages/spec/CHANGELOG.mdhas 8closedStateshits at the tag. - The Release: @objectstack/spec 19.0.0-next.2 ships the action-locations rename (#37929) but its CHANGELOG has no entry for it #38300 mechanism recurs on a smaller scale. One changeset is left unconsumed at the release commit,
.changeset/39313-reaction-read-budget-one-walk.md('@object-ui/app-shell': patch, fromac14a744fix(app-shell): count the record discussion reaction read's batches against the row budget as one read #39342, committed 14:27:03Z, 29 minutes before the 14:56:15Z version commit and its parent). It is not breaking. Its code ships inside@objectstack/console@19.0.0-next.4(app-shell is private and bundled), and the console CHANGELOG has no line for it. This is a note for open Release: @objectstack/spec 19.0.0-next.2 ships the action-locations rename (#37929) but its CHANGELOG has no entry for it #38300, not a!miss.
- (iii) Reachability FAILS (recurrence of QA run · smoke:npm-19.0.0-next.3 (24/24) · ea6e312a · 2026-12-01 · 21 PASS / 2 PARTIAL / 1 FAIL / 0 BLOCKED / 0 NOT-RUN #38847 (iii)).
releases/v19/index.mdxat the tag was last edited by8236b793(2026-12-02). It still reads "npm'slatesttag carries 18.6.0 and itsnexttag19.0.0-next.3". Its breaking list is cut at6eb23c87and sends next.3's 19 later!changes to the CHANGELOGs. It names none of next.4's 11!pull requests (fix(automation)!: published or stored flows with a durable-pause shape load with a warning; saves still refuse (#39282) #39306/Flow pause rules (#38970, #38871) refuse already-published packages on load, so a host pin move silently drops installed apps #39282, fix(sharing)!: delete on an owned public_read_write object follows the record's owner #39216, fix(spec)!: a field'sprecision: 0is refused at save and publish, namingscale#39211, fix(automation)!: a triggered flow whose fan-out or earlier branch reaches a subflow or map whose child can suspend is not armed #39144, fix(service-print)!: the record print downloads the PDF and stores no attachment #39076, fix(formula)!: flow-condition verdicts agree with the run — severity, the index spelling, macro variables #39072, feat(spec)!: retire the form'ssubforms(ADR-0049, #38140 PR 1 of 2) #39061, feat(spec)!: a view holds lists only; view-held forms are tombstoned #38957, fix(spec)!: refuse a flow node that takes a branch which parks the run before its other out-edges #38970, fix(formula)!: a flow condition's mixed bare / record. date arithmetic and record['FIELD'] index reads take the date-text verdicts #38949, fix(spec)!: refuse two durable pauses on concurrent branches of one flow fan-out #38871: 0 hits each).- Its "Coming from 18.x" steps 1–9 do not mention
os migrate protocol --to 19 --apply --yes(0 hits), which every 18.x database needs before a 19 runtime serves it (D1, D2). It also does not tell a19.0.0-next.3user that the same switch is needed (U). upgrading.mdxnow links/docs/releases/v19#migrated-for-youonce (0 on next.3) and documents the switch, but it has no v19 row in its release table.
- Reproduction rule for (iii).
git fetch origin 'refs/tags/@objectstack/runtime@19.0.0-next.4:refs/tags/@objectstack/runtime@19.0.0-next.4'.git show 779ff419:content/docs/releases/v19/index.mdx | grep -c 'migrate protocol'gives 0, andgrep -c '19.0.0-next.4'gives 0.git log ea6e312a..779ff419 --format='%h %s' | grep -E '^[0-9a-f]+ [a-z]+(\([^)]*\))?!:'lists 11 commits, and grepping the page for each PR number gives 0.git show 779ff419:content/docs/upgrading.mdx | sed -n 172,185pdocuments the switch.
- Expected: the v19 release page, the page the upgrade guide routes 18.x users to, carries the mandatory protocol-19 switch and next.4's breaking changes. Actual: neither is there.
- (i) release: after a stable publish, a
- F2 PASS. On a fresh next.4 scaffold (
probe, 6 pins all next.4):npx os doctorexit 0, "✓ Platform protocol: Declared engines.protocol covers the installed platform", "✅ Environment is healthy and ready for development!".os --versionprints@objectstack/cli/19.0.0-next.4 linux-x64 node-v22.23.5. - F3 PASS.
- The action
probe_probe_bad_body(type: 'script', js bodyconst ctx = 1; return { ok: true };):os validateexit 1 with "body does not compile in the wrapper the runtime runs it in, (async (input, ctx) => { … }) (SyntaxError: Identifier 'ctx' has already been declared, line 1)" (ruleaction-body-does-not-compile, atactions[0].body.source).os buildexit 1 with the same rule. - After a fix, validate exit 0.
- The retired
view.list.bulkActionsis refused at validate with its ADR-0085 prescription.
- The action
- F4 PASS (SQLite, scaffold
probe, :41103).- A stale
If-Matchafter a plain PATCH gives 409CONCURRENT_UPDATEwithcurrentVersionandcurrentRecord. If-Match: ""gives 400VALIDATION_FAILED.- Race: two concurrent PATCHes with the same fresh
If-Match, 6 rounds, give200 | 409 CONCURRENT_UPDATEevery round, with no 404.
- A stale
U. UPGRADE 19.0.0-next.3 → 19.0.0-next.4 (forms leave view, #38957/#38844; the protocol-19 switch)
- U FAIL. The upgrade reaches a working next.4 with data intact. Two upgrade tools lose or corrupt forms:
- (a)
migrate meta --writedeletes a named form from the source without writing it anywhere. - (b) the protocol-19 switch writes stored form rows the form door itself refuses.
- Scaffold on next.3.
npm create objectstack@19.0.0-next.3 uapp -- --skip-skills: 6 pins at next.3,^19, noforms:collection inobjectstack.config.ts.- I added a named form to the company view,
formViews.intake(type: 'simple',data: {provider:'object', object:'uapp_company'}, one section). os generate action flag_company --object companywithlocations: ['record_page','selection'].- next.3
os validateexit 0 (90 rules) andos buildexit 0.
- I added a named form to the company view,
- Data on next.3 (:41104,
u.db): 3 companies 201, create-user 200, branding "Smoke next.3" 200.- A stored form item
PUT /meta/view/uapp_company.quick{viewKind:'form', config:{type:'simple', data:{provider:'object',object:'uapp_company'}, sections:[…]}}200. - Control in the browser: selecting 2 rows shows "2 selected | Flag Company | Change Owner | Delete", and logs
501 POST /api/v1/approvals/records/uapp_company/locks(the console: ticking rows in a list on a deployment with no approvals service logs a console error for the designed 501 of POST /api/v1/approvals/records/OBJECT/locks (19.0.0-next.3 scaffold) #38849 symptom still on next.3).
- A stored form item
- Bump. 6 pins moved to next.4,
pnpm installexit 0, 62 lock packages all next.4.os validateexit 1:formViews: view.formViews was removed … Move each entry to the stack's forms: as a form item named OBJECT.KEY … Run os migrate meta --from 18. os migrate meta --from 18.- The dry run exits 0: "Would apply 1 mechanical change(s): views[1].formViews.intake → forms[name=uapp_company.intake] (view-forms-to-form-items)", 76 manual, 19 more not listed.
--write: exit 0, "Wrote 1 of 1 mechanical change(s) into 1 file(s): src/views/company.view.ts :29 views[1].formViews.intake", then⚠ 1 change(s) in the migrated stack are named by no applied entry and were not written: forms, then "✓ Re-ran the chain … no mechanical change remains".- The diff only deletes the
formViews.intakeblock. No form file is written,grep -rn intake src objectstack.config.tsfinds nothing, andos validatethen passes (exit 0). The authored form is gone from disk with nothing left to refuse. I restored the file and re-ran--write, and it reproduced. → candidate K1. - I hand-wrote
src/forms/intake.form.ts(defineForm({ name:'uapp_company.intake', object:'uapp_company', … })) withforms: exportsOf(forms). Validate and build exit 0.
- Schema and switch.
- With a secret, plan gives 103 tables, 10 to create, 2 columns, 0 changes. Apply exit 0.
- A boot of a next.3-created DB copy with no switch exits 1 with
✗ This database has not been switched to protocol 19. So a next.3 → next.4 upgrade needs the switch too. - The preview exits 0: "'uapp_company.quick' … moves: view "uapp_company.quick", no package → a form row of the environment, its body as written".
--apply --yesgives "1 form row(s) written, 1 old-shape row(s) taken away … ✓ Switched to protocol 19: the census run again finds nothing to move".- The moved row is invalid: the next boot logs
[Protocol] [metadata_spec_invalid] stored form/uapp_company.quick fails the current spec schema even after conversion ((root): Unrecognized key(s) on this form: data., andGET /meta/form/uapp_company.quickanswers 200 withvalid: false. sys_metadataholdsform|uapp_company.quick|active|{"type":"simple","data":{"provider":"object","object":"uapp_company"},…}.- Control:
PUT /api/v1/meta/form/uapp_company.probewith the same body answers 422INVALID_METADATA, and withoutdata200 (probe deleted). - Reproduced on a second fresh copy of the next.3 DB (apply → switch → the same row with
data). → candidate K2.
- Boot, browser, production.
os devon the switched DB: health next.4, 0 DATABASE_ERROR/WARN/ERROR. Admin 200, user 200, companies total 3, branding "Smoke next.3".- The code form
uapp_company.intakeis valid, and Studio → Form lists it ("Form 1"). - Selecting 2 rows shows "2 selected | Flag Company | Change Owner | Delete" with 0 console errors and 0 responses ≥ 400, twice. console: ticking rows in a list on a deployment with no approvals service logs a console error for the designed 501 of POST /api/v1/approvals/records/OBJECT/locks (19.0.0-next.3 scaffold) #38849 holds.
os start --artifact(production, random secrets) on the same DB: health 200, 0 WARN/ERROR/DATABASE_ERROR. Dev admin 403PERMISSION_DENIED(intended).- The created member signs in, gets 403
PASSWORD_RESET_REQUIREDuntilchange-password(200), then gets 403PERMISSION_DENIEDonuapp_company. That is by design: the scaffold declares 0 permissions.
--writenow follows the scaffold'sexportsOf(…)wiring (cli:os migrate meta --writewrites 0 edits on the stock create-objectstack wiring (exportsOf(…)) and on helper-built stacks (HotCRM 0 of 144), while both outputs say "Applied N mechanical change(s)" #38879 fixed); the--writefailure here is new and specific to form moves.
- (a)
OFF-CLAUSE PROBES (rule 8)
- Time: about 7 minutes after the clauses had verdicts, plus the U and D findings, which came beside the clauses.
- Covered:
- Origins on the sign-in door (
127.0.0.1,evil.example,localhost). - Data-door boundaries on :41103: an unknown id on GET, PATCH and guarded DELETE gives 404
RECORD_NOT_FOUND; an id of%20gives 404RECORD_NOT_FOUND; an unknown object gives 404OBJECT_NOT_FOUND. - Anonymous
/meta/object/…and/packagesgive 401. - The 18.6.0 runtime on a 19-migrated DB (it boots; see D1).
- The switch re-run after a switch (O-N4).
- Re-judge of the open objectql: an inline select field whose options repeat a value publishes with no refusal, while a named picklist with the same repeat is refused #39336: on next.4
PUT /meta/object/dupprobe_thing?package=com.default.dupprobewith an inline select whose options repeat valueastill answers 200state=active, so it is still present.
- Origins on the sign-in door (
- Found: K1, K2 and O-N6/O-N7 (forms), nothing else.
OBSERVATIONS (not filed unless noted; candidates for the seat are marked)
- O-N1.
os validaterule count went 90 (next.3) → 89 (next.4). - O-N2.
os migrate plan/applywith noOS_AUTH_SECRET(and not a dev boot) do not compose the auth family. They examine 64 tables, not 106, and say so in one line naming the fix. With a secret, they examine 106.- Telemetry-family tables (
sys_automation_run,sys_audit_log,sys_activity, …) are planned and created in the main DB, while the runtime keeps them in theDBNAME.telemetry.dbsidecar. - plan/apply print
WARN [action-governance] declared script actions with NO handler … sys_invitation:copy_invitation_link.
- Telemetry-family tables (
- O-N3. A file DB's paused flow runs live in the
DBNAME.telemetry.dbsidecar. A backup or copy of the.dbalone makes every pending approval answer 409RESUME_TARGET_LOSTafter restore (measured by accident in D1). The switch refusal andupgrading.mdxsay "take a backup"; onlydeployment/cli.mdxline 1180 names the sidecar. This is a docs candidate, weak. - O-N4. After a successful switch,
os migrate protocol --to 19(preview) prints "1 kept … ✓ The deployment can switch to protocol 19. Runos migrate protocol --to 19 --applyto switch", not "already switched". - O-N5.
releases/v19/index.mdxstill has no "unrouted" (O-D1). The ruleflow-approval-decision-unroutedstill stops an 18.6-valid approval flow at validate. - O-N6. An 18.6 stored view row in the flattened shape (
{object, viewKind:'form', type, sections}, which the 18.6 schema documents as its third legitimate runtime shape, the personalization overlay, and read backvalid:true) holds the switch: "aviewKind: 'form'item carries noconfigobject" (projectViewForms,packages/spec/src/ui/view.zod.ts:8616).- The remedy has to be taken on 18.x. An 18.6 merge PUT keeps
viewKindand is refused. A ViewItem record needs a dotted name, so the re-save needed DELETE then a container PUT. - My row was written over REST at a fresh name, not by the Console.
os migrate stored-formsdoes not exist on 18.6.0 (command migrate:stored-forms not found), so a pure 18.x operator cannot run the pre-check the docs describe.- Candidate, weak to moderate.
- The remedy has to be taken on 18.x. An 18.6 merge PUT keeps
- O-N7. A container stored at a non-object name (
app186_note_quick, objectapp186_note,form:{…}) moves to formapp186_note.app186_note_quick.form. The next boot reports it invalid ("names the object 'app186_note.app186_note_quick', but the form is bound to 'app186_note' (ADR-0159 D3)"). This is the same class as K2, on an unusual fixture, so weak. - O-N8. Neither the next.3 nor the next.4 scaffold has a
forms:collection orsrc/forms/barrel, so the first form an upgraded or new app gets is wired by hand. This bears on K1. - O-D4. The upgraded app's
DockerfilekeepsFROM …objectstack:18.6.0(D2) and…:19.0.0-next.3(U). Unchanged. - O-B2. "New Package" with "Also create an app" still publishes an app with no navigation and the
[app-navigation-empty]advisory. - O1. The Console's anonymous
GET /api/v1/auth/get-sessionanswers 401 and logs one console error before sign-in (dev, production, pg). - O2.
os startprints the "StorageServicePlugin using local driver" advisory. - O7. Rules 90 → 89, entry chunk 419621 → 413949 bytes, skills 14 → 14, C1 tables 104 → 104, pins 6 → 6, dev plugins 41 → 43.
- Not run: none.
- Fixture gaps: the
pg-missing refusal (needs a CLI-less embedder), the "AI assistant drafted" draft source, an in-place upgrade of an existing pg DB,--sealer-stopped/sealed objects, and a Console-written (not REST-written) 18.6 form overlay for O-N6.
EXTRACTED CARDS RE-JUDGED ON next.4 (by their own cell id)
| Card | Cell | Verdict on next.4 |
|---|---|---|
| #38300 (unconsumed changesets, open) | F1b (ii) | Recurs, smaller. 1 non-breaking changeset (39313-reaction-read-budget-one-walk, #39342) unconsumed at the release commit; all 11 ! commits covered; the next.3 miss closedStates (#38810) now has CHANGELOG lines. |
| #38851 (getting-started / drivers docs, closed) | E1 | Fixed. The docs at the tag describe the 6 pins, no connector executor pinned, and pg brought by the CLI through knowledge-pgvector; the behaviour matches. |
| #38852 (build-without-code draft wording, closed) | B2 | Fixed. Line 33: "Your saves go live; the AI assistant's drafts wait … on the Pending tab" (#38884); the UI matches. |
| #38849 (501 console error on row selection, closed) | O-U3 → A/U | Fixed. 0 console errors and 0 responses ≥ 400 on selecting 2 rows, twice on the next.4 scaffold and twice on the upgraded uapp; the next.3 control still logs the 501; the door itself still answers the designed 501 NOT_IMPLEMENTED. |
#38879 / O-U1 (--write on exportsOf, closed) |
U, D1 | Fixed. --write wrote 1 of 1 and the range on exportsOf-wired projects. New, separate: K1 (form move deletes without writing). |
| #33901 (pg overlay index) | E3 | Holds. |
| #35182 (18.6.0 page and row) | F1a | Holds. |
#35183 (next below latest) |
F1b (i) | Holds. |
| #33903 (CHANGELOG coverage) | F1b (ii) | Holds for ! commits (11/11). |
From #39334 (pre-release P0 of 23e859ae, an ancestor of the release):
- service-automation: the connector-credentials Setup entry still targets the retired group
group_integrations, so every boot logsnav_contribution_group_renamed#39335 (open) recurs in the published release: thenav_contribution_group_renamedline prints on every next.4 boot. - objectql: an inline select field whose options repeat a value publishes with no refusal, while a named picklist with the same repeat is refused #39336 (open) recurs: the inline select with a repeated value publishes 200.
- QA pre-release P0 round (2026-12-03) close-out anchor: protocol-19 switch missing from the P0 set, and checklist-accuracy notes #39337 (protocol-19 switch coverage): D1, D2 and U drove the switch end to end (refusal before switch, preview, apply, re-run, boot). It works on clean data. K2 and O-N6/O-N7 are what it does with real stored forms.
CANDIDATE DEFECTS FOR THE SEAT
- K1 (U, strong).
os migrate meta --from 18 --writedeletes a named form view from the source and writes it nowhere, while saying "Wrote 1 of 1" and "no mechanical change remains".- Repro: scaffold
create-objectstack@19.0.0-next.3, addformViews: { intake: { type:'simple', data:{provider:'object',object:'uapp_company'}, sections:[…] } }tocompany.view.ts, bump the 6 pins to 19.0.0-next.4,pnpm install, thenos migrate meta --from 18 --write. - Expected: the form moved to a
formitem (the dry run says→ forms[name=uapp_company.intake]), or left in place and reported as not written. - Actual: the
formViewsblock is removed, no form source is written (the stack has noforms:), one⚠ … not written: formsline, exit 0, andos validatepasses. Reproduced twice.
- Repro: scaffold
- K2 (U, strong).
os migrate protocol --to 19 --applymoves a stored form "with its body as written", keepingdata, into aformrow the form door refuses (422), and reports "Switched … census finds nothing to move".- Repro: on next.3,
PUT /api/v1/meta/view/uapp_company.quick{"name":"uapp_company.quick","object":"uapp_company","viewKind":"form","config":{"type":"simple","data":{"provider":"object","object":"uapp_company"},"sections":[…]}}. Upgrade to next.4, runos migrate apply --yes, thenos migrate protocol --to 19 --dev --database-url … --apply --yes, then boot. - Expected: a valid
formrow, withdatafolded intoobjectas the source conversion does. - Actual:
sys_metadataform|uapp_company.quickkeepsdata, the boot logs[metadata_spec_invalid] … Unrecognized key(s) on this form: data, and the read returnsvalid:false. Reproduced on two DB copies. O-N7 is a weaker second instance (a form name the D3 rule refuses).
- Repro: on next.3,
- K3 (D / F1b iii, strong, docs).
releases/v19/index.mdx"Coming from 18.x" omitsos migrate protocol --to 19 --apply --yes, though every 18.x (and next.3-created) database refuses to boot on next.4 without it. The page is also not refreshed for next.4 (header saysnext= next.3, 0 of next.4's 11!PRs).upgrading.mdxlines 172–185 do carry it. Repro in F1b. - K4 (O-N6, weak to moderate). An 18.6 stored form row in the flattened overlay shape, which 18.6 accepts as valid, holds the switch, and the remedy is only reachable on 18.x by DELETE and re-create.
os migrate stored-formsis not in 18.6.0. - Note for Release: @objectstack/spec 19.0.0-next.2 ships the action-locations rename (#37929) but its CHANGELOG has no entry for it #38300: the one unconsumed changeset at
779ff419(F1b ii). - Note for service-automation: the connector-credentials Setup entry still targets the retired group
group_integrations, so every boot logsnav_contribution_group_renamed#39335 / objectql: an inline select field whose options repeat a value publishes with no refusal, while a named picklist with the same repeat is refused #39336: both recur in the published release.
ONE-LINE RELEASE READING
next.4 installs, boots, serves and upgrades cleanly on SQLite and PostgreSQL, and next.3's four extracted cards are fixed. The two FAILs are in the forms move of the 19 upgrade: migrate meta --write drops a named form from source, and the protocol switch writes stored forms the form door refuses. The v19 release page also does not tell an upgrader to run the now-mandatory protocol switch. None of this blocks next.4 as a prerelease, but K1 to K3 should land before the 19.0 GA upgrade is called done.
SETUP VERSUS TEST TIME
- Setup: about 8 minutes (the brief, RUNNER.md, the standing-regression note, QA run · smoke:npm-19.0.0-next.3 (24/24) · ea6e312a · 2026-12-01 · 21 PASS / 2 PARTIAL / 1 FAIL / 0 BLOCKED / 0 NOT-RUN #38847 and comments, QA run · priority:P0 (24/24) · 23e859ae · 2026-12-03 · 22 PASS / 2 PARTIAL / 0 FAIL / 0 BLOCKED / 0 NOT-RUN #39334, fetching the tags, the v19 and upgrading docs).
- Test: about 60 minutes across the 24 cells, with D and U (the forms switch) taking about half. No helper subagent was used.
WITHHELD
Nothing. No security finding.
Activity
objectstack-fleet commentedon Dec 3, 2026
qa#2 · os-elon-musk · session_016WV4cxJNpkr4Xh649tuo55
Close-out 2026-12-03T18:50Z. Each fail disposed of:
Extracted: #39392 · smoke:npm-19.0.0-next.4 · U (K1, migrate meta --write deletes view forms)
Extracted: #39393 · smoke:npm-19.0.0-next.4 · U (K2 and K4, protocol switch writes invalid form rows)
Extracted: #39394 · smoke:npm-19.0.0-next.4 · F1b (release page omits the protocol switch, stale for next.4)
E1 PARTIAL stays as on #38847: the pg-missing refusal cannot be triggered because
pgships through the CLI, and the docs now say so (#38851 fixed). Recurred on the release, cards already open: #39335, #39336, #38300 (one unconsumed non-breaking changeset). Re-judged fixed: #38851, #38852, #38849, #38879. Closingcompleted.objectstack-fleet commentedon Dec 3, 2026
qa#2 · os-elon-musk · session_016WV4cxJNpkr4Xh649tuo55
Closed
completed2026-12-03T18:53Z: the npm smoke of next.4 is closed out in comment 7388770929 (3 extracted, 0 open fail).