Repository navigation
Description
This is the index of the work to finish the kernel's typed errors (#13790): every failure the kernel reports becomes a named cause, a refusal, or a defect someone has reviewed and given a written reason.
Where things stand (2026-11-25, main at 588d62de6e). All 4,366 counted sites are converted: 0 are left. Every pinned list and pin file on main is empty.
- Tickets: all 39 conversion tickets and the three follow-ups are merged.
- Merged since the conversion finished: solidcore: retire the WR-57 substitution replay (prerequisite of TE-Z-01, #19857) #21866 (the WR-57 replay test retired), solidcore: extending a blend surface reports a certificate that ran out of budget instead of trying another length (#21809) #21816 (fixes solidcore: extending a blend surface turns a certificate that ran out of budget into "this length does not work" #21809), solidcore: check results, point-solve steps and drop outcomes say what happened as typed values, not upstream status numbers (part of #21871) #21907 (kernel status data fields typed), solidcore: report a failed radius-law evaluation instead of using its status number as the fillet radius (#21908) #21909 (fixes solidcore: a variable-radius fillet whose radius law fails to evaluate uses the error's status number (1001 or 1007) as the radius #21908) and solidcore goldens: the tests that only prove a merged change against old main are retired, with the replay seams and the wr57-replay cargo feature (#21823) #21825 (the old-main proofs and replay seams retired, fixes solidcore goldens: retire the tests that only prove a merged change against old main, keep the standing certificates, and remove the replay seams and the wr57-replay cargo feature #21823).
- What is left, in landing order. All three are drafts and are up to date with main:
- solidcore: an error's class comes from its typed cause, not from the upstream status number (part of #21871) #21883:
ErrorKindis derived from the typed cause, not from the status. Its defect classing is being reworked after review and is not decided. - solidcore goldens: a failed call's row records the failure's own status for every typed failure (prerequisite of TE-Z-01) #21874: the goldens record kinds instead of status numbers, in one re-bless. The conversion is done; nothing is blessed yet.
- TE-Z-01 (Typed errors [TE-Z-01]: delete the bare-status, phrase and unreviewed stage-failure forms once every count is zero #19857, draft Typed errors (TE-Z-01): the kernel's old bare-status, phrase and stage-failure forms and the counts that tracked them are deleted (#19857) #21566): deletes the old forms and the counts that tracked them. It lands last.
- solidcore: an error's class comes from its typed cause, not from the upstream status number (part of #21871) #21883:
- After those (Typed errors: the old numeric status still decides kernel branches and what the goldens record, beside the typed causes #21871): the product side still reads the number (the ops
Error::Status, three sites that decide by number, the "(status N)" message text), and then the status can leave the failure record. - Follow-ups from the audit of the added typed errors: one checklist, Typed errors: follow-ups from the audit of the typed errors the conversion added (one checklist) #21890.
The foundation (#19636) is merged. It added Defect { why } to every failure area, three per-file counts that only fall, and the conversion guide (section 6 of solidcore/docs/failure-codes-and-reproduction.md). At the start, the counts found 4,366 sites in 356 source files that were not converted yet: 3,418 phrase causes (a failure that carries only a sentence), 699 unreviewed StageFailed sites and 249 bare statuses.
"Left" column. It is the sum of the ticket's files in the pins on main: the phrase and stage counts (each file's own pin file under src/error/pins/ since #21054, and the areas' PINNED lists), and the bare-status WAITING lists. A ticket's PRs lower it when they merge. None of the 249 bare statuses is left.
How the tickets work.
- Each conversion ticket owns whole source files. It converts every counted site in them, of every kind, and edits only those files' lines in the pinned lists. Every counted file is in exactly one ticket, so two tickets never touch the same file or pin line.
- To take a ticket, open a draft PR that references its issue.
- A PR that adds a phrase cause, a bare status or a
StageFailedsite fails CI. The failure message names the file and both numbers. - Why
StageFailedis no longer the target, and what was found when every existing site was read: the evaluation results. - Where several open PRs add the same variant, they share one shape, and whichever merges later folds onto it. Two merged changes removed the shared lines that ticket PRs used to conflict on: since solidcore: adding a blend failure needs no index number or shared list entry #21051, adding a blend failure needs no index number or shared list entry, and since solidcore: each file's site count is its own pin file, so typed-error PRs stop conflicting #21054 each file's phrase and stage count is its own pin file.
Order. All six prerequisites merged on 2026-11-21, so every ticket can start now. The follow-ups still come after the tickets they name. The last ticket deletes the old forms once every count is zero.
Prerequisites (all merged)
| Id | Issue | Scope | Status |
|---|---|---|---|
| TE-B-P1 | #19800 | Corner vertex and edge calculation keeps the calculator's error as its cause | Merged in #19892 |
| TE-B-P2 | #19801 | The fillet executive's stages keep the stage's error as their cause | Merged in #20145 |
| TE-B-P3 | #19802 | Delete the blend's single phrase total | Merged in #19861 |
| TE-B-P4 | #19803 | A corner whose classification fails keeps the failure as its cause | Merged in #20212 |
| TE-B-P5 | #19804 | A corner's re-solve keeps the solver's error as its cause | Merged in #19892 |
| TE-B-P6 | #19806 | Tests in other files assert the defect class, not the StageFailed variant |
Merged in #19862 |
Blend conversions (96 files, 1,752 sites; 0 left)
| Id | Issue | Scope | Sites | Left | Status |
|---|---|---|---|---|---|
| TE-B-01 | #19807 | Blend fillet geometry, parts 1 and 3 (blend/fillet_geom/p1.rs, p3.rs) |
109 | 0 | Done: #21321, which carried #20475, and #21492 for TE-B-F1's site (closed) |
| TE-B-02 | #19810 | Blend fillet geometry, part 2 (blend/fillet_geom/p2.rs) |
123 | 0 | Done: #20722 (closed) |
| TE-B-03 | #19811 | Blend fillet geometry, part 4 (blend/fillet_geom/p4.rs) |
120 | 0 | Done: #20723 (closed) |
| TE-B-04 | #19812 | Blend fillet geometry, part 5 and the tangent end rib (blend/fillet_geom/p5.rs, tangent_end_rib.rs) |
153 | 0 | Done: #20500 (closed) |
| TE-B-05 | #19813 | Blend fillet geometry, part 6 (blend/fillet_geom/p6.rs) |
88 | 0 | Done: #20443, and #21424 for TE-B-F2's site (closed) |
| TE-B-06 | #19814 | Blend surface/plane curve (blend/fillet_geom/surface_plane_curve.rs) |
13 | 0 | Done: #19626 (closed) |
| TE-B-07 | #19816 | Blend fillet corners (blend/fillet_corner/) |
167 | 0 | Done: #20704, #20714, #21264 (closed) |
| TE-B-08 | #19817 | Blend corners and setback fills (blend/blend_corner*, blend/blend_setback.rs) |
129 | 0 | Done: #20725, #21263, #21266, #21456, and #21457 for TE-B-F3's site (closed) |
| TE-B-09 | #19818 | Blend fillet solver (blend/fillet_solver/) |
166 | 0 | Done: #20707, #20715, #20732, #20759 (closed) |
| TE-B-10 | #19819 | Blend fillet sections and certificates (blend/fillet_section/) |
98 | 0 | Done: #20708 (closed) |
| TE-B-11 | #19820 | Blend standard and custom fillet solvers, the fillet intersector and the law corners | 103 | 0 | Done: #20746, #20807, #21265 (closed) |
| TE-B-12 | #19822 | Blend exact fillet surfaces (blend/fillet_exact.rs, fillet_exact/rational.rs) |
44 | 0 | Done: #20911, #21374 (which carried #19681) and #21382 (which carried #19936) (closed) |
| TE-B-13 | #19823 | Blend fillet executive (blend/fillet_executive/api.rs, p1.rs, p2.rs, p3.rs) |
59 | 0 | Done: #20703 (closed) |
| TE-B-14 | #19824 | Blend fillet session core | 159 | 0 | Done: #20750, #20927, #21349 (closed) |
| TE-B-15 | #19825 | Blend fillet session trims, eases and overflows | 155 | 0 | Done: #20755, #20761, #20762 (closed) |
| TE-B-16 | #19826 | Blend feature executive, fillet removal, fillet identification and hidden curve removal | 66 | 0 | Done: #21311, which carried #20742, and #21405 (closed) |
Conversions outside blend (260 files, 2,614 sites; 0 left)
| Id | Issue | Scope | Sites | Left | Status |
|---|---|---|---|---|---|
| TE-O-01 | #19831 | B-rep editing, part 1 (topology/brep/p1–p3) |
105 | 0 | Done: #19871, #19913, #19914 (closed) |
| TE-O-02 | #19834 | B-rep editing, part 2 (topology/brep/p4–p5) |
111 | 0 | Done: #19960, #20010 (closed) |
| TE-O-03 | #19835 | B-rep editing, part 3 | 154 | 0 | Done: #19962, #20153, #21110, #21132 (closed) |
| TE-O-04 | #19836 | Topology entities (edges, edge uses, faces, loop uses, shells, vertex uses and the traverser in topology/) |
97 | 0 | Done: #19905 (closed) |
| TE-O-05 | #19837 | B-rep construction, cache, files and the Boolean's proto topology | 112 | 0 | Done: #19971, #20150, #21014 (closed) |
| TE-O-06 | #19838 | Analytic swept surfaces and the surface/surface intersection front end (surface/surface/p2) |
128 | 0 | Done: #20297, and #21389, which carried parts 2–5 (#20664, #20788, #20789, #20790) (closed) |
| TE-O-07 | #19839 | General surface evaluation and surface caches | 126 | 0 | Done: #20711, #20727 (closed) |
| TE-O-08 | #19840 | Surface solvers and the sphere and torus (surface/surface/p8–p11, surface/sphere, surface/torus) |
125 | 0 | Done: #20716, #20747 (closed) |
| TE-O-09 | #19842 | Offset, extended and procedural blend surfaces (surface/offset_surface, surface/extend/, surface/procedural_blend/, ball_patch, side) |
120 | 0 | Done: #20717, #20745 (closed) |
| TE-O-10 | #19843 | Curve classification against faces (intersect/curve_class/p1–p9) |
141 | 0 | Done: #20296, #20320, #20321, #20388, #21444 (closed) |
| TE-O-11 | #19844 | Surface/surface intersection tracing | 101 | 0 | Done: #20718, #20777, #21262 (closed) |
| TE-O-12 | #19845 | Drops, point classification and ray tracing | 62 | 0 | Done: #19919, #19929 (closed) |
| TE-O-13 | #19846 | Queries | 146 | 0 | Done: #20315, #20466, #20624, #21356, #21357 (closed) |
| TE-O-14 | #19847 | Curves (curve/: the curve kinds, curve caches, composite, offset and projected curves) |
139 | 0 | Done: #20392, #20414, #20986, #21358 (closed) |
| TE-O-15 | #19848 | B-spline curves and surfaces (nurbs/b_spline_curve/, b_spline_curve_n_lib, b_spline_surface/, b_spline_surface_n_lib/, nurbs_crv) |
108 | 0 | Done: #20329, #20362, #20563, #21244, #21359 (closed) |
| TE-O-16 | #19849 | Geometry utilities and volumes | 107 | 0 | Done: #20702, #20709 (closed) |
| TE-O-17 | #19850 | Healing and mass properties (heal/stitch/, heal/heal_data/, heal/gap, heal/face_props, mass/enclosure, mass/integrator/properties) |
100 | 0 | Done: #20453, #20470, #20471, #20476 (closed) |
| TE-O-18 | #19851 | The offset executive and draft (offset/offset_executive/ and offset/draft) |
155 | 0 | Done: #20538, #20668, #21023, #21364, #21387, #21388 (closed) |
| TE-O-19 | #19852 | Offset geometry creation and Offset Faces (offset/offset_geometry_creation, offset/offset_faces) |
80 | 0 | Done: #20827 (closed) |
| TE-O-20 | #19853 | Primitive and model creation (primitive/api_*, primitive/primitive_creation/model*, p1/, p3/) |
105 | 0 | Done: #20631, #20706, #20726 (closed) |
| TE-O-21 | #19854 | Profile-driven primitive creation (primitive/primitive_creation/p2/: planar paths, rotational, skin, taper, taper walls, curve sweeps) |
79 | 0 | Done: #20815 (closed) |
| TE-O-22 | #19855 | Sweeps (sweep/: rotational, translational and screw sweep geometry and the topology sweep engine) |
98 | 0 | Done: #20721 (closed) |
| TE-O-23 | #19856 | Booleans (boolean/merge/ and boolean/topology_intersector/) |
115 | 0 | Done: #20701 (closed) |
Follow-ups
| Id | Issue | Scope | Blocked by | Status |
|---|---|---|---|---|
| TE-B-F1 | #19827 | The surface drop's miss is a value, not an error | TE-B-01 (#19807), TE-B-02 (#19810) | Merged in #21492 |
| TE-B-F2 | #19828 | A failed geometry copy is a value, not an error | TE-B-04 (#19812), TE-B-05 (#19813) | Merged in #21424 |
| TE-B-F3 | #19829 | A mixed corner's classification separates "not mixed" from a failure | TE-B-07 (#19816), TE-B-08 (#19817) | Merged in #21457 |
Last
| Id | Issue | Scope | Blocked by | Status |
|---|---|---|---|---|
| TE-Z-01 | #19857 | Delete the bare-status, phrase and unreviewed stage-failure forms once every count is zero | every ticket above | Claimed: draft #21566. Unblocked: every count is zero. In progress |
After the old forms are deleted
| Issue | Scope | Status |
|---|---|---|
| #21871 | The numeric status beside the typed causes: the goldens record the kind, the kernel's status branches become typed matches, then the status leaves the failure record | In progress: drafts #21883 and #21874 |
Notes. The comments below hold the independence notes for each half: the helpers shared between files, the callers that catch a ticket's errors, the goldens units that record its statuses, and the suggested order. They were made by reading the code, not by running it, and the caller lists are a minimum.
Limits. Only the StageFailed sites were read one by one; the phrase and bare-status tickets say what dominates in their files but not what each site should become. The "Sites" column is each ticket's count at dd28d1111, and "Left" is read from main's pinned lists at the date above. "Not opened" parts are the later parts named in a ticket's own PR titles; where a ticket was never split, its single PR covers it all.
Written by Claude Code (Anthropic) on behalf of @brett19.
Activity
github-actions commentedon Nov 20, 2026
Thanks for the report! To reproduce it we need a little more:
solidcraft-cli script design.sc --out repro.jsonturns its history into a script; attach that, or the design.Reply here or edit the issue and it goes back to the triage queue. If we don't hear back within 14 days it is closed; reopen it any time.
brett19 commentedon Nov 20, 2026
Notes, blend (1 of 1)
Typed errors, blend: notes on the ticket set
Companion to
tickets-blend.mdandtickets-blend.tsv. Code read at PR #19636's head dd28d11 (the snapshot undertyped-errors-tickets/src); GitHub state read on 2026-11-19/20. Paths are undersolidcore/crates/solidcore/src/unless they say otherwise.Coverage check
tickets-blend.tsvwas checked against the pinned lists by script: 96 rows, 96 distinct files, everyblend/file exactly once, no file missing or extra, every per-kind count (total, bare, phrase:blend, stage) equal to the pinned lists, sum 1,752, 16 conversion tickets. No blend file holds a phrase site of another area (allphrase:*columns other thanphrase:blendare 0 forblend/).Three tickets are under the 60-site floor on purpose: each mirrors the scope of an open PR (TE-B-06 (#19814) = #19626, TE-B-12 (#19822) = #19681, TE-B-13 (#19823) = #19683), so a claim maps to one PR.
Plus 6 prerequisite tickets (TE-B-P1 (#19800) .. P6, small, no pin-line changes except P3's deletion) and 3 follow-ups (TE-B-F1 (#19827) .. F3, 1-2 sites each).
Independence findings
Shared wrappers
fnvisible outside its file (error/site_scan.rs,Wrappers::Phrase), and the stage and bare scans count a visiblefn's body as the site, not its callers. So no counted site is attributed to a file other than the one that builds it. No blend file exports a macro (#[macro_export]orpub(crate) use ..!: none).pub/pub(crate)/pub(super)function of 700 characters or less inblend/whose body builds a counted failure (28) and read their callers:fillet_corner/p3.rsprimary_eu(p2.rs, TE-B-07 (Typed errors [TE-B-07]: Blend fillet corners (blend/fillet_corner/): the corner topology and corner geometry code's phrase failures and its seven stage failures become defects, named causes or refusals #19816));fillet_geom/tangent_end_rib.rssection_contact_order(p5.rs:1681, TE-B-04 (Typed errors [TE-B-04]: Blend fillet geometry, part 5 and the tangent end rib (blend/fillet_geom/p5.rs,tangent_end_rib.rs): review each unreviewed stage failure #19812));fillet_section/definition.rst2_powandcertificate.rsis_foot_past_domain_end(definition_box.rs:473, TE-B-10 (Typed errors [TE-B-10]: Blend fillet sections and certificates (blend/fillet_section/): the section, station and certificate failures become defects, named causes or refusals, and the re-certification's bare statuses get a cause #19819));fillet_overflow.rsedge_on_surface(keep_features.rs:993, trim_at_creases.rs:1997, 1998, 2235, 2341) and the duplicateddistance_to_surface/edge_curveoffillet_overflow.rsandfillet_cliff_overflow.rs(keep_features.rs:113; TE-B-15 (Typed errors [TE-B-15]: Blend fillet session trims, eases and overflows: their phrase and stage failures become defects, named causes or refusals #19825));fillet_executive/p1.rsset_bevel_corner(api.rs, TE-B-13 (Typed errors [TE-B-13]: Blend fillet executive (blend/fillet_executive/api.rs,p1.rs,p2.rs,p3.rs): the executive's phrase failures become defects, named causes or refusals #19823); session.rs:3330 passes it on).?only (no caller matches the cause, so no coupling):fillet_geom/p2.rs:756set_back_frame(blend_corner/setback.rs:1741, 2162, 2321);fillet_geom/p6.rs:353move_tsp(fillet_geom/p3.rs:1439-1482);p6.rs:2120rail_index_of_vertexuse(fillet_geom/p4.rs:1966, fillet_solver/p1.rs:1459);blend_corner/end.rs:501ball_touching_with(fillet_corner/topology/join.rs:398);fillet_corner/p3.rs:713filleted_edgeuses(session.rs:6073);fillet_solver/p5/rails_fit.rs:132is_concave_edge(blend_corner/end.rs:2292, blend_corner/rollover.rs, carried_face.rs:280; carried_face.rs:581 usesunwrap_or(false));fillet_section/section.rs:1174/1209create_surface/create_surface_from_curves(fillet_solver/p1.rs, fillet_standard_solver/p1.rs:3894-3966, p2.rs:2791, 4350, session/ease.rs:508, offset/offset_geometry_creation.rs:1266);distance_to_surface(blend_corner/end.rs:565).fillet_geom/p6.rs:1815copy_geom(only caller fillet_geom/p5.rs:2203,ignore_non_unported) → TE-B-F2 (Typed errors [TE-B-F2]: A failed geometry copy is a value, not an error #19828);fillet_section/certificate.rsnurbs_partials_over_box(session/tangent_rollover.rs:1127let Ok .. else Refused; outside the blend: offset/construction/sheets.rs:1145, offset/offset_executive/reach/net.rs:480, intersect/curve_class/p7.rs:3324, intersect/adv_surface_intersector/contact_identity.rs:174);fillet_standard_solver/p2.rs:3832calc_fillet_geom(fillet_executive/p2.rs:1099ignored, control flow).feature_executive.rs:821is_open_base_refusal(offset/offset_faces.rs:1269 branches on it: statusSM_ERR, operation, edge entity);fillet_section/recertify.rs:1043span_of_definition(surface/extend/blend.rs:277-283: an error with an upstream status, orInvalidInput, means "this ask does not work", anything else propagates). Both keep working as long as rule 1 (keep the status) and the operation/entity are kept; both are written into the tickets.Cause-replacing callers (fixed first: prerequisite tickets)
blend/fillet_corner/p1.rs:1508-1512calc_corner_vert_geom_withblend/fillet_corner/p1.rs:2045-2058calc_corner_edge_geom_withblend/fillet_executive/p3.rs:94-117ignore,ignore_but_refusal, used at 3060, 3099, 3135, 3161, 3500, 3533, 3540, 3548, 3581, 3623, 3636, 3689, 3701, 3742, 3765, 4459, thenrecord_corner_failure/record_solver_failure(3020-3040) andfailure()(72-74)NoRoomrefusal passesignore_but_refusal)blend/fillet_executive/session/finish.rs:77-83, 1082-1086create_fillet_brepblend/fillet_executive/session.rs:2493blend_corner::ball::classify_ballCornerCreation::Unsupported { location }; cause droppedblend/fillet_executive/session.rs:2544blend_corner::setback::classify_setbackblend/fillet_corner/p1.rs:3280-3292fillet_geom/p3.rsre_calc_fillet_geomsm_err()phrase; cause droppedblend/fillet_corner/p2.rs:1661-1671fillet_standard_solver/p2.rsre_calc_fillet_geom(no other library caller)sm_err()phrase; cause droppedCause-replacing catches whose callee is in the same ticket (the ticket fixes them itself under rule 6; listed in the ticket):
fillet_corner/p1.rs:2367, 2428, 2485, 2534andp3.rs:1716-1733(MakeFaceBrep / seam caps → noted corner error and phrase; TE-B-07 (#19816));fillet_solver/p4.rs:838(point solve → "the cross section point cannot be found"; TE-B-09 (#19818));fillet_overflow.rs:668, 1166,fillet_cliff_overflow.rs:220(vectorunitize→ phrase; that is the site itself; TE-B-15 (#19825)).Swallowing callers (control flow: no prerequisite)
fillet_geom/p2.rs:1600ignore_status(two_pnts_intersection(..))fillet_geom/p5.rs:2203ignore_non_unported(self.copy_geom(..))fillet_corner/p3.rs:1178Err(_) => Noneblend_corner/mixed.rsclassify_mixed(TE-B-08 (#19817)); the only callerfillet_corner/p3.rs:1207Ok(None) | Err(_) => {}blend_corner/rollover.rsclassify_roll_over(no counted sites)fillet_geom/p2.rs:633ignore_status(rail_index_of_side_eu_resolved(..))?at p2.rs:2670, 3014, p6.rs:2038fillet_geom/p2.rs:1496, 1519ignore_status(intersect_with_plane(..))fillet_geom/p5.rs:2201ignore_non_unported(self.make_rail_edge(..));fillet_solver/p1.rs:1792ignore_status(pseudo.make_rail_edge(..))?at fillet_standard_solver/surface_surface.rs:148fillet_geom/p3.rs:1311-1313ignored(.. calc_torus_fillet_geom ..)fillet_executive/p2.rs:1099ignored(access.calc_fillet_geom(..))→continuecalc_fillet_geomclasses are invisible on this pathfillet_executive/api.rs:337ignored(new_constant_*_solver(..))→ skip edgefillet_executive/p3.rs588, 3699, 3737, 3761, 3799, 4364, 4439, 4634;session/finish.rs:744blend_corner/end.rs:2565-2569Err(_) => Ok(false)fillet_corner/p1.rsmake_face_brep_with(TE-B-07 (#19816)); other callers in fillet_corner propagatefillet_tangent_rollover.rs:592Err(_) => return Ok(None)fillet_exact.rs:583BlendQuadric::from_surface(TE-B-12 (#19822))fillet_executive/session.rs:1121Err(_) => Nonefillet_executive/session/tangent_rollover.rs:1127fillet_section/certificate.rsnurbs_partials_over_box(TE-B-10 (#19819))Unfolded::Refused)fillet_geom/tangent_end_rib/certificate.rs:167(uncounted file)gn_def_face_of(fillet_section, TE-B-10 (#19819))offset/offset_faces.rs:1121-1143(another area)FilletRemoval/RingFilletRemoval::remove_face(TE-B-16 (#19826)); the only production callersurface/extend/blend.rs:277-283(another area)recertify::span_of_definition(TE-B-10 (#19819))upstream_status().is_some(); status couplingcrate::error::ignored(error.rs:126) in fillet_standard_solver/p1.rs:2255, p2.rs:1538, 1588, 1672; fillet_removal.rs:701, 894; identify_fillet.rs:839; fillet_geom/p6.rs:1746, 1758Beyond the kernel (not in this slice, noted because it limits what callers see even after the prerequisites):
solidcore-ops/src/error.rs:1152maps any kernel error that is notNotCertifiedtoError::Status(status), andsolidcore-ops/src/blend.rs:1390keeps only failures thatreplaces_upstream_status(). The class survives to ops only where ops reads it.Status coupling (goldens)
The goldens record numeric statuses, not phrase text (no phrase or
stage_failedtext ingoldens/expected/*.jsonl). Units that call blend modules directly:blend_feature_executive,blend_fillet_corner_p1..p3,blend_fillet_custom_solver,blend_fillet_executive_p1..p3,blend_fillet_geom_p1..p6,blend_fillet_intersector,blend_fillet_removal,blend_fillet_solver_p1..p5,blend_fillet_standard_solver_p1..p2,blend_hcr,blend_identify_fillet; outside the blend units:intersect_surface_intersector_p2/p3(standard solver p1),query_face_p3andquery_api_queries(fillet_section),topology_assert_valid(api::fillet_edges),sweep_topology_sweep(hcr). The per-ticket lists are in each ticket. Other status readers:session/finish.rsrefusable()(FilletRefused when a size builds, byupstream_status()),feature_executive.rsis_open_base_refusal,surface/extend/blend.rs:277, ops' status mapping.Tests in other files
StageFailedasserted across tickets (fixed beforehand by TE-B-P6 (Typed errors [TE-B-P6]: Tests in other files assert the defect class, not theStageFailedvariant #19806)):fillet_geom/p2.rstests 4840/4854 (p1CornerLookup::corner),fillet_geom/p3.rstests ~2091 (p5make_rail_edgeuse),fillet_solver/p4.rstests 3847/3867 (p4calc_blending_geom, p5calc_cross_section),fillet_solver/p5/tests.rs1105/1130 (p5make_rail_edgeuse, p3re_calc_fillet_geom).solidcore/tests/wr682_surface_plane_curve.rs:516, 541, 751assert p2's ownStageFailed(TE-B-02 (Typed errors [TE-B-02]: Blend fillet geometry, part 2 (blend/fillet_geom/p2.rs): review each unreviewed stage failure, including the surface-surface intersection sites that should be refusals #19810) edits them).error/blend.rstests ("a kept feature would leave the base open", TE-B-16 (Typed errors [TE-B-16]: Blend feature executive, fillet removal, fillet identification and hidden curve removal: their phrase and stage failures become defects, named causes or refusals #19826)),solidcore/tests/issue_1073_opposite_rounds_cross.rs(api.rs, TE-B-13 (Typed errors [TE-B-13]: Blend fillet executive (blend/fillet_executive/api.rs,p1.rs,p2.rs,p3.rs): the executive's phrase failures become defects, named causes or refusals #19823)),solidcore-ops/src/blend/tests.rs(finish.rs, TE-B-14 (Typed errors [TE-B-14]: Blend fillet session core: the session's phrase and stage failures become defects, named causes or refusals #19824)),solidcore-ops/tests/blend.rsandtangent_rollover.rs(original_trim.rs, TE-B-14 (Typed errors [TE-B-14]: Blend fillet session core: the session's phrase and stage failures become defects, named causes or refusals #19824)),solidcore/tests/issue_2343_curved_setback.rs(keep_features.rs, TE-B-15 (Typed errors [TE-B-15]: Blend fillet session trims, eases and overflows: their phrase and stage failures become defects, named causes or refusals #19825)),solidcore/tests/issue_16686_fillet_surface_not_skinned.rs(fillet_intersector.rs, TE-B-11 (Typed errors [TE-B-11]: Blend standard and custom fillet solvers, the fillet intersector and the law corners: their phrase failures become defects, named causes or refusals #19820)),solidcore/tests/wr682_surface_plane_curve.rs(surface_plane_curve.rs, TE-B-06 (Typed errors [TE-B-06]: Blend surface/plane curve (blend/fillet_geom/surface_plane_curve.rs): its 13 phrase failures become defects, named causes or refusals #19814)),fillet_corner/p2.rstests ("a boundary curve", from p3.rs, same ticket),blend_corner/setback.rs/swept.rstests (each other's phrase, same ticket).solidcore/tests/issue_2656_blend_regressions.rs(blend::blend_corner::end),solidcore/tests/blend_refusal.rs(session),fillet_solver/p3.rstests (fillet_geom::p1::FilletBrep::rail_vertexuse, status only).The blend total (TE-B-P3 (#19802))
PHRASE_CAUSE_SITES(error/blend.rs:1382) is read only by its own test (lines 1382, 1453-1454; no other use in the crate). It is 897, not the 1,101 the per-filePINNEDlist sums to: it counts raw needles underblend/only, so a local wrapper counts once (as #19626's description says of itsfailclosure). The per-file scan uses the same 12 builders, expands wrapper calls, and coverssolidcoreandsolidcore-ops, so deleting the total loses no ratchet. Keep thephrase_needleexhaustiveness check in that test (or move it beside theBLENDscan).Files already taken by open PRs
blend/fillet_geom/surface_plane_curve.rsBlendFailure::StageFailedand edits the blend totalblend/fillet_exact.rs,blend/fillet_exact/rational.rsStageFailedshapeblend/fillet_executive/api.rs,p1.rs,p2.rs,p3.rsp3.rsandp1.rsare also where TE-B-P2 (#19801) and TE-B-P4 (#19803) workAll three predate the Foundation's shape. After #19636 merges, converting a phrase to
StageFailedraises the stage count of a file with no stage line, so the stage ratchet fails; the guide asks forDefect { why }, a named cause or a refusal. These PRs need reworking (their author decides; nothing was posted). Issue #15034's latest comments (2026-11-18, aapolipponen) claim thefillet_geomfiles one PR each; p1-p6 and tangent_end_rib have since merged (#19456, #19211, #19600, #19266, #19128, #19460, #19625) asStageFailed, which is why those files are now stage sites.Other open PRs that edit blend files without converting sites (merge conflicts, not ownership): #16564 (fillet_executive/p3.rs, p3_tests.rs, fillet_intersector.rs, fillet_solver/p4.rs), #18897 draft (p3.rs, session.rs, trim_at_creases.rs, fillet_solver p1/p2/p3/p5, rails_fit.rs, recovery.rs, p5/tests.rs, surface_surface.rs), #18648 draft (fillet_corner/p3.rs, session.rs), #19771 draft (blend_corner/end.rs, session.rs), #19124 (fillet_section/certificate.rs, section.rs), #19772 (fillet_section/series.rs, station.rs), #18618 draft (fillet_solver/p1.rs, p4.rs), #17292 draft (fillet_removal.rs, ring.rs).
Issues attached: #16398 → TE-B-08 (#19817) (
blend_corner/setback.rsgrow_curved; ignored testhip_roof_apex_of_unequal_rounds_is_refused_as_datainsolidcore/tests/issue_2343_curved_setback.rs:1945); #16491 → TE-B-02 (#19810) (fillet_geom/p2.rs~3652; the build fix is infillet_corner/topology/join.rs, TE-B-07 (#19816)); #13690 → TE-B-08 (#19817) (blend_corner/swept.rsclassify_swept), but carrying the radius needsfillet_executive/p1.rs(CornerCreation::Refused) andsession.rs:2592-2610, so that part follows TE-B-13 (#19823) and TE-B-14 (#19824) or is split off.Suggested order
StageFailedvariant #19806) (cross-file test assertions), TE-B-P1 (Typed errors [TE-B-P1]: Corner vertex and edge calculation keeps the calculator's error as its cause #19800) with TE-B-P5 (Typed errors [TE-B-P5]: A corner's re-solve keeps the solver's error as its cause #19804) (same files, one PR), TE-B-P2 (Typed errors [TE-B-P2]: The fillet executive's stages keep the stage's error as their cause #19801) (coordinate with Blend failures: the fillet executive reports its failures as typed stage failures, not phrases (#15034) #19683: first, or as that PR's first commit), TE-B-P4 (Typed errors [TE-B-P4]: A corner whose classification fails keeps the failure as its cause #19803). Their files do not overlap except P2/P4 with Blend failures: the fillet executive reports its failures as typed stage failures, not phrases (#15034) #19683's claim. TE-B-16 (Typed errors [TE-B-16]: Blend feature executive, fillet removal, fillet identification and hidden curve removal: their phrase and stage failures become defects, named causes or refusals #19826) can start as soon as P3 lands (it needs nothing else).blend/fillet_geom/surface_plane_curve.rs): its 13 phrase failures become defects, named causes or refusals #19814), TE-B-09 (Typed errors [TE-B-09]: Blend fillet solver (blend/fillet_solver/): the solver's phrase failures (tracing, rails, end sections, recovery) become defects, named causes or refusals #19818), TE-B-10 (Typed errors [TE-B-10]: Blend fillet sections and certificates (blend/fillet_section/): the section, station and certificate failures become defects, named causes or refusals, and the re-certification's bare statuses get a cause #19819), TE-B-12 (Typed errors [TE-B-12]: Blend exact fillet surfaces (blend/fillet_exact.rs,fillet_exact/rational.rs): their phrase and stage failures become defects, named causes or refusals #19822), TE-B-15 (Typed errors [TE-B-15]: Blend fillet session trims, eases and overflows: their phrase and stage failures become defects, named causes or refusals #19825). After P2, P3 and P5: TE-B-11 (Typed errors [TE-B-11]: Blend standard and custom fillet solvers, the fillet intersector and the law corners: their phrase failures become defects, named causes or refusals #19820). After P2, P3 and P4: TE-B-08 (Typed errors [TE-B-08]: Blend corners and setback fills (blend/blend_corner*,blend/blend_setback.rs): the blend corner's classification and fill failures become defects, named causes or refusals, and two corner refusals become typed #19817), TE-B-13 (Typed errors [TE-B-13]: Blend fillet executive (blend/fillet_executive/api.rs,p1.rs,p2.rs,p3.rs): the executive's phrase failures become defects, named causes or refusals #19823), TE-B-14 (Typed errors [TE-B-14]: Blend fillet session core: the session's phrase and stage failures become defects, named causes or refusals #19824). After P1, P2, P3 and P5: TE-B-07 (Typed errors [TE-B-07]: Blend fillet corners (blend/fillet_corner/): the corner topology and corner geometry code's phrase failures and its seven stage failures become defects, named causes or refusals #19816).blend/fillet_geom/p1.rs,p3.rs): review each unreviewed stage failure and give it a reason, a named cause or a refusal #19807) (also P5), TE-B-02 (Typed errors [TE-B-02]: Blend fillet geometry, part 2 (blend/fillet_geom/p2.rs): review each unreviewed stage failure, including the surface-surface intersection sites that should be refusals #19810), TE-B-03 (Typed errors [TE-B-03]: Blend fillet geometry, part 4 (blend/fillet_geom/p4.rs): review each unreviewed stage failure in the end-surface, rail-intersection and NxM corner geometry #19811), TE-B-04 (Typed errors [TE-B-04]: Blend fillet geometry, part 5 and the tangent end rib (blend/fillet_geom/p5.rs,tangent_end_rib.rs): review each unreviewed stage failure #19812); TE-B-05 (Typed errors [TE-B-05]: Blend fillet geometry, part 6 (blend/fillet_geom/p6.rs): review each unreviewed stage failure in the rail, side-edge and geometry-copy code #19813) after P1 and P2.blend/fillet_geom/p1.rs,p3.rs): review each unreviewed stage failure and give it a reason, a named cause or a refusal #19807) and TE-B-02 (Typed errors [TE-B-02]: Blend fillet geometry, part 2 (blend/fillet_geom/p2.rs): review each unreviewed stage failure, including the surface-surface intersection sites that should be refusals #19810); TE-B-F2 (Typed errors [TE-B-F2]: A failed geometry copy is a value, not an error #19828) after TE-B-04 (Typed errors [TE-B-04]: Blend fillet geometry, part 5 and the tangent end rib (blend/fillet_geom/p5.rs,tangent_end_rib.rs): review each unreviewed stage failure #19812) and TE-B-05 (Typed errors [TE-B-05]: Blend fillet geometry, part 6 (blend/fillet_geom/p6.rs): review each unreviewed stage failure in the rail, side-edge and geometry-copy code #19813); TE-B-F3 (Typed errors [TE-B-F3]: A mixed corner's classification separates "not mixed" from a failure #19829) after TE-B-07 (Typed errors [TE-B-07]: Blend fillet corners (blend/fillet_corner/): the corner topology and corner geometry code's phrase failures and its seven stage failures become defects, named causes or refusals #19816) and TE-B-08 (Typed errors [TE-B-08]: Blend corners and setback fills (blend/blend_corner*,blend/blend_setback.rs): the blend corner's classification and fill failures become defects, named causes or refusals, and two corner refusals become typed #19817). The Swept turn refused at a sharp concave side edge: give the radius that would pass as a typed refusal #13690 part of TE-B-08 (Typed errors [TE-B-08]: Blend corners and setback fills (blend/blend_corner*,blend/blend_setback.rs): the blend corner's classification and fill failures become defects, named causes or refusals, and two corner refusals become typed #19817) after TE-B-13 (Typed errors [TE-B-13]: Blend fillet executive (blend/fillet_executive/api.rs,p1.rs,p2.rs,p3.rs): the executive's phrase failures become defects, named causes or refusals #19823) and TE-B-14 (Typed errors [TE-B-14]: Blend fillet session core: the session's phrase and stage failures become defects, named causes or refusals #19824).Once their prerequisites have landed, the 16 conversion tickets do not depend on each other: no file in two tickets, no shared wrapper, and the cross-ticket test assertions are removed by P6. If the maintainer prefers not to hold the lower tickets on P2, they could start before it (their classes are visible to direct callers, unit tests and goldens), at the cost of guide rule 5's order; P2 is small, so holding is cheap.
What could not be made fully independent
blend/blend_corner*,blend/blend_setback.rs): the blend corner's classification and fill failures become defects, named causes or refusals, and two corner refusals become typed #19817) with an explicit order.What I did not check
Missing/Failedconstructions), not per-site verdicts. 19 of tangent_end_rib.rs's 22 stage sites and 2 of session.rs's 5 (theband_stage_failedcalls at 6499 and 6573) were added after the audit and are unaudited; session.rs's audited lines were mapped to the current file by the diff offset (3419→3552, 6483→6701, 6509→6727).blend/of blend functions were checked only for the ones found by the helper scan and the known cases (offset_faces.rs, surface/extend/blend.rs, offset_geometry_creation.rs, surface/procedural_blend/corner.rs, the certificate helpers' callers); I did not read every other area's use ofblend::math helpers (series, interval), which build few or no counted failures.ignore*,ignored,ignore_status,ignore_non_unported,soft,or_sm_err,map_err(|_| ..),Err(_) =>,let Ok(..) else,.ok(),.is_err()); trait-dispatched calls (access.*) were traced by hand only for the executive.unwrap_or*and_ =>arms were too noisy to review one by one and were not.crates/application code (outsidesolidcore/) for decisions on blend phrases, nor the ops crate beyond the two mapping functions named above.Written by Claude Code (Anthropic) on behalf of @brett19.
brett19 commentedon Nov 20, 2026
Notes, outside blend (1 of 2)
Notes for the non-blend typed-errors tickets (TE-O-01 … TE-O-23)
Snapshot: PR #19636's branch at dd28d11 (
src/). The slice is 260 files and 2,614 counted sites, every the pinned lists row whose path does not start withblend/. Paths are relative tosolidcore/crates/solidcore/src/unless they start withsolidcore/orcrates/.Coverage check
tickets-other.tsvwas checked against the pinned lists by script. It has 260 rows and 260 distinct files, the same set as the non-blend rows of the pinned lists (nothing missing, nothing extra, no file twice). The sites total 2,614, and every per-kind count (bare, eachphrase:<area>,stage) equals the the pinned lists value. Sizes run from 62 to 155 sites. 16 of the 23 tickets are in the 100–150 target band, and all 23 are within the acceptable 60–180.Shared wrappers (rule 3a)
Search: every non-private
fn(pub,pub(crate),pub(super)) in the crate's library code (with#[cfg(test)]items, comments and strings blanked) whose body builds a counted form (a phrase variant or helper, a stage failure,sm_err/null_pointer/Upstream {/nl_ser). Each was kept if it is a scanner wrapper: a thin one-expression body (Wrappers::Thin) or a body that passes a&strparameter on as the phrase (Wrappers::Phrase). Everymacro_rules!whose body builds one was checked too, and private functions in a parent file that are used from its child modules. Callers were then resolved by reading each candidate.Found, and kept inside one ticket by the grouping:
topology/trimming_tools.rs:175pub(crate) fn invalid_value(what): a phrase wrapper (listed asBuilder::Sharedinerror/topology.rs), called fromtopology/trimming_tools/curve_loops.rs:273,539,565. Both files are in this ticket. Split it per site. (topology/edge.rs:186andblend/fillet_executive/p2.rs:231have private functions of the same name; they are not this one.)topology/brep/p6.rs:348pub(crate) fn owned_surface()(a thintopology_missingaccessor), called fromtopology/brep/p7.rs:937,939,954,1433andtopology/trimming_tools.rs:507. All are in this ticket.topology/proto_topology/p2.rs:2726pub(crate) fn refuse_growth_overlap()(aboolean_stage_failedrefusal, audited as REFUSAL), called fromtopology/proto_topology/p1/proto.rs. Both files are in this ticket.surface/surf_of_revolution/p2.rs:101pub(crate) fn not_within_tolerance(op)(SurfaceFailure::OffSurface, a fixed phrase, so its body counts once), called uncounted fromsurface/surface/p2.rs:2922,3021,3033. Both files are in this ticket. Split it per site and give each call its own outcome.surface/surf_of_revolution/p1.rs:842pub(crate) fn gen()(a thinsurface_missingaccessor), called fromsurf_of_revolution/p2.rsandp3.rs, both in this ticket. (cone/p1.rs:1238andsurf_of_extrusion/p1.rs:830have privategen()functions of their own.)intersect/surface_intersector/p1.rs:1034pub fn compute_point_values_delta()and:1040pub fn compute_singularity_point()are thin stage sites. Their bodies count, and they are reached through theIntersectorVirtualsdefault inp4.rs:375and fromadv_surface_intersector.rs, all in this ticket.blend/fillet_intersector.rs:1333defines its own method of the same name and does not call these.nurbs/b_spline_curve/p1.rs:634pub(super) fn nurb_ref_mut(): a thin baresm_err, called fromb_spline_curve/p2.rs(this ticket).primitive/primitive_creation/p3/construct.rspub(super) fn target()is called fromp3/sweeps.rs.primitive/primitive_creation/model/merge.rspub(super) fn operands()is called frommodel.rs. Both pairs are in this ticket.sweep/topology_sweep/store/merge.rspub(super) fn operands()is called fromstore.rs(this ticket). Thesweep/topology_sweep/geometry.rsframe helpers (start_coord_system,end_coord_system,sweep_transform,*_sweep_same) buildMissingsites in their own bodies. Their callers inrotational_sweep_geometry.rs,trans_sweep_geometry.rs,engine.rsandprimitive/primitive_creation/p3/sweeps.rs(TE-O-20) are not counted and need no change.boolean/topology_intersector/p1.rs:270pub(super) fn ignore_soft(),p3.rs:234succeeded()andp3.rs:239or_sm_err()are the topology intersector's status policies, used acrossp1–p3(this ticket).or_sm_errreplaces every caught error withSolidError::stage_failed(op, "the curve classifications could not be made consistent"). Fix it first (guide §5).Thin public helpers whose body is the counted site and whose callers are in other tickets. They are converted in place, and no caller file changes:
topology/brep/p9.rs:489OrientSheetNote::into_error()(status 1) is consumed byboolean/merge/p4.rs:1880(OrientSheetNote::stop_on_note, TE-O-23), which passes it on or ignores it. Keep status 1. TE-O-23 does not need to change.surface/plane/p2.rs:134PlaneIntersectWarning::into_error()(SM_ERR_WARNING) is returned tosurface/surface/p2.rs:3217(this ticket). Keep its status.surface/surface_cache/p1.rs:1207(point_classifytrait default),:2296point_classify,:2312implant_edgeuseand:2324implant_poly_edge(pub, thin). Each body is one site, and they are reached through the cache trait from TE-O-03, TE-O-04, TE-O-10, TE-O-12, TE-O-13, TE-O-23 and blend. Convert each body in place to one unsupported-kind cause (rule 8). No caller's file changes.query/api_queries.rs:827pub fn find_edgeandfind_faces(thin, "no edge is at the point"). Their bodies are the sites. Convert them in place as empty-search causes (rule 7).query/face/p2.rsface_surface_cache(pub) is called from 9 files in other tickets. Change its body only.curve/curve/p3.rs:2042CurvePropertyNote::into_error()(status 1, "a pseudo box corner projects onto the view origin") is a note that becomes an error. It is used only in this file. Keep status 1.nurbs/b_spline_curve/p1.rs:627pub(crate) fn nurb_ref()is a thin baresm_errwhen a B-spline curve has no NURB. It is called from 11 files:nurbs/b_spline_curve/p2.rs,speed.rs,nurbs/b_spline_surface/p1.rs,p2.rs(this ticket);curve/curve/p8.rs(TE-O-14);boolean/api_brep.rs(TE-O-23);primitive/primitive_creation/p3/construct.rs,p3/sweeps.rs(TE-O-20);heal/tolerance_defects.rs(no sites); andblend/fillet_executive/session/finish.rs,trim_at_creases.rs(blend). Because its body is the counted site, its calls are not. Convert the body in place, once: a B-spline curve object without its NURB is the kernel's fault, so it becomesNurbsFailure::Defectwith statusSM_ERR. Do not split it into the other tickets' files. If a reviewer asks for a per-site split, that is a separate follow-up across TE-O-14, TE-O-20, TE-O-23 and blend, and it is not a prerequisite here.solidcore-ops/src/curve.rs:542maps everyGeomFailureout ofEllipse::circle_from_3_points(TE-O-14, which callsgeom/) toops::Error::Argument. A geom site on that path must stay aGeomFailure, or that mapping must be updated in the same PR.No
macro_rules!in the slice builds a counted form (the macros found, such aspoly_id!,proto_id!,required!inoffset_executive/periodic_boundary.rsandor_give_up!, build ids,InvalidInputor control flow). The scanner's onlyBuilder::Sharedentry outsideblend/istopology/trimming_tools'sinvalid_value(TE-O-03). Its other one,surface/surface/replay'ssurface_failed, is the goldens' replay seam and is not in the pinned lists.Name-only matches that turned out to be different functions:
gen()(private incone/p1.rsandsurf_of_extrusion/p1.rs),find_edge(geom/tools.rshas its own),invalid_value(private intopology/edge.rsandblend/fillet_executive/p2.rs),compute_point_values_delta(blend/fillet_intersector.rshas its own), andoperands/target(pub(super), used only in their own modules).Local wrappers that replace or swallow causes, inside one ticket
Under guide rule 5, each must pass the cause through before the sites beneath it are converted. Each is inside its own ticket:
boolean/topology_intersector/p3.rs:239or_sm_err(r, op): turns any soft error intoSolidError::stage_failed(op, "the curve classifications could not be made consistent"). The audit tracedtopology_intersector/p2.rs:2339(a numeric stop) through it (TE-O-23).boolean/topology_intersector/p3.rs:234succeededandp1.rs:270ignore_soft: the second review reclassifiedp2.rs:615and:650as control flow because these take them as "do not squeeze" (TE-O-23).offset/offset_geometry_creation.rs:412ignore_softand themating_resultpath: these swallow the stage failures ofmate_edges(:5896) and the UV-curve kind check (:6163) on theedgeuse_offsetpath (TE-O-19).offset/offset_executive/step_gaps.rs:66sm_err(reason, site): a private wrapper with a misleading name that buildsOffsetFailure::StageFailedcaused byFailed(reason). Rename it (rule 5) (TE-O-18).surface/offset_surface.rs:1898step_inversion_with: drops the base inversion's error after its retry and builds a phrase (TE-O-09).curve/ellipse/p1.rs:2217: a local closureerr(|| SolidError::sm_err(OP_JOIN)) called at several checks in the ellipse join. Each call is a bare site of its own (TE-O-14).Cause-replacing and cause-swallowing callers across tickets (rule 3b)
Method: every
map_err(|_| …)andErr(_) =>in library code (914 sites in the crate,blend/included). The callee was resolved by the name of the call the error comes from (for amatch, the last call in the scrutinee). An edge was kept when every definition of that name lies in one ticket and the caller is in another ticket, inblend/, or in a file with no sites. The arm or closure body then decided the class: it replaces the cause when it builds an error (Err(…), aSolidErrorbuilder), and it is control flow otherwise (a fallback value,continue,None).ignore_status,ignore_soft,native_failure,succeeded,or_sm_err,ignore_or_pass_onandignoredwere resolved the same way by their argument's outermost call. Coverage: 86 cross-ticket edges resolved. 301 sites call a name defined in more than one ticket and were not attributed, and 330 have no resolvable call (a?chain or a value). See "What I did not check".Replacing (the callee's class does not reach this caller until the caller's ticket chains the cause)
20 of these 23 are counted phrase sites in the caller's file. The caller's ticket converts them, and under guide rule 6 that conversion chains the caught error (
Err(e) => … .caused_by(e)). The other 3 build an uncountedSolidError::Unsupported/InvalidInput:surface/volume/p2.rs:1704,surface/implicit.rs:2670(which also mergesOk(None) | Err(_), against rule 6) andintersect/topology_solver/p1.rs:710. They are written into their own tickets (TE-O-16, TE-O-11) as extra scope.surface/surface_cache/p1.rs:825is a fallback (it triesbspline_ofbefore failing), so it chains the cause only on its final failure. The dependency is about what callers see, not about merging: either ticket can merge first, and the class shows at the caller once both have. None of them makes a ticket wait on another.surface/volume/p2.rs:1704Err(_) =>read_typesurface/surface_cache/p1.rs:825Err(_) =>extrusion_base_with_nurbsurface/surface/p8.rs:1477Err(_) =>skin_deriv_surfacesurface/implicit.rs:2670Err(_) =>is_nurb_surface_surf_of_revolutionsweep/trans_sweep_geometry.rs:249surface/surface/p8.rs:1524Err(_) =>get_surface_cacheintersect/curve_class/p1.rs:2982Err(_) =>make_trim_srf_cache_with_facesurface/surface_point_solve/p2.rs:1041Err(_) =>with_netsurface/surface/p7.rs:1879Err(_) =>make_curve_cachesurface/surface/p8.rs:2887Err(_) =>make_curve_cacheintersect/curve_class/p9.rs:620Err(_) =>make_curve_cacheintersect/surface_intersector/p4.rs:805Err(_) =>make_curve_cacheintersect/surface_drop_curve.rs:1066Err(_) =>make_curve_cacheintersect/surface_drop_lib/p3.rs:1329Err(_) =>make_curve_cachesurface/surface_point_solve/p1.rs:643surface/surface_point_solve/p1.rs:790surface/surface_point_solve/p2.rs:336topology/brep/mirror.rs:488Err(_) =>sv_decomposesurface/surf_of_revolution/p1.rs:1764surface/surface/p2.rs:7147intersect/topology_solver/p1.rs:710Err(_) =>intersect_linecurve/offset_curve.rs:493curve/offset_curve.rs:502Control flow (the error is caught and turned into another path; no class reaches anyone)
These need no change for the callee's ticket. The callee's ticket must not change the function's signature (for example to
Optionunder rule 10), because the change would edit these callers' files. Such a change is a follow-up that covers both tickets.query/seam_bound.rs:950Err(_) =>curve_derivs_overquery/seam_bound.rs:1040Err(_) =>curve_derivs_overboolean/operand_tolerances.rs:74Err(_) =>check_brepoffset/offset_executive/p1.rs:2540Err(_) =>make_face_with_curve_owners_at_verticestopology/brep/validation/assert_valid/face.rs:210Err(_) =>compute_uv_pointblend/fillet_geom/p1.rs:3162Err(_) =>calculate_uv_domain_from_uv_trim_curvesblend/fillet_solver/p5/rails_fit.rs:115Err(_) =>calc_sector_angletopology/brep/p3.rs:2815Err(_) =>start_end_verticestopology/brep/p3.rs:3919Err(_) =>is_inner_shelltopology/brep/p10.rs:1808Err(_) =>reset_primary_edgeusetopology/brep/planar_section.rs:556Err(_) =>create_curves_by_trimmingquery/face/p3.rs:3243Err(_) =>compute_uv_pointoffset/offset_geometry_creation.rs:2482Err(_) =>create_trimmed_nurbs_curveprimitive/primitive_creation/p1/boolean.rs:245Err(_) =>find_radial_sector_betweenboolean/merge/p2.rs:883Err(_) =>find_radial_sector_betweennurbs/b_spline_curve/trim_image.rs:157Err(_) =>kind_with_nurbnurbs/b_spline_curve/trim_image.rs:340Err(_) =>kind_with_nurbblend/fillet_geom/p2.rs:3997Err(_) =>is_nurb_surface_planetopology/brep/planar_section.rs:146Err(_) =>is_nurb_surface_planesurface/surface/approximate.rs:660Err(_) =>extrusion_base_with_nurboffset/offset_geometry_creation.rs:2475Err(_) =>global_surface_intersect_with_contextsurface/surface/assert_valid.rs:612Err(_) =>calculate_continuities_reachedsurface/surface_point_solve/p3.rs:273Err(_) =>adjust_stepsurface/surface_point_solve/p3.rs:322Err(_) =>adjust_stepblend/hcr.rs:622Err(_) =>get_surface_cache_with_faceblend/hcr.rs:631Err(_) =>get_tree_with_faceblend/hcr.rs:687Err(_) =>get_surface_cache_with_faceblend/hcr.rs:692Err(_) =>get_tree_with_faceintersect/curve_class/p1.rs:3173Err(_) =>approximate_sizeintersect/surface_intersector/p1.rs:1270Err(_) =>find_degen_param_for_directionintersect/surface_drop_lib/p2.rs:424Err(_) =>find_degen_param_for_directionintersect/surface_drop_lib/p3.rs:1141Err(_) =>find_degen_param_for_directionquery/face/p3.rs:677Err(_) =>possurface/surface/assert_valid.rs:673Err(_) =>create_iso_boundariesblend/fillet_exact.rs:492Err(_) =>is_nurb_surface_sphere_onblend/fillet_exact.rs:506Err(_) =>is_nurb_surface_torustopology/brep/p3.rs:4796Err(_) =>lift_curvesurface/surface_point_solve/p2.rs:1691Err(_) =>invert_point_near_singularity_forsurface/face_surface.rs:428Err(_) =>create_certifiedblend/hcr.rs:1993intersect/surface_drop_curve.rs:1887Err(_) =>trace_curve_basetopology/brep/trim_extend.rs:252blend/hcr.rs:1787Err(_) =>fire_rayblend/fillet_executive/session/finish.rs:266Err(_) =>curves_stay_withinintersect/surface_tracer.rs:1984Err(_) =>make_curve_cachetopology/brep/p3.rs:4711Err(_) =>approximate_offset_surfacetopology/trimming_tools.rs:2458Err(_) =>control_polygontopology/trimming_tools.rs:2464Err(_) =>copy_sub_patchtopology/trimming_tools.rs:2478Err(_) =>control_point_netoffset/offset_geometry_creation.rs:7110Err(_) =>create_trimmed_plane_from_ruledsweep/rotational_sweep_geometry.rs:175Err(_) =>is_segment_linesurface/surface/assert_valid.rs:2197blend/hcr.rs:480topology/edgeuse/p3.rs:2544Err(_) =>vec_lin_comb_two_vectorssurface/plane/p1.rs:259Err(_) =>make_unit_ortho_vectorssurface/surface/p2.rs:7118Err(_) =>vec_lin_comb_two_vectorssurface/surface/p4.rs:2417Err(_) =>vec_lin_comb_two_vectorssurface/sphere.rs:1610Err(_) =>sphere_circle_sphere_circle_intersectcurve/curve/p4.rs:1800Err(_) =>line_line_closest_pointcurve/curve/p7.rs:638Err(_) =>line_line_closest_pointcurve/curve/p7.rs:1406Err(_) =>line_line_closest_pointnurbs/b_spline_curve_n_lib.rs:332Err(_) =>make_unit_ortho_vectorsoffset/thin_features.rs:215Err(_) =>shell_brep_simpleStatus-ignoring calls across tickets (
ignore_status,ignore_soft,native_failure,succeeded, …)These keep upstream's policy of dropping a status, so they are control flow by design. Converting the callee changes nothing here, and its class is dropped.
ignore_softandnative_failureletSolidError::InvalidInputandPortInvariantthrough but swallow anySolidError::Failed, so an invalid-input cause kept on the typed record (rule 1) is swallowed here just as the phrase was.blend/fillet_removal.rs:1133ignore_status(with_kernel_callbacks)topology/brep/p10.rs:2349ignored(side_of_curve)topology/brep/mirror.rs:124ignore_status(notify_vertex_pre_edit)offset/offset_executive/p2.rs:939ignored(make_manifold)topology/brep/validation/assert_valid/brep.rs:97ignored(find_infinite_region)topology/brep/p3.rs:4715ignore_soft(clear_uv_trim_curves)offset/offset_executive/p2.rs:2599ignored(check_brep_scoped)boolean/merge/p3.rs:1047ignored(copy_faces_with_merge)topology/brep/validation/coincidence.rs:754ignored(calculate_uv_domain_from_uv_trim_curves)blend/fillet_corner/p1.rs:2274ignored(compute_uv_point)topology/brep/p1.rs:2125ignored(set_uv_trim_curve)topology/brep/p4.rs:470ignore_status(face_notify_edit)topology/brep/p6.rs:1339ignore_status(check_and_set_uv_trim_curve)topology/brep_constructor.rs:1080ignored(add_oriented_eu_pair)intersect/curve_class/p1.rs:2011ignored(set_uv_trim_curve)query/api_queries.rs:588ignored(calculate_an_internal_point_snapshot)offset/offset_executive/cavity.rs:102ignored(calculate_an_internal_point)boolean/merge/p4.rs:1134ignored(find_radial_sector_between)curve/ellipse/p1.rs:582ignored(read_type)boolean/topology_intersector/p1.rs:2278ignore_soft(resolve_proto_vertex)blend/fillet_removal.rs:936or_sm_err(point_based_surface_intersect)surface/sphere.rs:1251ignored(trim_curve_to_plane_domain)primitive/primitive_creation/p1/primitives.rs:1229ignored(create_canonical_cylinder)topology/proto_topology/p2/imprint_ends.rs:231ignore_soft(get_singularities)blend/hcr.rs:1432ignored(create_silhouette_curves_with_cache)topology/vertexuse.rs:1706ignored(find_degen_param_for_direction)surface/plane/p2.rs:578ignored(base_evaluate_normal)surface/surface/p8.rs:2183ignore_status(eval_normal_section)intersect/curve_class/p1.rs:3191ignored(global_point_solve_point_test_off)query/face/p3.rs:2262ignored(drop_vectors_at)intersect/curve_class/p2.rs:1684ignored(global_curve_intersect_in)offset/offset_executive/p1.rs:2078ignore_status(net_mut)topology/face/p3.rs:1815ignore_status(insert_topology_intersections)blend/hcr.rs:1981ignored(find_interval)boolean/topology_intersector/p3.rs:577or_sm_err(fixup_classification)blend/hcr.rs:1888ignore_status(add_surface_with_fetched_cache)topology/proto_topology/p1/proto.rs:315ignored(find_obj_point_3d)intersect/curve_class/p7.rs:1055ignored(find_obj_point_3d)boolean/topology_intersector/p3.rs:2004ignore_soft(drop_and_trim_curve_in)offset/curve_on_surfaces.rs:440ignored(surface_closest_point)topology/brep/p1.rs:1560ignore_status(lock_bounding_box)intersect/surface_intersector/singular_splits.rs:288ignored(create_by_split_curve)surface/surf_of_extrusion/p1.rs:663ignore_status(edit_parameterization_owned)surface/surface/p8.rs:470ignored(global_curve_intersect_unnamed_cached)intersect/curve_class/p2.rs:852ignored(evaluate_uv_point)intersect/surface_drop_lib/p3.rs:503ignored(surface_curve_max_distance_between)query/face/p3.rs:284ignored(euclidian_step_off)nurbs/b_spline_curve/p3.rs:388ignored(global_property_analysis_into)surface/unbend_volume.rs:682ignored(calculate_bounding_box_base)primitive/api_curve_ops.rs:111ignored(compute_crvs_normal)blend/fillet_removal.rs:881ignored(create_extended_curve)surface/plane/p2.rs:1211ignored(create_degenerate_curve)curve/curve/p3.rs:466ignored(set_control_point)offset/offset_executive/p1.rs:2074ignore_status(get_or_create_gw_nurb)topology/brep/validation/coincidence.rs:364ignored(find_coincident_edge)surface/cone/p1.rs:428ignored(ccw_angle_between)surface/surface/p7.rs:767ignored(frenet_from_derivatives)surface/sphere.rs:3013ignored(ccw_angle_between)intersect/curve_class/p8.rs:864ignored(orient_vector)curve/composite_curve/p2.rs:656ignored(line_line_closest_point)heal/heal_data/p1.rs:376ignore_status(set_props_with_query_gaps)topology/brep/p5.rs:3328ignored(stitch_vertex_list)query/face/p4.rs:516ignored(set_props_stage2)offset/offset_executive/p2.rs:937ignore_status(stitch_into_solid)Callers outside the kernel crate
solidcore/crates/solidcore-ops/src/curve.rs:542maps everyGeomFailureout ofEllipse::circle_from_3_pointstoops::Error::Argument(TE-O-14/TE-O-16). Keep geom sites on that path asGeomFailure, or update the mapping in the same PR.solidcore/crates/solidcore-ops/src/curve_knots.rs:172matchesNurbsFailure::Parameter, which is already typed and not a counted site.solidcore-ops/src/offset.rs:103maps offset kinds that are not in this work.is_defect()/is_refusal()outsideblend/. Theintersect_failure().is_some() && sm_status() == Some(SM_ERR)checks inintersect/surface_drop_lib/p3.rsandintersect/point_class.rsare in tests. So a class change alters no control flow in the kernel. It does changekind()from the status's kind toStageFailed(127) when a phrase becomesDefect, which the guide (§6.14) accepts.refused_as(an expected error substring) appears 4 times insolidcore/crates/solidcore/tests/kernel_cases, always "no room" (blend). No case pins a phrase of this slice.Files already taken by open PRs
None. No open PR converts typed-error sites in this slice. Searched
gh pr list --state openwith "typed stage failures", "phrase", "typed errors", "Defect", "failure sites" and "named causes", plus the file lists of all 1,000 open PRs. The typed-errors PRs found (#19626, #19681, #19683) touch onlyblend/anderror/blend.rs/error/phrase_sites.rs. #19636 is the Foundation.Open PRs whose diff changes counted lines in the slice. They are behaviour changes, not conversions, but they are rebase hazards: after the Foundation merges, a PR that adds a site fails the pin. It must lower its own count, or the ticket that merges second re-counts.
intersect/curve_class/p3.rsintersect/surface_drop_lib/p2.rsintersect/surface_drop_lib/p3.rsmass/enclosure.rsmass/integrator/properties.rsoffset/offset_executive/p1.rsoffset/offset_executive/p1.rsoffset/offset_executive/p1.rsoffset/offset_executive/p1.rsoffset/offset_executive/p2.rsoffset/offset_geometry_creation.rsprimitive/primitive_creation/p2/taper.rsquery/api_queries.rsquery/api_queries.rssurface/cone/p1.rssurface/plane/p2.rssurface/sphere.rssurface/surface/p10.rssurface/surface/p2.rssweep/screw.rssweep/screw.rstopology/brep/local_operation.rstopology/brep/local_operation.rsThe diffs of #11776, #14683, #15956, #18667, #19638, #19666 could not be fetched (
gh pr difffails on very large PRs). Their file lists touch slice files (for example #15956, an experiment to retire every UpstreamFixes flag, touchesboolean/,curve/and more), but whether they change counted lines was not checked.Existing issues
offset/offset_geometry_creation.rs, one generic reason for 36 failures): also closed by TE-O-19.SMLib failed (status 1001)): also closed by TE-O-18. The issue names no file. Status 1001 isSM_ERR, and the draft path runs through the offset executive. The exact site must be found by reproducing it, and if it is inoffset_faces.rsoroffset_geometry_creation.rs, the issue moves to TE-O-19.blend/blend_corner/swept.rsand the fillet executive), solidcore: a curved Setback that no fill certifies up to twice its setbacks is refused untyped, naming no size #16398 (curved Setback refused untyped:blend/blend_setbackand the fillet session) and solidcore: a Join whose two rounds both roll wholly from the same face onto the same face beyond fails (StageFailed) #16491 (a Join whose rounds roll onto the same face:blend/fillet_corner/topology/join.rs,blend/fillet_geom/p2.rs) are all inblend/, the other slice. They are not attached here.Shared causes (recommended, not a blocker)
Rule 12 asks for one class per condition within a file. Some conditions recur across tickets, and if each ticket invents its own variant, the area's enum gets duplicates. Before or alongside the first ticket of an area, agree on these causes (the first PR that needs one adds it, and the others reuse it):
TopologyFailure.whypattern.nurb_ref(TE-O-15).Merge hotspots
Tickets of one failure area all add variants to the same enum and its
status/kind/Displaymatches inerror/<area>.rs, and each lowers its own lines in the samePINNEDlist (one file per line, so those lines merge cleanly). The enum edits can conflict textually. Rebase and re-runcargo test -p solidcore --lib -- error::.bare:curve: TE-O-14bare:nurbs: TE-O-15bare:offset: TE-O-18, TE-O-19boolean: TE-O-23curve: TE-O-14generic: TE-O-18, TE-O-23geom: TE-O-16heal: TE-O-17intersect: TE-O-10, TE-O-11, TE-O-12mass: TE-O-17nurbs: TE-O-15offset: TE-O-18primitive: TE-O-20, TE-O-21query: TE-O-13stage_sites.rs: TE-O-05, TE-O-11, TE-O-14, TE-O-15, TE-O-16, TE-O-18, TE-O-19, TE-O-23surface: TE-O-06, TE-O-07, TE-O-08, TE-O-09, TE-O-16sweep: TE-O-22topology: TE-O-01, TE-O-02, TE-O-03, TE-O-04, TE-O-05Suggested order
No ticket blocks another. All 23 can start the day the Foundation (#19636) merges. The only cross-ticket links are about what callers see (the replacing callers above): a class chosen in a callee ticket shows at those callers once the caller's ticket has chained the cause.
A sensible first wave, for user-visible effect and to settle the shared causes early:
SMLib failed (status 1001).Reason::Failedsites and theor_sm_errwrapper. Its audit verdicts are mostly settled.What could not be made fully independent
nurbs/b_spline_curve/p1.rsnurb_ref()(TE-O-15) is a thin shared helper. It is called from 11 files in TE-O-14, TE-O-15, TE-O-20, TE-O-23, a no-site file andblend/. Grouping all of them would make one ticket of more than 500 sites. Its body is the one counted site, so TE-O-15 converts it in place (a defect) and no caller file changes. A per-caller split, if review wants one, is a separate follow-up.surface/surface_cache/p1.rs(TE-O-07) andface_surface_cacheinquery/face/p2.rs(TE-O-13) are the same kind of case: converted in place, callers unchanged.offset/offset_executive/files with no counted sites (vertex.rs,face.rs,edgeuse.rs,merge.rs,periodic_boundary.rs) consume TE-O-19's results, partly with.ok(). They belong to no ticket, so a cause chosen in TE-O-19 can be dropped there. That is a follow-up outside the counts.brett19 commentedon Nov 20, 2026
Notes, outside blend (2 of 2)
Goldens units per ticket
A unit named after a file pins the statuses that file's functions return. Other units import from the module and pin the statuses of whole operations that pass through it. A conversion keeps every status, so
--all --goldensmust pass unchanged.What I did not check
map_err(|_|/Err(_) =>sites whose callee name is defined in more than one ticket (for exampleevaluate,copy,make_nurb), and 330 with no resolvable call, were not attributed..ok()(711 sites),.is_err()(1,346) andunwrap_or*also drop errors, and none of them were analysed. So the replacing-caller list is a floor, not a complete list.solidcore/,crates/andapps/.crates/smlibandcrates/kernelwere excluded as other backends. Short or generic phrases ("the face's surface") were skipped, so tests that assert them are not listed, and some listed hits may assert the same phrase from a different site.use solidcore::<module>in the unit sources, not by tracing which functions each case calls.offset_geometry_creation.rs's 17 stage sites are not in the audit.crates/engine,apps/) matches kernel error text at runtime beyond its tests. The kernel'skind()changes for every phrase that becomesDefect(to 127), and app code that maps by kind was not audited.Written by Claude Code (Anthropic) on behalf of @brett19.
brett19 commentedon Nov 20, 2026
Check of the tickets' advice against the goldens (2026-11-20)
After the tickets were filed, every piece of advice in them that changes what a function returns or reports was checked against how the goldens units and tests read errors. Thirty items were checked: 15 are safe, 9 need a goldens re-bless in their own PR, 1 needs only a test change, and 5 could not be followed as written. The affected tickets now carry a "Corrections" section near the top, and every conversion ticket has one added line beside rule 1. Nothing was run for this check; it is from reading the units.
How the goldens read an error (the mechanism behind most rows)
The README says a golden records "the operation's status". The units do not all read it the same way:
sm_status(). AnySolidError::Failedgives its status. The boolean units read it this way (for exampleboolean_topology_intersector_p1.rsstatus()), as do the offset executive units (operation()). Keeping the status (guide rule 1) is enough for these.solidcore::error::upstream_status(). Most units read it, about 170 of them. It gives the status only forUpstream, and for a typed failure whose reason is Topology, Surface, Geom, Query, Intersect, Primitive, Mass, Heal orNurbsFailure::BSpline(..). A Curve, Offset, Sweep or Blend reason counts only when that cause'sreplaces_upstream_status()returns true. Any of the following givesNone, so the unit records something else:Reason::Failedreason;NurbsFailurevariant;What the unit records instead differs by unit:
-1, the error's Display text, or a harness error that breaks the case, and a broken case can never be blessed.OffsetFailure::replaces_upstream_statusis amatches!list, so a new offset cause is false unless someone adds it. The existing Curve and Sweep refusals are false by convention.Arms that match only
SolidError::Upstream. A typed failure gets a different value from these arms. Examples:goldens/src/output.rsblend_status: other areas' typed failures giveNone. Nine blend units use it.nurbs_b_spline_curve_p1.rs:464: a typed failure gives-1. This unit records 1001 in 104 cases today and has no-1row.topology_face_p4.rs:653,712: a typed failure is a harness error.intersect_curve_class_p5/topo.rs:647: a typed failure gives-9.offset_offset_executive_p1.rs:2668: a typed failure records its Display text.blend_fillet_executive_p3/end_to_end.rs:919,1014andtwo_offset_chamfer.rs:372: anUpstreamfrom stitch-and-orient is ignored, but a typed failure fails the case.Converting a bare site (
sm_err/null_pointer/Upstream) changes what these arms record wherever that site's error reaches them.Display text. Some units record
e.to_string(). Today's goldens hold that text for these lines:primitive.primitive_creation_p1: "geom::vector3d::Vec3::make_unit_ortho_vectors: no perpendicular vector found" ×4. This is a counted geom phrase site (TE-O-16 (Typed errors [TE-O-16]: Geometry utilities and volumes: 107 failure sites become named causes, refusals or reviewed defects #19849)), and it is recorded nowhere else.surface.surface_assert_valid×34. The unit records "operation: upstream status N", so a conversion keeps the line only if it keeps both the operation andupstream_status.topology.assert_validandoffset.offset_executive_p1hold the text of typed orInvalidInputerrors, none of them counted sites.crossing_loopsis recorded as text exactly because its offset cause is not in thereplaces_upstream_statuslist.InvalidInput/Unsupportedare recorded separately from a status: as 1007,-2/NULL_DEREF, "null_deref", "invalid_input", "refused" or-1, depending on the unit. These variants carry no cause, so "chain the cause" onto one of them means replacing it with a typed failure, and that changes what is recorded.Chaining a cause (
caused_by) changes three things:is_defect(),is_refusal(),sized()andis_port_failure(), which follow the cause chain;blend_failure()orupstream_status().No goldens unit records the class. The one goldens assertion on class is in
blend_fillet_removal.rs(assert_ne!(.., StageFailed)on a removal refusal), and chaining cannot break it. ops'failure()builds its phrase from theBlendFailure's own Display and its class fromb.class(), so neither changes. No library code branches onis_defect()oris_refusal(); the only library use issolidcore-ops/src/offset.rs:185reportingdefect.Table
boolean/topology_intersector/p2.rs:615, 650(check_for_squeeze_vertices[_into])boolean.topology_intersector_p1.boolean_topology_intersector_p1.rs:3904calls the function directly, andstatus()(:3231) pushessm_status=1001. The brief counts 48 cases; I did not recount them, because the values are block-summed. The other way to keep the goldens is to have the runner map the new "declined" value to 1001, which is upstream's status.blend/fillet_geom/p1.rs:2911(surface_drop_pointmiss) andtwo_pnts_intersectionOption/enum for the miss; keep the goldens unchanged with a direct-call wrapperblend.fillet_geom_p1calls both functions directly (blend_fillet_geom_p1.rs:2084, 2118,try_status!).surface_drop_pointrecords 1001 in 57 cases (5 named, 52 generated).two_pntsrecords 1001 in 85 cases (4 named, 81 generated). The trap:two_pnts_intersectionpasses its start-point drops throughdrop_or_bad(p1.rs:3077). If the miss becomesOk(empty), those drops reportSM_ERR_BAD_INTERSECTIONS(1027) instead of 1001. The end-point drops at 3014 and 3031 use?. A runner wrapper alone does not hold the two_pnts rows.blend/fillet_geom/p1.rs:2882(missing(OP_SURFACE_DROP_POINT)afterget_surface_cachefails)blend.fillet_geom_p1records 1006 for it in 5 named drop cases (the knot cases). It should be converted in TE-B-01 (#19807) by chaining the cache error and keeping 1006, not turned into a value.blend/fillet_geom/p6.rs:1824(copy_geom, "different solvers")copy_fillet_geom(p5.rs:2181-2195), sets the copy's solver to the source's, so 1824 cannot fire from production. The errors p5.rs:2203 does swallow come fromcopy_geom_with_solver, whichfillet_solver/p1.rs:1798also calls with?.blend.fillet_geom_p6callscopy_geomdirectly (blend_fillet_geom_p6.rs:1329), andgen_copygives the destination no solver in 5% of cases. That is roughly 1-2 of about 33 generated copy cases; not countable, because the values are block-summed. Those cases record 1001. With 1824 removed they would record 1007 (theInvalidInputat 1826). The unit testfillet_geom/p6.rs:3377asserts(StageFailed, SM_ERR)for this case.blend/blend_corner/mixed.rs:350-362and the arm atfillet_corner/p3.rs:1178classify_mixed. It is reached only through corner creation (blend.fillet_corner_p3and the end-to-end blend units), and whether any case reaches anErrthere is known only by running. The ticket already says it may change results. Its "goldens unchanged" Done-when may not hold.blend/fillet_geom/p4.rs:1931(calc_rail_int_end_surface)p4.rs:1632,fillet_solver/p5/recovery.rs:275), so turning it into a value would edit TE-B-09 (#19818)'s file.blend.fillet_geom_p4callscalc_rail_int_extended_edgeusewithCornerLookup::default(), which stops at the corner lookup first. The testp4.rs:3154asserts that lookup (op,StageFailed, 1006), not 1931.fillet_solver/p1.rs:1997, 2046, 2065, 3472,p3.rs:476,p5/rails_fit.rs:115,trace_reach.rs:74bool_status(a failure reads as singular), theIsSingularityfallbacks, the sector angle, and a failed evaluation meaning no reach. Making one propagate changes the solver's path and so theblend.fillet_solver_*rows. That is a behaviour change, which belongs in its own PR with a re-bless.blend/blend_corner/setback.rs:1984-2000(grow_curved, #16398)BlendRefusedand un-ignoreissue_2343_curved_setback.rs:1945Failed("the fillet body is not built", 1001) toBlendRefused { code, .. }, which carries a different variant and code. Rule 1 puts a status change in a separate PR. Whether a goldens case reaches it is known only by running--unit 'blend.*'and the end-to-end units.intersect/surface_intersector/p5.rs:593, 599cachesis non-empty past 555, andplanesholdsmin(2, len)≥ 1 entries. No golden reaches them. Deleting needs a restructure that keeps the first element, for examplesplit_first_mutat 555, becauseunwrap/expectare not allowed.intersect/surface_intersector/p1.rs:1046(compute_singularity_point)Tangentrefusal; the audit also labels it "unreachable"IntersectFailurewithSM_ERR; WRONG if deletedintersect.surface_intersector_p1(:592) andintersect.adv_surface_intersector(:540) call it directly, 645 times in the measured runs. Theirstatus()readsupstream_status, which isSomefor anyIntersectFailure.IntersectFailurehas noTangentvariant (Tangentis thessicrate's type), so a new variant is needed. Deleting the site under rule 11 would change every one of those rows.intersect/topology_solver/p1.rs:710(null_deref=SolidError::InvalidInput)InvalidInputhas no cause field. Following the advice means replacing it with a typedIntersectFailure, and that changes what is recorded. Theintersect.topology_solver_*units mapInvalidInputto 1007. Other units map it to-2, "null_deref" or "refused". Upstream reads uninitialised values here, which the goldens model as anInvalidInput.surface/volume/p2.rs:1704(Unsupported),surface/implicit.rs:2670(InvalidInput,Ok(None) | Err(_))UnsupportedandInvalidInputcarry no cause.surface.volume_p2status()recordsUnsupportedas-1; a typed surface failure would record its status. Whether a case reachesread_map_type's error is not known without a run.derive_revolutionhas no goldens unit (tests/derive_revolved_supports.rs:468unwraps a success). Splitting the implicit arm makes the callee's error propagate instead ofInvalidInput.geom/vector3d.rs:686(make_unit_ortho_vectors, "no perpendicular vector found")primitive.primitive_creation_p1recordse.to_string()(primitive_primitive_creation_p1.rs:627), and 4 golden lines hold this exact text. Any conversion changes them.nurbs/b_spline_curve/p1.rs:627(nurb_ref)NurbsFailure::Defectwith statusSM_ERR"NurbsFailure::Defect; the variant isBSplineFailure::Defect { why }, built withSolidError::b_spline(..). A new top-levelNurbsFailurevariant would makeupstream_status()None, so about 170 units would change what they record.nurbs/b_spline_curve/p1.rs(16sm_err/null_pointer) and the other TE-O-15 (#19848) bare sites (23 in all)nurbs_b_spline_curve_p1.rs:464status()reads onlySolidError::Upstream, and a typed failure gives-1. This unit records 1001 in 104 cases and has no-1row today. A fix that keeps those lines: add theupstream_statusarm thatnurbs_b_spline_curve_p3.rs:428already has. This is a no-op on today's goldens. Also,nurb_refis called fromblend/fillet_executive/session/finish.rsandtrim_at_creases.rs, andblend_statusrecords a converted error there asNone/-1.curve/ellipse/p1.rs:1195(sm_err(OP_OFFSET), negative offset radius)curve.ellipse_p1generatesOffsetops with distances in −3..3, and itsstatus()readsupstream_status. The existingCurveFailurerefusals return false fromreplaces_upstream_status, which would record-1instead of 1001. Not countable (block-summed). It stays safe if the new variant returns true.blend_statusfor curve and offset errors reached by the blend units. Which cases are reached is known only by running.offset/offset_geometry_creation.rs(#15368: "give each its ownOffsetFailurecause, keepSM_ERR")OffsetFailure::replaces_upstream_statusis amatches!list (error/offset.rs:437), so a new cause givesupstream_status() == Noneeven with.with_status(SM_ERR).offset_offset_geometry_creation.rs:2163then returnsFail::Solid, andrun_rust(:2942) turns that into a harness error. The case breaks, and a broken case can never be blessed.topology.assert_validwould record the Display text instead, as it already does forcrossing_loops.offset/offset_executive/p1.rsbare site underreplace_implicit_offsetsreplaces_upstream_statuspoint)offset_executive/p1.rs:4611assertsErr(SolidError::Upstream { code: 1001, .. }). The offset executive units readsm_statusand are unaffected. The same new-cause trap as TE-O-19 (#19852) applies to any unit that readsupstream_status.surface/surface_cache/p1.rs:1207, 2296, 2312, 2324surface_failed(SM_ERR). AnySurfaceFailurekeepsupstream_status. The new variant must reportSM_ERR(with_statusif its default differs).query/api_queries.rs:827find_edge,find_facesquery_failed(SM_ERR) becomes aQueryFailure;upstream_statusis stillSome, provided the status staysSM_ERR.Optionunless every caller is in this ticket"topology.edgeandtopology.edgeuse_*record each one's status. A signature change permitted by this sentence would change those rows.blend/fillet_corner/p1.rs:1508-1512, 2045-2058p1.rs:3739, 3806assertblend_failure()andupstream_status(), which do not change. No blend golden holds Display text.blend/fillet_executive/p3.rs:94-117 + stage calls,session/finish.rs:77-83, 1082finish.rs:1640andsolidcore-ops/src/blend/tests.rsassertblend_failure(), the status and ops' phrase, which comes fromBlendFailure's Display and so does not change.refusable()readsupstream_status, which does not change.is_refusal()of the outer error now follows the cause, but no library code reads it.error/blend.rstest constantfillet_executive/session.rs:2483-2547,p1.rs:1210, 1342-1351fillet_corner/p1.rs:3280-3292,p2.rs:1661-1671p2.rs:2373assertsblend_failure()andupstream_status(), which do not change.StageFailedfillet_section/certificate.rs(OP= "blend::fillet_section::certificate")upstream_statusare keptsurface/surface/exact_pieces.rs:631is_certificate_sm_err(upstream_status()==Some(SM_ERR)plus the operation) turns it intoOk(None)and subdivides. The ticket namesspan_of_definitionbut not this.surf_of_revolution/p2.rs:94is_off_generator(OP_STEP_INV);geom/local_solve_nd.rs:78is_bad_jacobianupstream_statusare keptupstream_status()==Some(SM_ERR), and the first also on the operation. The tickets do not name them.Not repeated here: TE-B-16 (#19826)
is_open_base_refusaland TE-B-10 (#19819)span_of_definition. The tickets already cover both correctly (keep the status, the operation and the entity).Written by Claude Code (Anthropic) on behalf of @brett19.