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
Productize the internal dogfood regression engine as a published library and an
`objectstack verify` CLI so third-party and template authors can run the same
runtime proofs (auto-derived CRUD round-trip fidelity + the cross-owner RLS
invariant) against their own apps.
- new public @objectstack/verify: bootStack / deriveCrudCases /
runCrudVerification / runRlsProofs, moved+generalized from packages/dogfood/src
(tsup ESM+CJS+DTS, publishConfig public)
- new `objectstack verify` oclif command (--app/--rls/--multi-tenant/--json);
exits 1 on create-failed/read-failed/fidelity-gaps/rls-hole
- dogfood now consumes @objectstack/verify; drop 3 redundant auto-verify tests
(replaced by an `objectstack verify` CI step over the example apps); keep the
hand-written golden regressions (#2018 tz, #1994 RLS, #2004 field fidelity)
- fix: the harness used a port-less loopback inject origin (http://localhost)
that fails better-auth's default dev trusted-origins (http://localhost:*);
use a ported base so dev-admin sign-in passes in a bare node CLI and the test
runner alike
- add @objectstack/verify to the changeset `fixed` group; changeset for verify+cli
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
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: 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