Repository navigation
Backlog
4 / 44 of 4 issues completedLabels
wayfinder:mapWayfinder map (index of decision tickets)
Description
Destination
Ensure C++20 structs emit clean Draft 2020-12 JSON Schemas and handle real-world enum, nullability, and recursive AST contracts on showcase/all-lanes without manual post-processors or duplicate DTOs.
Phase 1 Status: COMPLETE (
fork/showcase/all-lanesd0f1fca1· 0/4 open child tickets). Phase 2 active across Waves 3, 4, and 6 (PLANNED_PR_WAVES.md).
Notes
- Parent map: Map: Close reflect-cpp Adoption Gaps into showcase/all-lanes.
- Phase 2 mapping (
PLANNED_PR_WAVES.md):- Live upstream:
#802(fork#76,enum-string-view, closes#565). - Wave 3 (JSON Schema Core):
#14(json-schema-variant-one-of, refs#375),#78folding/stacking#21(json-schema-default-if-missing, closes#396),#79(default-if-null, refs#796). - Wave 4 (Tri-State Wire Semantics): Extract
nullable-tristatefrom#102(rfl::Nullable<T>,rfl::TriState<T>,rfl::AddNullFields). - Wave 6 (Schema Polish): Extract
schema-ext-and-boundsfrom#100+#109+#115(closes#683) andenum-wire-namesfrom#101(closes#731). - Parked in #116 (Easy & Landable):
#77(fix-rename-skip-duplicate),#56(case-insensitive-enums),#103(recursiveTaggedUnion$defscycle-breaking,b73c8aea).
- Live upstream:
- Phase 1 Showcase Evidence (archived research artifacts):
- clockblocker/slang-server#1 (
bf857f4):#78+#80deletedaddDefaultstree-walker; surfaced#115Boolean"type"-before-"default"fix ftri-state needs. - clockblocker/solidity#3: 290/290
soltest, 71/71ASTJSON/*byte-for-byte, 145/145standard_*validated; drove#100,#101,#103,#114. - clockblocker/obs-websocket#1 (
14aefd0): 46.7 KB Draft 2020-12 JSON Schema catching 3 upstream doc-vs-code drifts. - clockblocker/transmission#1 (
6478ae0d0): 60$defsJSON-RPC 2.0 schema; drove#102tri-state semantics.
- clockblocker/slang-server#1 (
Decisions so far
- Prototype explicit emit-null vs omit-when-empty policy for optional and nullable fields: Landed
rfl::Nullable<T>(always emitsnull),rfl::TriState<T>(omittedvs explicitnullvsvalueacrossread/read_into/write/Draft 2020-12 schema), and write-onlyrfl::AddNullFieldsonshowcase/all-lanes(2b1fdb9b, dual-Judge approved, 1,106/1,106 CTests). Scheduled for Phase 2 Wave 4 (nullable-tristate). - rfl::json::to_schema<T, rfl::DefaultIfMissing>: emit "type" before "default" on Boolean and normalize annotation order: Reordered
rfl::json::schema::Type::Boolean(typebeforeannotations) and audited all 21 JSON Schema subtypes (b73c8aea, dual-Judge approved). Scheduled for Phase 2 Wave 6 (schema-ext-and-bounds). - Prototype JSON Schema extensibility ($defs naming, custom wrapper x-* hooks, integer width bounds, title/examples): Landed
rfl::SchemaName,rfl::SchemaExtension($defs+inline_schema),rfl::Metadatatitle/examples/x-*/field_annotations, opt-inrfl::IntegerBounds(withValidatorallOf+ non-schemaful gating),rfl::TupleBounds,rfl::OmitEmptyRequired, and per-structrfl::DefaultIfMissingFor/Metadata::default_if_missing(b73c8aea, dual-Judge approved). Scheduled for Phase 2 Wave 6 (schema-ext-and-bounds). - Prototype enum wire-name transform and per-enumerator rename hook: Landed
rfl::EnumNames<E>(overrides+transform),rfl::TransformEnumNames<...>processors, andrfl::literal_from_table_twired across JSON, Schema,CaseInsensitiveEnums(including flag enums &cli::parse_enum_icase), and CLIread/usage(b73c8aea, dual-Judge approved). Scheduled for Phase 2 Wave 6 (enum-wire-names). - Prototype recursive TaggedUnion JSON Schema support and cross-field invariant ergonomics: Landed JSON Schema
$defscycle-breaking for direct, mutual, annotated, and named-subclass recursiverfl::TaggedUnions while keeping non-recursive bare unions inline (b73c8aea, dual-Judge approved; cross-field invariants out of scope). Parked in #116.
Not yet specified
- Phase 2 extractions & blocker resolution: Unify
is_safe_default_constructible.hppacross#78+#79, resolve#79NamedTupleParser.hppUB blocker, rebase#14, and carvenullable-tristate,schema-ext-and-bounds, andenum-wire-namesontoorigin/main. - Edge cases in Fog:
OpenLiteraland untaggedrfl::Variantfield-subset ordering (// ORDER MATTERS) remain out of active queue unless hit by an owned project.
Out of scope
- Non-JSON-Schema IDL emitters unless driven by a concrete Showcase Migration.
- General-purpose theorem-proving or arbitrary cross-field validation DSLs beyond what real Showcase Migrations require.
Sub-issues
Collapse Sub-issuesSub-issues
Loading 4 sub-issues
Metadata
Metadata
Assignees
Labels
wayfinder:mapWayfinder map (index of decision tickets)
Activity