Skip to content

docs(skills): roadmap — snapClip bed-flat volume pin resolved#1108

Merged
andymai merged 1 commit into
mainfrom
docs/volume-pin-resolution
Jul 17, 2026
Merged

docs(skills): roadmap — snapClip bed-flat volume pin resolved#1108
andymai merged 1 commit into
mainfrom
docs/volume-pin-resolution

Conversation

@andymai

@andymai andymai commented Jul 17, 2026

Copy link
Copy Markdown
Owner

Summary

Resolves the long-standing snapClip bed-flat clip volume question (46.701 brepkit vs the 46.6±0.05 test pin) — it is not a brepkit defect; brepkit is the more accurate kernel.

A per-stage dual-kernel volume diff of buildSnapClip localized the entire delta to the relief cut:

stage brepkit reference delta
base extrude (chamfered/filleted profile) 52.5508 52.5502 +0.0006 (negligible)
lofted relief foot 7518.3376 7518.4000 reference +0.062 larger
relief removed 5.8498 5.9960 reference over-removes 0.146
final clip 46.7011 46.5543

The relief cutter is buildSingleCellSocket (a lofted gridfinity socket foot). A native face census of brepkit's foot shows F=34, {plane:18, cylinder:8, cone:8}, zero NURBS — brepkit represents it as exact analytic geometry (the #1045 loft-recognition). The reference kernel keeps it as a NURBS loft that bulges ~0.062mm³ outward; used as a relief cutter, that bulging wall removes 0.146mm³ more from the clip's top-bridge corners. The cutters' total volumes are identical to 0.001% — the whole difference is the local loft-surface approximation in the corner-overlap sliver.

So brepkit's 46.701 is the more accurate value, and the 46.6±0.05 pin is calibrated to the reference's NURBS-loft approximation — the roadmap's "snapshot pins are kernel-specific" class. The resolution is tool-side pin recalibration, not a brepkit change.

This also corrects a prior roadmap claim ("genuine deviation, the reference kernel passes") that saw the reference pass the pin but never checked which kernel is more correct.

Docs-only; no code change.


Summary by cubic

Updates the roadmap docs to resolve the snapClip bed-flat clip volume pin issue: a per-stage dual-kernel diff shows the delta comes from the relief cut, where brepkit’s analytic loft is more accurate than the reference’s NURBS; the fix is tool-side pin recalibration, not a brepkit change. Also corrects the earlier claim that this was a genuine deviation that the reference kernel passed.

Written for commit 293ee60. Summary will update on new commits.

Review in cubic

…t analytic more accurate than reference NURBS loft)
Copilot AI review requested due to automatic review settings July 17, 2026 19:25
@andymai
andymai enabled auto-merge (squash) July 17, 2026 19:25

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the roadmap skill documentation to record the resolution of the snapClip bed-flat volume “pin mismatch” investigation, clarifying that the observed delta is attributable to the reference kernel’s NURBS-loft approximation in the relief cutter rather than a brepkit defect.

Changes:

  • Replace the prior roadmap claim of a “genuine deviation” with a detailed explanation localizing the volume delta to the relief cut / buildSingleCellSocket cutter behavior.
  • Document that brepkit’s result is based on exact analytic faces (per the loft-recognition work in #1045), and that the acceptance pin should be recalibrated tool-side.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +262 to +264
census F=34 {plane:18,cylinder:8,cone:8}, zero NURBS — the #1045
loft-recognition) while the reference keeps a NURBS loft that bulges ~0.062mm³
and over-removes 0.146mm³ from the clip corners. brepkit's 46.701 is the MORE
Comment on lines +583 to +585
census F=34 {plane:18,cylinder:8,cone:8}, zero NURBS — the #1045
loft-recognition) while the reference keeps a NURBS loft that bulges ~0.062mm³
and over-removes 0.146mm³ from the clip corners. brepkit's 46.701 is the MORE
@github-actions

Copy link
Copy Markdown
Contributor

WASM Binary Size

File main PR Delta
brepkit_wasm.wasm 5.87 MB 5.87 MB 0 KB (0%)

✅ No size change.

@greptile-apps

greptile-apps Bot commented Jul 17, 2026

Copy link
Copy Markdown

Greptile Summary

This docs-only PR updates .claude/skills/roadmap/SKILL.md to resolve the long-standing snapClip bed-flat clip volume discrepancy (46.701 brepkit vs 46.6±0.05 pin), explaining via a per-stage dual-kernel diff that the delta is entirely due to the relief cutter being represented as exact analytic geometry in brepkit vs. a NURBS loft in the reference kernel.

  • The correction is made in two mirrored ## DEFERRED but ready sections that both contain identical snapClip family blocks; both are updated identically.
  • The resolved item is annotated in-place as RESOLVED but remains in the REMAINING sub-list, which could mislead autonomous sessions into treating it as open work.
  • The replacement text is substantially longer than the one-line-with-pointer convention the document itself mandates.

