You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor(types): move the 5xx fault-log rule to @objectstack/types and land it on sendError
Re-homed under the domain seat's serial fence: `packages/rest/src/package-routes.ts`
is held by the open PR #14499, so this no longer edits that file. The REST
direct-mount doors are covered from the producer side instead.
`sendError` (`@objectstack/types`) is the single writer for every
nested-envelope error in the repo, and every catch in the package registrar
ends there — so wiring the rule at that one exit covers those doors with no
per-door call, and covers any door added later by construction. That also puts
the helper in the same package as `resolveThrownHttpError`, on the same
argument: a rule two doors must agree on cannot live inside one of them.
`@objectstack/observability` and `packages/rest` are back to origin/main
byte-for-byte, as is the system-context census page (its line rot was caused
by the package-routes import this drops).
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
| 50 |`manage_metadata` bypassed on metadata writes | runtime, rest | Get: schema writes without the capability |`domains/meta.ts:471`, `:874`, `rest-server.ts:4716`, `:6079`, `:6327`, `:6758`, `:6951`|
162
162
| 51 | The shared metadata-write verdict itself returns `allowed`| metadata-core | Get: the one function all of row 50's doors consult answers yes before any capability is examined |`meta-write-capability.ts:134`|
163
-
| 52 | Anonymous-deny seam satisfied on the domain dispatchers and the package/federation routes | runtime, rest | Get: passes with no `userId`|`domains/actions.ts:411`, `domains/ai.ts:60`, `domains/automation.ts:989`, `domains/meta.ts:232`, `domains/security.ts:78`, `domains/packages.ts:276`, `external-datasource-routes.ts:302`, `package-routes.ts:98`|
163
+
| 52 | Anonymous-deny seam satisfied on the domain dispatchers and the package/federation routes | runtime, rest | Get: passes with no `userId`|`domains/actions.ts:411`, `domains/ai.ts:60`, `domains/automation.ts:989`, `domains/meta.ts:232`, `domains/security.ts:78`, `domains/packages.ts:276`, `external-datasource-routes.ts:302`, `package-routes.ts:97`|
164
164
| 53 | MCP principal check satisfied | runtime | Get: MCP surface reachable with no user |`domains/mcp.ts:61`|
| 55 | Package domain capability gates bypassed | runtime | Get: package management and package-inventory reads without the capability |`domains/packages.ts:95`, `:128`|
167
167
| 56 | Activation write / authoring refusals do not fire | runtime | Get: activation artifacts writable and authorable without the activation-authoring capability |`activation-gate.ts:139`, `:190`|
168
168
| 57 | Automation run-state read, flow-authoring write and unrelated-screen read all pass | runtime | Get: run state, flow writes and screen reads with no grant |`domains/automation.ts:254`, `:545`, `:635`|
0 commit comments