feat(cam-clear): blend-corridor engagement re-certification #82
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "patman/clear-corridor"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Retires #79's honest boundary "engagement certified on nominal path only".
ClearParamsgainsblend_corridor: the plan's certified/reported engagement now covers ANY execution whose per-pass realized tool-center path stays within the corridor of nominal -- exactly whatblend_passenforces when called withmax_deviation = blend_corridor(the corridor width does double duty with the blend deviation certificate).Mechanism: every per-feature penetration in the certified-engagement machinery is evaluated at
pen + 2c(c for the blended tool straying outward -- 1-Lipschitz; c for the prior pass's inward undercut leaving stock proud -- disk-inclusion), vertex blend-zone reach widens tor + 2c, and the Case-A/B innermost "proven zero" becomes an honest closed-form two-circle bound at penetration 2c (the inclusion proof only holds on the nominal path). Validation caps2c <= 0.05 * tool_radius. Corridor 0 reproduces the nominal plan bitwise (pinned on the three standard fixtures).Tests: bitwise-zero identity, monotonicity in c, flagship adversarial brute-force (independent StockState ground truth vs eroded-envelope stock + outward-pushed tool samples -- a missing margin would exceed the slack by ~3 orders), Case-A bump, validation, and an e2e in cam-drive (plan -> blend within budget -> drive_plan_fourth).
Caller contract (disclosed in cam-drive docs): the certificate holds only when blending uses
max_deviation <=the planning corridor;RingPlandoes not retain the corridor, so this is not runtime-enforced.Adversarially reviewed (independent re-derivation of the Lipschitz/undercut/2c arguments, all 8 margin call sites audited, reach widening, sect. 3(b) survival, flagship independence + non-vacuity by magnitude): PASS; one MEDIUM doc-wording finding (certified_error invariance justification) corrected per the reviewer's exact wording.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.