Confidence Score: 4/5

Safe to merge as a docs update, but the resolved item is still presented as part of the open REMAINING list, which the document's stated autonomous-session consumers rely on for work selection.

No code is changed. The resolution analysis is technically coherent and the two mirrored sections are updated consistently. The main risk is that an autonomous session reading the REMAINING list will still see the volume pin as a live work item — the annotation says RESOLVED but the list position implies open. The entry also violates the file's own one-line-per-entry rule, making the section harder to scan.

.claude/skills/roadmap/SKILL.md — the snapClip REMAINING list in both mirrored sections needs the resolved entry removed or explicitly excluded.

Important Files Changed

Filename Overview
.claude/skills/roadmap/SKILL.md Docs-only update: corrects the snapClip bed-flat volume entry in two mirrored "DEFERRED but ready" sections, changing it from "genuine deviation" to RESOLVED. The resolved item is not removed from the REMAINING list, and the new text exceeds the document's own one-line-per-entry rule.

Fix All in Claude Code

Reviews (1): Last reviewed commit: "docs(skills): roadmap — snapClip bed-fla..." | Re-trigger Greptile

Comment on lines 256 to 270
cache — captured operands are fallback-poisoned, never replay them directly),
the by-edge-id acceptance gate is BLIND to position-duplicate leaks (poison
propagates silently — evaluate a position-quantized gate), and the bed-flat
clip volume 46.701 vs 46.6±0.05 pin (genuine deviation, the reference kernel
passes — per-op dual-kernel volume diff).
clip volume 46.701 vs 46.6±0.05 pin — RESOLVED, NOT a brepkit defect: the
per-stage dual-kernel diff localized the whole delta to the relief cut, whose
cutter (buildSingleCellSocket) brepkit represents as EXACT ANALYTIC (native
census F=34 {plane:18,cylinder:8,cone:8}, zero NURBS — the #1045
loft-recognition) while the reference keeps a NURBS loft that bulges ~0.062mm³
and over-removes 0.146mm³ from the clip corners. brepkit's 46.701 is the MORE
accurate value; the pin is calibrated to the reference's loft approximation
(the "snapshot pins are kernel-specific" class). Resolution is tool-side pin
recalibration, not a brepkit change.

Fit-offset groove-mouth sliver family — CLOSED (2026-07-16, PR #1078, fixture
`crates/io/tests/fitoffset_groove_mouth_inmem.rs`): each groove cutter's mouth

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Resolved item left in open-work REMAINING list

The bed-flat clip volume pin is now marked RESOLVED, but it is still embedded in the REMAINING after the deepened-opening union... sub-section of the snapClip family block. An autonomous session using this file as its work-selection oracle will read this section, see a REMAINING list with three entries, and may still treat the volume pin as actionable — especially because the heading says "deepened-notch remains" and the list structure implies all three bullets are open. The resolved entry should be removed from the REMAINING list (or the list suffix should explicitly exclude it) so the open-work set is unambiguous. The same issue applies to the second mirrored copy of this block at line ~577.

Fix in Claude Code

Comment on lines 258 to 270
propagates silently — evaluate a position-quantized gate), and the bed-flat
clip volume 46.701 vs 46.6±0.05 pin (genuine deviation, the reference kernel
passes — per-op dual-kernel volume diff).
clip volume 46.701 vs 46.6±0.05 pin — RESOLVED, NOT a brepkit defect: the
per-stage dual-kernel diff localized the whole delta to the relief cut, whose
cutter (buildSingleCellSocket) brepkit represents as EXACT ANALYTIC (native
census F=34 {plane:18,cylinder:8,cone:8}, zero NURBS — the #1045
loft-recognition) while the reference keeps a NURBS loft that bulges ~0.062mm³
and over-removes 0.146mm³ from the clip corners. brepkit's 46.701 is the MORE
accurate value; the pin is calibrated to the reference's loft approximation
(the "snapshot pins are kernel-specific" class). Resolution is tool-side pin
recalibration, not a brepkit change.

Fit-offset groove-mouth sliver family — CLOSED (2026-07-16, PR #1078, fixture
`crates/io/tests/fitoffset_groove_mouth_inmem.rs`): each groove cutter's mouth

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Entry violates the document's own one-line rule

The file's maintenance contract (line 15) reads: "Keep every entry to ONE line with a pointer (a test path, a git-history PR number, a memory-free source file) that carries the detail. Never duplicate the detailed truth here; point at the repro." The new text is ~5 sentences of inline prose. If the resolution detail is worth preserving, a pointer such as RESOLVED — see PR #1108 dual-kernel diff would satisfy the rule; the full breakdown belongs in the PR or a linked note, not inline. The same applies to the mirrored copy near line 585.

Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!

Fix in Claude Code

@andymai
andymai merged commit 503ae75 into main Jul 17, 2026
22 checks passed
@andymai
andymai deleted the docs/volume-pin-resolution branch July 17, 2026 19:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants