Next Gen STEP AP242 Native-ish BREP Geometric Modeling Kernel
FIRMAMENT-FRONTEND-X0 — compiler honesty qualification
Date: 2026-10-14. Executive verdict: Meaningful progression; not Accepted.
The generic mechanical path now closes reproduced parse-failed/valid reporting, capability/selection validation gaps, implicit V1 fallback, unknown canonical Model/Modify statements, unknown Box fields, and ignored profile-layout XZ frames. It preserves semantic-selection explanations and identifies the enclosing Model. It does not establish closed source consumption across the advanced Compose/boundary family or every specialized domain. The non-negotiable universal source-intent invariant therefore remains unqualified.
Inputs and provenance
Read Claude's original October audit, the September pipeline audit, and the earlier reconciliation register. The October report was supplied from Downloads and is preserved verbatim as development evidence. It contains findings/fragments and a twelve-part scoreboard, but not the twelve complete attempted programs. New source specimens are explicitly reconstructed, not passed off as Claude's originals. The twelve-family coverage map is in that README. A first-try authoring success-rate retest remains X4.
Reproduction register
“Partially reproduced” below distinguishes inspected implementation evidence or a reconstructed fragment from a byte-exact replay of missing original source.
| Finding | Current reproduction classification | Observed behavior / disposition |
|---|---|---|
| F1 Local constants produce primitive-malformed without location | Partially reproduced | Canonical root owns a bounded construct vocabulary; this is not general Let. Malformed primitive errors now have a sentence and disclosed declaration anchor. Scope-wide arithmetic remains X2. |
| F2 Valid alongside parse-failed, then V1 TOON error | Confirmed | Two-element Box Size validated successfully and built with FIRM-PARSE-0001 at baseline. Now parser/report/build all reject V2; no V1 retry. |
| F3 Unknown Fillet silently omitted | Partially reproduced | Existing multiline Model-level specimen was already rejected. Modify-level specimen validated at baseline and failed only at export. Canonical Model/Modify checks now reject unowned statement blocks independent of line layout. Advanced Compose still omits nested Fillet. |
| F4 Hole/EdgeFinish casing asymmetry | Requires X3 | Owner-specific spelling vocabularies still exist. Canonical style prose was reconciled; global case folding was not introduced. |
| F5 Fillet + Hole passes validate then fails capability | Confirmed; separate capability limitation | Reconstructed case validated successfully at baseline and failed CombinedHoleEdgeFinish admission. Now normal validation executes that same check and rejects. Missing geometry capability not implemented. |
| F6 Top-level Static selects Phase3 with unrelated EdgeFinish error | Partially reproduced; requires X1 | Existing whole-document route selection remains inspectable. Phase3's bounded structure assumptions remain; route-dependent syntax is not repaired by more dispatch patterns. |
| F7 Two EdgeFinish selector grammars | Requires X2/X3 | Primitive Face/Target and semantic Profile boundary selectors remain distinct typed owners. Both have existing production tests. |
| F8 Model summary names last feature/profile | Confirmed | Summary used ExportedFeatureId. DocumentName now comes from the existing semantic parse metadata; CLI test asserts SelectionChamferPart rather than its finish feature. Feature IDs remain unchanged. |
| F9 Concept Struct On XZ silently becomes XY | Confirmed | Baseline six-edge L outline built despite On XZ. Profile frame resolution now rejects it; accepted XY control measures 60 x 30 x 3 mm and eight faces after STEP reimport. Unknown Using frames also fail. Other domain placement owners are not globally qualified. |
| F10 Model-scope Extrude uses different build/parser behavior | Partially reproduced | Extrude is acknowledged by the canonical root checker as an existing profile materializer input. Normal validation uses existing CompileSource, but the generic document parser still disagrees with dedicated profile admission. A blanket mechanical gate was rejected by existing geometry regressions. No new extrusion grammar added. |
| F11 Named Segment endpoints, no inline polyline | Separate language feature / requires X3 | Existing named-point diagnostics and regressions remain. No inline vertex syntax added. |
| F12 Route-dependent Box Z placement | Confirmed by existing source/documentation; requires X2 | geometry.md explicitly records direct Box versus Hole stock placement. X0 does not silently reposition existing geometry. This discrepancy prevents a universal geometry-stability claim. |
| F13 Nonexistent schema Revolve, verbose point outline | Confirmed schema mismatch; requires X3 for syntax | Available enum/selectors omit Revolve. Removed the incorrect public table row; Revolve is a construct under Mechanical. Point-list grammar remains deferred. |
| F14 JSON diagnostics alternate objects/strings | Confirmed; partially repaired | Generic build and V2 validation now use the same object representation. Specialized domain/early-error branches still have legacy shapes; migration is incomplete. |
| F15 Feature/Pattern documentation nesting not admitted | Partially reproduced; requires X1/X4 | Existing FeatureFunction, NamedSet and TemplatePattern cases test admitted nestings. No original NEMA17 source was supplied, so no claim of a successful replay. |
| F16 Wrapping Struct in Model changes admission | Requires X1 | Existing document-level dispatch remains; metadata identifies Canonical/CanonicalAdvanced/ConceptModeling etc. Root grammar reconciliation is deferred. |
| F17 Item doubles as instance name and loop variable | Confirmed by source; requires X1/X2 | ConceptIr still performs textual Pattern expansion. No Pattern rewrite or new substitution pass added. |
| F18 Point2 arithmetic in Set causes type mismatch | Confirmed by owning admission code; requires X2 | Static Set typing remains bounded. Newly encountered errors cannot become nonfatal because their code is absent from a list. Original arithmetic source was not supplied. |
| F19 Concept route +Z/Point2 admission differs | Confirmed by ConceptIr owner; requires X2 | Face and center forms remain route-dependent. No global face alias normalization added. |
| F20 Slot2 changes route | Partially reproduced; requires X1 | ClosedBoundary expansion still changes the document before route choice. Actual route metadata is captured at selection; original slot-block source was absent. |
| F21 Through-Pocket lacks alternative hint | Confirmed by owner; separate capability limitation | Finite Pocket retains its floor contract. Through-depth rejection now suggests Remove with Role: ThroughCut. |
| F22 Generic EdgeFinish validates; missing semantic source loses text | Confirmed in two reconstructed cases | Generic spelling is rejected at actual build admission; validation now agrees. An AbsentEdge selection preserves “No provenance source for” and the exact missing source. No generic EdgeFinish syntax added. |
| F23 Hole center spelling depends on route | Confirmed by source; requires X2/X3 | Existing Point2, array and Concept member forms remain owner-specific. No new evaluator or alias parser added. |
Every numbered recommendation has an explicit disposition in the 24-item decision register.
Root causes and repairs
- The validation report derived success solely from a fatal-code count. Parse failure now makes the report invalid independently of its diagnostic spellings.
- Parser/binder strings crossed several severity adapters, each with its own fatal-prefix list. The existing adapter now assigns severity once: known informational trace events remain information, the deliberate nominal-only tolerance warning remains a warning, and unclassified diagnostics are errors. Parser completion enforces that severity. The former error allowlists were removed, including the Concept-specific one.
- The mechanical exporter could retry materializers or V1 after failed parsing. RecognizedInvalid now prevents V1 retry. A trial gate before all mechanical materializers was backed out after it rejected established profile-boundary fixtures; those adapters retain their existing owner-specific admission. Serialization-shaped roots are classified before expansion, so V2 keywords used as V1 data (tested with model names Model and Template) cannot hijack routing. Explicit version-1 file compatibility remains on its existing reader; canonical in-memory compilation retains its V2 firewall. Dedicated Revolve/Sweep/WireForm and other domain owners retain their own admission paths.
- Generic validation stopped before build capability and topology selection binding. FirmamentBuildAdmissionValidation calls existing CompileSource, including in-memory materialization/export and build assertions. It does not create another validator or write STEP files. Static-only validation and externally loaded Forge descriptors report parsed-not-built explicitly.
- The canonical root scan was line-anchored, and Modify lacked a closed neighbour check. Their existing owners now use the existing lexer and balanced block boundaries. Primitive field checking reuses generated field metadata where it exists (notably Box). This is not complete per-route field consumption.
- Profile frame lookup defaulted unresolved named frames to WorldXY. It now resolves declared XY layouts, rejects unsupported On XZ, rejects unknown frames, and retains traced Construction Plane resolution.
- Semantic-selection exporters replaced detailed resolver diagnostics with only the failure enum. They now retain code and message. Through-Pocket diagnosis names the admitted through-cut mechanism. Generic build summaries project DocumentName instead of the last materialized feature identity.
- A canonical Pocket witness reused its boundary's display name. The symbol binder already permitted typed Profile/Boss/Pocket name sharing; that same rule now includes ClosedBoundary2/Polygon2 construction inputs. This preserves admitted engineering semantics without suppressing duplicate-name errors.
Diagnostic and validation contract
Generic V2 errors are objects with code, severity, message, sourceFile, optional
sourceSpan, line/column, stage/source and locationNote. Legacy fatal means error;
warning/info remain nonfatal. Existing dynamic code suffixes are retained for
compatibility. Kernel-only failures without a specific diagnostic ID retain their
KernelDiagnosticCode; legacy bare semantic codes are preserved as codes.
Unknown field/statement diagnostics can identify an unambiguous original token. Other legacy producers receive a document declaration anchor with an explicit limitation note. No claim is made that an expanded-source offset is an exact original-source location. Schema selector erasure preserves character/newline offsets; the CLI presents diagnostics against author source rather than expanded library text. Full include/expansion origin mapping remains an X1 prerequisite. The language service uses the same presentation for parser diagnostics; hover, completion and last-valid-model retention were not redesigned. An independent Helios application run was not performed; no files in that repository were changed.
Normal generic mechanical valid requires successful existing engineering
compilation in the current environment, with validationLevel Built. Rejection is
invalid / BuildRejected (or invalid at the earlier static stage). ParsedNotBuilt
never claims build admission. --explain exposes actual branch metadata and
available template/solid counts, not a fabricated expansion tree. Specialized
domain validators retain their narrower current contracts and legacy JSON shapes.
Remaining blocker and smallest prerequisite
Two retained advanced witnesses still accept intent they do not execute:
- unknown-compose-statement inserts
Fillet LostIntent { Radius: 1mm }into an otherwise admitted Compose. The operation parser searches for recognized matches; it does not account for the remaining tokens. - unknown-boundary-field adds
heigth: 99mmto a Rect2 consumed by Compose. ClosedBoundary2Authoring and subsequent guide readers bind their known fields without retaining field-consumption receipts. The extra field disappears.
These are open correctness defects, not compatibility aliases. Shared build preflight cannot detect intent that both parser and build have discarded. Further global keyword/field scans would duplicate partial grammars, and a new global rewrite or fatal-code allowlist would violate X0's ownership rules.
A trial early gate also failed the established ProfileBoundaryChamferFixtureTests junction selections (for example ReflexNotch and CornerPair) with firmament-v2-selection-malformed, and ProfileBoundaryAuthoringTests derived profiles with canonical-document-malformed. Their existing production owners successfully build geometry with pinned topology/volume expectations. The generic parser cannot be made the sole gate without first projecting those existing admitted constructs. The trial gate was removed instead of adding diagnostic exemptions or breaking those fixtures.
The smallest next unit is project existing profile junction/derived-profile admission into the generic document contract, then add consumed-token/field spans and original-source origin receipts for the CanonicalAdvanced Compose/ClosedBoundary2 adapters, checked before erasure. Establish them with the two specimens, then extend the same contract through Feature/Template/Pattern. This can be the first bounded X1 prerequisite; it does not require replacing engineering lowerers or adding a new kernel capability. Full unified parsing remains shadow-mode work.
Compatibility and code-quality review
No new regex call site, whole-document dispatcher, text substitution pass, product-side validator, geometry operation or mutable parser-state mechanism was introduced. Existing root/Modify ownership checks use lexer spans. The existing small parse cache remains; per-parse source and route metadata are immutable. Diagnostic severity/message mapping is consolidated in the existing adapter. Engineering feature identities and STEP geometry are not renamed to fix summaries.
The Cadmata split-compose-chamfer fixture used an undeclared ComposeGuide frame. Unknown-frame rejection exposed it; the fixture now states Using XY explicitly, preserving its previously defaulted world plane. The seven compiler-body/published-correspondence integration cases passed after this correction. No special case for the fixture name was added to the compiler.
The public schema Revolve and casing documentation contradictions were corrected. Historical reconciliation “resolved” rows are qualified by this report and the October decision register. Geometry placement F12 and unconsumed advanced fields are explicitly retained as unresolved, not hidden behind green test results.
Qualification evidence
Commands use .NET SDK 10.0.401 and repository-local CLI assemblies, with serial solution builds/test lanes. Logs and detailed baseline/after JSON are ignored under artifacts/local/frontend-x0/. Baseline build succeeded before edits.
Focused source tests cover rejection/acceptance, validation/build agreement, V2/V1 routing, field/marker locations, unresolved semantic sources, severity, route visibility, summary ownership, and STEP-reimported asymmetric bounds. Existing V1 routing tests retain explicit version-1 success and reject non-V1 serialization-shaped inputs. The full Firmament suite passed 2,173 tests during iteration; final solution evidence is recorded below after final qualification.
Final qualification results:
| Check | Result |
|---|---|
| Solution Release build, -m:1 | Passed; 0 errors, 17 warnings (existing nullable/WASM import categories) |
| Required fast Kernel.Core lane | 1,064 passed |
| Focused X0 compiler plus existing typo-code compatibility cases | 17 passed, including the two V1 keyword-data cases |
| Focused X0 CLI | 10 passed |
| Cadmata compiler-body / published-correspondence integration | 7 passed |
| Complete solution with xUnit collections serialized | 4,614 passed, 0 failed, 0 skipped across 20 test projects |
| Ten real showcase CLI commands | All exit 0: threaded bolt, PMI, sheet metal, Templates, radial Pattern, guitar, Industrial ATLAS, warm-modern house, warehouse, factory |
| Repeated STEP artifacts | All five repeated showcase STEP SHA-256 hashes identical (bolt, PMI, sheet metal, Template, Pattern) |
| Repository layout / git diff --check | Passed |
The exact ordinary full lane was also executed. An intermediate full run passed 4,612 tests before the last two V1 data-keyword cases were added. On the final source, two ordinary full runs each had one display-budget failure: the external STEP slider USD test exceeded its five-second tessellation budget at 5,304 ms in one run; the unchanged Core display qualification test returned Partial rather than RefinementLimited at its five-second budget in another. Both passed isolated (378 ms and 186 ms respectively). No timeout was increased, no test was skipped, and no production display behavior was changed to obtain the controlled result. The default collection-parallel lane is therefore recorded as timing-sensitive, not represented as unconditionally green.
The final controlled full invocation was:
dotnet test Aetheris.slnx -c Release --no-build -m:1 --settings artifacts/local/frontend-x0/serial.runsettings -- RunConfiguration.MaxCpuCount=1
Its ignored local settings file contained:
<RunSettings>
<RunConfiguration><MaxCpuCount>1</MaxCpuCount></RunConfiguration>
<xUnit>
<ParallelizeAssembly>false</ParallelizeAssembly>
<ParallelizeTestCollections>false</ParallelizeTestCollections>
<MaxParallelThreads>1</MaxParallelThreads>
</xUnit>
</RunSettings>
The repeated hashes compare two qualification runs of these changes; they are not a complete pre-X0/post-X0 geometry equivalence proof. Existing regression oracles additionally pin topology, volume, correspondence and deterministic STEP for their supported fixtures. No independent native Helios run, Linux run, remote CI result, or original twelve-part first-try retest is claimed.
Acceptance ledger
| Criteria | State |
|---|---|
| 1 Audit reproduction/classification | Classified all 23 findings; source-fragment/inspection evidence is distinguished from missing original programs |
| 2-3 Validation agreement / no invalid success | Reproduced generic cases repaired; advanced discarded intent remains open |
| 4-5 V2 fallback / legitimate V1 | Structural fallback repaired; explicit V1 compatibility regressions retained |
| 6-7 Closed statements / fields | Partial: canonical root/Modify and schema-backed primitives; advanced Compose/boundaries remain open |
| 8-9 Placements / L-bracket | XZ profile-layout witness closed with world bounds; other owners not globally qualified |
| 10-12 Diagnostic preservation / locations / JSON | Generic path improved; typed producer spans and specialized JSON migration incomplete |
| 13 Missing semantic source message | Closed for reproduced AbsentEdge witness |
| 14 Capability versus syntax | Generic compilation diagnostics retain owning stage and explanatory text; specialized coverage incomplete |
| 15 Owner summaries | Tested for SelectionChamferPart; forms unprojected by generic parsing remain part of the advanced-owner gap |
| 16 Runtime parser route | Present for generic selected routes; pre-route expansion failures have no fabricated route |
| 17-18 No new dispatch / rewrite architecture | Met in this change |
| 19-20 Canonical compatibility / engineering geometry | Final full regressions and representative CLI checks qualify only the recorded corpus; no universal pre/post STEP-hash claim |
| 21 Language service / Helios | Shared compiler presentation retained and tested; independent Helios application workflow not run |
| 22 Focused/full tests | Final results below; green tests do not override the open source-intent witnesses |
| 23 Code-quality pass | Completed; trial blanket gate removed rather than weakening geometry tests or adding exemptions |
| 24 Recommendation dispositions | All 24 tracked explicitly |
Executive answer
No universal acceptance claim yet. Meaningful progression. The reproduced generic validation/fallback/frame/diagnostic defects are repaired and bounded source tests prove the improvement. CanonicalAdvanced still has concrete ignored intent witnesses, specialized diagnostic shapes remain inconsistent, full expansion provenance is unavailable, and the original twelve programs were not provided. X0 must remain open until consumed-source admission closes those gaps. No X1 AST or missing kernel capability was implemented as an unreviewed side effect.