Skip to content

Commit 55415a5

Browse files
committed
fix(spec): record service-analytics as an emitter of the two API-exposure codes in the error-code ledger
Claude-Session: https://claude.ai/code/session_013j5gkUCpqQiti4GgPqqmnt Co-authored-by: Claude <noreply@anthropic.com>
1 parent e2b9e83 commit 55415a5

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

‎packages/spec/src/api/error-code-ledger.zod.ts‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1118,6 +1118,12 @@ export const ERROR_CODE_LEDGER = {
11181118
'@objectstack/service-analytics': [
11191119
'CUBE_NOT_FOUND',
11201120
'DATASET_INVALID', // [#5367] dataset/selection refusal raised by `dataset-refusal.ts`
1121+
// [#22634] The generic-exit gate (`api-exposure-door.ts`) stamps the data
1122+
// door's two exposure codes. Measured on the wire: `/analytics/query` and
1123+
// `/analytics/sql` through the runtime dispatcher, `/analytics/dataset/query`
1124+
// through rest. `@objectstack/rest` keeps its own rows for the data door.
1125+
'OBJECT_API_DISABLED',
1126+
'OBJECT_API_METHOD_NOT_ALLOWED',
11211127
'RAW_SQL_UNSUPPORTED',
11221128
'READ_SCOPE_COMPILE_FAILED', // [#5367] RLS read-scope lowering failed fail-closed — a SERVER fault (500), never the caller's
11231129
],

0 commit comments

Comments
 (0)