Commit 32ccb23
* feat(spec,core,runtime,docs)!: ADR-0112 batch 1 — one error-code vocabulary, SCREAMING_SNAKE, schema-enforced (#3841)
- Rename all 53 StandardErrorCode members to SCREAMING_SNAKE in place;
HttpStatusErrorCodeMap (#3842's designated sweep point) follows, so
derived wire codes change case (permission_denied -> PERMISSION_DENIED).
- Add ERROR_CODE_LEDGER (spec/api/error-code-ledger.zod.ts): 130+ service
codes registered per owning package, harvested from every non-test
emitter; ErrorCode = StandardErrorCode ∪ registered.
- Tighten ApiErrorSchema.code from z.string() to ErrorCode — the envelope
conformance suites now assert values, not just shape.
- Widen FieldErrorSchema.code to z.string() (ADR-0112 D6): field-level
codes are a separate vocabulary; #3977 owns its catalog.
- ANONYMOUS_DENY_CODE 'unauthenticated' -> 'UNAUTHENTICATED' (promoted
into error.code on the dispatcher surface, so it must be catalogued).
- Rewrite error-catalog.mdx to the two-tier model and lock its headings
to the enum with a new spec test; update the error-handling guides.
- Regenerate json-schema manifest, api-surface, docs references.
Batches 2 (lowercase emitter sweep) and 3 remain per the ADR's Rollout.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MaSQn77TT5fUgHK9CesaDK
* docs: regenerate contract reference after timeout revert; fix stale derived-code casing in api index
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MaSQn77TT5fUgHK9CesaDK
* docs(api): derived-code examples in the API overview follow ADR-0112 casing
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MaSQn77TT5fUgHK9CesaDK
* docs,skills: regenerate skill reference indexes; docs examples follow ADR-0112 casing
check:skill-refs and check:skill-examples gates — the skill reference
index derives from spec schemas (new error-code-ledger page), and the
prose-example compiler caught one remaining lowercase member literal.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MaSQn77TT5fUgHK9CesaDK
---------
Co-authored-by: Claude <noreply@anthropic.com>
1 parent 347f460 commit 32ccb23
44 files changed
Lines changed: 1185 additions & 462 deletions
File tree
- .changeset
- content/docs
- api
- plugins
- protocol/kernel
- references/api
- packages
- core/src/security
- rest/src
- runtime/src
- spec
- src/api
- skills/objectstack-api/references
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
511 | 511 | | |
512 | 512 | | |
513 | 513 | | |
514 | | - | |
| 514 | + | |
515 | 515 | | |
516 | 516 | | |
517 | 517 | | |
| |||
554 | 554 | | |
555 | 555 | | |
556 | 556 | | |
557 | | - | |
558 | | - | |
559 | | - | |
560 | | - | |
561 | | - | |
562 | | - | |
563 | | - | |
564 | | - | |
565 | | - | |
| 557 | + | |
| 558 | + | |
| 559 | + | |
| 560 | + | |
| 561 | + | |
| 562 | + | |
| 563 | + | |
| 564 | + | |
| 565 | + | |
566 | 566 | | |
567 | 567 | | |
568 | 568 | | |
| |||
0 commit comments