You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(verify): extract dogfood engine into public @objectstack/verify + CLI (#2041)
Public @objectstack/verify library + objectstack verify CLI; dogfood slimmed to consume it (golden tests kept); changeset fixed updated; CI verify step over example apps. Validated on framework examples, the external hotcrm app, and the 9-app template corpus. ADR-0054 updated to record the proof engine's extraction.
Add `@objectstack/verify` — boot any ObjectStack app in-process and verify it through the real HTTP stack: auto-derived CRUD round-trip fidelity (`runCrudVerification`) plus the cross-owner RLS invariant (`runRlsProofs`, "you can't write what you can't read"). Also adds an `objectstack verify` CLI command that runs these proofs against an app config and exits non-zero on real failures.
7
+
8
+
Extracted from the internal dogfood regression gate so third-party and template authors can run the same runtime proofs against their own apps. The private `@objectstack/dogfood` package now consumes this library for its golden regression tests.
Copy file name to clipboardExpand all lines: docs/adr/0054-runtime-proof-for-authorable-surface.md
+43-1Lines changed: 43 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@
3
3
**Status**: Accepted (2026-06-18)
4
4
**Deciders**: ObjectStack Protocol Architects
5
5
**Builds on**: [ADR-0049](./0049-no-unenforced-security-properties.md) (enforce-or-remove gate), [ADR-0005](./0005-metadata-customization-overlay.md) (artifact vs runtime), [ADR-0053](./0053-date-and-datetime-semantics.md) (the domain of the motivating regression)
6
-
**Consumers**: `@objectstack/spec` (liveness ledger `packages/spec/liveness/<type>.json`), the Spec Liveness Check CI gate (#1919), `@objectstack/dogfood` (the runtime gate, [#2020](https://github.com/objectstack-ai/framework/pull/2020)), spec authors, platform contributors.
6
+
**Consumers**: `@objectstack/spec` (liveness ledger `packages/spec/liveness/<type>.json`), the Spec Liveness Check CI gate (#1919), `@objectstack/dogfood` (the runtime gate, [#2020](https://github.com/objectstack-ai/framework/pull/2020)), `@objectstack/verify` (the published proof engine + CLI, [#2041](https://github.com/objectstack-ai/framework/pull/2041)), spec authors, platform contributors.
7
7
**Surfaced by**: PR [#2018](https://github.com/objectstack-ai/framework/pull/2018) — "organization timezone drives analytics date bucketing" was **green on every static gate** (build, ~900 unit tests, spec-liveness, CodeQL) yet broken end-to-end across three integration seams; and the field-type capability-matrix dogfood ([#2022](https://github.com/objectstack-ai/framework/pull/2022)), which on its first run found `rating`/`slider`/`toggle` reading back wrong-typed.
8
8
9
9
---
@@ -156,3 +156,45 @@ the proof corpus stays CI-cheap as it grows.
156
156
server-reachable behavior. Pure objectui/React render correctness belongs in
157
157
objectui's own suite; a property whose only failure mode is client render is
158
158
out of scope for this gate.
159
+
160
+
161
+
---
162
+
163
+
## Update (2026-06-19) — the proof engine is now `@objectstack/verify`
164
+
165
+
The proof *mechanism* this ADR assigns to `@objectstack/dogfood` has since been
166
+
extracted into a published, app-agnostic package: **`@objectstack/verify`**
Copy file name to clipboardExpand all lines: packages/dogfood/package.json
+3-12Lines changed: 3 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -3,27 +3,18 @@
3
3
"version": "0.0.1",
4
4
"private": true,
5
5
"license": "Apache-2.0",
6
-
"description": "Dogfood regression gate — boots real example apps in-process and exercises them through the real HTTP/service stack, catching runtime regressions that static checks (build, unit tests, spec liveness) miss.",
6
+
"description": "Dogfood regression gate — hand-written golden tests that boot real example apps through @objectstack/verify's in-process HTTP stack, pinning historical runtime regressions (#2018 timezone bucketing, #1994 cross-owner RLS, #2004 field fidelity) that static checks miss.",
0 commit comments