Repository navigation
feat!: plan 101 wave 6b (2/2): x exercise, the 21st gate step, both apps unpinned - #989
Merged
Merged
Conversation
Contributor
|
Fix failing CI on #989
Queued — waiting for a free box. 🤖 developerz.ai, an automated agent, not a human — developerz-ai[bot] |
…pps unpinned
- `x exercise [<name>] [--seed n] [--json]`: every action, query and job once on a scratch
migrated database, as a test process pinned before the app loads, with the throwaway seal key
when the app has none; `.x/exercise.json`. Static tenant check (X_ENTITY_TENANT_UNDECLARED).
- `x verify` runs 21 steps: `exercise` after `job`, as a child. `x db seed --generate`.
- `x new` writes apps/web/exercise.ts + its unit test (218 files, 185 with --no-example) and
names `exercise` in x.verify.json.
- Both tracked apps: apps/web/exercise.ts overrides, 0 unreached, `exercise` unpinned
(expectedRed {}) and in each x.verify.json.
- Docs: 21 steps everywhere, CHANGELOG #91–#93, Upgrading, wiki, package docs, status.yml.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
sebyx07
force-pushed
the
feat/plan-101-wave-6b-2
branch
from
November 6, 2026 02:41
3d5eb24 to
50174f6
Compare
…its two password actions off Scaffold smoke went red after every generator: createSession, confirmSession and destroySession answered X_NO_REQUEST. The pass handed invoke a bare Ctx, and invoke's actor swap rebuilds a plain child with no request fields. The pass now builds a request context with the actor on it (withExerciseRequest), so destroySession is reached. createSession needs a real password and confirmSession a held challenge: x g sign-in writes an off entry for each into apps/web/exercise.ts. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…path Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part 2 of 2, stacked on #988. I'll retarget it to
mainonce #988 merges.What lands
x exercise [<name>] [--seed n] [--json]: every registered action, query and job runs once on a scratch migrated database, and the report is written to.x/exercise.json.testprocess, pinned before the app loads. A deploy environment is refused (X_CONTRACT_EXERCISE_ENVIRONMENT).bun test's throwaway one. CI sets none.x verifyhas 21 steps:exerciseruns afterjob, as a child process.x db seed --generatewrites rows for every registered entity from the declarations alone.X_ENTITY_TENANT_UNDECLARED.x new: writesapps/web/exercise.tsand its unit test (218 files, 185 with--no-example), and namesexerciseinx.verify.json.apps/web/exercise.tsand 0 unreached primitives. TheexpectedRedtables are now{}, and both apps listexerciseinx.verify.json.Gate
The full tree passed
bun run verifylocally: 21 steps, every one green except the same twopsqlpooler tests. The reference-app gate passed social 21/21 and dummy 20/21.offline-like.e2e, which fails onmainthe same way with this machine's Playwright Chromium.x newapp passesx exercisewith 5 of 5 reached.🤖 Generated with Claude Code