@powerhousedao/switchboard 6.2.3-dev.5 → 6.2.3-dev.50

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 (137) hide show
  1. package/.tsbuild/test/attachments/byte-grants.test.d.ts +2 -0
  2. package/.tsbuild/test/attachments/byte-grants.test.d.ts.map +1 -0
  3. package/.tsbuild/test/attachments/byte-routes-read-gate.integration.test.d.ts +2 -0
  4. package/.tsbuild/test/attachments/byte-routes-read-gate.integration.test.d.ts.map +1 -0
  5. package/.tsbuild/test/attachments/reserve-metadata-parity.test.d.ts +2 -0
  6. package/.tsbuild/test/attachments/reserve-metadata-parity.test.d.ts.map +1 -0
  7. package/.tsbuild/test/attachments/url-signer.test.d.ts +2 -0
  8. package/.tsbuild/test/attachments/url-signer.test.d.ts.map +1 -0
  9. package/.tsbuild/test/boot-create-signature-policy.test.d.ts +2 -0
  10. package/.tsbuild/test/boot-create-signature-policy.test.d.ts.map +1 -0
  11. package/.tsbuild/test/boot-mcp-enabled.test.d.ts +2 -0
  12. package/.tsbuild/test/boot-mcp-enabled.test.d.ts.map +1 -0
  13. package/.tsbuild/test/boot-privacy.test.d.ts +2 -0
  14. package/.tsbuild/test/boot-privacy.test.d.ts.map +1 -0
  15. package/.tsbuild/test/boot-unsupported-stored-documents.test.d.ts +2 -0
  16. package/.tsbuild/test/boot-unsupported-stored-documents.test.d.ts.map +1 -0
  17. package/.tsbuild/test/boot-without-renown.test.d.ts +2 -0
  18. package/.tsbuild/test/boot-without-renown.test.d.ts.map +1 -0
  19. package/.tsbuild/test/boot-without-require-signatures.test.d.ts +2 -0
  20. package/.tsbuild/test/boot-without-require-signatures.test.d.ts.map +1 -0
  21. package/.tsbuild/test/boot-worker-trust-policy.test.d.ts +2 -0
  22. package/.tsbuild/test/boot-worker-trust-policy.test.d.ts.map +1 -0
  23. package/.tsbuild/test/builder-defaults.test.d.ts +2 -0
  24. package/.tsbuild/test/builder-defaults.test.d.ts.map +1 -0
  25. package/.tsbuild/test/create-signature-policy.test.d.ts +2 -0
  26. package/.tsbuild/test/create-signature-policy.test.d.ts.map +1 -0
  27. package/.tsbuild/test/durable-node-fs-pg16.test.d.ts +2 -0
  28. package/.tsbuild/test/durable-node-fs-pg16.test.d.ts.map +1 -0
  29. package/.tsbuild/test/fatal-shutdown.test.d.ts +2 -0
  30. package/.tsbuild/test/fatal-shutdown.test.d.ts.map +1 -0
  31. package/.tsbuild/test/mcp-flag.test.d.ts +2 -0
  32. package/.tsbuild/test/mcp-flag.test.d.ts.map +1 -0
  33. package/.tsbuild/test/observability-signals.test.d.ts +2 -0
  34. package/.tsbuild/test/observability-signals.test.d.ts.map +1 -0
  35. package/.tsbuild/test/pglite-preflight.test.d.ts +2 -0
  36. package/.tsbuild/test/pglite-preflight.test.d.ts.map +1 -0
  37. package/.tsbuild/test/renown-trust-policy.test.d.ts +2 -0
  38. package/.tsbuild/test/renown-trust-policy.test.d.ts.map +1 -0
  39. package/.tsbuild/test/snapshot-writer.d.ts +18 -0
  40. package/.tsbuild/test/snapshot-writer.d.ts.map +1 -0
  41. package/.tsbuild/test/unsupported-stored-documents.test.d.ts +2 -0
  42. package/.tsbuild/test/unsupported-stored-documents.test.d.ts.map +1 -0
  43. package/.tsbuild/test/workflow/harness.d.ts +56 -0
  44. package/.tsbuild/test/workflow/harness.d.ts.map +1 -0
  45. package/.tsbuild/test/workflow/oauth.test.d.ts +2 -0
  46. package/.tsbuild/test/workflow/oauth.test.d.ts.map +1 -0
  47. package/.tsbuild/test/workflow/resolvers.test.d.ts +2 -0
  48. package/.tsbuild/test/workflow/resolvers.test.d.ts.map +1 -0
  49. package/.tsbuild/test/workflow/webhook-dedupe.test.d.ts +2 -0
  50. package/.tsbuild/test/workflow/webhook-dedupe.test.d.ts.map +1 -0
  51. package/.tsbuild/test/workflow/webhook-signed.test.d.ts +2 -0
  52. package/.tsbuild/test/workflow/webhook-signed.test.d.ts.map +1 -0
  53. package/.tsbuild/test/workflow/webhook-trigger-test.test.d.ts +2 -0
  54. package/.tsbuild/test/workflow/webhook-trigger-test.test.d.ts.map +1 -0
  55. package/.tsbuild/test/workflow/webhook-unsigned.test.d.ts +2 -0
  56. package/.tsbuild/test/workflow/webhook-unsigned.test.d.ts.map +1 -0
  57. package/.tsbuild/test/workflow-reactor-access.test.d.ts +2 -0
  58. package/.tsbuild/test/workflow-reactor-access.test.d.ts.map +1 -0
  59. package/.tsbuild/test/workflow-reactor-enforcement.test.d.ts +2 -0
  60. package/.tsbuild/test/workflow-reactor-enforcement.test.d.ts.map +1 -0
  61. package/.tsbuild/test/workflow-read-gate.test.d.ts +2 -0
  62. package/.tsbuild/test/workflow-read-gate.test.d.ts.map +1 -0
  63. package/.tsbuild/test/workflow-runtime.test.d.ts +2 -0
  64. package/.tsbuild/test/workflow-runtime.test.d.ts.map +1 -0
  65. package/.tsbuild/tsconfig.tsbuildinfo +1 -1
  66. package/.tsbuild/tsdown.config.d.ts.map +1 -1
  67. package/.tsbuild/vitest.config.d.ts.map +1 -1
  68. package/Auth.md +94 -0
  69. package/CHANGELOG.md +509 -0
  70. package/README.md +35 -0
  71. package/dist/index.d.mts +2 -1
  72. package/dist/index.mjs +48 -49
  73. package/dist/index.mjs.map +1 -1
  74. package/dist/install-packages.d.mts +2 -1
  75. package/dist/install-packages.mjs +2 -2
  76. package/dist/install-packages.mjs.map +1 -1
  77. package/dist/migrate.d.mts +2 -1
  78. package/dist/migrate.mjs +4 -3
  79. package/dist/migrate.mjs.map +1 -1
  80. package/dist/server-Zz7SqTwO.mjs +3335 -0
  81. package/dist/server-Zz7SqTwO.mjs.map +1 -0
  82. package/dist/server.d.mts +154 -30
  83. package/dist/server.d.mts.map +1 -1
  84. package/dist/server.mjs +4 -5
  85. package/dist/{utils-Baw7rThP.mjs → utils-uaBlzyjS.mjs} +15 -9
  86. package/dist/utils-uaBlzyjS.mjs.map +1 -0
  87. package/dist/utils.d.mts +4 -5
  88. package/dist/utils.d.mts.map +1 -1
  89. package/dist/utils.mjs +3 -3
  90. package/package.json +22 -18
  91. package/test/attachment-reference-read-model.test.ts +6 -1
  92. package/test/attachments/auth.test.ts +85 -0
  93. package/test/attachments/byte-grants.test.ts +290 -0
  94. package/test/attachments/byte-routes-read-gate.integration.test.ts +314 -0
  95. package/test/attachments/download-target.test.ts +201 -32
  96. package/test/attachments/index.test.ts +34 -3
  97. package/test/attachments/reserve-metadata-parity.test.ts +96 -0
  98. package/test/attachments/routes-integration.test.ts +60 -4
  99. package/test/attachments/routes.test.ts +166 -23
  100. package/test/attachments/service-config.test.ts +13 -3
  101. package/test/attachments/url-signer.test.ts +105 -0
  102. package/test/boot-create-signature-policy.test.ts +108 -0
  103. package/test/boot-mcp-enabled.test.ts +121 -0
  104. package/test/boot-privacy.test.ts +243 -0
  105. package/test/boot-unsupported-stored-documents.test.ts +213 -0
  106. package/test/boot-without-renown.test.ts +81 -0
  107. package/test/boot-without-require-signatures.test.ts +74 -0
  108. package/test/boot-worker-trust-policy.test.ts +90 -0
  109. package/test/builder-defaults.test.ts +80 -0
  110. package/test/create-signature-policy.test.ts +69 -0
  111. package/test/durable-node-fs-pg16.test.ts +80 -0
  112. package/test/fatal-shutdown.test.ts +165 -0
  113. package/test/mcp-flag.test.ts +56 -0
  114. package/test/observability-signals.test.ts +131 -0
  115. package/test/pglite-dialect.test.ts +159 -2
  116. package/test/pglite-preflight.test.ts +313 -0
  117. package/test/pglite-version.test.ts +9 -1
  118. package/test/renown-trust-policy.test.ts +315 -0
  119. package/test/snapshot-writer.ts +94 -0
  120. package/test/unsupported-stored-documents.test.ts +72 -0
  121. package/test/worker-pool.test.ts +27 -1
  122. package/test/workflow/harness.ts +289 -0
  123. package/test/workflow/oauth.test.ts +214 -0
  124. package/test/workflow/resolvers.test.ts +322 -0
  125. package/test/workflow/webhook-dedupe.test.ts +295 -0
  126. package/test/workflow/webhook-signed.test.ts +509 -0
  127. package/test/workflow/webhook-trigger-test.test.ts +82 -0
  128. package/test/workflow/webhook-unsigned.test.ts +345 -0
  129. package/test/workflow-reactor-access.test.ts +384 -0
  130. package/test/workflow-reactor-enforcement.test.ts +805 -0
  131. package/test/workflow-read-gate.test.ts +210 -0
  132. package/test/workflow-runtime.test.ts +572 -0
  133. package/tsconfig.json +9 -3
  134. package/tsdown.config.ts +3 -1
  135. package/dist/server-CiKkVE6g.mjs +0 -1555
  136. package/dist/server-CiKkVE6g.mjs.map +0 -1
  137. package/dist/utils-Baw7rThP.mjs.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"tsdown.config.d.ts","sourceRoot":"","sources":["../tsdown.config.ts"],"names":[],"mappings":";AAEA,wBAaG"}
