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
ccache#2: Mangled $defs names (util__Args__ResponseFileFormat), custom ConfigOption wrapper losing x-env-var / x-aliases metadata, and bare "integer" without integer width bounds (cf. upstream #683).
osmium-tool#3: Mangled $defs names (osmium_export__ExportConfig), missing title / examples annotations, and missing tuple-array minItems/maxItems/prefixItems bounds.
Prototype & Measurement Plan
Prototype on:showcase/all-lanes — design and implement composable schema hooks for $defs naming, wrapper x-* metadata emission, integer width bounds, and title/examples/tuple bounds.
Measure against real Showcase Migrations: Validate in ccache#2 and osmium-tool#3 by removing schema post-processing hacks and verifying clean Draft 2020-12 schema output.
Judges & landing: Run Judges (gemini-4-neon + claude-opus-5-5 high via antigravity delegates) on the prototype diff and measurements; if green, hand to coordinator to land on showcase/all-lanes.
Explicit $defs naming hook such as rfl::SchemaName<"..."> to replace mangled C++ names.
Omit empty "required": [] arrays when an object has no required properties.
Per-struct DefaultIfMissing control so individual structs in a schema graph can opt in without forcing global processor behavior across the whole root type.
to_schema<T, rfl::DefaultIfMissing> cleanly deleted slang-server's 30-line addDefaults tree-walker (exact top-level parity + fixed 3 missed nested $defs defaults), but grew bin/gen_config_schema by +23.1% (1,446,752 B → 1,781,456 B) via per-field to_generic instantiation across $defs (tracked for profiling/reduction in #90/#91).
Boolean "default"-before-"type" keyword ordering bug filed separately as direct ready-for-agent bugfix: #115.
Landed on showcase/all-lanes at b73c8aea (dual-Judge approved by claude-opus-5-5 high + gemini-4-neon high; 467/467 targets 0 warnings, 1,129/1,129 CTests).
Added include/rfl/SchemaExt.hpp and wired Draft 2020-12 JSON Schema extensibility across NamedTupleParser, Parser_default, ParserBasicType, make_type_name, json/schema/Type.hpp, and json/to_schema:
$defs naming overrides via rfl::SchemaName<T> and rfl::Metadata<T>::schema_name.
Custom wrapper hooks via rfl::SchemaExtension<T> (both $defs and inline_schema = true) and arbitrary x-* extensions via rfl::ExtraFields<rfl::Generic>.
title, examples, and x-* annotations via rfl::Metadata<T> (struct-level, FieldMeta::title, and field_annotations()).
Opt-in rfl::IntegerBounds emitting exact 8..64-bit signed/unsigned minimum/maximum bounds (gated to non-schemaful backends, preserved under rfl::Validator via allOf).
Opt-in rfl::TupleBounds (minItems/maxItems) and rfl::OmitEmptyRequired (omitting "required": []).
Activity
clockblocker commentedon Nov 27, 2026
Upstream & Showcase Deltas (
osmium-tool#3,solidity#3):@liuzicheng1987replied "very possible" for automatic integer width bounds.x-*extensibility hooks.osmium-tool#3,solidity#3):$defsnaming hook such asrfl::SchemaName<"...">to replace mangled C++ names."required": []arrays when an object has no required properties.DefaultIfMissingcontrol so individual structs in a schema graph can opt in without forcing global processor behavior across the whole root type.clockblocker commentedon Nov 27, 2026
Delta from clockblocker/slang-server#1 (
bf857f4):to_schema<T, rfl::DefaultIfMissing>cleanly deletedslang-server's 30-lineaddDefaultstree-walker (exact top-level parity + fixed 3 missed nested$defsdefaults), but grewbin/gen_config_schemaby +23.1% (1,446,752 B → 1,781,456 B) via per-fieldto_genericinstantiation across$defs(tracked for profiling/reduction in#90/#91)."default"-before-"type"keyword ordering bug filed separately as directready-for-agentbugfix: #115.feat(schema,enum): implement Batch 2B (#115, #100, #101, #103)
fix(schema,enum): resolve all dual-Judge blockers on Batch 2B
clockblocker commentedon Nov 27, 2026
Landed on
showcase/all-lanesatb73c8aea(dual-Judge approved byclaude-opus-5-5high +gemini-4-neonhigh; 467/467 targets 0 warnings, 1,129/1,129 CTests).include/rfl/SchemaExt.hppand wired Draft 2020-12 JSON Schema extensibility acrossNamedTupleParser,Parser_default,ParserBasicType,make_type_name,json/schema/Type.hpp, andjson/to_schema:$defsnaming overrides viarfl::SchemaName<T>andrfl::Metadata<T>::schema_name.rfl::SchemaExtension<T>(both$defsandinline_schema = true) and arbitraryx-*extensions viarfl::ExtraFields<rfl::Generic>.title,examples, andx-*annotations viarfl::Metadata<T>(struct-level,FieldMeta::title, andfield_annotations()).rfl::IntegerBoundsemitting exact 8..64-bit signed/unsignedminimum/maximumbounds (gated to non-schemaful backends, preserved underrfl::ValidatorviaallOf).rfl::TupleBounds(minItems/maxItems) andrfl::OmitEmptyRequired(omitting"required": []).rfl::DefaultIfMissingFor<T>/rfl::Metadata<T>::default_if_missing(OR-combined, matching read + schema requiredness including non-writable fields).