Repository navigation
Backlog
3 / 33 of 3 issues completedLabels
wayfinder:mapWayfinder map (index of decision tickets)
Description
Destination
Complete machine-readable structured diagnostics (ErrorKind, ErrorDetail::code, variant branch causes) on showcase/all-lanes so RPC servers and CLIs never parse error message strings.
Phase 1 Status: COMPLETE (
fork/showcase/all-lanesd0f1fca1· 0/3 open child tickets). Phase 2 active in Wave 4 (#70+error-detail-codefrom#104inPLANNED_PR_WAVES.md).
Notes
- Parent map: Map: Close reflect-cpp Adoption Gaps into showcase/all-lanes.
- Phase 2 mapping (
PLANNED_PR_WAVES.md):- Wave 4 (Structured Diagnostics):
#70(error-kind,6736d814,SHIP AS-IS— zero-alloc inline 10-valueuint8_t, variant microbench neutral) + extracterror-detail-codefrom#104(stacked on#70). - Parked in #116 (Easy & Landable):
#74(ErrorDetail::causes,showcase/all-lanes2b1fdb9b),#105(nlohmann::ReaderErrorKind),#112(xml::ReaderErrorKind). - Parked in #117 (Moonshots):
#75/#73(<rfl/error_format.hpp>library, closed/preserved),#42–#45(YAMLSourceLocation/SourceMap/NoDuplicateKeys/SequenceErrors, closed/preserved).
- Wave 4 (Structured Diagnostics):
- Phase 1 Showcase Evidence (archived research artifacts):
- clockblocker/obs-websocket#1 (
14aefd0):src/protocol/RequestCodec.hverified402/403mapping viaErrorDetail::code(#104) with zero string matching (3/3 CTest / 789 assertions). - clockblocker/transmission#1 (
6478ae0d0): 31/31 CTest/GTest with purereflect-cppJSON-RPC 2.0 dispatch.
- clockblocker/obs-websocket#1 (
Decisions so far
- Prototype ErrorDetail::code vocabulary and validator rule-ID propagation: Landed zero-size-growth
ErrorDetail::code+Error::code()(6966dec6, built-in validator rule IDs,rfl::error(..., code)& staticV::codehooks,OneOfdouble-catch fix); verifiedobs-websocket402/403 mapping with zero string matching (3/3 CTest / 789 assertions). Scheduled for Phase 2 Wave 4 (error-detail-code, stacked on#70). - Add additive ErrorDetail::causes for per-branch std::variant / AnyOf failures: Landed trailing defaulted
std::vector<ErrorDetail> causes = {};with 1-cause-per-alternative structured trees instd::variant,rfl::Variant,rfl::AnyOf, andSize/CodePoints<AnyOf>onshowcase/all-lanes(2b1fdb9b, dual-Judge approved, unchangedsizeof(rfl::Error), zero-alloc leaf/happy paths). Parked in #116.
Not yet specified
- Phase 2 Wave 4 extraction: Carve clean
main-basederror-detail-codePR from#104(6966dec6) stacked on#70.
Out of scope
- Localization/i18n translation frameworks inside
reflect-cpp. - Breaking existing
rfl::Errorhappy-path zero-allocation guarantees. - Opt-in <rfl/error_format.hpp>: TreeFormatter, LeafHook, and RFC 6901 JSON Pointer: Full error-format library deferred indefinitely into #117 (fork PR
#73closed, branch preserved).
Sub-issues
Collapse Sub-issuesSub-issues
Loading 3 sub-issues
Metadata
Metadata
Assignees
Labels
wayfinder:mapWayfinder map (index of decision tickets)
Activity