1
+ {"version":3,"file":"tsdown.config.d.ts","sourceRoot":"","sources":["../tsdown.config.ts"],"names":[],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"file":"vitest.config.d.ts","sourceRoot":"","sources":["../vitest.config.ts"],"names":[],"mappings":";AAEA,wBAQG"}
1
+ {"version":3,"file":"vitest.config.d.ts","sourceRoot":"","sources":["../vitest.config.ts"],"names":[],"mappings":""}
package/Auth.md CHANGED
@@ -133,6 +133,57 @@ interface AuthConfig {
133
133
  - **Document Owners**: implicit ADMIN on documents they create
134
134
  - **Per-Document Grants**: READ / WRITE / ADMIN granted to users or groups, inherited from protected ancestors
135
135
 
136
+ #### Attachments
137
+
138
+ An attachment is readable by whoever may read the document that references it.
139
+ `GET /attachments/:hash/download-target` decides that twice over: the caller
140
+ must be able to read the document's `global` scope, and the reference index
141
+ must confirm that the document really does reference this hash. A denial is a
142
+ single generic `404` either way, so it never tells the caller which of the two
143
+ failed.
144
+
145
+ Which model answers the first half is the deployment's choice, and by default it
146
+ is the permission tables above — unchanged.
147
+
148
+ ```bash
149
+ # Decide an attachment read with the referencing document's own policy
150
+ export ATTACHMENT_READS_FOLLOW_DOCUMENT_POLICY=true
151
+ ```
152
+
153
+ With it on, the document's **own policy** decides, evaluated for the caller's
154
+ subject: their address *and* the `did:key` of the app instance whose token
155
+ authenticated them, because a grant can name either and a document's creator is
156
+ recorded by key. It needs a policy model to evaluate, which auth enforcement is
157
+ what supplies, and refuses to boot without one rather than leave the tables
158
+ deciding while the configuration says otherwise.
159
+
160
+ Why a deployment would want it: one whose documents carry policies keeps no rows
161
+ in the permission tables, so asking those tables about such a document returns
162
+ whatever the host-wide policy says — under `OPEN`, `true`, for every caller
163
+ including an anonymous one. Handing out bytes on that answer gives the file to
164
+ anyone who learns its hash, which the document's own state may well have told
165
+ them before their access was taken away.
166
+
167
+ Two things to know before turning it on. A document that carries **no** policy
168
+ stays readable, because an uninitialized policy is not a denial — unless the
169
+ host also sets `DEFAULT_PROTECTION`, which tells the gate to withhold what it
170
+ cannot decide, and then attachments on unpolicied documents are refused along
171
+ with everything else about them. And every non-browser client that downloads
172
+ bytes — an extraction worker, an indexer — needs a read grant of its own on the
173
+ documents it fetches, or it stops working the moment this is enabled.
174
+
175
+ The presigned URL a target carries is short-lived by design: the authorization
176
+ behind it is decided once, when it is issued, and the URL keeps working until it
177
+ expires however the policy changes in between. The default ceiling is **300
178
+ seconds**, and it applies whether or not the caller asked for a lifetime —
179
+ otherwise omitting `expiresIn` would be a way to opt out of it.
180
+
181
+ ```bash
182
+ # Raise it if a deployment genuinely needs longer; still bounded by the
183
+ # 7-day maximum a SigV4 signature can carry.
184
+ export ATTACHMENT_DOWNLOAD_TARGET_MAX_TTL_SECONDS=1800
185
+ ```
186
+
136
187
  ### 6. **Session Management**
137
188
 
138
189
  Advanced session handling with multiple active sessions:
@@ -221,6 +272,49 @@ It requires a caller to be resolvable at all, so it refuses to boot without
221
272
  resolution off, no bearer is ever read and it would reject every caller,
222
273
  including authenticated ones.
223
274
 
275
+ It also covers the attachment routes, which are mounted on the HTTP adapter and
276
+ never pass the GraphQL fetch chain. Their own 401 keys on `AUTH_ENABLED`, so
277
+ without this switch a deployment running `OPEN` serves them to anyone; with it,
278
+ every attachment route refuses a caller it cannot name — `download-target` and
279
+ the `GET`/`HEAD /attachments/:hash` byte routes included, even though they
280
+ decide per document (or by a signed URL) on their own. A filesystem signed
281
+ download URL therefore needs a bearer too while this switch is on.
282
+
283
+ ##### Serving one path anonymously
284
+
285
+ Some products have a flow that runs *before* sign-in: previewing an invitation
286
+ from the code in its e-mail, for instance, so the screen can say who the
287
+ invitation is for. That flow has no caller by definition, and the floor above
288
+ would answer it a `401`.
289
+
290
+ ```bash
291
+ export REQUIRE_AUTHENTICATED_CALLER=true
292
+ export REQUIRE_AUTHENTICATED_CALLER_EXEMPT_PATHS=/graphql/public
293
+ ```
294
+
295
+ Comma-separated, so several paths are one variable:
296
+
297
+ ```bash
298
+ export REQUIRE_AUTHENTICATED_CALLER_EXEMPT_PATHS=/graphql/public,/graphql/invites
299
+ ```
300
+
301
+ Each entry is matched against the request's **pathname, in full** — never as a
302
+ prefix, so `/graphql/public` does not also exempt `/graphql/public-admin`. A
303
+ trailing slash on either side is ignored; a leading slash is required, and a
304
+ path without one is refused at boot rather than left as an exemption that
305
+ silently never applies. Configuring exemptions while the floor is off is
306
+ refused too: it would describe a protection the server is not applying.
307
+
308
+ The exempt paths are named in the boot log, because the one question worth
309
+ asking about this floor is what is still open.
310
+
311
+ Every entry is a hole in it. Only ever name a path that serves operations which
312
+ are safe without a caller, and prefer a route mounted for exactly that purpose
313
+ over exempting one that also serves something else. Note what this switch does
314
+ **not** reach, in either configuration: routes registered directly on the HTTP
315
+ adapter (`/health`, `/ready`, `/explorer`, `/d/:drive`) and package HTTP routes,
316
+ which declare their own `auth` per route.
317
+
224
318
  #### Configuration File Method
225
319
 
226
320
  ```json
package/CHANGELOG.md CHANGED
@@ -1,3 +1,512 @@
1
+ ## 6.2.3-dev.50 (2026-10-09)
2
+
3
+ ### 🚀 Features
4
+
5
+ - **switchboard:** start the Pyroscope profiler in embedded servers ([3dc361721d](https://github.com/powerhouse-inc/powerhouse/commit/3dc361721d))
6
+ - **reactor-workflow:** stream, cache and authorize step attachments ([2c33603d58](https://github.com/powerhouse-inc/powerhouse/commit/2c33603d58))
7
+ - **reactor-workflow:** trace runs, steps, workers and reactor calls with a host-supplied tracer and meter ([d42c5d9053](https://github.com/powerhouse-inc/powerhouse/commit/d42c5d9053))
8
+
9
+ ### 🩹 Fixes
10
+
11
+ - **registry:** stop Verdaccio dropping a package write when Windows refuses the rename ([79636fd438](https://github.com/powerhouse-inc/powerhouse/commit/79636fd438))
12
+ - **switchboard:** shut down and restart when the reactor's pglite session is poisoned ([ccbb0ecef1](https://github.com/powerhouse-inc/powerhouse/commit/ccbb0ecef1))
13
+ - **switchboard:** build the pglite store on the hardened dialect ([8c359d9278](https://github.com/powerhouse-inc/powerhouse/commit/8c359d9278))
14
+ - **reactor-workflow:** carry INDETERMINATE through test reporting ([ada7daaa61](https://github.com/powerhouse-inc/powerhouse/commit/ada7daaa61))
15
+
16
+ ### ❤️ Thank You
17
+
18
+ - acaldas
19
+ - Benjamin Jordan
20
+ - Claude Opus 5.5
21
+ - Wouter Kampmann
22
+
23
+ ## 6.2.3-dev.49 (2026-10-08)
24
+
25
+ This was a version bump only for @powerhousedao/switchboard to align it with other projects, there were no code changes.
26
+
27
+ ## 6.2.3-dev.48 (2026-10-07)
28
+
29
+ This was a version bump only for @powerhousedao/switchboard to align it with other projects, there were no code changes.
30
+
31
+ ## 6.2.3-dev.47 (2026-10-07)
32
+
33
+ This was a version bump only for @powerhousedao/switchboard to align it with other projects, there were no code changes.
34
+
35
+ ## 6.2.3-dev.46 (2026-10-07)
36
+
37
+ ### 🚀 Features
38
+
39
+ - **connect:** load local project models in the reactor worker ([6e2929ce60](https://github.com/powerhouse-inc/powerhouse/commit/6e2929ce60))
40
+
41
+ ### 🩹 Fixes
42
+
43
+ - **builder-tools:** make the worker bundle survive consumer projects ([6361a66b6d](https://github.com/powerhouse-inc/powerhouse/commit/6361a66b6d))
44
+ - **builder-tools:** assert the vendor-dir mode only where modes exist ([f47c32a020](https://github.com/powerhouse-inc/powerhouse/commit/f47c32a020))
45
+ - **switchboard:** never let observability lower a fatal exit code ([0498342d22](https://github.com/powerhouse-inc/powerhouse/commit/0498342d22))
46
+ - **switchboard:** survive a logger that fails during fatal shutdown ([ecc8975282](https://github.com/powerhouse-inc/powerhouse/commit/ecc8975282))
47
+
48
+ ### ❤️ Thank You
49
+
50
+ - Claude Fable 5
51
+ - Wouter Kampmann
52
+
53
+ ## 6.2.3-dev.45 (2026-10-06)
54
+
55
+ ### 🚀 Features
56
+
57
+ - ⚠️ **reactor-workflow:** let any workflow piece read and write documents through the reactor ([fcccf0dfca](https://github.com/powerhouse-inc/powerhouse/commit/fcccf0dfca))
58
+ - **switchboard:** open PGlite stores over the durable NodeFS ([b5126c3056](https://github.com/powerhouse-inc/powerhouse/commit/b5126c3056))
59
+
60
+ ### 🩹 Fixes
61
+
62
+ - **pglite:** bound the old-dir removal after conversion ([0aef46f0ca](https://github.com/powerhouse-inc/powerhouse/commit/0aef46f0ca))
63
+ - **pglite:** open files read-write for the tree sync ([ce0fa23af5](https://github.com/powerhouse-inc/powerhouse/commit/ce0fa23af5))
64
+ - **switchboard:** resolve the legacy pg_dump wasm path on Windows ([c35148183a](https://github.com/powerhouse-inc/powerhouse/commit/c35148183a))
65
+ - **switchboard:** dump legacy PG16 stores from an in-memory copy ([8084fa5b1e](https://github.com/powerhouse-inc/powerhouse/commit/8084fa5b1e))
66
+
67
+ ### 🔥 Performance
68
+
69
+ - **pglite:** sync the tree once after initdb, conversion and migration ([9ec8caf970](https://github.com/powerhouse-inc/powerhouse/commit/9ec8caf970))
70
+
71
+ ### ⚠️ Breaking Changes
72
+
73
+ - **reactor-workflow:** let any workflow piece read and write documents through the reactor ([fcccf0dfca](https://github.com/powerhouse-inc/powerhouse/commit/fcccf0dfca))
74
+
75
+ ### ❤️ Thank You
76
+
77
+ - acaldas
78
+ - Benjamin Jordan
79
+ - Claude Fable 5.1
80
+
81
+ ## 6.2.3-dev.44 (2026-10-06)
82
+
83
+ ### 🩹 Fixes
84
+
85
+ - **analytics:** anchor periods and timestamps to UTC ([#3175](https://github.com/powerhouse-inc/powerhouse/pull/3175))
86
+ - **reactor:** make the reactor suite pass on Windows ([#3171](https://github.com/powerhouse-inc/powerhouse/pull/3171))
87
+ - **switchboard:** keep fatal shutdown exit codes intact ([#3174](https://github.com/powerhouse-inc/powerhouse/pull/3174))
88
+
89
+ ### ❤️ Thank You
90
+
91
+ - Benjamin Jordan
92
+ - Claude Fable 5
93
+ - Claude Opus 5 (1M context)
94
+ - Wouter Kampmann
95
+
96
+ ## 6.2.3-dev.43 (2026-10-05)
97
+
98
+ This was a version bump only for @powerhousedao/switchboard to align it with other projects, there were no code changes.
99
+
100
+ ## 6.2.3-dev.42 (2026-10-04)
101
+
102
+ ### 🩹 Fixes
103
+
104
+ - **registry:** stop a tarball stream's late fstat from crashing the registry ([84f56c54bf](https://github.com/powerhouse-inc/powerhouse/commit/84f56c54bf))
105
+ - **reactor:** let executor workers load document models from the registry ([8ae1911d44](https://github.com/powerhouse-inc/powerhouse/commit/8ae1911d44))
106
+
107
+ ### ❤️ Thank You
108
+
109
+ - acaldas
110
+
111
+ ## 6.2.3-dev.41 (2026-10-03)
112
+
113
+ ### 🩹 Fixes
114
+
115
+ - **registry:** stop a tarball stream's late fstat from crashing the registry ([84f56c54bf](https://github.com/powerhouse-inc/powerhouse/commit/84f56c54bf))
116
+ - **reactor:** let executor workers load document models from the registry ([8ae1911d44](https://github.com/powerhouse-inc/powerhouse/commit/8ae1911d44))
117
+
118
+ ### ❤️ Thank You
119
+
120
+ - acaldas
121
+
122
+ ## 6.2.3-dev.40 (2026-10-02)
123
+
124
+ ### 🩹 Fixes
125
+
126
+ - **document-model:** leave unmatched @tokens in log messages as written ([0538ea019c](https://github.com/powerhouse-inc/powerhouse/commit/0538ea019c))
127
+
128
+ ### ❤️ Thank You
129
+
130
+ - acaldas
131
+
132
+ ## 6.2.3-dev.39 (2026-10-02)
133
+
134
+ This was a version bump only for @powerhousedao/switchboard to align it with other projects, there were no code changes.
135
+
136
+ ## 6.2.3-dev.38 (2026-10-01)
137
+
138
+ This was a version bump only for @powerhousedao/switchboard to align it with other projects, there were no code changes.
139
+
140
+ ## 6.2.3-dev.37 (2026-10-01)
141
+
142
+ This was a version bump only for @powerhousedao/switchboard to align it with other projects, there were no code changes.
143
+
144
+ ## 6.2.3-dev.36 (2026-10-01)
145
+
146
+ ### 🚀 Features
147
+
148
+ - **switchboard:** pass the attachment provider to host-built subgraphs ([9264687cf6](https://github.com/powerhouse-inc/powerhouse/commit/9264687cf6))
149
+ - **reactor-api:** declare caller-bound attachment types ([d6748866bc](https://github.com/powerhouse-inc/powerhouse/commit/d6748866bc))
150
+
151
+ ### 🩹 Fixes
152
+
153
+ - **reactor-attachments:** reject mimeTypes a Content-Type header cannot carry ([2301dbe466](https://github.com/powerhouse-inc/powerhouse/commit/2301dbe466))
154
+
155
+ ### ❤️ Thank You
156
+
157
+ - Benjamin Jordan
158
+ - Claude Opus 5.5
159
+
160
+ ## 6.2.3-dev.35 (2026-10-01)
161
+
162
+ ### 🚀 Features
163
+
164
+ - ⚠️ **registry:** serve every replica from Postgres and S3, processing publishes in a worker ([0d25d5fe35](https://github.com/powerhouse-inc/powerhouse/commit/0d25d5fe35))
165
+ - **switchboard:** configure the erasure purge timeout ([354375ea61](https://github.com/powerhouse-inc/powerhouse/commit/354375ea61))
166
+ - **switchboard:** run the privacy add-on behind PH_PRIVACY_ENABLED ([38c9a43856](https://github.com/powerhouse-inc/powerhouse/commit/38c9a43856))
167
+ - **reactor-privacy:** erase requested documents on a serial schedule ([f4f31289a1](https://github.com/powerhouse-inc/powerhouse/commit/f4f31289a1))
168
+ - **reactor-privacy:** serve disclosure and erasure to supreme admins only ([7a6b5232cb](https://github.com/powerhouse-inc/powerhouse/commit/7a6b5232cb))
169
+ - **reactor-privacy:** scaffold the package and its migration ledger ([152ecff77b](https://github.com/powerhouse-inc/powerhouse/commit/152ecff77b))
170
+ - **reactor-drive:** erase a purged document's nodes in NodeProcessor ([5a608e73bf](https://github.com/powerhouse-inc/powerhouse/commit/5a608e73bf))
171
+ - **reactor-attachments:** delete a purged document's attachment references ([4121c83347](https://github.com/powerhouse-inc/powerhouse/commit/4121c83347))
172
+
173
+ ### 🩹 Fixes
174
+
175
+ - **switchboard:** let workflow steps read attachments as they read documents ([b8c861360b](https://github.com/powerhouse-inc/powerhouse/commit/b8c861360b))
176
+ - **switchboard:** shut down when a PGlite store cannot flush ([42ea6fd893](https://github.com/powerhouse-inc/powerhouse/commit/42ea6fd893))
177
+ - **reactor:** a drive's purge does not require a live former member ([e8266b1035](https://github.com/powerhouse-inc/powerhouse/commit/e8266b1035))
178
+ - **reactor-privacy:** warn and record lastError while a leaked purge blocks dispatch ([cd6fe4f022](https://github.com/powerhouse-inc/powerhouse/commit/cd6fe4f022))
179
+ - **reactor-privacy:** reopen every failed request with no failed item each tick ([d9c19c3837](https://github.com/powerhouse-inc/powerhouse/commit/d9c19c3837))
180
+ - **reactor-api:** ignore polled refusals of an unknown kind ([aac4a3e752](https://github.com/powerhouse-inc/powerhouse/commit/aac4a3e752))
181
+ - **reactor-api:** fail a poll with a recoverable code when a refusal is not recorded ([3ab1c92f7b](https://github.com/powerhouse-inc/powerhouse/commit/3ab1c92f7b))
182
+ - **reactor:** keep a polled marker refusal only when the marker was owed ([07cae595da](https://github.com/powerhouse-inc/powerhouse/commit/07cae595da))
183
+ - **reactor:** persist a purge refusal only from a MARKER_REFUSED dead letter ([ef2c3f4729](https://github.com/powerhouse-inc/powerhouse/commit/ef2c3f4729))
184
+
185
+ ### 🔥 Performance
186
+
187
+ - **reactor-privacy:** dispatch the next purge without rescanning the backlog ([5de3703ebf](https://github.com/powerhouse-inc/powerhouse/commit/5de3703ebf))
188
+
189
+ ### ⚠️ Breaking Changes
190
+
191
+ - **registry:** serve every replica from Postgres and S3, processing publishes in a worker ([0d25d5fe35](https://github.com/powerhouse-inc/powerhouse/commit/0d25d5fe35))
192
+ /packages and /pieces return pages ({items,total,limit,offset,hasMore}) instead of full arrays, and piece bundles move to /-/pieces/bundled/<name>/<version>.tgz.
193
+
194
+ ### ❤️ Thank You
195
+
196
+ - acaldas
197
+ - Benjamin Jordan
198
+ - Claude Opus 5.5
199
+
200
+ ## 6.2.3-dev.34 (2026-09-30)
201
+
202
+ ### 🚀 Features
203
+
204
+ - **switchboard:** let MCP_ENABLED=false keep the MCP server unmounted ([#3146](https://github.com/powerhouse-inc/powerhouse/pull/3146))
205
+
206
+ ### ❤️ Thank You
207
+
208
+ - Guillermo Puente Sandoval @gpuente
209
+
210
+ ## 6.2.3-dev.33 (2026-09-30)
211
+
212
+ ### 🚀 Features
213
+
214
+ - **switchboard:** expose the stored-protocol startup check ([de2bf4836](https://github.com/powerhouse-inc/powerhouse/commit/de2bf4836))
215
+ - **reactor:** add catch-up operator tools and observability ([5722d7836](https://github.com/powerhouse-inc/powerhouse/commit/5722d7836))
216
+
217
+ ### 🩹 Fixes
218
+
219
+ - **reactor:** claim a batch for each read model as it queues ([c09b1de2a](https://github.com/powerhouse-inc/powerhouse/commit/c09b1de2a))
220
+ - **reactor:** settle a probe on its own xid, not on an empty xip ([4e0f0dab9](https://github.com/powerhouse-inc/powerhouse/commit/4e0f0dab9))
221
+ - **reactor:** leave a stream to the next sweep while its live pass runs ([53112bad4](https://github.com/powerhouse-inc/powerhouse/commit/53112bad4))
222
+ - **reactor:** start a head registration at the sequence head ([e06581849](https://github.com/powerhouse-inc/powerhouse/commit/e06581849))
223
+ - **switchboard:** resolve packages it brings from its own dependencies in dev ([7c9c55d98](https://github.com/powerhouse-inc/powerhouse/commit/7c9c55d98))
224
+
225
+ ### ❤️ Thank You
226
+
227
+ - acaldas
228
+ - Benjamin Jordan
229
+ - Claude Opus 5.5
230
+
231
+ ## 6.2.3-dev.32 (2026-09-29)
232
+
233
+ This was a version bump only for @powerhousedao/switchboard to align it with other projects, there were no code changes.
234
+
235
+ ## 6.2.3-dev.31 (2026-09-29)
236
+
237
+ ### 🚀 Features
238
+
239
+ - **ph-cli:** seed a Workflows drive in vetra when workflows are on ([6e855808e](https://github.com/powerhouse-inc/powerhouse/commit/6e855808e))
240
+ - **workflow:** sign connections in with OAuth2 using their own app ([b03b33bf0](https://github.com/powerhouse-inc/powerhouse/commit/b03b33bf0))
241
+ - **reactor-workflow:** keyset-paginate the run listing through the subgraph and runs views ([d22a4eea5](https://github.com/powerhouse-inc/powerhouse/commit/d22a4eea5))
242
+ - **reactor-workflow:** renew webhook trigger subscriptions ([4fc6bfea6](https://github.com/powerhouse-inc/powerhouse/commit/4fc6bfea6))
243
+ - ⚠️ **switchboard:** block inputs, step and trigger tests, and version resolutions in the workflow API ([58b43b249](https://github.com/powerhouse-inc/powerhouse/commit/58b43b249))
244
+
245
+ ### 🩹 Fixes
246
+
247
+ - **reactor-workflow:** order runs by a key that doesn't change when they start ([f15425dd8](https://github.com/powerhouse-inc/powerhouse/commit/f15425dd8))
248
+ - **reactor-workflow:** disarm a workflow's trigger when its document is deleted ([866427bc6](https://github.com/powerhouse-inc/powerhouse/commit/866427bc6))
249
+
250
+ ### 🔥 Performance
251
+
252
+ - **reactor-workflow:** batch run listing step and document reads ([c33a42f7d](https://github.com/powerhouse-inc/powerhouse/commit/c33a42f7d))
253
+
254
+ ### ⚠️ Breaking Changes
255
+
256
+ - **switchboard:** block inputs, step and trigger tests, and version resolutions in the workflow API ([58b43b249](https://github.com/powerhouse-inc/powerhouse/commit/58b43b249))
257
+
258
+ ### ❤️ Thank You
259
+
260
+ - acaldas
261
+
262
+ ## 6.2.3-dev.30 (2026-09-29)
263
+
264
+ ### 🩹 Fixes
265
+
266
+ - **deps:** load cmd-ts's ESM build under bun, which fails to require chalk from its CJS build ([749528c71](https://github.com/powerhouse-inc/powerhouse/commit/749528c71))
267
+
268
+ ### ❤️ Thank You
269
+
270
+ - acaldas
271
+
272
+ ## 6.2.3-dev.29 (2026-09-28)
273
+
274
+ ### 🩹 Fixes
275
+
276
+ - **reactor-workflow:** refuse a secrets master key other than the one secrets were stored with ([87cfde0f5](https://github.com/powerhouse-inc/powerhouse/commit/87cfde0f5))
277
+
278
+ ### ❤️ Thank You
279
+
280
+ - acaldas
281
+
282
+ ## 6.2.3-dev.28 (2026-09-28)
283
+
284
+ ### 🚀 Features
285
+
286
+ - **reactor-workflow:** carry Activepieces layout hints, property groups and search to the editor ([4eca1e1bd](https://github.com/powerhouse-inc/powerhouse/commit/4eca1e1bd))
287
+
288
+ ### ❤️ Thank You
289
+
290
+ - acaldas
291
+
292
+ ## 6.2.3-dev.27 (2026-09-28)
293
+
294
+ ### 🚀 Features
295
+
296
+ - ⚠️ **switchboard:** serve attachment bytes only under a document grant ([275e88da0](https://github.com/powerhouse-inc/powerhouse/commit/275e88da0))
297
+ - **switchboard:** sign short-lived attachment byte-route URLs ([18e09cdb5](https://github.com/powerhouse-inc/powerhouse/commit/18e09cdb5))
298
+
299
+ ### 🩹 Fixes
300
+
301
+ - **switchboard:** sign byte-route URLs under main's download-target TTL cap ([d503b4f67](https://github.com/powerhouse-inc/powerhouse/commit/d503b4f67))
302
+ - **reactor-workflow:** serve workflow reads and runs as the caller ([b2ddd126a](https://github.com/powerhouse-inc/powerhouse/commit/b2ddd126a))
303
+ - **reactor-drive:** gate the reactor-drive subgraph as the caller ([7041635f4](https://github.com/powerhouse-inc/powerhouse/commit/7041635f4))
304
+ - **reactor-api:** gate attachment reads through the reactor's read gate ([d6c3b4df1](https://github.com/powerhouse-inc/powerhouse/commit/d6c3b4df1))
305
+
306
+ ### ⚠️ Breaking Changes
307
+
308
+ - **switchboard:** serve attachment bytes only under a document grant ([275e88da0](https://github.com/powerhouse-inc/powerhouse/commit/275e88da0))
309
+
310
+ ### ❤️ Thank You
311
+
312
+ - Benjamin Jordan
313
+ - Claude Opus 5.5
314
+
315
+ ## 6.2.3-dev.26 (2026-09-26)
316
+
317
+ ### 🚀 Features
318
+
319
+ - ⚠️ **switchboard:** serve attachment bytes only under a document grant ([275e88da0](https://github.com/powerhouse-inc/powerhouse/commit/275e88da0))
320
+ - **switchboard:** sign short-lived attachment byte-route URLs ([18e09cdb5](https://github.com/powerhouse-inc/powerhouse/commit/18e09cdb5))
321
+
322
+ ### 🩹 Fixes
323
+
324
+ - **switchboard:** sign byte-route URLs under main's download-target TTL cap ([d503b4f67](https://github.com/powerhouse-inc/powerhouse/commit/d503b4f67))
325
+ - **reactor-workflow:** serve workflow reads and runs as the caller ([b2ddd126a](https://github.com/powerhouse-inc/powerhouse/commit/b2ddd126a))
326
+ - **reactor-drive:** gate the reactor-drive subgraph as the caller ([7041635f4](https://github.com/powerhouse-inc/powerhouse/commit/7041635f4))
327
+ - **reactor-api:** gate attachment reads through the reactor's read gate ([d6c3b4df1](https://github.com/powerhouse-inc/powerhouse/commit/d6c3b4df1))
328
+
329
+ ### ⚠️ Breaking Changes
330
+
331
+ - **switchboard:** serve attachment bytes only under a document grant ([275e88da0](https://github.com/powerhouse-inc/powerhouse/commit/275e88da0))
332
+
333
+ ### ❤️ Thank You
334
+
335
+ - Benjamin Jordan
336
+ - Claude Opus 5.5
337
+
338
+ ## 6.2.3-dev.25 (2026-09-25)
339
+
340
+ ### 🚀 Features
341
+
342
+ - **workflow:** show run data in a lazy-loaded tree with copyable references, and scope the connection picker to the drive ([1d286f4a6](https://github.com/powerhouse-inc/powerhouse/commit/1d286f4a6))
343
+ - **reactor-workflow:** record when each step starts and ends ([6f6d8a233](https://github.com/powerhouse-inc/powerhouse/commit/6f6d8a233))
344
+ - **reactor-api:** serve an attachment only to callers who may read its document ([#3109](https://github.com/powerhouse-inc/powerhouse/pull/3109))
345
+
346
+ ### 🩹 Fixes
347
+
348
+ - **ci:** let the release skip the transpiler TypeScript 7 broke ([#36306](https://github.com/powerhouse-inc/powerhouse/issues/36306))
349
+
350
+ ### ❤️ Thank You
351
+
352
+ - acaldas
353
+ - Guillermo Puente
354
+ - Guillermo Puente Sandoval
355
+
356
+ ## 6.2.3-dev.24 (2026-09-25)
357
+
358
+ ### 🚀 Features
359
+
360
+ - **reactor-api:** exempt named paths from the authenticated-caller floor, and carry it to the attachment routes ([#3108](https://github.com/powerhouse-inc/powerhouse/pull/3108))
361
+ - **reactor:** action signature integrity ([#3088](https://github.com/powerhouse-inc/powerhouse/pull/3088), [#2894](https://github.com/powerhouse-inc/powerhouse/issues/2894), [#7](https://github.com/powerhouse-inc/powerhouse/issues/7))
362
+ - **reactor-workflow:** refuse the auth and trigger features the engine can't run ([7ce03d28f](https://github.com/powerhouse-inc/powerhouse/commit/7ce03d28f))
363
+ - type-safe piece authoring, upstream connection hooks, and a ph build that typechecks first ([#3082](https://github.com/powerhouse-inc/powerhouse/pull/3082))
364
+
365
+ ### 🩹 Fixes
366
+
367
+ - **workflow:** build after powerhouse-vetra-packages so their tsc --build runs never overlap ([#3101](https://github.com/powerhouse-inc/powerhouse/pull/3101))
368
+
369
+ ### ❤️ Thank You
370
+
371
+ - acaldas
372
+ - Benjamin Jordan
373
+ - Claude Fable 5.1
374
+ - Guillermo Puente Sandoval @gpuente
375
+
376
+ ## 6.2.3-dev.23 (2026-09-24)
377
+
378
+ ### 🩹 Fixes
379
+
380
+ - **switchboard:** leave unhandled rejections to Sentry when it listens ([c6a40108e](https://github.com/powerhouse-inc/powerhouse/commit/c6a40108e))
381
+ - **switchboard:** flush PGlite before exiting on an uncaught error ([#3077](https://github.com/powerhouse-inc/powerhouse/issues/3077))
382
+ - **switchboard:** escape non-ASCII file names in attachment metadata headers ([#3077](https://github.com/powerhouse-inc/powerhouse/issues/3077))
383
+
384
+ ### ❤️ Thank You
385
+
386
+ - Benjamin Jordan
387
+ - Claude Opus 5.5
388
+
389
+ ## 6.2.3-dev.22 (2026-09-23)
390
+
391
+ ### 🩹 Fixes
392
+
393
+ - **ci:** slice the duration-watch baseline in jq, not through head ([73db497e0](https://github.com/powerhouse-inc/powerhouse/commit/73db497e0))
394
+
395
+ ### ❤️ Thank You
396
+
397
+ - acaldas
398
+
399
+ ## 6.2.3-dev.21 (2026-09-22)
400
+
401
+ This was a version bump only for @powerhousedao/switchboard to align it with other projects, there were no code changes.
402
+
403
+ ## 6.2.3-dev.20 (2026-09-22)
404
+
405
+ This was a version bump only for @powerhousedao/switchboard to align it with other projects, there were no code changes.
406
+
407
+ ## 6.2.3-dev.19 (2026-09-21)
408
+
409
+ This was a version bump only for @powerhousedao/switchboard to align it with other projects, there were no code changes.
410
+
411
+ ## 6.2.3-dev.18 (2026-09-21)
412
+
413
+ ### 🚀 Features
414
+
415
+ - **workflow:** read pieces from a Powerhouse registry ([f1467e0b0](https://github.com/powerhouse-inc/powerhouse/commit/f1467e0b0))
416
+
417
+ ### 🩹 Fixes
418
+
419
+ - **switchboard:** load the workflow package like any other package ([7629bf71f](https://github.com/powerhouse-inc/powerhouse/commit/7629bf71f))
420
+
421
+ ### ❤️ Thank You
422
+
423
+ - acaldas
424
+
425
+ ## 6.2.3-dev.17 (2026-09-21)
426
+
427
+ This was a version bump only for @powerhousedao/switchboard to align it with other projects, there were no code changes.
428
+
429
+ ## 6.2.3-dev.16 (2026-09-21)
430
+
431
+ This was a version bump only for @powerhousedao/switchboard to align it with other projects, there were no code changes.
432
+
433
+ ## 6.2.3-dev.15 (2026-09-20)
434
+
435
+ This was a version bump only for @powerhousedao/switchboard to align it with other projects, there were no code changes.
436
+
437
+ ## 6.2.3-dev.14 (2026-09-19)
438
+
439
+ ### 🚀 Features
440
+
441
+ - **ph-cli:** build pieces on ph build ([3913b0796](https://github.com/powerhouse-inc/powerhouse/commit/3913b0796))
442
+ - **doc-harness:** serve rendered reports and transcripts from mastra studio ([fd64a4661](https://github.com/powerhouse-inc/powerhouse/commit/fd64a4661))
443
+ - **doc-harness:** workflows, steps, and the run/resume/inspect commands ([0e116d226](https://github.com/powerhouse-inc/powerhouse/commit/0e116d226))
444
+ - **doc-harness:** pilot task catalog with pinned recipe inputs ([74bc26129](https://github.com/powerhouse-inc/powerhouse/commit/74bc26129))
445
+ - **doc-harness:** workspace wiring and core schemas for the docs-validation harness ([5c591ac69](https://github.com/powerhouse-inc/powerhouse/commit/5c591ac69))
446
+
447
+ ### ❤️ Thank You
448
+
449
+ - acaldas
450
+ - Benjamin Jordan
451
+ - Claude Fable 5.1
452
+
453
+ ## 6.2.3-dev.13 (2026-09-18)
454
+
455
+ This was a version bump only for @powerhousedao/switchboard to align it with other projects, there were no code changes.
456
+
457
+ ## 6.2.3-dev.12 (2026-09-17)
458
+
459
+ ### 🚀 Features
460
+
461
+ - **switchboard:** own the workflow runtime, feed it through a read model, and take workflows out of reactor-api ([#3042](https://github.com/powerhouse-inc/powerhouse/issues/3042))
462
+ - **reactor-workflow:** the workflow engine, composed in reactor-api behind the workflows flag ([cb807bf5d](https://github.com/powerhouse-inc/powerhouse/commit/cb807bf5d))
463
+ - **workflow:** the Connect-loaded workflow package, and the workflows flag in reactor-api ([0953fc254](https://github.com/powerhouse-inc/powerhouse/commit/0953fc254))
464
+ - **pieces-framework:** vendor the Activepieces piece framework as a Powerhouse package ([3da5dbea8](https://github.com/powerhouse-inc/powerhouse/commit/3da5dbea8))
465
+
466
+ ### ❤️ Thank You
467
+
468
+ - acaldas
469
+
470
+ ## 6.2.3-dev.11 (2026-09-17)
471
+
472
+ ### 🚀 Features
473
+
474
+ - **reactor-browser,design-system:** keep the legacy useDocumentOperations and RevisionHistory shapes as deprecated aliases ([6de05e632](https://github.com/powerhouse-inc/powerhouse/commit/6de05e632))
475
+
476
+ ### 🩹 Fixes
477
+
478
+ - **design-system,connect:** end the history walk on a failed page and show what loaded ([95f815b46](https://github.com/powerhouse-inc/powerhouse/commit/95f815b46))
479
+ - hold the timeline revision until the global history is loaded, default to the global scope, hide paging mid-load ([80c3b1289](https://github.com/powerhouse-inc/powerhouse/commit/80c3b1289))
480
+ - **reactor-browser:** page operations through nextCursor and invalidate alias keys ([ccb965869](https://github.com/powerhouse-inc/powerhouse/commit/ccb965869))
481
+
482
+ ### 🔥 Performance
483
+
484
+ - **design-system,connect:** wait for the whole history before rendering the timeline, yield between pages, fetch 500 per page ([86435721c](https://github.com/powerhouse-inc/powerhouse/commit/86435721c))
485
+
486
+ ### ❤️ Thank You
487
+
488
+ - Frank Pfeift
489
+
490
+ ## 6.2.3-dev.10 (2026-09-16)
491
+
492
+ This was a version bump only for @powerhousedao/switchboard to align it with other projects, there were no code changes.
493
+
494
+ ## 6.2.3-dev.9 (2026-09-15)
495
+
496
+ This was a version bump only for @powerhousedao/switchboard to align it with other projects, there were no code changes.
497
+
498
+ ## 6.2.3-dev.8 (2026-09-15)
499
+
500
+ This was a version bump only for @powerhousedao/switchboard to align it with other projects, there were no code changes.
501
+
502
+ ## 6.2.3-dev.7 (2026-09-14)
503
+
504
+ This was a version bump only for @powerhousedao/switchboard to align it with other projects, there were no code changes.
505
+
506
+ ## 6.2.3-dev.6 (2026-09-14)
507
+
508
+ This was a version bump only for @powerhousedao/switchboard to align it with other projects, there were no code changes.
509
+
1
510
  ## 6.2.3-dev.5 (2026-09-13)
2
511
 
3
512
  ### 🩹 Fixes