anhedral 0.16.0 → 0.18.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (195) hide show
  1. package/README.md +42 -20
  2. package/assets/contracts/LICENSE +201 -0
  3. package/assets/contracts/LICENSE.environment +201 -0
  4. package/assets/contracts/LICENSE.operations +201 -0
  5. package/assets/contracts/deployment-provenance.json +15 -0
  6. package/assets/contracts/environment-provenance.json +11 -0
  7. package/assets/contracts/operations-provenance.json +11 -0
  8. package/assets/launch/application.server.ts.txt +13 -0
  9. package/assets/launch/auth-client.ts.txt +4 -0
  10. package/assets/launch/home.tsx.txt +20 -0
  11. package/assets/launch/minimal-application.server.ts.txt +5 -0
  12. package/assets/launch/minimal-server.ts.txt +7 -0
  13. package/assets/launch/request-context.ts.txt +3 -0
  14. package/assets/launch/root.tsx.txt +27 -0
  15. package/assets/launch/router.tsx.txt +21 -0
  16. package/assets/launch/server.ts.txt +13 -0
  17. package/assets/launch/sign-in.tsx.txt +53 -0
  18. package/assets/launch/styles.css.txt +19 -0
  19. package/assets/security/credential-patterns.d.mts +3 -0
  20. package/assets/security/credential-patterns.mjs +59 -0
  21. package/assets/stack/api-index.ts.txt +6 -1
  22. package/assets/stack/event-retention.sql.txt +10 -0
  23. package/assets/stack/stripe.ts.txt +30 -13
  24. package/assets/ui/UPSTREAM.json +1 -18
  25. package/dist/bin.js +55 -36
  26. package/dist/capabilities.d.ts +1 -1
  27. package/dist/capability-catalog.d.ts +44 -11
  28. package/dist/capability-catalog.js +96 -11
  29. package/dist/capability-command.d.ts +2 -2
  30. package/dist/capability-command.js +178 -27
  31. package/dist/capability-editor.js +6 -5
  32. package/dist/capability-recipes.js +54 -6
  33. package/dist/cli-arguments.d.ts +2 -0
  34. package/dist/cli-arguments.js +101 -50
  35. package/dist/cli-commands.d.ts +1 -1
  36. package/dist/cli-commands.js +30 -6
  37. package/dist/cli-errors.d.ts +18 -0
  38. package/dist/cli-errors.js +63 -0
  39. package/dist/cli-output.d.ts +22 -0
  40. package/dist/cli-output.js +42 -7
  41. package/dist/command-runner.d.ts +1 -0
  42. package/dist/command-runner.js +88 -0
  43. package/dist/command-schema.d.ts +16 -0
  44. package/dist/command-schema.js +390 -21
  45. package/dist/completion.d.ts +2 -0
  46. package/dist/completion.js +201 -0
  47. package/dist/composition.d.ts +35 -0
  48. package/dist/composition.js +28 -0
  49. package/dist/contracts/cli-transport.d.ts +217 -0
  50. package/dist/contracts/cli-transport.js +167 -0
  51. package/dist/contracts/deployment.d.ts +282 -0
  52. package/dist/contracts/deployment.js +234 -0
  53. package/dist/contracts/environment-file.d.ts +7 -0
  54. package/dist/contracts/environment-file.js +112 -0
  55. package/dist/contracts/environment-transport.d.ts +79 -0
  56. package/dist/contracts/environment-transport.js +110 -0
  57. package/dist/contracts/runtime-logs-transport.d.ts +127 -0
  58. package/dist/contracts/runtime-logs-transport.js +50 -0
  59. package/dist/contracts/source-bundle.d.ts +11 -0
  60. package/dist/contracts/source-bundle.js +197 -0
  61. package/dist/contracts/source-profile.d.ts +4 -0
  62. package/dist/contracts/source-profile.js +5 -0
  63. package/dist/contracts/staging-transport.d.ts +79 -0
  64. package/dist/contracts/staging-transport.js +43 -0
  65. package/dist/dependencies.d.ts +10 -4
  66. package/dist/dependencies.js +17 -54
  67. package/dist/index.d.ts +6 -0
  68. package/dist/index.js +4 -0
  69. package/dist/launch.d.ts +21 -0
  70. package/dist/launch.js +250 -0
  71. package/dist/platform-command.d.ts +9 -0
  72. package/dist/platform-command.js +584 -0
  73. package/dist/platform-environment.d.ts +18 -0
  74. package/dist/platform-environment.js +257 -0
  75. package/dist/platform-operations.d.ts +26 -0
  76. package/dist/platform-operations.js +155 -0
  77. package/dist/platform-source.d.ts +8 -0
  78. package/dist/platform-source.js +111 -0
  79. package/dist/platform-state.d.ts +13 -0
  80. package/dist/platform-state.js +207 -0
  81. package/dist/platforms/tanstack.d.ts +8 -0
  82. package/dist/platforms/tanstack.js +155 -0
  83. package/dist/registry/options.js +34 -31
  84. package/dist/registry/resolve.js +2 -0
  85. package/dist/registry/usage.d.ts +4 -1
  86. package/dist/registry/usage.js +58 -4
  87. package/dist/scaffold/documentation.js +17 -48
  88. package/dist/scaffold/styling.d.ts +1 -1
  89. package/dist/scaffold/workspace.js +11 -7
  90. package/dist/stack-registry.d.ts +2 -4
  91. package/dist/stack-registry.js +1 -11
  92. package/dist/standard.js +21 -6
  93. package/dist/transaction.js +28 -3
  94. package/dist/ui-command.d.ts +4 -2
  95. package/dist/ui-command.js +79 -38
  96. package/dist/ui-project.d.ts +2 -0
  97. package/dist/ui-project.js +38 -8
  98. package/dist/util.js +40 -61
  99. package/dist/version.d.ts +1 -1
  100. package/dist/version.js +1 -1
  101. package/docs/capabilities.md +22 -88
  102. package/docs/software-factory.md +189 -16
  103. package/docs/stack-standard.md +6 -18
  104. package/docs/ui.md +9 -22
  105. package/docs/verification.md +6 -1067
  106. package/package.json +33 -22
  107. package/assets/ui/native/_controls.tsx +0 -521
  108. package/assets/ui/native/_core.tsx +0 -118
  109. package/assets/ui/native/_data.tsx +0 -200
  110. package/assets/ui/native/_display.tsx +0 -453
  111. package/assets/ui/native/_feedback.tsx +0 -242
  112. package/assets/ui/native/_legacy-dialog.tsx +0 -38
  113. package/assets/ui/native/_motion.tsx +0 -520
  114. package/assets/ui/native/_overlay.tsx +0 -402
  115. package/assets/ui/native/_selection.tsx +0 -366
  116. package/assets/ui/native/accordion.tsx +0 -1
  117. package/assets/ui/native/alert-dialog.tsx +0 -11
  118. package/assets/ui/native/alert.tsx +0 -1
  119. package/assets/ui/native/aspect-ratio.tsx +0 -1
  120. package/assets/ui/native/attachment.tsx +0 -8
  121. package/assets/ui/native/avatar.tsx +0 -8
  122. package/assets/ui/native/badge.tsx +0 -1
  123. package/assets/ui/native/breadcrumb.tsx +0 -9
  124. package/assets/ui/native/bubble.tsx +0 -1
  125. package/assets/ui/native/button-group.tsx +0 -1
  126. package/assets/ui/native/button.tsx +0 -86
  127. package/assets/ui/native/calendar.tsx +0 -170
  128. package/assets/ui/native/card.tsx +0 -44
  129. package/assets/ui/native/carousel.tsx +0 -1
  130. package/assets/ui/native/chart.tsx +0 -193
  131. package/assets/ui/native/checkbox.tsx +0 -1
  132. package/assets/ui/native/code-block.tsx +0 -137
  133. package/assets/ui/native/collapsible.tsx +0 -1
  134. package/assets/ui/native/combobox.tsx +0 -1
  135. package/assets/ui/native/command.tsx +0 -11
  136. package/assets/ui/native/context-menu.tsx +0 -16
  137. package/assets/ui/native/data-table.tsx +0 -1
  138. package/assets/ui/native/date-picker.tsx +0 -43
  139. package/assets/ui/native/dialog.tsx +0 -15
  140. package/assets/ui/native/direction.tsx +0 -1
  141. package/assets/ui/native/drawer.tsx +0 -10
  142. package/assets/ui/native/dropdown-menu.tsx +0 -16
  143. package/assets/ui/native/empty.tsx +0 -8
  144. package/assets/ui/native/field.tsx +0 -13
  145. package/assets/ui/native/hover-card.tsx +0 -1
  146. package/assets/ui/native/input-group.tsx +0 -8
  147. package/assets/ui/native/input-otp.tsx +0 -1
  148. package/assets/ui/native/input.tsx +0 -28
  149. package/assets/ui/native/item.tsx +0 -12
  150. package/assets/ui/native/kbd.tsx +0 -1
  151. package/assets/ui/native/label.tsx +0 -4
  152. package/assets/ui/native/layout.tsx +0 -26
  153. package/assets/ui/native/marker.tsx +0 -1
  154. package/assets/ui/native/menubar.tsx +0 -17
  155. package/assets/ui/native/message-scroller.tsx +0 -6
  156. package/assets/ui/native/message.tsx +0 -10
  157. package/assets/ui/native/native-select.tsx +0 -1
  158. package/assets/ui/native/navigation-menu.tsx +0 -10
  159. package/assets/ui/native/pagination.tsx +0 -9
  160. package/assets/ui/native/popover.tsx +0 -1
  161. package/assets/ui/native/progress.tsx +0 -1
  162. package/assets/ui/native/questionnaire.tsx +0 -130
  163. package/assets/ui/native/radio-group.tsx +0 -1
  164. package/assets/ui/native/registry.json +0 -1103
  165. package/assets/ui/native/resizable.tsx +0 -1
  166. package/assets/ui/native/scroll-area.tsx +0 -1
  167. package/assets/ui/native/select.tsx +0 -11
  168. package/assets/ui/native/separator.tsx +0 -1
  169. package/assets/ui/native/sheet.tsx +0 -10
  170. package/assets/ui/native/sidebar.tsx +0 -22
  171. package/assets/ui/native/skeleton.tsx +0 -1
  172. package/assets/ui/native/slider.tsx +0 -1
  173. package/assets/ui/native/spinner.tsx +0 -1
  174. package/assets/ui/native/switch.tsx +0 -1
  175. package/assets/ui/native/table.tsx +0 -10
  176. package/assets/ui/native/tabs.tsx +0 -1
  177. package/assets/ui/native/text.tsx +0 -20
  178. package/assets/ui/native/textarea.tsx +0 -1
  179. package/assets/ui/native/theme-switcher.tsx +0 -22
  180. package/assets/ui/native/toast.tsx +0 -11
  181. package/assets/ui/native/toggle-group.tsx +0 -1
  182. package/assets/ui/native/toggle.tsx +0 -1
  183. package/assets/ui/native/tooltip.tsx +0 -1
  184. package/assets/ui/native/trace.tsx +0 -20
  185. package/assets/ui/native/typography.tsx +0 -15
  186. package/assets/ui/theme-storage.ts +0 -25
  187. package/assets/ui/theme.tsx +0 -66
  188. package/dist/platforms/mobile.d.ts +0 -2
  189. package/dist/platforms/mobile.js +0 -137
  190. package/dist/scaffold/expo-runtime.d.ts +0 -3
  191. package/dist/scaffold/expo-runtime.js +0 -42
  192. package/dist/scaffold/native-ui.d.ts +0 -2
  193. package/dist/scaffold/native-ui.js +0 -74
  194. package/docs/anhedral-stack.md +0 -7
  195. package/docs/native-ui.md +0 -102
@@ -1,1068 +1,7 @@
1
- # Progressive init and thin Anhedral UI — October 26, 2026
1
+ # Development evidence
2
2
 
3
- Prepared on `codex/progressive-ui` from staging `97c4f28` in an isolated checkout. The primary checkout's ongoing native port is preserved. New init generates only Next.js/OpenNext/Workers with editable Anhedral UI (three reviewed web starter components), shared tokens and tooling. The CLI adds ui init/add/list/diff/doctor, a packaged upstream catalog and an empty reviewed native extension registry. Web uses official shadcn; native falls back to RNR NativeWind 4. No new whole-library fork or runtime UI package is introduced. Existing Platform pins and installed plugins are unchanged.
4
-
5
- Validation: CLI build; 106 unit tests passed with zero failures and one existing conditional skip; lint/typecheck/format/hygiene/release policy; static security; plugin package; packed consumer; and packlist checks. A real generated web consumer installed official Card, passed typecheck/lint and built an OpenNext Worker. Repeated add preserved a customization in Card; diff preview reported it. A real two-conflict batch and an offline colored-prompt regression verify that the wrapper declines each overwrite and closes installer input after the completed file report. The compiled minimal runtime smoke passed prerender, SSR/RSC, server action/cookie round-trip and asset headers, and confirmed that no backend API exists. Measured Worker: 4,877,700 raw bytes / 1,000,286 individually gzipped bytes, below 4 MiB. The fresh minimal generated consumer also passed its full pnpm check and cold/warm Next type-generation cache restoration. Retained Hono proxy and explicit legacy full-stack/native source tests remain separate.
6
-
7
- A prepared Expo 56 / React Native 0.85.3 / React 19.2.3 / NativeWind 4.2.7 consumer used native ui init and installed RNR Button plus its Text/slot dependency. It passed TypeScript and an iOS Metro/Hermes export. The first export identified a missing direct react-native-css-interop dependency under pnpm; adding the matching NativeWind dependency to this fixture resolved it. This is consumer setup evidence, not a new native project generator or device acceptance claim. Fixtures and logs are retained locally under `.artifacts/progressive-{web,native}` and `/tmp/anhedral-progressive-*`; they are not shipped assets.
8
-
9
- The first hosted CI run failed because the retained native harness still invoked default init and expected packages/native-ui. Its fixture now selects the explicit legacy recipe; the public default remains minimal. The generated cache helper likewise handles web-only projects. After the harness correction, the preserved legacy native suite passed typechecking and 144 tests on each simulated platform (iOS and Android); these are RNTL tests, not device acceptance. The original failure log is retained locally at /tmp/anhedral-progressive-ci-failure.log.
10
-
11
- Limits: native init requires upstream Expo/NativeWind/RNR setup, uses one styling engine, and does not rewrite native app layouts. Catalog availability is not parity. Registry endpoints remain live upstream sources; the inventory revision is not a downloaded-source integrity pin. Cross-target preflight prevents setup errors from mutating earlier targets, but upstream installs are not a cross-project transaction. No Android/iOS interaction acceptance, exhaustive native suite, live provider checks, remote migrations, package publication, installed-plugin update or Platform artifact adoption was performed. Release checks and version preparation remain required before publication.
12
-
13
- # UI source and Expo SDK boundaries — October 25, 2026
14
-
15
- Prepared on an isolated branch from staging `5e211c0`, coordinated with the active native UI chat. The stack standard, generated README/AGENTS guidance and design skill now distinguish editable reviewed DOM/native source, shared tokens, the upstream review fork, host-owned Expo/React Native/React peers and direct Expo SDK capability usage. Application permissions, background work, uploads and push registration remain application responsibilities. Expo UI adoption is selective; custom native bridges and the ongoing native port are preserved.
16
-
17
- Validation: CLI build; all four standard scaffold tests; lint/typecheck/format/hygiene/release policy; static security; skills-only plugin check; skill frontmatter validation; and packlist policy (189 files, 462,179 packed bytes) passed. The stack-standard plugin reference was refreshed by the build. The skill validator initially lacked PyYAML; validation passed using an isolated temporary dependency directory without changing project dependencies. No runtime/component/dependency changes, new native acceptance claim, package publication, installed plugin update or Platform deployment occurred. The active native checkout was not edited, built or packaged. Its remaining OS/parity work is independent of this guidance change.
18
-
19
- # Next/OpenNext runtime gate — October 25, 2026
20
-
21
- Implemented in an isolated branch from staging; unrelated native registry work remains untouched. Relevant PRs compile the current init-only foundation and exercise actual OpenNext/workerd: prerendered home, dynamic SSR/RSC, synthetic Server Action/cookie round-trip, Hono service binding and immutable asset headers. The fixture remains local and has no configured database migrations or provider calls.
22
-
23
- Validation: CLI build, lint/typecheck/format/hygiene, static security/release policy, packed consumer and packlist passed. Unit suite: 99 passed, zero failed, one conditional skip. Compiled runtime smoke passed; final emitted Worker measured 5,219,988 raw bytes and 1,078,898 individually gzipped bytes, below the initial 4 MiB regression ceiling. Budget boundary/overflow and scope-selection regressions passed. The public homepage is proven prerendered from Next's manifest; request-dependent fixture routes remain dynamic. No npm publication, deployment or installed plugin update occurred. CI is configured in source; hosted acceptance remains separate.
24
-
25
- # Scaffold-only CLI preparation — October 24, 2026
26
-
27
- Prepared on `codex/scaffold-only` from staging in an isolated checkout. The actively edited CLI checkout and its native UI work are preserved. This is an unpublished breaking 0.16.0 candidate; no installed plugin, Platform image, provider account, remote database or deployment was changed.
28
-
29
- Scope: `init` is the sole product command; npm exports expose generation only. Removed provider authentication, delivery/provisioning/operations, payments additions, inspection/catalog/MCP and their retired tests. Generated applications retain Next.js/OpenNext, native Expo, web shadcn and native ports, Hono/workerd, Drizzle/D1 and a private R2 binding, contracts/tokens and explicit consumer migration/configuration scripts. They contain no auth/email/billing integration or public object routes. The skills-only Codex plugin explains this stack, initializes it, starts local development/opens the browser, and recommends separately installed provider plugins when requested. Historical evidence below remains unchanged.
30
-
31
- Validation: CLI build/typecheck, lint/format/source hygiene, static security and release policy pass. The unit suite passes with one existing conditional skip. Skills-only packaging and published-file policy pass. The packed npm consumer successfully installs the package and initializes the foundation with real dependencies; generation does not register a catalog. The generated HTTP contracts pass six positive/negative semantic compiler cases without source rewriting. A fresh application passes lint, typecheck, strict dead-code analysis, configured dependency-audit policy, and serial production builds including Next/OpenNext and the Hono Worker. An isolated local Next → Hono/workerd health request succeeds without application credentials; removed auth, file and payment routes return 404. Test servers stop after acceptance. No configured remote migrations run.
32
-
33
- Limit: full generated `pnpm check` still fails Fallow's health complexity threshold on the unchanged native port catalog (28 findings in the initial fresh run). The scope change's unused web UI/helpers were repaired; final strict dead-code analysis passes. Native UI source is deliberately unchanged because separate active work owns it. The raw dependency audit reports the reviewed node-forge advisory (accepted only with the existing exact local patch) and two moderate transitive advisories; the existing policy preserves the raw report and passes. No new exceptions or weakened thresholds were introduced. Browser interaction, physical-device/store acceptance, live providers and production operation are not claimed. Existing Platform runtime pins keep the prior generator and inspect command until a separate explicit adoption.
34
-
35
- # Expo native shadcn catalog — October 24, 2026
36
-
37
- The CLI now maintains native semantic adaptations for all 66 entries in the shadcn Components catalog reviewed on 2026-10-24. `assets/ui/native/registry.json` pins the IDs, exports, shared helpers and evidence status; [Native UI](native-ui.md) is its generated parity checklist. This baseline excludes separately maintained AI Elements, form-library integrations and ecosystem registries. Native style/events, SVG chart data and touch/menu interactions deliberately have native APIs rather than DOM/Recharts compatibility.
38
-
39
- - The real offline generator is used by both the contract tests and native test harness. Tests compare copied sources, explicit helper inventory, all public exports/module paths, an independent upstream ID snapshot, examples and Expo-compatible dependency pins. Fresh applications receive all source, attribution, inventory and native guidance. Application edits are never overwritten by CLI upgrades.
40
- - React Native Testing Library: 144 tests in nine suites pass under both iOS and Android module resolution (288 executions), using real generated components. Tests exercise controlled values, disabled inputs, long press, native back/escape, menus/filtering, calendar bounds/leap dates/ranges, cumulative drag state, adjustable actions, table selection/sort/pagination, timers, source-preserving syntax/diff highlighting, clipboard failure/retry, six SVG chart types, questionnaire submission, safe areas, themes and reduced-motion subscriptions. Native persistence/clipboard bridges are isolated at the platform boundary. Coverage gates require 90% lines, 85% statements, 75% functions and 70% branches.
41
- - Strict TypeScript 6 includes the generated mobile application's `noUncheckedIndexedAccess` setting. A fresh installed core application passes native-package ESLint, native-package typechecking and mobile typechecking. Expo SDK 57 exports Hermes bundles for iOS and Android for that application and the complete 66-component gallery. SVG is pinned to the SDK's 15.15.4 native ABI and Clipboard to 57.0.2.
42
- - CLI build, lint, source hygiene, static security and release policy pass. The full root unit run initially had two failures: the isolated plugin fixture omitted the newly required native guide and the bundled stack-standard link lacked that reference. Both were fixed at their source; the full rerun reports 560 tests, 559 passed and one existing optional runtime test skipped. Plugin checks, packed CLI smoke and explicit packlist checks pass. Live upstream comparison reports exactly the 66 pinned IDs. Native changes run the test harness within the existing single Linux CI gate; no hosted device/build matrix is added.
43
-
44
- The gallery is maintained in `tests/native-ui` for native review. Interactive device acceptance remains pending for every component: neither JavaScript tests nor Hermes exports establish VoiceOver/TalkBack, physical gestures, OS focus restoration, dynamic type or hardware behavior. A local test simulator could boot, but the Simulator application was unavailable and the existing development client lacked the new Clipboard module; no interactive acceptance is claimed. The temporary Metro server was stopped and the simulator returned to its prior shutdown state. No provider configuration, store submission, production deployment or package publication occurred.
45
-
46
- # Next.js web and Expo native architecture — October 23, 2026
47
-
48
- CLI 0.15 source preparation separates full Next.js App Router web (SSR/RSC through
49
- Cloudflare OpenNext) from Expo iOS/Android. The UI contracts are DOM shadcn for web
50
- and the Anhedral-maintained React Native port of shadcn for native, with shared
51
- semantic tokens and public API contracts. Hono, Drizzle/D1 and private R2 remain
52
- core; Stripe and RevenueCat remain the only additions.
53
-
54
- The canonical diagram was regenerated in both themes as self-contained SVG and
55
- 1920×1080 PNG using the existing local Chrome renderer. The same SVG bytes are
56
- mirrored by the Platform landing. This is documentation/artwork verification;
57
- it does not establish generated-app, installed-plugin, native-device, provider,
58
- hosted-image or production acceptance. Record runtime evidence separately.
59
-
60
- ## Next development proxy response framing — October 23, 2026
61
-
62
- The Platform Linux image proof reproduced a failed `/api/health` response through
63
- actual Next dev: Node fetch decoded the Hono sidecar's gzip body, but the generated
64
- proxy retained its compressed `Content-Encoding` and `Content-Length`. The next
65
- HTTP client attempted to decode the already-decoded response and failed.
66
-
67
- The development HTTP proxy now removes those stale wire headers before Next
68
- frames the response. The production service-binding path retains its existing
69
- response handling. A real loopback HTTP server supplies a gzip response in the
70
- regression test; all five Next web tests pass. `pnpm build` and `pnpm lint` also
71
- pass, including typecheck, formatting, source hygiene and release-policy checks.
72
- This evidence does not establish a deployed Platform runtime; its image and live
73
- initialization are verified separately in the Platform repository.
74
-
75
- The full `pnpm release:check` passed: 550 unit tests passed with one existing
76
- skip, frozen patch installation checks passed, and packed CLI smoke and packlist
77
- checks passed. Linux Next dev returned `200 {"ok":true}` through `/api/health`
78
- and `200 null` through `/api/auth/get-session` after applying the generated fix.
79
-
80
- ## CLI 0.15 generated runtime acceptance — October 23, 2026
81
-
82
- The implementation agent recorded the following local evidence for the unpublished
83
- 0.15 source preview, with Next.js web separate from Expo native:
84
-
85
- - Complete generated `pnpm check` passed: lint, typechecks, Fallow with zero issues,
86
- dependency audit, available tests and builds. A manual fixture rsync temporarily
87
- overwrote its patch policy; after restoring the ordinary-init policy, the full
88
- check passed. This was a test-harness issue, not an initialization result.
89
- - The packed tarball completed ordinary initialization, including staged dependency
90
- resolution, patches and frozen installation; doctor and target checks passed.
91
- - Both iOS and Android Hermes exports passed, with output retained locally at
92
- `/tmp/anhedral-next-native-final-export`. This is export evidence, not device,
93
- screen-reader, store or native interaction acceptance.
94
- - Production OpenNext running in local workerd passed SSR/RSC, guarded account,
95
- cookie roundtrip, signup, reload, sign-in/sign-out and rejected native-origin
96
- checks. Browser acceptance reported zero errors. The final typography-only
97
- OpenNext rebuild passed: 5474.81 KiB upload, 1130.07 KiB gzip and 44 assets;
98
- its additional browser/layout rerun was still pending when this entry was written.
99
- - Root Turbopack development reached first compile/browser readiness in 4825 ms.
100
- A source edit reached HMR in 790 ms, preserving window state with zero browser
101
- errors. Webpack development failed reproducibly in
102
- `WasmHash._updateWithBuffer` with an undefined `length`; production webpack and
103
- OpenNext builds passed. The supported default development path uses Turbopack.
104
-
105
- A small warm-workerd comparison used three fresh Chrome contexts before the final
106
- heading CSS adjustment. Next readiness was 115/90/78 ms, transferred bytes were
107
- 172418/172089/172092 and FCP was 72/40/40 ms. The earlier Expo baseline medians
108
- were 149 ms readiness, 438928 transferred bytes and 48 ms FCP. These are tiny local
109
- samples with a warm server, not universal performance claims or live deployment
110
- measurements. They do not establish a consistent FCP improvement.
111
-
112
- No npm publication, installed-plugin update, hosted-image activation, production
113
- deployment, real payment or physical-device acceptance is established by these
114
- checks. Final serialized CLI/plugin/reference checks follow this documentation
115
- update and must be recorded separately if they expose further failures.
116
-
117
- # Focused core verification — October 23, 2026
118
-
119
- The 0.14.0 source intentionally narrows initialization to Expo + Hono + Drizzle/D1 + private R2, supporting Better Auth and styling, with only Stripe and RevenueCat additions. This supersedes the older catalog scope in the historical evidence below. Existing applications/resources were not migrated or deleted. Compiled 0.13 output was preserved locally before rebuilding; output and credentials remain ignored rather than committed.
120
-
121
- Validation of this change:
122
-
123
- - CLI build, typecheck, formatting/hygiene, release policy and static security passed.
124
- - Complete CLI unit suite after the streamlining pass: 545 passed, one platform-conditional skip, zero failures (546 tests).
125
- - Codex plugin check: typecheck/build and 61 tests passed; browser smoke 11/11 passed using installed Chrome.
126
- - Packed CLI installed/executed successfully; packlist allowlist passed (222 files, approximately 543 KB compressed at this validation).
127
- - OSV audit passed for all 56 unique locked/catalog dependency versions.
128
- - Generated all four supported selections in isolated tests; offline init, authored-source preservation, addition rollback/conflicts, private secret exclusion and generator provenance covered.
129
- - Private-file route tests against real Hono passed: anonymous and cross-user rejection, upload/download/delete, origin protection, actual streamed size enforcement and misleading Content-Length.
130
- - Installed generated both-payment workspace: lint and typecheck across seven packages, Fallow audit with zero issues, dependency audit under existing reviewed local-patch policy, Hono Worker bundle, Expo web export and gateway bundle passed. Generated pnpm test currently has no default product tests; successful execution alone is not test coverage.
131
- - Real local workerd: exported Expo routes, gateway service binding, isolated local D1 authentication/session/revocation and native scheme/origin handling passed.
132
- - Actual generated Hono/Better Auth/Drizzle signup/login/session/revocation passed with in-memory SQLite. Generated Stripe/RevenueCat billing reconciliation tests passed with synthetic vendor responses, including idempotency, webhook replay/order, ownership/CSRF, expiry/revocation, provider union and outage/retry recovery.
133
-
134
- The follow-up streamlining pass removed obsolete alternate-stack adapters and unused bootstrap test fixtures, aligned human help/plugin defaults with the supported stack, and removed a retired dependency's secret-scanner exemption. Regression tests cover actual core catalog paths and payment-only suggestions. CLI build/lint/static security, all unit tests, plugin check (61 tests), packed smoke and package allowlist passed again. The final package remains 222 files, approximately 543 KB compressed. README instructions distinguish the source candidate from a published npm release.
135
-
136
- Worktree recovery review also recovered a one-line inspector safe-area correction: project details now retain host top padding through the shared CSS variable. Two new browser regressions exercise 24px and 112px insets through project/tab/list navigation. Plugin typecheck/build and all 61 plugin tests passed; browser smoke passed 13/13 using installed Chrome. This simulates the host layout contract and does not claim installed native-host acceptance.
137
-
138
- The CLI presentation follow-up restores a connected static default-stack diagram in both themes, with only Stripe and RevenueCat marked optional. The README, stack guide, npm documentation and plugin references carry valid image targets. Only the two PNGs are added to the npm package; editable SVG/layout/logo source remains documentation source. CLI build/lint, documentation/plugin contracts, packed smoke and packlist passed (224 files, approximately 793 KB compressed). The platform landing mirrors the canonical SVGs rather than maintaining a second diagram layout. Artwork does not certify provider activation or deployment.
139
-
140
- Local staging acceptance generated a fresh core application through ordinary init, including dependency installation and Git initialization. Drizzle generation reported no schema changes; the generated lint, typechecks, Fallow/dependency audit and web/Worker builds passed. Local D1 migrations were applied explicitly. Browser acceptance reproduced a return-to-sign-in race after sign-out: the API accepted the new session while the account hook still held the earlier anonymous state. The generator now mounts the session hook on sign-in and awaits its refresh after server verification, before navigating. This follows the supported [Better Auth session hook](https://better-auth.com/docs/basic-usage#use-session).
141
-
142
- The expanded real-workerd browser regression passed signup, protected account, reload, sign-out, sign-in again, another reload and mobile viewport checks in a newly generated application. Local D1 session/revocation and native scheme/origin transport checks passed. Independent live local R2 checks exercised upload/download/delete, forced attachment headers, anonymous rejection, cross-user read/delete isolation, mutation-origin rejection and the 1 MiB bound. CLI build/lint and all 545 unit tests passed with one conditional skip. Logs are retained locally under `/tmp/anhedral-staging-init-*` and `/tmp/anhedral-staging-default-flow*.log`; generated applications and private local state remain ignored. These checks exercise web and API transport, not native-device execution.
143
-
144
- No cloud provisioning, real payment, configured-database migration, deployment, app-store/device acceptance, npm publication or installed-plugin update occurred. Existing installed runtimes remain separate from this source candidate. Historical provider reports below are dated evidence, not current live verification.
145
-
146
- ---
147
-
148
- # Verification record
149
-
150
- Dated records below describe the source and environment exercised at that time. Earlier results are historical evidence, not acceptance of a later release. Current architecture and operating instructions live in the stack standard and software factory.
151
-
152
- ## README stack catalog and static artwork — 2026-10-19
153
-
154
- Replaced the README Mermaid diagram with dark/light static artwork. After reviewing the earlier connected reference, refined the illustration to Expo web/iOS/Android → Hono → Better Auth / Drizzle + D1 / private R2, with Cloudflare hosting, native distribution, shared UI/contracts and workspace tools. Large icons, short labels and thin curves follow the landing hero style. The caption explicitly preserves plain init's Expo-only selection; backend/auth/data are added when needed. The README retains the under-construction notice, early starting commands, all CLI selections and upstream documentation for 117 named ecosystem options.
155
-
156
- Local validation: all 38 registry entries remain represented in the retained catalog; CLI build, four documentation-contract tests and the npm packlist policy passed. Inspected rendered artwork for icons, connections and label spacing. No CLI runtime behavior, provider configuration or deployment changed. GitHub/npm image URLs will show this artwork after the assets reach main.
157
-
158
- ## Full Cloudflare default and optional shared billing — 2026-10-18
159
-
160
- New plain initialization and new Expo selections include Expo web/iOS/Android, Hono, Better Auth, Drizzle/D1 and private R2. Explicit Neon replaces D1. WXT-only initialization adds an extension to that default; explicit primary applications preserve their compatibility selection. Existing saved selections and unrelated additions do not receive new profile defaults. Legacy billing SDK/guidance projects require their pinned CLI or an explicit reviewed migration; strict provenance was preserved.
161
-
162
- Stripe and RevenueCat are independently optional. Generated shared contracts, Expo web/native billing adapters, authenticated Hono Checkout/portal/identity/entitlement routes and a server enforcement example are connected. The authenticated subject is the RevenueCat App User ID. Server-only Drizzle tables store account/customer ownership, fenced reconciliation snapshots and an idempotent webhook inbox. Stripe signatures use raw request bodies; RevenueCat requires configured Authorization and supports HMAC with timestamp checks. Canonical provider reads reconcile grants instead of trusting event order or client purchase state. A bounded scheduled retry drains pending events. Access caches expire within sixty seconds and never outlive provider expiry; stale access fails closed during outages. Provider environments and native public keys remain isolated from private credentials.
163
-
164
- Checkout guards nonterminal subscriptions independently of entitlement state, including refunded or past-due subscriptions. Verified open same-plan sessions are reused across distinct intents; another pending plan returns a conflict. Root client error handling gives safe conflict guidance. SDK operations fence native identity changes; RevenueCat logout failure cannot prevent Better Auth session revocation. R2 remains a private binding: each product must implement file ownership checks before exposing file routes.
165
-
166
- Local evidence:
167
-
168
- - CLI build, lint and static security checks passed. The full unit suite passed with 743 passing, zero failures and two existing skips (745 total); the focused release-scanner regression also passed. The scanner correction exempts only adjacent empty assignments in example files; populated secrets and JavaScript multiline credentials remain detected.
169
- - Retained `examples/billing-reference` was generated with `--stripe --revenuecat`; its final full `pnpm check` passed, including client/server/Worker types, Fallow, dependency audit, static web export and both Worker dry builds. Reviewed reference migration source is `0001_billing.sql`; no configured database was migrated. Final iOS/Android Hermes exports passed with the real optional RevenueCat native package and account-transition adapters.
170
- - `pnpm test:billing` passed against the compiled generated Hono Worker, real Better Auth/Drizzle SQL and Stripe SDK, with synthetic vendor HTTP responses and in-memory SQLite. It covered authenticated account isolation, strict plans/body/origins, deterministic retries, open-session reuse, duplicate-sale guards, server enforcement, independent optional providers, Stripe/RevenueCat grant union, refund/revocation, cancellation versus expiry, trial/past-due behavior, native transfers, invalid/stale signatures, environment/app scope, duplicate/out-of-order events, concurrent lease fencing, stale-cache outage denial and durable scheduled recovery. SQLite fixtures do not certify Cloudflare D1 semantics; vendor fixtures do not certify provider/store acceptance.
171
- - A final fresh `node tests/test-generated-apps.mjs universal-billing` passed initialization/install, generated SQL/check/build, local workerd/D1/R2 auth and the compiled billing proof, including open-session reuse and duplicate-sale guards. The hosted CI matrix now includes this reproducible profile.
172
- - Real local workerd, service bindings, D1 and private R2 loaded successfully. Chrome verified signup, protected account/reload, sign-out and mobile viewport behavior. An initial concurrent-edit run observed Worker reload/session unavailability; the unchanged assertions passed after source writers stopped. No timeout or security assertions were relaxed.
173
- - Main repository `pnpm check` and `pnpm build` passed. The five local Anhedral skills passed frontmatter/UI-metadata YAML and local-reference checks. CLI build refreshes bundled references; an installed plugin is not silently updated.
174
-
175
- Billing provider products/prices, webhook ingress and credentials, RevenueCat project/store policy, signed native builds and real sandbox purchases still require owner configuration and acceptance. Native exports are not device tests. Nothing was provisioned, deployed or published; no financial provider writes, charges or remote migrations were performed. Earlier dated records remain historical evidence of their own source/environment.
176
-
177
- ## Universal Expo default — 2026-10-18
178
-
179
- New plain initialization selects Expo web/iOS/Android in `apps/mobile`, Hono in `apps/api`, shared contracts/styling and Wrangler delivery on Cloudflare. SDK 57 exports static web assets behind a thin API-binding gateway. Explicit Vinext/Next.js selections and existing projects remain supported. Better Auth selects a database and generates browser/native session adapters, exact application-scheme trust, SecureStore integration and account screens. Billing entitlements and the portal publisher remain separate implementation work.
180
-
181
- Local evidence:
182
-
183
- - CLI build, lint, static security policy and the full unit suite passed: 740 passing, zero failures and two existing conditional skips (742 total). Coverage includes gateway forwarding/caching/failure behavior, API-first target order, public build-variable isolation, native cookie rotation and server/browser/native auth boundaries.
184
- - Retained `examples/universal-reference` was generated from the local CLI with `--better-auth --no-git`. Its complete `pnpm check` passed, including lint, client/server/gateway types, Fallow, dependency audit, static web export and both Worker dry builds. Its lockfile and source are retained; generated outputs remain ignored.
185
- - `pnpm test:reference --browser` passed against real local workerd, an API service binding and disposable D1. It exercised health/exported routes, signup/login, protected contracts, incorrect-password rejection, sign-out/revocation, forged identity-header rejection, native scheme/cookie transport and untrusted-scheme rejection. Headless installed Chrome verified account creation, the protected account screen, reload, sign-out and a 390px viewport without horizontal overflow. The helper creates local synthetic credentials/state, applies migrations only with `--local`, refuses existing configured private files and cleans its processes/files.
186
- - A second fresh `node tests/test-generated-apps.mjs universal-auth` passed initialization, installation, full generated `pnpm check` and the real workerd/D1 gateway acceptance flow, proving the retained example does not depend on manual source repairs.
187
- - Final iOS and Android Hermes exports passed with the platform-specific auth and development-client modules. This proves bundler compatibility, not an installed native build or device session persistence.
188
- - Main repository `pnpm check` and `pnpm build` passed. Five local Anhedral skills passed YAML/frontmatter/UI-metadata and local-reference validation.
189
-
190
- The browser preview currently needs a new static export for changes; it does not provide web HMR. Arbitrary unknown dynamic URLs require explicit routing/rendering design. Physical-device/simulator native acceptance, native compilation/signing, deployed Cloudflare behavior, store purchase sandboxes and complete billing synchronization remain unverified. No cloud provisioning, remote migration, deployment, package publication or installed-plugin update occurred. Earlier records below retain their original source/environment scope.
191
-
192
- ## Default Hono backend — 2026-10-18
193
-
194
- New initialization includes Hono and framework-independent Zod/HTTP contracts. Web remains Vinext/Cloudflare by default; explicit native Next.js/Vercel calls the API through a server-only configured URL. Cloudflare web/API service bindings, cookie-preserving same-origin transport, selected database bindings/factories and Better Auth routes/session UI are generated together. Database and identity remain opt-in. New routes still need product authorization. Existing registry metadata remains compatible; readiness and additions do not apply new backend defaults to old selections.
195
-
196
- Local validation:
197
-
198
- - CLI build and lint (types, formatting, source hygiene and release policy) passed. The unit suite passed with 738 passing and two skipped tests, including shared-client response validation and Vercel server-credential transport checks. The composition matrix now validates 200 supported combinations.
199
- - A fresh `node tests/test-generated-apps.mjs web-auth` completed initialization/install, generated `pnpm check` (including Fallow and dependency audit), build, real Vite/workerd web→API service binding, rendered auth screen, signup/login, protected session, invalid-password rejection, signout and revocation. Compiled Worker/Drizzle auth also passed against isolated in-memory SQLite; both generated Workers passed production-runtime local previews. Test data and credentials were synthetic/local; migrations were never applied to a configured production database.
200
- - An isolated generated native Next.js/Vercel + Hono/Neon profile passed its full `pnpm check` and build after regeneration with the current scaffold. No live Neon database or protected Vercel-to-Cloudflare deployment was exercised. Its API URL and optional Access service credentials remain explicit deployment configuration.
201
- - A copy of the original HEAD generator produced real old web-only, Hono-only and combined Hono/web/auth receipts. Current readiness accepted each; adding Resend preserved its API source and did not silently generate/migrate contracts. Pre-contracts Hono web/auth additions require an explicit migration.
202
- - The five local skills in the main repository passed frontmatter/UI-metadata parsing and local-reference checks. Main repository `pnpm check` and `pnpm build` passed for the checked working state. Historical verification records remain intact.
203
-
204
- The Expo/RevenueCat/Stripe sequence is a documented implementation roadmap, not generated native authentication, store purchases or verified billing behavior. No cloud provisioning, remote migrations, deployment, package publication or installed-plugin update occurred. Provider access/protection, native/device acceptance, store sandboxes and real billing remain separate verification work.
205
-
206
- ## Maintenance practices — 2026-10-18
207
-
208
- Added the software factory's evidence-driven maintenance workflow and connected it to the CLI's root `AGENTS.md`, contribution/PR guidance, shipped Anhedral skill and generated application instructions. It covers removal evidence for published/generated consumers, operational flag dependencies, focused changes, causal flaky-test diagnosis and controlled instruction comparisons. Existing uncommitted CI work was preserved. These instruction changes have not been evaluated through comparative agent task replays; no model cost or quality improvement is claimed.
209
-
210
- Local CLI build, generator and plugin package contracts (`node --test tests/test-standard.test.mjs tests/test-plugin.test.mjs`, two tests passed), source hygiene, changed TypeScript formatting and `git diff --check` passed. Build refreshed bundled canonical references. Skill YAML parsing passed using the repository's YAML library, and package contracts checked bundled Markdown reference targets. The skill-creator Python validator could not start because PyYAML is unavailable. No full release gate, provider acceptance, publication or installed-plugin update was performed for this local workflow change.
211
-
212
- ### CLI integration verification — 2026-10-18
213
-
214
- Reviewed the pending maintenance guidance and documentation-only CI changes together with the Windows pnpm PATH fix. Ordinary contribution and PR-template Markdown now takes the documentation path; registry matrix preparation is skipped for that path. Source, shipped plugin instructions, unknown comparison history and manual runs retain full checks. Regression coverage includes source-to-document renames, whitespace failures, generated instructions preserving existing framework guidance, and earlier pnpm shims taking precedence over later native executables.
215
-
216
- Local CLI and optional inspector builds passed with a 384 MB Node heap cap. All 16 targeted tests passed across CI scope, release-candidate policy, command execution, generated guidance, documentation contracts, plugin packaging/workflow and standard generation. Root lint (types, formatting, hygiene and release policy), static security policy, package allowlist (227 files, 607781 packed bytes) and `git diff --check` passed. The first plugin workflow check correctly rejected a stale runtime; rebuilding the inspector resolved it. Frozen inspector dependency installation changed no lockfiles. Build refreshed bundled references. Hosted CI, the full cross-platform/generated-app matrix, browser acceptance, current external advisory refresh, publication and installed-plugin updates were not performed in this focused pass.
217
-
218
- ## Release candidate 0.12.0 — 2026-10-16
219
-
220
- This candidate combines the CLI/service refactor with optional Cloudflare Stream live video and consolidated documentation. Stream supplies a server-only management factory; billing activation, input ownership, broadcast/player UI, signed playback and live media acceptance remain explicit integration work. The README links into three maintained documents: the stack standard, software factory and this dated evidence record. Provider, CLI, dashboard, Void and codebase-review material is retained in those documents; packaging and plugin references use the same sources.
221
-
222
- Local validation on the assembled candidate passed CLI build, lint/type checking/formatting, source hygiene, release policy, static security policy and the full CLI suite (729 passed, two existing skips; 731 total). Package allowlisting passed with 227 files. The generated Stream management source compiles; request tests cover explicit playback privacy, bounded account/input identifiers and sanitized HTTP/JSON failures. Composition covers Vinext, Hono, native Next.js and OpenNext. A pre-existing README link to unpublished source was changed to its GitHub URL after package validation caught it.
223
-
224
- The first hosted generated-profile pass caught a complexity finding in the Stream response parser across Vercel auth, Neon API and Worker-service profiles. Validation is now split into private field/endpoint/input readers without changing public behavior or weakening the gate. The generated source passes the same Fallow 3.33.1 complexity threshold locally, with a maximum cyclomatic complexity of four; expanded malformed endpoint regressions pass. Complete generated profiles still require the updated hosted run. The local patch-installation regression attempt timed out during its registry-dependent pnpm step; hosted release checks must establish those frozen-install regressions.
225
-
226
- Inspector type checking and build passed; 61 of 62 tests passed locally, with the preview listener test blocked by this session's loopback `listen EPERM` restriction. Hosted CI must establish the full listener/browser, generated-profile, clean-install, advisory and supported OS/Node gates before publication. Local Git metadata writes and shell network access are restricted; the connected GitHub integration is used for source delivery. These local results do not claim publication, a newly installed plugin or live Stream acceptance.
227
-
228
- ## Refactoring coherence review — 2026-10-16
229
-
230
- Completed the six reviewed refactoring areas: CLI dispatch and delivery routing, human result formatting, mobile build orchestration, source transaction locking, Cloudflare delivery evidence, and Vercel project/provider helpers. Public imports through `src/index.ts`, `src/delivery.ts` and `src/vercel.ts` retain their existing entry points. Command options come from the same schema as help and validation; initialization and source-preview selection retain their specialized parsers. The CLI design guide records the resulting module boundaries.
231
-
232
- Follow-up reading traced the extracted helpers through lifecycle locking and recovery, provisioning, provider authentication/readiness, mixed-stack shipping, management output, service inspection, inspector bundling and release packaging. A normalized function-body comparison against HEAD confirmed that all 42 extracted transaction-lock, Cloudflare evidence and Vercel project helper functions are unchanged apart from their export modifiers. Mobile orchestration preserves the whole-flow lifecycle lock, source rechecks, provider identity checks, credential filtering and journal-before-submission ordering. Unknown EAS submissions still block further mutations; queued builds resume by recorded ID. Provider-specific blocked states and mixed-stack preflight remain intact.
233
-
234
- The review also consolidated the unchanged Vercel CLI version into the shared dependency catalog. Authentication and delivery now consume one audited, Renovate-tracked pin. A regression checks both command paths against that catalog version. Other regressions cover schema-driven argument collection, 26 human-output contracts captured before extraction, initial EAS project linking and foreign-owner rejection, alongside the earlier D1 and CLI error fixes.
235
-
236
- Fallow 3.33.1 found no dependency cycles after extraction. The measured orchestration functions are smaller: `main` has cyclomatic complexity 11 (previously 74), `runDelivery` 5 (121), `formatResult` 2 (117), and `executeMobileBuild` 10 (88). These are per-function measurements reflecting decomposition; they do not establish lower total branching or measured test coverage. Existing complex lifecycle and validation functions remain subject to their domain tests.
237
-
238
- Final local validation passed: CLI build; lint, type checking, formatting, source hygiene and release policy; static security policy; 723 CLI tests with two existing skips (725 total); inspector type checking and 22 focused service, inspection, MCP and integrity tests against the rebuilt runtime; package allowlist (228 files); and `git diff --check`. Fresh packed installation, external advisory refresh, browser/listener checks and live provider acceptance remain unverified in this restricted environment. Changes are local and uncommitted.
239
-
240
- ## Codebase review and service fixes — 2026-10-16
241
-
242
- D1 table discovery now uses SQLite GLOB patterns for the literal internal prefixes `sqlite_` and `_cf_`. The previous LIKE patterns treated underscores as single-character wildcards and hid valid application tables. A real in-memory SQLite regression exercises table discovery and browsing, preserves `acfxrecords`, `_cfXrecords` and `sqliteXapp`, and excludes Cloudflare and SQLite internal tables. This regression skips explicitly on Node versions without `node:sqlite`; the current local run executed it.
243
-
244
- CLI inspection failures now report `INSPECTION_FAILED`, service-operation failures report `SERVICE_FAILED`, and service grammar errors use the existing `CliArgumentError` / `INVALID_ARGUMENT` contract. Subprocess regressions verify nonzero status, empty stdout, structured stderr and command-specific next actions. Unknown commands retain their existing classification. The CLI and inspector guides describe the behavior; the build refreshed the bundled inspector reference.
245
-
246
- Continued review covered workspace composition and additions, source transaction recovery, provider provisioning and private runtime configuration, Cloudflare/Vercel/mobile delivery and recovery, inspector transport/data boundaries, canonical stack/factory documentation and release artifact verification. Fallow 3.33.1 analyzed 258 files under the repository configuration and found no dependency cycles. Command dispatch (`runDelivery`, `main`), result formatting and mobile delivery remain complexity hotspots. Source-only example imports and published/runtime-facing exports require contextual review; static findings were not used as deletion proof. The inspector is excluded from that Fallow configuration and was reviewed separately.
247
-
248
- Validation: build, lint/typecheck/format, source hygiene, release policy and static security checks passed. The full CLI suite passed 693 tests with two existing skips (695 total). Inspector type checking and 22 focused inspection, service, MCP and archive-integrity tests passed against the rebuilt runtime. The package allowlist passed (218 files); `git diff --check` passed. Fresh packed installation, generated-runtime/browser checks, external advisory refresh and live provider acceptance are not established by these local checks. No provider resources, deployment, publication or source commit was changed.
249
-
250
- ## Final branch checks for 0.11.1 — 2026-10-16
251
-
252
- Hosted CI on the first wrap-up commit exposed colored preview URLs, a Vinext RSC chunk-layout defect, a generated Neon factory complexity finding and the unused brace-expansion 3.x catalog advisory described below. Preview discovery now strips terminal controls while preserving diagnostics. An RSC-only final bundler output hook keeps server chunks beside Vinext's real emitted manifests, preserving client/SSR layouts and avoiding copied or synthesized modules. A two-entry Rolldown reproduction goes from one broken import to none; a cached real Void/Vinext build validates 55 server modules with no missing imports. The generated runtime harness now checks emitted relative module imports before workerd starts. The Neon factory separates URL parsing from SDK creation and passes the generated health gate; source-backed SDK sealing still passes. The approved example received only the matching build-config and override corrections, with refreshed source fingerprints.
253
-
254
- After those corrections, the local suite passed 690 tests with two explicit skips (692 total); focused follow-up checks also passed. Hosted CI must pass again on the corrected commit before merge/release.
255
-
256
- The next hosted run passed 34 of 35 jobs, including real workerd web/API previews, Better Auth/D1 session lifecycle, fresh published Neon SDK wrappers and the advisory scan. Its remaining Clerk preview lacked private runtime configuration. The isolated anonymous-rendering fixture now supplies disposable public/private test keys, refuses existing private files, removes its owned environment file and reports bounded, redacted server diagnostics on HTTP failure. Seven focused preview tests pass; live Clerk identity remains outside this fixture's scope. Final hosted CI remains the merge/release gate.
257
-
258
- The final local CLI suite passed 686 tests with two explicit skips (688 total). Root lint, type checking, source hygiene, release policy, static security scanning and both real frozen pnpm patch installation suites passed. Built the CLI and inspector together, packed the CLI tarball and plugin ZIP, verified their integrity and scanned the artifacts for secrets. The approved full-stack example remains source-only under `examples/full-stack`, with one root `anhedral.json` and no provisioned resources.
259
-
260
- The release must use a successful hosted CI candidate from the exact final main commit. Local registry DNS and listener restrictions remain as described below; the hosted generated-profile matrix, fresh packed installations, advisory refresh and inspector browser checks are release gates. Local archives are preparation evidence, not publication evidence.
261
-
262
- ## Neon Realtime option — 2026-10-16
263
-
264
- Added optional `--neon-realtime` as live PostgreSQL query foundations, independently of `--realtime` Durable Object rooms. It selects Neon, rejects D1, requires a server and preserves the single root `anhedral.json`. Better Auth database defaults now resolve consistently regardless of flag order. The package separates server sealing and browser subscriptions; shipping reads the branch secret only from the selected backend's private runtime file. Realtime activation, allowed origins and product authorization remain manual application setup.
265
-
266
- Reviewed the official [overview](https://neon.com/docs/realtime/overview), [query/authorization guide](https://neon.com/docs/realtime/guides/queries), [subscription guide](https://neon.com/docs/realtime/guides/subscribing) and [Drizzle example](https://neon.com/docs/realtime/examples/drizzle). Exact SDK pins are `@neon/realtime@0.1.0` and `@neon/realtime-drizzle@0.1.0`, checked against the official [October 14 release commit](https://github.com/neondatabase/neon-pkgs/commit/36f8c44bbbb52d978f243700c211c25e13f16928). The adapter's Drizzle peer range includes the existing `0.45.4` pin. Existing Neon HTTP runtime and direct transactional migration tooling are retained.
267
-
268
- Local evidence:
269
-
270
- - Full CLI unit run: 680 passed, two skipped, zero failures (682 total). Six additional feature tests passed separately after they were added.
271
- - The content matrix generated 166 compatible single-option/runtime selections; all 2,646 option pairs resolved deterministically or failed selection validation. Composition also covered both realtime options together.
272
- - Build, root lint, static security policy and package allowlist passed.
273
- - Generated secret handling tests cover Void, Wrangler and native Vercel, backend isolation, Better Auth coexistence, invalid/missing credentials and tracked-file rejection.
274
- - Authentic SDK source from the exact release commit was bundled for a browser target with cached esbuild and real Drizzle `0.45.4` / Neon serverless `1.2.0`. Local sealing produced randomized encrypted capabilities, stable same-query fingerprints, distinct user-scoped fingerprints and approximately 60-second expiry. Alias enforcement and Drizzle date/timestamp parsers were exercised. Client construction/close opened no socket. Fail-fast fetch/WebSocket replacements ruled out network activity.
275
- - The committed `tests/test-generated-neon-realtime.mjs` passed against actual generated database/server/client factories with those source-backed SDK bundles. It is wired into the native Vercel and Hono/Neon generated integration profiles for execution against fresh installed dependencies in CI.
276
-
277
- Limits: registry DNS is unavailable here, so SDK evidence uses official release source rather than a fresh published npm installation. The optional dynamic `ws` import remains in the browser bundle; source bundling passed, but workerd compilation and live subscription behavior are unverified. Branch activation, allowed origins, authorization, renewal/revocation and reconnect behavior need a real application's acceptance tests. No provider service was enabled, provisioned or deployed. Earlier release-candidate artifacts below predate this option and must be rebuilt for any release.
278
-
279
- Verified locally on 2026-10-16 with Node.js 26.8.2 and pnpm 10.34.5.
280
- Repository: https://github.com/anhedral/anhedral-cli, branch
281
- `codex/project-services-dashboard`. The checkout contains uncommitted work;
282
- this record does not identify a published release or a deployed source commit.
283
-
284
- ## Dependency management
285
-
286
- The CLI and bundled plugin target version 0.11.1. The installed development
287
- plugin is 0.11.0; verification used the checkout's built 0.11.1 CLI and plugin
288
- runtime. Existing project reorganization, Void integration and reviewed braces
289
- and node-forge patches were preserved.
290
-
291
- Security override versions now live in `src/dependencies.ts`, alongside other
292
- generated dependency pins. The catalog audit includes their actual package
293
- coordinates, Renovate discovers the pins, and static policy rejects literal
294
- override versions outside the catalog. A regression test generates Vinext,
295
- Next.js/Cloudflare, WXT and Electron workspaces and checks every selected
296
- override against the audited catalog. Override versions and selection rules
297
- are unchanged.
298
-
299
- ## Completed checks
300
-
301
- - Root and inspector frozen lockfile installs passed offline with scripts disabled.
302
- - CLI and inspector production builds passed.
303
- - Type checking, formatting, source hygiene, release policy and static security checks passed.
304
- - The full CLI unit suite passed after consistency fixes: 657 passed, two explicitly skipped.
305
- - The generated-override catalog regression passed for all four profiles.
306
- - Package allowlist passed: 214 files in the CLI tarball.
307
- - CLI tarball and plugin ZIP creation, artifact integrity verification and release secret scanning passed.
308
-
309
- ## Remaining release gates
310
-
311
- - `pnpm audit:osv` cannot resolve `api.osv.dev` in this execution environment.
312
- - Packed CLI fresh-install smoke testing was stopped after registry access stalled.
313
- - `pnpm plugin:check` passed type checking and build, with 59 of 60 inspector tests
314
- passing. The preview test failed because this environment rejects listening on
315
- `127.0.0.1` with `EPERM`; its HTTP behavior remains unverified here.
316
- - Generated application integration builds, browser tests, supported Node-version
317
- and operating-system matrices must still pass in CI.
318
-
319
- No publication or production deployment was performed. Run the full CI matrix
320
- on the intended committed source, then use the existing reviewed-candidate
321
- release workflow with that commit and the CLI/plugin integrity values produced
322
- by CI. Local artifacts are candidates and do not replace successful CI evidence.
323
-
324
- ## Dependency patch simplification
325
-
326
- Renamed the installer to `src/dependency-patches.ts` and removed its braces-only compatibility entry point. The exact patches, upstream notices, customer-content conflict checks, LF attributes, and transactional generation/add behavior are retained.
327
-
328
- Generated audit policy is reduced from 480 to 167 lines. It preserves raw pnpm JSON, validates reports, blocks unrelated high/critical findings, and allows only the reviewed exact advisory/version pairs with the effective pnpm patch mapping and reviewed patch SHA-256. pnpm returns absolute configured paths; policy tests cover both relative and absolute mappings. Frozen installation owns patch application and lockfile consistency; audit no longer certifies installed package trees or executes package code.
329
-
330
- Regression probes now live only under `tests/support/`. The install fixtures no longer depend on live advisory-service responses. `npm_config_offline=true pnpm test:patch` passed with cached public packages: frozen patch installation, changed-patch rejection, braces depth/cycle and glob/watch behavior, and node-forge valid/malformed signatures through Node and both browser bundles. Deterministic audit tests cover exact exceptions, report failures, changed patches, and missing/wrong configuration.
331
-
332
- The rebuilt CLI and inspector, full CLI suite (649 passed, two skips), focused audit-policy tests, lint, static security policy, and package allowlist passed. The stale inspector build initially blocked one unit test; rebuilding the inspector resolved it. Fresh packed installation and current external advisory-service checks retain the limitations listed above. No publication or deployment was performed.
333
-
334
- ## Consistency fixes
335
-
336
- The owner excluded backward compatibility and upgrades of existing projects. No upgrade workflow or compatibility layer was added; current-version validation remains.
337
-
338
- Completed fixes:
339
-
340
- - Capability metadata and its tests now describe the implemented service status, analytics and bounded database readers; schedule execution remains unsupported and provider status is distinct from application health.
341
- - Vercel provider names are normalized and bounded independently of package/directory names, including punctuation and long names.
342
- - Generation/setup/diagnostics share runtime eligibility and Void selection policy. Doctor requires the pinned pnpm version.
343
- - Root unit tests verify/reuse the inspector runtime, or install its frozen dependencies and rebuild it before packaging tests. The offline test run exercised repair of a stale runtime; the final run reused the verified result. Older CLI Node lanes continue to consume the verified CI artifact.
344
- - Neon runtime provisioning leaves the migration package's credentials untouched. Provider next actions and generated documentation require a separate direct DATABASE_URL_UNPOOLED, SQL generation/review and explicit migration.
345
- - Generator subprocesses have bounded execution in both verbose and captured-output modes, with timeout regressions.
346
- - CLI and inspector use a shared service-operation dispatcher. CLI discovery includes unbound resource receipts. KV key metadata follows provider cursors; D1 schema is preserved for empty tables. D1/Neon queries use bounded projections, SQL masking and explicit row ordering; live writes can still shift offset pages.
347
- - The generated-profile runner now invokes the existing Void fresh-build/production-preview harness after ordinary checks. The full hosted generated matrix remains unverified here.
348
- - Generated guidance states explicitly that starters contain no application tests or test:live script. Obsolete catalog snapshot documentation is corrected.
349
-
350
- Validation passed: CLI build; 657 CLI tests with two skips; 43 focused consistency/cursor tests; lint (including type checking, formatting, source hygiene and release policy); static security policy; offline patch install/runtime regressions; package allowlist (214 files). A real in-memory SQLite experiment additionally verified SQL masking before fetched rows, truncation, ordering and empty-table schema. Inspector type checking/build and 59 tests passed; its one preview-listener test still fails with environment EPERM on 127.0.0.1. Browser/provider acceptance, external advisory refresh and fresh packed dependency installation retain the limitations above.
351
-
352
- No provider mutations, publication, production deployment or source commit were performed.
353
-
354
- ## Continued review: runtime state and preview failure handling
355
-
356
- Fixed source receipt/addition transaction policy to exclude disposable Void/Vinext caches, generated Wrangler configuration and app migration mirrors. Authored database source remains tracked. The addition regression includes runtime state and a cached symlink and exercises the real staged addition path.
357
-
358
- Fixed the generated production-preview harness to observe process errors/closure immediately, cap retained diagnostics, bound startup/build/HTTP waits, terminate process groups and escalate termination. Five real subprocess regressions cover early exit, spawn failure, ignored SIGTERM, descendant-held output pipes and excessive startup output. These tests require no listening socket.
359
-
360
- Validation passed: CLI build; full offline CLI unit suite (663 passed, two skipped, zero failures); focused registry/preview tests (18 passed); lint; static security policy; package allowlist (214 files); and git diff whitespace checks. Root unit preparation rebuilt and verified the inspector runtime after the source change. The actual generated workerd preview, hosted matrix, fresh dependency resolution and live provider acceptance remain subject to the limitations recorded above. No provider mutations, publication or source commit were performed.
361
-
362
- ## Multistage independent review
363
-
364
- Four subagents independently reviewed CLI/registry contracts, generated applications, delivery/provider recovery, and repository/plugin/release coherence. Cross-reviews checked each track's fixes; a final scan checked grammar, exports, state formats and documentation together.
365
-
366
- Fixed the native-only workspace addition path so its first Cloudflare application selects the actual Void/Wrangler engine, including already registered zero-target workspaces while preserving identity/account/audience. Root engine requirements derive directly from selection. Registration now validates current setup provenance before writes and requires an explicit delivery engine. Removed the `new` compatibility alias, ambiguous add-directory parser, Wrangler-to-Void migration planner/candidate output, provider schema-1 migration, old catalog import and historical CLI-only release-verification fallback. Current OpenNext/Queues/Basin Wrangler profiles and current rollback/recovery remain supported. The private catalog now consistently uses projects naming. Updated canonical/bundled instructions and separated root/inspector Node type-definition update rules.
367
-
368
- Generated audit guidance now describes configuration/hash verification accurately. Void backend Vite configs restore declared inspector ports and enforce strict HTTP ports. The generated API profile opts into isolated local D1/Better Auth acceptance: reviewed local SQL, ephemeral credentials, matching local origin, signup/login/session/incorrect-password/revocation assertions and cleanup. Two reviewers checked persistence, environment and adapter contracts against cached pinned sources. This gate is wired but was not executed here; no workerd runtime success is claimed.
369
-
370
- Final validation: CLI build passed; full offline unit suite 662 passed, two skipped, zero failures (664 total); focused grammar/readiness/addition checks 30 passed; lint, static security policy, package allowlist (214 files), offline braces/forge installation/runtime regressions and whitespace checks passed. Inspector type checking/build passed and 59 tests passed; its listener test remains blocked by `listen EPERM` on 127.0.0.1. The inspector browser fixture was updated to the simplified options API and explicit engine marker and passed type checking. The packed smoke was attempted offline and stopped at ENOTCACHED for @neondatabase/serverless because that smoke intentionally uses an empty isolated npm cache. Hosted matrices, actual new auth preview, browser/provider acceptance and external advisory refresh remain unverified for this source. No provider mutation, publication, deployment or source commit was performed.
371
-
372
- ## Continued generated-runtime and package review
373
-
374
- A further independent review reproduced a packaging hole: deleting MCP configuration allowed the packer to skip runtime verification and accept an incomplete plugin distribution. The packer now requires the current skill, documentation references, MCP entrypoint, manifest assets and runtime files and always verifies runtime integrity. Regressions remove required files or redirect the MCP entrypoint and assert rejection. Cross-review found no additional packaging defect.
375
-
376
- Corrected public/server environment guidance against cached pinned Vinext sources. Vinext already loads app .env for local builds and maps NEXT_PUBLIC__; Vite client values use VITE__. Production public values belong in the build environment. Full ship can read protected untracked server values and send them through stdin to void secret; the old blanket claim that local dotenv values are never uploaded was inaccurate. Generated guidance and canonical/bundled references now agree. The Void evidence document's current version contract requires explicit engines; earlier local evidence is clearly labeled historical.
377
-
378
- Generated a new current Hono/D1/Better Auth/R2 workspace using the repository bootstrap fixture and real composer, then linked cached dependency installations. All direct pins in the API, auth and database packages were checked against installed versions. This was not a fresh upstream bootstrap or frozen dependency installation. The actual Vite build passed, and the actual compiled health/OpenAPI handlers passed direct Node execution.
379
-
380
- Added and ran tests/test-generated-auth.mjs against that freshly compiled output. It loads the shipped 0000_better_auth.sql into a private in-memory SQLite database, supplies the small D1 prepared-statement interface used by the actual Drizzle adapter, and dispatches requests to the real compiled generated handler. Actual Better Auth/Drizzle signup, login, session lookup, incorrect-password rejection and logout/session revocation passed. The shared assertion helper now accepts an injected transport and requires HTTP 200 for the revoked-session lookup before accepting null. This repeatable test runs in the isolated generated API CI profile before the separate workerd preview gate. It does not emulate or certify workerd, D1 provider behavior, Access, business authorization or cross-app identity.
381
-
382
- Wrangler generated the declared binding types but its runtime-type phase stopped at listen EPERM on 127.0.0.1; the subsequent generated tsc/lint steps were therefore not run in that attempt. Actual workerd preview and the full hosted generated profile remain unverified here.
383
-
384
- Validation: CLI build; full offline unit suite 663 passed, two skipped, zero failures (665 total); focused plugin/documentation/environment tests passed; lint, static security policy, package allowlist (214 files) and whitespace checks passed. Created a complete CLI tarball and plugin ZIP together in .artifacts/release-codebase-review, independently verified their identity/integrity, and passed the release secret scan. This is a local uncommitted candidate, not publication or hosted release acceptance. Fresh isolated npm installation and current external advisory refresh retain the earlier limitations. No provider mutation, publication, deployment or source commit was performed.
385
-
386
- ## Single root project configuration
387
-
388
- The owner requested one anhedral.json instead of multiple Anhedral metadata files at the project root. The generator, additive composition, registration, provider setup/auth/runtime, Cloudflare/Vercel delivery and recovery, doctor, catalog and inspector now use the same envelope with identity, standard, setup, registry, providers and selected cloudflare/vercel sections. Old root filenames are neither read nor migrated. Tool-owned manifests and private .anhedral runtime journals remain separate.
389
-
390
- Section updates validate bounded input, preserve unrelated sections, reject malformed envelopes without exposing their contents, write atomically, and share the existing source transaction lock. An interprocess regression confirms that competing configuration writers cannot overwrite each other's sections. The registry excludes the configuration file from recursive file hashing and retains independent configuration fingerprints; edited sections that regeneration would change still conflict, and whole-document comparisons detect concurrent changes. Tests cover preview immutability and preservation of provider settings and connected hosting identity. Inspector metadata is read once with persection error isolation; corrupt hosting data does not hide unrelated valid sections.
391
-
392
- The source-only examples/full-stack now contains only anhedral.json for Anhedral root metadata. Its identity, sixteen selected services/options, six targets and unconfigured provider/account state are preserved. Example syntax/workspace validation and security checks pass; doctor still reports only the intentionally missing dependency lockfile. No services were provisioned or shipped.
393
-
394
- Validation: CLI build; full offline unit suite 668 passed, two skipped, zero failures (670 total); focused configuration/addition checks 22 passed before the additional preservation regression; provider/auth/runtime/shipping suite 278 passed; inspector source section/catalog tests passed; lint, static security policy, package allowlist (216 files) and whitespace checks passed. Canonical/bundled instructions and browser fixtures use the unified file. Hosted/browser/workerd/live-provider and fresh dependency installation limitations remain as previously recorded. No provider mutation, deployment, publication or source commit was performed.
395
-
396
- Inspector follow-up: type checking/build passed, 61 tests passed and the one preview-listener test remains blocked by listen EPERM on 127.0.0.1. Rebuilt runtime source/integrity checks passed.
397
-
398
- ## Retired unused brace-expansion 3.x override
399
-
400
- The fresh OSV catalog scan flagged `brace-expansion@3.0.9` under GHSA-3jxr-9vmj-r5cp. The maintainer and reviewed GitHub advisory identify fixes on the 1.x, 2.x and 5.x lines, with no repaired 3.x version listed. The 3.x coordinate came from a blanket catalog override; it is absent from the CLI/inspector lockfiles and from all 18 accessible cached generated lockfiles inspected in the task temp directories and repository artifacts. Those generated locks contained 1.1.21 and 5.0.12.
401
-
402
- Removed the unused 3.x catalog pin and generated major override while retaining reviewed 1.1.21, 2.1.7 and 5.0.12 overrides. No advisory exception, audit relaxation or new patch was introduced. Catalog/override regressions assert the retained coordinates and absence of the unused 3.x override. A coordinated rebuild, fresh OSV scan and generated-profile verification remain necessary before release.
403
-
404
- ## Void delivery verification
405
-
406
- This records the implementation's evidence and remaining acceptance work. It is not a release certificate. Update the live results when an operation completes; retain sanitized target/version identifiers and actual acceptance results rather than diagnostic output.
407
-
408
- ### Version contract
409
-
410
- - Anhedral development checkout: `anhedral@0.11.1`.
411
- - Direct Cloudflare delivery: exact `void@0.27.0`.
412
- - Void runtime requirement: Node `>=24.21.0` (checked before execution).
413
- - Workspace package manager: `pnpm@10.34.5`.
414
- - The published Void package distribution and its bundled documentation were inspected. Installed executable version and app dependency pin must agree.
415
-
416
- Current Cloudflare configuration requires an explicit `deliveryEngine` in the `cloudflare` section of `anhedral.json`. Supported Void profiles select `void`; explicit OpenNext, Queues/DLQ and Basin profiles select `wrangler`. Missing or unsupported markers are rejected. No existing-project migration workflow is provided.
417
-
418
- ### Historical local evidence: initial Void integration
419
-
420
- These results describe the earlier integration snapshot. They do not certify the current uncommitted candidate; subsequent local reviews are recorded in the consolidated verification record.
421
-
422
- The initial Void/coherence local CLI suite passed **608 of 608 tests**, with zero failures. The inspector suite passed **60 of 60 tests**. Build, typecheck, formatting, source hygiene, static security policy, packed CLI smoke and package allowlist checks passed. The corrected OSV audit passed for **85 unique locked and direct-catalog package versions**; the inspector dependency audit also reported no known vulnerabilities. This does not audit every generated application’s transitive dependency graph.
423
-
424
- The normal generated combined workspace installed **395 packages** without extra harness dependency pins. Actual fresh builds passed for **Vinext 1.1.0 with Void 0.27.0** and **Hono**. Workerd returned HTTP 200 for rendered HTML, its client asset, API health and OpenAPI. A separate services profile covered D1/R2/KV/AI plus cron build/preview gates; the compiled scheduled handler was preserved and invoked successfully. Readiness responses contained an actual Worker version UUID.
425
-
426
- Wrangler applied the generated local D1 migration `0000_better_auth` (10 commands). The shared Better Auth/D1 runtime passed signup, login, cookie/session lookup, incorrect-password HTTP 401, logout and session revocation through `tests/test-void-local-auth.mjs`. These are actual local runtime checks rather than mocked provider tests. They do not prove Cloudflare provisioning, production secrets, visitor Access policy enforcement or remote rollback.
427
-
428
- The earlier generated dependency audit passed with a local `braces` backport and `fflate@0.7.5`; its raw advisory report still contained one high finding. The bundled backport system has since been removed at the owner’s request. A subsequent owner-approved change adds one narrowly scoped standard pnpm patch for `braces@3.0.3`, while retaining the upstream pnpm audit report and all advisory findings. The owner subsequently approved a verification gate for the one exact patched advisory, described below. The earlier backport audit gate remains removed; its result does not establish a passing audit for newly generated applications.
429
-
430
- Additional regression coverage includes non-object JSONL records, canonical configuration/lock merging, and resolved bindings with authored placeholders. The final integrated count above includes this regression coverage.
431
-
432
- The automated checks cover the pinned JSONL receipt format, rejection of stale/foreign/incomplete/ambiguous receipts, independent provider version confirmation, source cleanliness, explicit current engine validation, private policy reconciliation, and the lock-review checkpoint. Mocked Cloudflare responses establish control flow; they do not establish provider/runtime compatibility.
433
-
434
- ### Deployment evidence contract
435
-
436
- Void 0.27.0 writes a new `~/.void/logs/deploy-*.jsonl` per invocation. Anhedral requires exactly one new matching log with:
437
-
438
- 1. A `deploy_start` record identifying the exact target working directory and a timestamp after invocation began.
439
- 2. One `cloudflare_deploy_end` record with `ok: true`, the expected Worker name and a complete version ID.
440
- 3. A final `deploy_end` record with `ok: true`.
441
-
442
- This contract was inspected in the published distribution, rather than inferred from console prose. The recorded version must independently own 100% of current Cloudflare traffic. Application source and configuration are checked before and after deployment. Void's direct Cloudflare log does not contain a Git commit annotation; Anhedral correlates the checked invocation and its receipt with the clean source commit. Missing or ambiguous logs stop acceptance even when provider changes may have occurred.
443
-
444
- Application URLs require provider evidence: enabled Workers subdomain plus account subdomain, or a matching custom-domain assignment. Private Access policies are checked before and after activation. Selected resource identities and private R2 exposure are independently inspected after Void resolves resources.
445
-
446
- Void lock changes are expected on initial provisioning. If only the allowed target `void.lock.json` files change, activated version receipts are retained with release state `configuration-required`. Review and commit those files, then ship the clean configuration. Such a checkpoint cannot pass `verify` or serve as a complete rollback release. Arbitrary source changes still fail delivery. Database migrations remain applied during code rollback.
447
-
448
- ### Reproduce local checks
449
-
450
- From the CLI repository:
451
-
452
- ```sh
453
- pnpm build
454
- pnpm typecheck
455
- node --test tests/test-void-state.test.mjs tests/test-void-execution.test.mjs tests/test-void-migrations.test.mjs tests/test-delivery.test.mjs tests/test-delivery-lock.test.mjs tests/test-ship.test.mjs
456
- pnpm test:unit
457
- ```
458
-
459
- Use the repository's installed Node/pnpm versions. Avoid concurrent builds because the build script replaces shared `dist/` output.
460
-
461
- ### Live acceptance
462
-
463
- Customer Cloudflare authentication succeeded using workspace-scoped Wrangler state. No credential contents belong in this document. A reproducible authentication pattern is:
464
-
465
- ```sh
466
- XDG_CONFIG_HOME="$PWD/.anhedral/cloudflare-auth" pnpm exec wrangler login
467
- XDG_CONFIG_HOME="$PWD/.anhedral/cloudflare-auth" pnpm exec wrangler whoami --json
468
- ```
469
-
470
- The actual Void authentication bridge also succeeded against the customer account with `accountConfirmed: true`. Credentials were supplied through the child-process environment, and no credential was persisted by the bridge. This is read-only authentication evidence, not deployment evidence.
471
-
472
- The source-coherence review removed obsolete release helpers, diagram assets, stale plugin wrappers and duplicate dependencies; fixed bounded inspection of resolved Void locks; and brought CI runtimes and delivery documentation in line with the implementation. Browser UI acceptance was attempted but could not launch Chromium because the host denied its macOS Mach-port registration. The browser suite remains unverified in this environment. Hosted CI on commit `06bce77173cd8a122a35c3e04a7e210e4fd9d78c` subsequently passed the dashboard browser suite, both plugin checks, four CLI test lanes, eight macOS/Windows portability jobs and CodeQL. That evidence applies to that commit; subsequent changes require their own checks.
473
-
474
- The executable read-only live preflight was also run using the workspace-scoped login. It exited with status 1 and structured `providerMutations: false`, `ready: false` before any cloud writes. Reproduce against the intended customer account and an existing generated fixture:
475
-
476
- ```sh
477
- XDG_CONFIG_HOME="$PWD/.anhedral/cloudflare-auth" \
478
- WRANGLER_LOG_PATH=/tmp/anhedral-void-live-preflight.log \
479
- node tests/test-live-void.mjs --account <customer-account-id> --fixture /absolute/generated-workspace
480
- ```
481
-
482
- The preflight can prepare an isolated local fixture with `--prepare-only /absolute/new-unused-path`; this scaffolds and builds locally and does not perform remote acceptance or publication.
483
-
484
- Authentication alone does not prove provisioning, runtime builds, private access or deployment. Authenticated read-only preflight succeeded for the Workers account subdomain. The same login received HTTP 403 from Access organizations (provider code `10000`) and Access applications (provider code `9999`). No deployment or other provider mutation was performed. Private live acceptance is blocked until the authorized account has usable Access organization/application/policy permissions. Public deployment is not a substitute for the requested private acceptance. Separately, the Cloudflare dashboard explicitly shows that Zero Trust onboarding must be completed for this account. The dashboard observation and API permission errors are distinct evidence; the 403 responses alone do not establish their cause. In particular, do not infer that the complete Vinext plus Hono/shared database/auth combination works from local unit tests.
485
-
486
- The acceptance workspace must exercise:
487
-
488
- - Fresh-checkout installation and build using pinned versions.
489
- - Vinext and Hono Workers with reusable shared packages.
490
- - Existing D1/private R2 identity reuse, one migration owner, serialized resource creation and committed lock reuse across a new checkout.
491
- - Environment validation, production secret stdin upload and public build variables.
492
- - Private Access protection before activation, anonymous rejection, allowed user login and denied user behavior.
493
- - Actual routing, assets, authentication and streaming responses.
494
- - Initial lock review checkpoint followed by a clean provider-confirmed release and meaningful `test:live`.
495
- - Failed build/deployment recovery and rollback without claiming migration reversal.
496
-
497
- Watch the interaction between private Access's pre-created empty Worker and Void's existing-Worker checks, and between the first target's lock changes and later targets' secret upload guards. Validate both rather than weakening privacy or source checks.
498
-
499
- For an authorized disposable application, use the built CLI's `connect`, `ship --dry-run`, `ship`, `status --refresh`, `verify`, and reviewed `rollback` commands. Preserve resource ownership and inspect partial operations before retrying. This document does not authorize additional provider resources or expenses.
500
-
501
- ### Handoff
502
-
503
- Keep the customer-owned account, committed application manifest, `anhedral.cloudflare.json`, `void.config.ts`, `env.ts`, reviewed SQL and each app's `void.lock.json`. Keep secrets out of source. Local `.anhedral/` history and Void diagnostic logs are separate operational evidence; a fresh checkout cannot reconstruct historical source-to-version mappings from current provider versions. `recover` reports a current snapshot and does not fabricate historical verification.
504
-
505
- ### Generated dependency review (2026-10-15)
506
-
507
- Hosted generated-profile checks on `d117f402faa6d899f972152f242b18026a45053b` failed. They are distinct from the passing CLI/plugin checks. Root-cause analysis found several independent paths to `braces`, including:
508
-
509
- | Consumer | Dependency path | Required structural remediation |
510
- | ----------------------- | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- |
511
- | Every inherited starter | Shared ESLint config → Next ESLint plugin → fast-glob → micromatch → braces | Declare framework lint tooling only in the web application; retain generic shared lint coverage |
512
- | Vinext | vite-plugin-commonjs → vite-plugin-dynamic-import → fast-glob → micromatch → braces | Upstream consumer migration with CommonJS, development and SSR/RSC behavior verified |
513
- | WXT styling | Tailwind CSS 3 → chokidar → braces | Supported Tailwind/toolchain migration, including generated styles and builds |
514
- | Expo | React Native Metro config → Metro tooling → glob matching dependencies → braces | Compatible Metro/Expo dependency migration |
515
-
516
- The current [CVE-2026-93687 advisory](https://github.com/advisories/GHSA-vfj7-8cjw-p6xm) affects `braces <=3.0.3` and lists no patched version. npm’s latest is still `3.0.3`. [Proposed fix #72](https://github.com/micromatch/braces/pull/72) is closed without merging. The maintainer disputes the advisory’s security interpretation in [issue #70](https://github.com/micromatch/braces/issues/70); the advisory remains active. The separate [CVE-2024-4068](https://github.com/advisories/GHSA-grv7-fg5c-xmjg) was fixed by `3.0.3`, which does not resolve the newer advisory.
517
-
518
- The failure is recursive AST processing of deeply nested glob patterns. Remote exploitability depends on whether an application passes attacker-controlled patterns to those operations; the presence of a development dependency alone does not establish an exploitable deployed endpoint. No complete reachability review has been performed for every generated profile.
519
-
520
- An unqualified `fast-glob` → `tinyglobby` package alias is incompatible: consumers use different exports and directory expansion defaults. Removing the global starter dependency is an Anhedral composition fix, not proof that every supported framework is free of `braces`. Do not clear the audit gate or claim production acceptance until the resolved graphs and relevant runtime checks pass. The same generated CI also reports a separate `node-forge` advisory in Expo/WXT tooling, which is outside the `braces` remediation.
521
-
522
- The shared-lint ownership change was checked against the actual upstream template manifest: a newly resolved pnpm graph contained 169 packages and none of `@next/eslint-plugin-next`, `fast-glob`, `micromatch` or `braces`; its standard pnpm audit reported no known vulnerabilities. This is evidence for the shared lint foundation only, not the entire generated application matrix. App-local web linting explicitly selects JavaScript/TypeScript/JSX/TSX files rather than relying on ESLint’s default JavaScript selection.
523
-
524
- Validation of the scoped composition change passed 613 CLI unit tests with the real lint probe enabled, 60 inspector tests, builds, lint, static security policy, OSV checks for 86 root/catalog versions, and the package allowlist. The five lint tests include actual Next Image/Link and React Hooks diagnostics, full recommended/Core Web Vitals rule configuration, TypeScript/JSX parsing and adding web after an API-only scaffold. A helper now exercises installed rules in generated web CI profiles. A fresh local upstream shadcn initialization was attempted but its `ui.shadcn.com` request was refused by the network proxy; no fresh full generated-app matrix success is claimed.
525
-
526
- ### Temporary braces patch verification
527
-
528
- The depth-only mitigation is based on official `braces@3.0.3`, tarball integrity `sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==`. Both the unmodified baseline and patched package passed all 764 tests from the published release source (`74b2db2938fad48a2ea54a9c8bf27a37a62c350d`). The bounded verifier passed 360 differential compile/expand/stringify comparisons, depth 100/101 and mixed/literal boundaries, deep direct ASTs, child cycles and expansion-parent cycles. Expansion width/range behavior and stringify parent handling remain unchanged.
529
-
530
- This establishes the tested library mitigation, not a complete application exposure analysis or an upstream fixed release. The upstream registry report remains unmodified. The owner-approved gate accepts only the exact patched braces advisory after verifying installed bytes and regressions. Separate Expo/WXT findings and the remaining private Cloudflare acceptance gaps remain independent.
531
-
532
- A real pnpm fixture resolved `braces@3.0.3` with micromatch, fast-glob and chokidar consumers, merged the exact patch, resolved the new lock and installed with `--frozen-lockfile --ignore-scripts`. The installed bytes passed the depth verifier and normal filesystem glob/watch checks. Changing the patch after resolution made a frozen install fail; restoring its bytes restored successful installation. The untouched pnpm audit JSON still reported `GHSA-vfj7-8cjw-p6xm` for `3.0.3` and was retained locally as test evidence. Both the patch and MIT notice are recorded in generated source fingerprints; customer artifacts and YAML patch entries are preserved or rejected on conflict.
533
-
534
- Release-exception assessment: the evidence supports the tested depth mitigation for the exact patched version. It does not support a blanket advisory waiver, other versions, unrelated findings or a claim that every generated installation has been exercised. Any later exception must be constrained to the advisory/version and independently verified installed bytes, reviewed for the intended release, and retired with the patch. The owner subsequently approved and restored the exact verified exception below; other findings remain blocking.
535
-
536
- The generated exact-path Git attributes preserve LF bytes with `core.autocrlf=true`; a real index/checkout round trip verifies the patch and license remain identical. The patch’s SHA-256 is `69bd65a37da4569ba0be8a044aa732ad7c2ebd5494d6076f966eb6df8a12756e`.
537
-
538
- Final local validation of the mitigation passed 628 CLI tests without skips, 60 inspector tests, build/typecheck/lint, static secret/security scans, OSV checks for 87 root/catalog versions, package allowlist and packed CLI smoke. The packed installation test invokes the installed patch helper and compares generated patch/license bytes with the shipped assets. These results establish the tested mitigation, not completion of all generated-profile or live acceptance requirements.
539
-
540
- ### Restored verified advisory handling
541
-
542
- The owner approved restoring the earlier verification-aware behavior for one package/advisory. `pnpm audit:deps` now invokes the bundled gate, preserving raw pnpm JSON in `.anhedral-audit-report.json` and printing the known upstream finding. Only `GHSA-vfj7-8cjw-p6xm` for `braces@3.0.3` can pass through this exception. Verification requires the pinned patch checksum, every discovered installed copy matching the reviewed full-package hash, and bounded depth/cycle regression checks. Unpatched/tampered copies, unknown versions, malformed or incomplete reports, command failures, and unrelated high/critical findings fail.
543
-
544
- This restores the working patch-plus-verification behavior without the removed multi-package backport framework. It does not claim an upstream fixed release or waive the independent Expo/WXT findings or private Cloudflare acceptance work.
545
-
546
- Validation of the restored gate passed 634 CLI tests without skips and 60 inspector tests, build/typecheck/lint, static security policy, package allowlist and packed CLI smoke. The real frozen pnpm fixture covered an npm dependency alias, accepted the exact verified mitigation, preserved the upstream audit JSON, rejected both patch-file and installed-package tampering, and passed again after restoration. The packed CLI writes the audit gate from its distributed asset.
547
-
548
- ### Hosted release follow-through (2026-10-16)
549
-
550
- Hosted CI on `83e83e476fba8a052fb3c73aaa0e3b59659231bc` passed the Linux braces installation gate, all four CLI Node-version checks, portable macOS/Windows checks, inspector checks, plain Vercel, Next.js/Cloudflare (including Better Auth), desktop on Linux/macOS, Worker services and Vercel services. Other generated profiles exposed Void entrypoint discovery and duplicated database configuration, corrected in the subsequent source changes. These results are profile-specific, not a successful full matrix or live deployment.
551
-
552
- The same hosted run independently confirmed that extension and combined-client profiles fail on `GHSA-86w9-cpqp-85rv` in `node-forge`. The [current advisory](https://github.com/advisories/GHSA-86w9-cpqp-85rv) covers versions through 1.4.0 and has no patched release; [upstream PR 1152](https://github.com/digitalbazaar/forge/pull/1152) remains unmerged. Current Expo CLI and extension-runner dependency paths still require this package. A framework version upgrade alone does not establish remediation.
553
-
554
- The prior Node-main patch was evaluated separately against the official 1.4.0 release source (`fa385f92440879601240020f158bed68e444e83a`): baseline and patched versions each passed 828 tests with four upstream pending cases; the malformed-signature regression failed before and passed after patching. The aggregate harness neutralized an upstream `describe.only` so the complete suite actually ran. At that checkpoint the source-only patch did not update the package's prebuilt browser bundles and was not accepted. The completed bundle remediation and verification below supersede that earlier candidate.
555
-
556
- Fresh pnpm resolution confirmed that Void's `^1.63.1` Cloudflare Vite dependency could select 1.64.0, whose Wrangler peer requirement exceeds Anhedral's validated pin. The Void recipe now pins that transitive edge to 1.63.1, sharing the existing version source, preserving customer override entries and leaving unrelated recipes untouched. The exact 1.63.1/4.149.0 pair passed fresh resolution and an actual Vinext/Void Vite build. Generated Worker acceptance reads the emitted Vite Worker configuration and verifies its actual entry artifact, instead of expecting the legacy Wrangler output path.
557
-
558
- ### Completed node-forge remediation
559
-
560
- The final exact-version mitigation covers `lib/rsa.js`, `dist/forge.min.js` and `dist/forge.all.min.js` from official `node-forge@1.4.0`, rather than accepting an unpatched distribution path. The patch is 1,177,827 bytes because unified diffs include complete minified lines; the actual guard changes are limited to nested DigestAlgorithm cardinality and strict DER NULL contents. The minified predicates implement the same source guard, and their trivial one-line source maps remain valid. The upstream BSD attribution is retained.
561
-
562
- Patch SHA-256: `2cbbff9183d2896f13da8c8655b8f598b0f24c9b7477e8230f9a313f806c239f`. Reviewed full installed-tree SHA-256: `2e3a4c3aa2e8f3235d9dd9b3f21698c7aa88983ba9623f1502029386316380e4`. The official tarball integrity is `sha512-LarFH0+6VfriEhqMMcLX2F7SwSXeWwnEAJEsYm5QKWchiVYVvJyV9v7UDvUv+w5HO23ZpQTXDv/GxdDdMyOuoQ==`.
563
-
564
- For each of the three published entrypoints, forced pure-JavaScript RSA verification preserved 11 valid cases and rejected all 30 malformed cases across six digest algorithms. The official unpatched package accepted 23 malformed cases, so the regression distinguishes the fix. The complete official Node suite passed 828 tests with four upstream pending cases against the final source patch. Exact Node 24.21/pnpm 10.34.5 frozen installation with direct and aliased dependencies passed and reproduced the reviewed bytes and all-entrypoint behavior.
565
-
566
- The audit gate extends its fixed policy to the one additional exact advisory/version only after patch checksum, every installed package tree and bounded runtime probes pass. It retains the raw upstream advisory and rejects unrelated high/critical findings. It is a verified local mitigation, not an official upstream fixed release. The removed open-ended multi-package manifest/backport framework remains absent.
567
-
568
- CI now prepares a reviewable Linux release candidate on Node 24.21 after its checks, verifying artifact integrity, scanning for secrets and executing the exact packed CLI. It uploads the candidate with one-day retention; this step cannot publish and does not change required reviews or main-commit release checks.
569
-
570
- Consolidated local validation passed 649 CLI tests without skips, 60 inspector tests, build/typecheck/lint, static security policy, package allowlist and packed CLI smoke. Both real frozen-install fixtures passed, including original braces glob/watch behavior and node-forge source/browser-bundle tamper rejection. The packed CLI carries and stages both exact patches and upstream notices. The combined candidate still requires the full hosted matrix and the repository’s existing code-owner review before publication.
571
-
572
- Installed-graph verification recognizes explicitly optional peer dependencies as well as ordinary optional dependencies. A missing peer is skippable only when the parent declares the peer and marks it optional, with no competing required dependency declaration; present dangling links, outside paths and missing required packages still fail. Missing required-package diagnostics include an escaped project-relative path. All 650 CLI tests passed after this change.
573
-
574
- ### Incremental dependency installation repair
575
-
576
- The remaining existing-project acceptance case exposed a real pnpm 10.34.5 installation defect. In an API/Neon project, `tslib@2.8.1` was initially skipped through optional `@emnapi/runtime`. Adding WXT introduced required `async-mutex -> tslib`, and the newly resolved lock recorded it as required, but the incremental frozen installation retained the old skipped state and omitted the package. The original verifier correctly rejected this missing required dependency. Optional-peer support is independently valid and does not hide this defect.
577
-
578
- Removing only generated root `node_modules` and running an ordinary frozen installation completed in 5.6 seconds on the original failing graph. The reviewed lock remained exactly `b412f3758702f52968e564a99fcac618ea6be89697a05e301e4bad4807a04906`; the dependency was installed, its skipped state cleared, and both the original collector and full verified audit gate passed. Workspace links and the separate content-addressed package store were retained.
579
-
580
- Actual additions now rematerialize that generated cache before frozen installation and check that the lock bytes remain unchanged. Linked or non-directory cache paths are rejected before cleanup. Source, reviewed patches and lock ownership remain intact. The alternate `--fix-lockfile` command was rejected because it rewrote the reviewed lock despite `--frozen-lockfile`; `--force` is not used.
581
-
582
- The final cache-regression run passed all 652 CLI tests without skips, 60 inspector tests, lint and static security policy. Focused cases cover stale generated cache removal with package-store preservation, linked-cache refusal and frozen-lock byte drift.
583
-
584
- ### Simplified dependency patch policy (2026-10-16)
585
-
586
- This supersedes the installed-tree and runtime audit-gate design described in the historical checkpoints above. `src/dependency-patches.ts` installs both exact-version patches and notices while preserving customer policy and source files. Generated audits retain the raw pnpm report and accept only the two reviewed advisory/version pairs, with the effective pnpm patch mapping and bundled patch checksum. Frozen pnpm installation applies the patches and checks lockfile consistency. The audit no longer traverses installed dependencies, hashes package trees, or executes package code.
587
-
588
- Runtime coverage lives in this repository: the braces fixture checks depth/cycle guards and normal glob/watch consumers; the forge fixture checks valid and malformed signatures through Node and both browser bundles. Both fixtures check frozen installation and changed-patch rejection. Audit-policy tests use deterministic reports to cover unknown advisories, other versions, critical findings, malformed reports, command errors, missing/wrong mappings, and changed patch bytes. Live advisory-service availability is independent of these regression tests; generated `pnpm audit:deps` still queries the actual service.
589
-
590
- ## CLI and generated application review
591
-
592
- Reviewed 2026-10-16 against the uncommitted 0.11.1 checkout. This report describes the current source and local evidence, not a published release. Backward compatibility and upgrades of existing projects are explicitly outside the owner's requirements.
593
-
594
- ### Review process
595
-
596
- Four independent review tracks examined CLI and registry contracts, generated applications, delivery/provider recovery, and repository/plugin/release cohesion. A second stage cross-reviewed the changes across tracks. A final stage checked command grammar, public exports, generated guidance, removed compatibility paths, runtime prerequisites and packaging policy together.
597
-
598
- The review covered command parsing/help/JSON failures, registry selection and staged additions, workspace composition, web/API/native/extension recipes, shared database/auth packages, environment conventions, dependency patches, current Cloudflare engines, provider receipts and credential separation, partial operations, deployment/rollback/recovery evidence, project catalog, inspector/MCP, CI, release verification and package contents. Existing structural suites exercise generated combinations; they do not establish every runtime integration.
599
-
600
- ### Completed corrections
601
-
602
- | Area | Current behavior |
603
- | ------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
604
- | Dependency patches | A generic installer owns the exact pnpm patches. Generated audit policy verifies only reviewed advisory/version pairs, effective patch configuration and patch hashes. Installed-package/runtime regressions belong to repository tests. Generated guidance now describes that boundary accurately. |
605
- | First Cloudflare app added to a native workspace | The selected runtime determines the actual Void or Wrangler output. Configuration, root Node engine, documentation and delivery manifest agree. A previously registered zero-target workspace keeps its identity, account and audience when selecting its first engine. |
606
- | One project configuration | Root metadata now lives in `anhedral.json`: identity, standard, setup, registry, provider settings and selected Cloudflare/Vercel sections. Old filenames are not read. Section updates preserve unrelated settings, share the source transaction lock, and retain edit/concurrency protection through separate configuration fingerprints. The local full-stack example uses this same format. |
607
- | Current delivery manifest | `deliveryEngine` is explicit and validated. Registration validates the current setup plan before writing application state. Missing/unknown engine markers and incomplete setup plans fail without rewriting the manifest. |
608
- | CLI grammar | `init [directory]` is the initialization command. `add <items...>` operates in the current project; `--cwd <directory>` selects another project. The `new` compatibility alias and ambiguous positional add-directory parser are removed from help, implementation, examples and test harnesses. |
609
- | Compatibility remnants | Removed the Wrangler-to-Void migration planner, `voidCandidate` outputs, old provider journal migration, catalog import shim and historical CLI-only release-verification fallback. Unsupported saved formats fail rather than being converted. |
610
- | Current Wrangler profiles | Explicit OpenNext, Queues/dead-letter recovery and Basin selections retain the required Wrangler implementation. Those are current supported selections. Additions do not mix engines or relocate existing runtime ownership. |
611
- | Project catalog | Private schema fields, files, locks and the default directory consistently use `projects`. Catalog registration, inspector startup, MCP fixtures and documentation agree; no old catalog migration is retained. |
612
- | Toolchain policy | Generation, setup and diagnostics share Node eligibility and engine selection. Doctor requires the exact pnpm pin. Root and inspector Node type-definition update rules are scoped independently. |
613
- | Root verification prerequisites | Unit tests verify/reuse the inspector runtime or prepare its frozen dependencies and rebuild it. Packaging cannot accept a stale source digest. |
614
- | Service operations | CLI and MCP share one dispatcher. Receipt-only selectors are discoverable, KV follows provider cursors, and D1/Neon browsing uses bounded projections, SQL masking and explicit ordering. Offset pages remain subject to concurrent writes. |
615
- | Neon migration handoff | Runtime provisioning does not put pooled credentials into the migration package. Guidance requires separate direct migration credentials and reviewed SQL. |
616
- | Optional Neon Realtime | `--neon-realtime` selects Neon consistently with Better Auth and adds separate server/client factories for sealed live queries. Durable Object rooms retain `--realtime`. Branch activation is manual; the beta has no RLS. SDK source sealing checks and generated composition pass; live subscriptions and a fresh published SDK installation remain unverified. See the dated record in `docs/verification.md`. |
617
- | Provider naming | Vercel names are normalized and bounded independently of package/directory names. |
618
- | Disposable runtime state | Source receipts and addition transactions exclude Void/Vinext caches, generated Wrangler configuration and app migration mirrors. Authored database files and shared reviewed SQL remain source. |
619
- | Process execution | Generator commands have bounded execution. Preview tests register lifecycle listeners immediately, bound output/startup/build/HTTP waits, and terminate descendant processes with forced cleanup when necessary. |
620
- | Generated development ports | Void backend Vite configurations use their declared per-app inspector ports and strict HTTP ports. Generated routing instructions identify the actual Worker entry adapter. |
621
- | Generated acceptance wiring | Generated-profile checks invoke a compiled-handler SQLite auth gate and fresh Void build/preview acceptance. The isolated D1/Better Auth API profile additionally applies local migrations and exercises signup, login, session retrieval, incorrect-password rejection and revocation with temporary credentials and a matching local origin. |
622
- | Plugin completeness | Packaging requires the current skill, references, MCP entrypoint, manifest assets and verified runtime. Missing MCP configuration cannot bypass runtime verification. |
623
- | Public and server environment | Vinext maps `NEXT_PUBLIC_*` during builds; Vite clients use `VITE_*`. Production public values belong in the build environment. Protected local server values can be sent to `void secret` via stdin; dotenv files remain private and untracked. |
624
- | Release identity | Verification requires both CLI and matching plugin archives. Canonical documentation is regenerated into the bundled plugin references. The immutable marketplace `plugins/anhedral` release-tree path remains a consumer contract. Bundled guide filenames now match the canonical `stack-standard.md` and `software-factory.md`. |
625
-
626
- The cross-reviews found no further confirmed defect in the reviewed changes. That is a source-review result, not proof that every supported combination is production-ready.
627
-
628
- ### Verification for this pass
629
-
630
- | Check | Result |
631
- | --------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
632
- | CLI build | Passed |
633
- | Full CLI unit suite | 668 passed, two skipped, zero failures; 670 total |
634
- | Focused CLI grammar/readiness/addition tests | 30 passed |
635
- | Delivery/provider focused suite | 174 passed before final consolidation; covered again by the full suite |
636
- | Root lint | Passed: type checking, formatting, source hygiene and release policy |
637
- | Static security policy | Passed |
638
- | Offline patch installation/runtime regressions | Passed for braces and node-forge |
639
- | Package allowlist | Passed: 214 files |
640
- | Inspector | Type checking/build passed; 61 tests passed; one listener test blocked by `listen EPERM` on `127.0.0.1` |
641
- | Fresh packed CLI installation | Offline attempt blocked by `ENOTCACHED` for `@neondatabase/serverless` in the smoke test's isolated empty npm cache |
642
- | Fresh generated API build and compiled handlers | Passed with current generator overlays and version-checked cached dependency links: Vite build, health/OpenAPI, and real Better Auth/Drizzle SQL/session flow against in-memory SQLite. This used the bootstrap fixture, not a new upstream download or fresh dependency installation. |
643
- | Generated workerd/type generation | Workerd preview remains unexecuted; Wrangler runtime type generation attempted and blocked by `listen EPERM`. |
644
- | Complete local release candidate | CLI tarball/plugin ZIP created together, independently integrity-verified and secret-scanned; not published or installed. |
645
- | Hosted generated matrix, browser flows and live providers | Not established for this uncommitted candidate |
646
- | Current external advisory databases | Not refreshed in this pass |
647
-
648
- The listener and empty-cache failures are environment limitations, not proven application defects. Earlier dated local/provider results in the Void delivery section below apply to their recorded source and do not substitute for testing this candidate.
649
-
650
- ### Remaining acceptance work
651
-
652
- 1. Run the complete hosted OS/Node and generated-profile matrices against the intended commit, including the newly wired local auth path and inspector browser tests.
653
- 2. Establish a fresh packed dependency installation and refresh external advisory results for that candidate.
654
- 3. Exercise private first deployment, committed resource-lock reuse from a fresh checkout, partial deployment recovery, and provider-confirmed rollback with the intended customer accounts and Access permissions.
655
- 4. For an implemented product, verify protected business data, denied users, tenant isolation and any cross-app/native/extension identity flows. The scaffold's auth session smoke does not implement or certify those product behaviors.
656
-
657
- No provider resources, publication, production deployment or source commit were performed during this review. Detailed local evidence and prior pass results are recorded in `docs/verification.md`.
658
-
659
-
660
- ## Progressive stack — local checkout, 2026-10-18
661
-
662
- Plain initialization now selects Expo only. Capability dependencies resolve to a
663
- fixed point; the compatible full-product preset includes Cloudflare AI, analytics,
664
- media, realtime and jobs plus WXT, billing, email and monitoring. Existing edited
665
- source and backend/delivery ownership remain protected. Legacy full-stack records
666
- above describe earlier defaults and are retained as historical evidence.
667
-
668
- Real generated `universal` (minimal) and `full-product` profiles passed dependency
669
- installation and `pnpm check`, including lint, type checks, Fallow, dependency audit,
670
- tests and builds. Full-product built Expo web, WXT, Hono and service Workers. These
671
- were isolated temporary projects; no configured database was migrated or provider
672
- resource deployed. The full-product check exposed unused helper dependencies and
673
- duplicate transport code; shared server transport and lazy Hono adapters fixed the
674
- actual findings without suppressing the generated checks.
675
-
676
- Focused regressions exercise minimal selection, provider independence, preset
677
- overrides, read-only previews, adding auth/billing without overwriting an edited
678
- home screen, data added after service adapters, scoped media calls, private image
679
- responses and redacted invalid provider JSON. The stack page's Mermaid diagram was
680
- rendered locally. The six local plugin skills passed frontmatter/link validation.
681
-
682
- Remaining acceptance: account/service activation and permissions, actual AI/event
683
- receipt/image/video behavior, RealtimeKit calls, app room authorization, native
684
- build/device/store flows and live payment reconciliation. No release, installation,
685
- publication, production deployment or source commit was performed.
686
-
687
- Final regression run: `pnpm test:unit` reported 750 tests, 748 passed, two skipped,
688
- zero failures. `pnpm typecheck`, `pnpm format:check`, `pnpm check:hygiene`,
689
- `pnpm check:security`, `pnpm check:release-policy`, CLI build and inspector/plugin
690
- build passed. Additional growth coverage confirms direct billing additions retain
691
- native RevenueCat key examples in the consuming app and preserve API-origin entries.
692
-
693
- ## 0.13.0 release preparation
694
-
695
- The candidate changes plain init to a minimal Expo app, adds dependency-resolving
696
- capabilities and a full-product preset, and packages six focused skills with shared
697
- plugin-wide references. README and the concise stack page use the same progressive
698
- diagram. Historical generated reference apps retain their original provenance.
699
-
700
- Local `pnpm release:check` passed: lint/typecheck/format/hygiene/release policy,
701
- static security policy, refreshed OSV audit, 748 passing tests (two skipped), exact
702
- braces/node-forge patch regressions, packed CLI installation and package allowlist.
703
- `pnpm plugin:check` passed, including 62 inspector tests. Release artifact creation,
704
- hosted CI and publication are recorded separately after they actually complete.
705
-
706
- ### 2026-10-19 — release CI corrections and artifact reuse
707
-
708
- - Hosted generated-profile checks exposed an unused web API-client stub in Clerk builds and Wrangler ready URLs without trailing slashes. Emit the web client/dependency only for its Better Auth consumer; normalize both Vite and Wrangler loopback URLs. Both Clerk profiles subsequently passed real local generation, check, build and Worker preview. Universal auth and billing reference previews passed with the corrected readiness parser.
709
- - Provider-call assertions in billing fixtures now compare exact hostnames, addressing CodeQL substring findings without changing provider transport.
710
- - Publication consumes the immutable candidate from successful trusted main CI for the exact reviewed SHA instead of reinstalling and rebuilding it. CLI/plugin integrity pins, secret scan, package smoke, cross-platform artifact checks, protected npm environment and OIDC publication remain required. Negative policy checks reject staging, PR-run or unpinned candidate selection.
711
-
712
- ## 2026-10-21 — focused staging releases and CI tiers
713
-
714
- Adopted topic PRs into `staging` and focused staging-to-main release PRs. Routine
715
- code CI uses one Linux Node 24 CLI lane and one plugin lane; release candidates
716
- retain supported Node, macOS/Windows, both plugin toolchains and all generated
717
- profiles. Removed the duplicate E2E packed-CLI job. Stable `CI gate` fails on scope
718
- errors or applicable failed/skipped jobs. Candidate upload is restricted to trusted
719
- main CI. Reviewed-integrity dispatch, npm OIDC/provenance, immutable tags and
720
- existing maintainer/CodeQL review requirements are preserved. Renovate targets staging.
721
-
722
- Local build, typecheck, lint, release-policy and release-tooling checks passed.
723
- Scope/promotion, candidate and plugin packaging regression checks passed. Full unit
724
- suite passed with pinned pnpm 10.34.5: 750 passed, two optional runtime checks
725
- skipped, zero failures. actionlint 1.7.12 passed (optional shellcheck/pyflakes disabled).
726
- Initial checks caught a broken bundled relative documentation link and an obsolete
727
- candidate-condition expectation; both were corrected. The host's pnpm 11 first
728
- rejected the inspector's pnpm-10 override configuration; rerunning with the declared
729
- version avoided a lockfile change. This is source/fixture evidence, not live provider
730
- acceptance or a new npm publication. Adoption source takes effect on main after its
731
- release PR merges; main remains the default branch.
732
-
733
- Hosted adoption PR #39 subsequently exposed generated-project blockers: desktop
734
- rejected Vite advisory GHSA-587h-7wmj-h5pm, and clients rejected duplicate affected
735
- versions in advisory data. The generated dependency/advisory sources are unchanged
736
- by this conventions diff; these failures are retained as release blockers for a
737
- separate focused maintenance PR. Added fail-fast matrices and made portability/
738
- generated jobs wait for primary checks to avoid spending on an already-failing
739
- candidate. Hosted checks must pass before promotion/publication.
740
-
741
- GitHub settings could not be applied: the authenticated account reports push access
742
- but admin=false, and the attempted ruleset update returned HTTP 404. Existing rules
743
- are unchanged. PR #39 lists the exact administrator prerequisites, including both
744
- main rulesets, CI gate, merge commits and disabling automatic staging deletion.
745
-
746
-
747
- ## 2026-10-21 correction — lightweight hosted checks on both branches
748
-
749
- The owner clarified that large hosted checks are unacceptable on staging **and**
750
- production. Earlier release-matrix proposals above are superseded. Automatic PR
751
- CI now has one Linux CI gate on both branches; no full suite, generated project,
752
- browser or platform matrix expands at promotion. Expensive validation is optional
753
- and explicitly manual, or local. Main has no duplicate push check. CLI candidate
754
- packaging is requested manually on main; publication keeps exact SHA/artifact,
755
- secret/integrity, protected npm approval, provenance and tag checks while using a
756
- single Linux artifact smoke lane instead of the six-job native matrix. Main repo
757
- PRs fetch only the formatter, not the full application dependency graph. Its deploy
758
- scripts no longer repeat full checks/tests, while retaining main/source guards,
759
- affected-service detection and the selected app's necessary build/typecheck/upload.
760
-
761
- The corrected lightweight CLI gate passed locally: compile, formatting, source
762
- hygiene, static security/release policy, fast contract tests and release-tooling
763
- negative paths. actionlint passed for automatic, manual-validation and publishing
764
- workflows. The dependency/advisory repair remains a separate staging PR.
765
-
766
- ## 2026-10-21 — generated dependency/advisory repair
767
-
768
- Reproduced three live OSV findings on desktop's pinned Vite 7.3.6:
769
- GHSA-587h-7wmj-h5pm, GHSA-698v-4r3x-3vcv and GHSA-r825-w8mm-5pxw.
770
- The upstream repaired 7.x release is 7.3.7; the desktop recipe now pins it without
771
- a major upgrade. Sources: https://github.com/advisories/GHSA-587h-7wmj-h5pm
772
- and https://github.com/vitejs/vite/releases/tag/v7.3.7.
773
-
774
- A real pnpm 10.34.5 clients audit also emitted two Vite 7.3.6 findings for the
775
- extension and desktop dependency paths. Its severity metadata counted both
776
- instances. The audit verifier now permits repeated versions at distinct paths,
777
- preserves both counts and the raw report, and rejects duplicate version/path
778
- entries. New regressions cover count mismatches, unknown high advisories and
779
- exact reviewed-patch requirements with repeated versions. No advisory was added
780
- to an exception list and no severity threshold changed.
781
-
782
- Validation used Node 24.21.0 and pnpm 10.34.5. `pnpm test:all` passed: build, lint,
783
- static security policy, live OSV audit of 110 locked/catalog coordinates, 751 unit
784
- passes with two optional skips, frozen patch probes, packed CLI installation and
785
- packlist checks. The 12 focused audit/scaffold checks passed. Fresh real desktop
786
- and clients profiles passed generation, frozen install, lint/type/audit/tests/build
787
- and unsigned macOS Electron packaging; clients also exercised Expo and WXT outputs.
788
- The clients gate still requires its existing reviewed braces/node-forge patches;
789
- raw advisories remain visible. Initial parallel generator runs collided in shadcn's
790
- shared temporary clone directory; rerunning sequentially resolved that setup failure
791
- without changing tests or adding retries. These results do not establish Windows,
792
- Linux, signed macOS distribution or store acceptance. Hosted PR checks provide
793
- separate evidence. This focused repair has no version bump or npm publication.
794
-
795
-
796
- ## 2026-10-23 — Product family naming
797
-
798
- Positioned Anhedral CLI as the starter foundation in the README and software factory, alongside Anhedral Platform, Anhedral Agents, and Anhedral Cloud. This documentation change does not publish a package or activate provider services. Validation: Git whitespace checks; canonical software-factory reference refreshed through the normal build.
799
-
800
-
801
- ## 2026-10-23 — Generated audit dependency security recovery
802
-
803
- The managed-email recovery release check refreshed OSV and found two advisories
804
- against the existing generated Fallow 3.33.1 pin: GHSA-h4fr-cmh5-qr62 and
805
- GHSA-jfwm-3p3c-6hx5. Both upstream advisories identify 3.34.0 as the patched
806
- version. Pin the generated audit tool to that version; keep audit admission and
807
- all existing security gates enabled. No provider resources or databases changed.
808
-
809
- CLI build, lint/typecheck/format/hygiene/release policy, focused dependency/Next
810
- contracts (11 tests) and refreshed OSV audit (61 locked/catalog versions) passed.
811
- Publication of the integrated candidate remains separate.
812
-
813
-
814
- ## 2026-10-23 — Managed authentication email recovery
815
-
816
- Recover the scoped email adapter and verification/password-reset flows from the
817
- preserved `4a48ca3` snapshot against the current Next web/native-only Expo stack.
818
- Use an optional, fully validated API binding/scope/capability; empty standalone
819
- setup retains current sessions, partial setup fails closed, and configured setup
820
- requires verification with reset session revocation. All generated session
821
- consumers pass the same server environment, including private files and billing.
822
- The adapter uses deterministic send identities and bounded requests; broker error
823
- bodies and credential/token-bearing transport errors never reach clients.
824
-
825
- Next and native signup wait for verification rather than trying to open Account
826
- without a session. Resend and reset flows use exact same-origin/native callbacks.
827
- The framework-independent reset transport is shared through contracts; each
828
- platform owns its controls. Nova Input/Label integrate with the reviewed form PR.
829
-
830
- Validation: focused generator/broker/Next tests (8), complete CLI unit suite
831
- (553 passed, one optional skip), unchanged CLI release gate including OSV, patch
832
- regressions, packed CLI and packlist passed again on the final combined Nova/email/tooling source. The
833
- installed generated core fixture passed full checks including Fallow, dependency
834
- audit, types, lint, OpenNext/API builds; iOS/Android Hermes exports passed.
835
- Compiled Worker plus real Better Auth/Drizzle/in-memory SQLite proved signup,
836
- verification, denied unverified login, reset, single-use/expired tokens, session
837
- revocation, incorrect password, unknown-user privacy, foreign callback denial and
838
- exact native return scheme. Default unconfigured auth acceptance also passed.
839
- Browser testing verified the signup prompt, verification link, authenticated
840
- Account and sign-out with the isolated sink. No real email or configured database
841
- was used. Physical-device, inbox delivery and hosted-image activation are separate.
842
-
843
- Initial checks retained failures for synthetic email strings in the security
844
- scanner, screen/adapter complexity and cross-platform duplication; fixture
845
- addresses were assembled and shared reset transport extracted without relaxing
846
- checks. Fresh advisory refresh required separately reviewed Fallow, Expo-Zod and
847
- Miniflare-Undici fixes. A local UI HTTP harness initially wrote cookie headers
848
- after committing response headers; fixing that fixture restored sign-in. The
849
- product's compiled-Worker authentication tests already passed independently.
850
-
851
- ## 2026-10-23 — Nova authentication form recovery
852
-
853
- The current Next/native default already contains the recovered native shadcn
854
- foundation and Base Nova Button (#49). Recover the source-owned Base UI Nova
855
- Input and Label from the retained CLI snapshot and use them on generated web
856
- sign-in forms. Preserve the existing MIT notice and upstream provenance hashes;
857
- adapt only the local utility import, client boundary and focus ownership. Input
858
- delegates keyboard focus to the generated global rule rather than adding a
859
- second focus-only border/ring layer. Other historical components remain preserved
860
- in the recovery branch and are not installed as unused starter code.
861
-
862
- CLI build/lint/typecheck/format/hygiene and five Next contract tests passed.
863
- The integrated generated web fixture passed Next route/type generation and lint
864
- with these recovered controls. Browser interaction and final integrated release
865
- checks are recorded with the managed-email recovery.
866
-
867
- ## 2026-10-23 — Expo CLI validation dependency recovery
868
-
869
- A fresh installed core fixture failed the unchanged dependency audit on
870
- GHSA-mrhx-c7xc-m3w5: Expo CLI 57.0.32 pulls Zod 3.25.76 although application
871
- contracts already use patched Zod 4.6.6. Add a narrow @expo/cli>zod override to
872
- the existing catalog pin. Expo SDK stays at 57. Audit admission remains enabled.
873
- The actual CLI plugin/MCP schemas and native exports are tested before promotion;
874
- this does not claim upstream Expo has migrated its declared range.
875
-
876
- The next audit also identified GHSA-xjj6-f33q-929c in Miniflare's Undici
877
- 7.29.1. A same-major, consumer-scoped miniflare>undici 7.30.1 override uses
878
- the upstream patched version and also removes the related moderate Undici
879
- findings. No high/critical advisory is waived. Existing exact reviewed
880
- node-forge/braces patches remain unchanged.
881
-
882
- The installed generated core fixture passed the unchanged high/critical audit
883
- gate with only the existing exact verified node-forge patch acceptance. Both
884
- Hermes native exports passed. The actual Expo plugin and MCP schemas passed
885
- positive/negative parsing against scoped Zod 4.6.6; CLI build/lint and 11 focused
886
- contract tests passed, and OSV passed for 62 locked/catalog versions.
887
-
888
- Final integrated acceptance: the unchanged full CLI release gate passed, including
889
- 553 unit passes/one optional skip, refreshed OSV (62 locked/catalog versions),
890
- exact patch regressions, packed installation and strict packlist (249 files).
891
- Inspector/plugin check passed all 61 tests. Both core and Stripe+RevenueCat
892
- generated profiles passed full local checks and builds. The payment profile also
893
- passed real workerd SSR/RSC, protected account, D1 session/revocation, native
894
- scheme/origin rejection, compiled email acceptance and synthetic billing tests.
895
- The 28 generated browser JavaScript assets contain no managed-email broker
896
- configuration/module or native purchase modules. Browser reset-request confirmation
897
- passed; native exports do not establish physical-device acceptance.
898
-
899
- The final strict packlist initially rejected the recovered Input/Label paths;
900
- PR #62 requires and allowlists exactly those two files without widening exclusions.
901
- Nova form recovery is #60; security prerequisites are #58/#59. Storage safeguards
902
- were already recovered/shipped as anhedral-main#201: nine regressions, root
903
- check (26 tasks) and serial root build (five tasks) passed again at Platform
904
- source 822825e9; later observed staging changes did not touch those safeguards.
905
- No Comms source, retained recovery snapshot or stash was changed by this work.
906
- Publication and provider state are verified separately after promotion.
907
-
908
- Final React review gives web/native reset forms a token/error-derived route key,
909
- so following a new recovery link resets prior completion, input and error state.
910
- Only the used token/error fields cross the Next server/client boundary.
911
-
912
-
913
- ## 2026-10-23 — Immutable release smoke prerequisite
914
-
915
- The first 0.15.0 publication attempt (run 40056207567, source 4557627f) stopped
916
- before npm publishing. Hash and secret checks passed; exact-artifact smoke failed
917
- while spawning pnpm for the installed CLI's normal initialization. Main candidate
918
- CI had pnpm setup, but the isolated release verification and exact-artifact jobs
919
- provisioned only Node. Add the same pinned pnpm action/version to those jobs, with
920
- run_install disabled. Keep normal init, artifact integrity, npm environment/OIDC
921
- and exact-artifact checks intact. A workflow regression covers all three smoke
922
- locations. A fresh main candidate must be reviewed again after this correction.
923
-
924
-
925
- ## 2026-10-24 — Published 0.15.0 artifact identity
926
-
927
- Read-only release verification resolved tag `v0.15.0` to source
928
- `2c06f4eb528da0ba404212298fc57e1a2287f22e`. The npm registry serves 0.15.0;
929
- its tarball and the GitHub release tarball both match the release metadata:
930
-
931
- - CLI SHA-512: `sha512-1D2XHnw4QSDYXfNigt7YBdv5N8Y8ANOpaoSb38xlqEvv1uq7VHFurx+lAsX0IpB4Jf2R5PISitx2Fs6cDyJ4KQ==`.
932
- - Plugin SHA-512: `sha512-G3/obSaCpHv+AvitX/Xtb34ChmsBc+7NrV7WHDDNEyqZkOin6CH4MSDgqu4lJnCdUn6dxCN06mFckBadwqlwgg==`.
933
-
934
- The downloaded plugin ZIP matches both release metadata and plugin metadata.
935
- The npm and GitHub package checks hashed the actual bytes in memory; the tag
936
- was checked against the remote repository. This establishes published artifact
937
- agreement, not independent provenance-signature verification or a rebuilt source
938
- comparison. Release assets and metadata are available at
939
- [the 0.15.0 release](https://github.com/anhedral/anhedral-cli/releases/tag/v0.15.0);
940
- [registry metadata](https://registry.npmjs.org/anhedral/0.15.0) records the npm integrity.
941
-
942
- This supersedes unpublished-preview wording, not the dated runtime evidence
943
- above. Publication does not update existing applications, installed plugins or
944
- Platform images. Platform's separately recorded Next generator at `2280c3b` has
945
- a different integrity and must retain its own acceptance evidence until an
946
- explicit artifact adoption is verified. No publication, deployment, provider
947
- mutation or payment operation was performed during this verification.
948
-
949
- Documentation correction validation: CLI build, documentation/plugin contract
950
- checks (two passing test entries) and `git diff --check` passed in an isolated
951
- checkout. No runtime behavior changed.
952
-
953
-
954
- ## 2026-10-24 — Addition post-commit installation recovery
955
-
956
- Focused addition regressions now inject a failure in the final frozen install,
957
- after the actual staged source transaction commits. They verify PostCommitError,
958
- retained billing source/receipts, removal of stale dependency links, released
959
- transaction lock, preservation of authored/private files and a successful
960
- idempotent retry that still invokes the installer. A second regression rejects
961
- an installer that mutates the reviewed lockfile after source commit.
962
-
963
- The dependency runner is injected: these checks exercise the real addition and
964
- transaction paths, not a real pnpm dependency installation or application runtime.
965
- No generator behavior change was required. Build and lint (typecheck, formatting,
966
- source hygiene and release policy) passed; the focused addition, transaction
967
- rollback and CLI-output run passed all 36 test entries. `git diff --check` passed.
968
- No provider, publication, deployment, database or payment operation occurred.
969
-
970
-
971
- ## 2026-10-24 — Recovered embedded inspector contracts
972
-
973
- Compared the preserved user-work snapshot at `4a48ca3` with the current CLI.
974
- Its embedded-host fixture and browser regressions had not landed. Recovered them
975
- against the current synthetic core-stack fixture, retaining its lockfile evidence
976
- and supported init options. The installed MCP Apps SDK now exercises project
977
- context updates, advertised desktop unsent drafts for both active/new targets,
978
- unsupported/web-host fallback, failed-composer fallback and actual safe-area layout.
979
- The production preview CSP remains unchanged; embedding is test-fixture-only.
980
- Recovered service-argument descriptions now explain catalog/service identities,
981
- D1's complete-UTC-day analytics windows, pagination and app-only deletion inputs;
982
- obsolete Vercel guidance was removed.
983
-
984
- CLI build, root lint/static security, plugin check (61 tests) and the browser suite
985
- (17 tests, including four recovered host tests) passed. Browser execution used
986
- installed Google Chrome via PLAYWRIGHT_CHROMIUM_EXECUTABLE_PATH because the pinned
987
- Playwright browser binary is absent. An initial fixture port attempted obsolete
988
- init flags; it was corrected to preserve the current fixture before acceptance.
989
- This is synthetic browser/SDK evidence, not live Codex-host or provider acceptance.
990
- No installed-plugin update, publication, deployment or provider operation occurred.
991
-
992
-
993
- ## 2026-10-24 — Recovered generated-type cache restoration
994
-
995
- The historical cache-restoration check in `0f827d9` remains useful for the maintained
996
- core stack. A real installed pre-fix generated workspace failed its warm Next
997
- cache-HIT assertion after generated type files were removed. Worker typecheck also
998
- had no declared outputs. The corrected generator caches Worker binding types,
999
- Next environment types and production route types; it ignores next-env.d.ts so a
1000
- generated file cannot become a changing task input. The regression uses a fresh
1001
- local-only Turbo cache, requires both application tasks to report HIT in the actual
1002
- warm-run JSON summary, and compares every restored file byte-for-byte. It runs in
1003
- the generated-profile integration runner and can target an installed local fixture.
1004
-
1005
- The same pre-fix fixture passed after applying only the reviewed output/ignore
1006
- settings. A fresh core application generated by the corrected CLI passed its full
1007
- check, confirmed cache restoration, dynamic SSR/RSC, workerd service-binding and
1008
- D1 authentication/authorization, protected contracts, session revocation, native
1009
- scheme transport and origin rejection. Migration fixtures were explicitly local.
1010
- CLI build/lint/static security, the unit suite (556 pass, one existing skip), plugin
1011
- check (61 pass), packed CLI smoke and packlist policy (249 files) also passed.
1012
- This does not update existing customer projects or establish device, store or live
1013
- provider acceptance. No remote migration, deployment, payment or publication ran.
1014
-
1015
-
1016
- ## 2026-10-24 — Preserved-work disposition and service-tool guidance
1017
-
1018
- Compared all preserved snapshots against the maintained CLI, its registered
1019
- commands/plugin tools, emitted source, packaging and tests. Patch IDs alone were
1020
- insufficient because the repository squashes topic PRs. Exact Git tree comparison
1021
- established the following dispositions:
1022
-
1023
- | Preserved source | Disposition |
1024
- | --- | --- |
1025
- | Maintainer-policy `f7e51c8` | Exactly the tree of merged PR #24 (`723a213`): architecture, lifecycle, security/toolchain and review work landed historically. PR #46 later retired the old control-panel/alternative-stack layout. The still-useful cache regression was adapted for the current API/Next stack. |
1026
- | Former local staging `91ec88f` | Exactly the tree of merged PR #37 (`fc721c9`). Maintenance guidance, CI scope, Windows PATH ordering, release-artifact/profile fixes, README and artwork changes were already incorporated. Current command resolution, CI scope and preview discovery retain their relevant fixes. |
1027
- | Older control-panel variant `d7ac371` | Its 28 changed paths belong to the retired apps/control-panel/plugin layout and an independent anhedral.progress.json report/discovery store. Current project inspection/lifecycle, provider records, delivery evidence, catalog and transaction locks own those concerns. Do not restore a parallel writable evidence store or unsupported capabilities. Original variant remains archived. |
1028
- | User-work snapshot `4a48ca3` | Reviewed all 114 changed paths. Recovered embedded-host browser coverage, service-argument descriptions and per-operation service-tool descriptions. Nova auth controls/packaging (#60/#62), managed auth email (#61), security pins (#58/#59), approved branding (#47), contract checks (#44), UI inspection/substitution (#41/#43) and owned Next/native components (#49) already landed in focused form. |
1029
- | User-work UI/generator alternatives | Generic ui/expo-ui packages, native web adapters, duplicate token JSON, unused component inventory, selectable provider/preset recipes and mobile-web bootstrap variants are superseded by separate DOM/native UI, shared tokens, offline core bootstrap and mandatory Next/Expo/Hono/D1/R2. Preserve originals in the archive; no current runtime consumer requires restoring them. |
1030
- | Attached completed worktree branches | Addition recovery, dependency fixes, Nova packlist and product positioning have exactly the trees of merged PRs #67, #59, #62 and #56 respectively. Retiring their refs does not require removing their worktree files. |
1031
- | Existing user-work stash | Shared tracked paths match the recovery snapshot, and all 39 untracked stash files are byte-identical to files in that snapshot. Keep the stash unchanged and independently backed up. |
1032
-
1033
- The recovered service-tool descriptions distinguish existence from application
1034
- health, explain catalog/service identities, supported Worker/D1 analytics windows,
1035
- offset/cursor paging, app-only private data, and reviewed single-use deletion
1036
- plans. Obsolete Vercel wording was removed. Input validation, visibility,
1037
- permissions, confirmation requirements and provider behavior are unchanged. Plugin
1038
- check passed all 61 tests after the description recovery. No additional tests were
1039
- added merely to compare documentation strings.
1040
-
1041
- Before branch retirement, retain verified self-contained Git bundles containing
1042
- all original refs (including stash), original ref/object inventories and checksums.
1043
- The detailed path inventory covers the 142 changed paths in the two independent
1044
- snapshots. The approved disposition is to retire accounted-for recovery and
1045
- completed-topic refs after the focused patches merge to staging, keeping old
1046
- worktrees detached at their original commits so source and ignored material remain
1047
- intact. Keep main/staging unchanged on the remote except for reviewed staging PRs.
1048
- The old implementations remain recoverable; this is not proof of current device,
1049
- store, live-provider or payment acceptance. No publication or deployment occurred.
1050
-
1051
-
1052
- ## 2026-10-26: Progressive source additions for the complete stack
1053
-
1054
- The public CLI now composes selected capability source after minimal Next.js/OpenNext/Workers + Anhedral UI initialization. The strict builder progression is Hono, then Drizzle/D1/Better Auth, followed by independently selected R2, Stripe, events, RTC, AI, Expo, native UI, RevenueCat, WXT, Side Panel and GPUI branches. See [the owning capability contract](capabilities.md). This extends the earlier thin UI work without adopting the separate native port or changing Platform’s immutable generator pin.
1055
-
1056
- Validation on the isolated `codex/progressive-ui` checkout:
1057
-
1058
- - CLI build and 114 unit tests passed; zero failed, one existing conditional skip. Eight addition regressions cover prerequisites, whole-plan collisions, JSONC/user edits, offline dry runs, symlinks, repeat additions, retained source and retry after install failure, client customization and file permissions.
1059
- - CLI lint/typecheck, asset formatting, hygiene, security/release policy, plugin validation and OSV audit of 77 exact locked/catalog versions passed. Frozen braces/node-forge patch installation and Node/browser signature regressions passed.
1060
- - Published package allowlist and installed-tarball smoke passed. The installed CLI initializes the minimal app, lists all 13 additions and installs Hono source with bundled capability references. No package was published.
1061
- - A fresh `.artifacts/stack-acceptance` consumer installed all 13 additions through the normal CLI dependency/patch path. Its full `pnpm check` passed: lint, types, Fallow source/dead-code/duplication/health checks, dependency audit, tests and serial builds. Fallow reported zero above-threshold files and maintainability 94.3. The dependency audit retains raw reports and accepts only the existing reviewed node-forge patch; no advisory policy or quality threshold was weakened.
1062
- - Builds produced the Next/OpenNext Worker, Hono Worker, iOS and Android Metro/Hermes bundles, Chromium MV3 popup/Side Panel/background and a native GPUI executable. GPUI uses upstream runtime shaders. The initial desktop format failure was corrected to Rust 2024 formatting before the full check. An exploratory Expo `--platform all` command requested unsupported web dependencies; the generated mobile build correctly targets iOS and Android, and both passed.
1063
- - `node tests/test-capability-runtime.mjs .artifacts/stack-acceptance` passed against fresh in-memory Miniflare D1/R2 bindings. It generates SQL and explicitly applies only fixture migrations. Auth defaults remain disabled; a temporary fixture-only password opt-in proves real registration/session flows and is restored in `finally`. Checks cover owner-scoped storage, CSRF/forged bearer rejection, raw Stripe signatures through the actual generated Next proxy, tamper/environment rejection, scoped RevenueCat webhooks, durable duplicate receipts and resumable owner events. A forced clock-skew fixture verifies that atomic owner cursors increase monotonically, so later equal-millisecond or backward-clock events remain replayable.
1064
- - Canonical billing fixtures made 12 intercepted local read requests, granting active access and rejecting cancellation, wrong identity/environment, expiry and provider outage. Unexpected outbound requests were zero. Unconfigured AI fails closed; RTC cross-user session and track operations are rejected before provider access. AI inference, RTC media and live billing services were not exercised.
1065
-
1066
- After the recovery/cursor corrections, the real repeated-add dependency retry and `stack doctor` passed. Focused API lint, bundle, runtime and Fallow checks passed again.
1067
-
1068
- Logs and runtime evidence are retained locally in `.artifacts/verification/2026-10-26-progressive-stack/`. Earlier dated failures and the separate native work are preserved. Source recipes and client builds do not establish live provider activation, physical device interaction, browser-store acceptance, native signing/distribution or production readiness. No provider resources, credentials, real payments, remote migrations, deployments, installed-plugin updates or Platform artifact adoption were performed. The PR remains a draft for review.
3
+ Dated development and verification records live in
4
+ [docs/agent-notes](https://github.com/anhedral/anhedral-cli/tree/main/docs/agent-notes).
5
+ These records describe their tested revision and remaining gaps; verify current
6
+ source and provider state before acting. This entry remains for packaged-reference
7
+ compatibility. Current usage starts with the [README](../README.md).