Repository navigation
GEOM-04: continuous clearance refinement, declared hardware and UI - #63
Merged
Merged
Conversation
Owner
Author
|
bugbot run verbose=true |
Contributor
|
Bugbot request id: serverGenReqId_aec40eb2-0ed3-4753-995d-948e64f8d8d3 |
Contributor
Bugbot rules debugNo rules were used for this review. https://cursor.com/docs/bugbot#team-rules Bugbot request id: serverGenReqId_aec40eb2-0ed3-4753-995d-948e64f8d8d3 |
Owner
Author
|
bugbot run verbose=true |
Contributor
|
Bugbot request id: serverGenReqId_c4753165-4844-481c-b3c7-c742ba168750 |
Contributor
Bugbot rules debugNo rules were used for this review. https://cursor.com/docs/bugbot#team-rules Bugbot request id: serverGenReqId_c4753165-4844-481c-b3c7-c742ba168750 |
Contributor
There was a problem hiding this comment.
✅ Bugbot reviewed your changes and found no new issues!
Comment @cursor review or bugbot run to trigger another review on this PR
Reviewed by Cursor Bugbot for commit 95e049c. Configure here.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
GEOM-03 leaves overlapping BVH boxes unresolved and models the hub only as an infinite cylinder. Hardware dimensions, containment and nearby surface distance need explicit bounded queries before the workspace can screen a folding path usefully.
Changes
Validation
TDD RED/GREEN evidence for narrow phase, service budget/identity, hardware topology/containment/precision, motion integration and UI lifecycle.
Local full suite: 1459 passed, 9 skipped, 37 subtests passed. Subsequent binding regression plus all hardware-motion tests: 7 passed; final CI includes the added test.
Independent application/UI review: 61 focused tests passed, no blockers. Independent hardware review: 40 focused tests and 9 additional analytical scenarios passed, no blockers. Reviewer findings about rounded contacts, coincident solids and missing binding coverage were addressed.
Streamlit AppTest passes; actual server health and root HTML both returned HTTP 200. Documented JSON parses; local links, compile and whitespace checks pass.
Published tree equals local tested implementation tree:
ea649f86a844e3f18d9d1d371f8c9f77d0d19c97.Final Bugbot fix: normalize reverse solid-query witnesses to caller body order. Four directional regressions (observed RED/GREEN); 59 affected tests passed, separate reviewer PASS with 29 hardware tests. Final head:
95e049c70d2959baa2b5500b85e61bf2c44016bd.Integration gates and limits
Final head
95e049c70d2959baa2b5500b85e61bf2c44016bd: Python 3.10/3.11 CI passed (run 35186732969); Python 3.11 reports 1464 passed, 9 skipped, 37 subtests passed. Cursor Bugbot reviewed this head and found no new issues; the previous witness-order finding is fixed and resolved. Independent review also passed. Gemini is not a gate.Synchronous planar geometry screening only.
physical_qualification=false,full_propeller_clearance=null; no automatic promotion of GEOM-01 candidates. General CAD solids, asynchronous motion and experimental qualification remain separate work. PR #3 and unrelated report edits are untouched.Note
Medium Risk
Changes core geometry screening paths (clearance refinement, hub modeling, new JSON inputs) and report schema versioning; bounded work and identity checks limit blast radius but wrong hardware or budget exhaustion still affects screening conclusions.
Overview
Completes GEOM-04 by tightening GEOM-03 surface clearance with triangle-level refinement and optional, source-bound hub/attachment hardware in the same folding-path screening flow.
Narrow phase: BVH leaves now call exact triangle distance (and projected hub distance) under a separate feature-test budget, with motion-aware separation bounds, distinct contact semantics at zero clearance, and richer interval rows (method, contact, witness points).
Declared hardware: New strict JSON contract (
hardware_contract) and convex/cylinder geometry (geometry/hardware) feed bounded surface–solid and solid–solid motion queries (hardware_clearance). A matching finite hub replaces only the infinite-cylinder hub job; extra bodies add hardware queries. Reports move to schema 2 with shared BVH/feature/hardware budgets and source-bound request identity.UI: The geometry workspace gains persistent optional hardware upload/clear, size limits, feature/hardware budget selectors, expanded result tables/witness export, and docs/roadmap updates marking GEOM-04 implemented. Screening-only limits (
physical_qualification=false) are unchanged.Reviewed by Cursor Bugbot for commit 760db79. Configure here.