Repository navigation
fix(mechanism): find the hinge line, keep its rooms under a closure, say what works (#446) - #458
Merged
Merged
Conversation
…say what works (#446) The hinged box of the token run took five partbuddy_mechanism calls, three refused. - hinge: from and to may be left out; the line goes in the middle of the gap between the two bodies, at their rims (box built open) or half the barrel above the bed (plates). A line that misses a body is answered with the line that reaches both, or with what stands in the way (rims at two heights). - A skin behind the knuckles' rooms is answered with the wall thickness that keeps two lines, or the one under which the rooms open through. - closure: takes the line of a hinge PartBuddy built in the lid, and makes the lid's part of that hinge again after the lip. The foot filled the rooms that open through the lid's wall (17 mm³ shared with the box, taken back) and the cut at the hinge wall sliced the lid's knuckles (0.2 mm skin over the bore). The foot reaches no further than the room at that wall. - Audit case box-446 replays the run's box against SolidCraft: both build, no shared volume, print check ready. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
ManuelStaggl
pushed a commit
that referenced
this pull request
Nov 16, 2026
🤖 I have created a release *beep* *boop* --- ## [0.3.2](v0.3.1...v0.3.2) (2026-11-15) ### Features * a model per step of the assistant's work ([#446](#446)) ([#451](#451)) ([7b3b9e8](7b3b9e8)) * blocks placed by expressions follow the design's parameters ([#446](#446)) ([#454](#454)) ([3ca7c89](3ca7c89)) * branded sign-in callback page for ChatGPT ([#448](#448)) ([44d7fca](44d7fca)) * hand the chat over to a fresh conversation, warn near the plan's limit ([#446](#446)) ([#455](#455)) ([cda0e68](cda0e68)) * log the own loop's rounds, ask for batched calls ([#446](#446)) ([#453](#453)) ([9d4dff9](9d4dff9)) * **mechanism:** hinge and closure follow the design's parameters ([#446](#446)) ([#460](#460)) ([a0ff3fd](a0ff3fd)) ### Bug Fixes * a chatgpt turn that stops after its web search goes on ([#446](#446)) ([#456](#456)) ([b30ce73](b30ce73)) * a test window shown on purpose paints instead of staying black ([#457](#457)) ([257c1ed](257c1ed)) * claude code gets solidcraft's instructions and partbuddy's notes in its system prompt ([#446](#446)) ([#459](#459)) ([7c62a8a](7c62a8a)) * **deps:** update ai to v7.0.165 and @ai-sdk/openai to v4.0.111 together ([#442](#442)) ([8c5ed17](8c5ed17)) * **deps:** update dependency clipper2-ts to v2.0.1-19 ([#426](#426)) ([57e833b](57e833b)) * **deps:** update dependency i18next-icu to v2.7.0 ([#434](#434)) ([3afff05](3afff05)) * **deps:** update dependency react-i18next to v17.1.13 ([#428](#428)) ([c5012cb](c5012cb)) * **deps:** update dependency rehype-harden to v1.1.9 ([#429](#429)) ([11e6162](11e6162)) * **deps:** update dependency three-mesh-bvh to v0.9.18 ([#430](#430)) ([d0d5c5f](d0d5c5f)) * **deps:** update dependency xstate to v5.33.4 ([#431](#431)) ([c602cfe](c602cfe)) * **deps:** update dependency zustand to v5.1.0 ([#435](#435)) ([24518c2](24518c2)) * **deps:** update i18next to v27 and react-i18next to v18 together ([#441](#441)) ([8bd11c4](8bd11c4)) * **deps:** update shiki monorepo to v4.6.0 ([#436](#436)) ([9ca310f](9ca310f)) * **mechanism:** find the hinge line, keep its rooms under a closure, say what works ([#446](#446)) ([#458](#458)) ([9cce35f](9cce35f)) * signing in again after signing out starts a fresh sign-in ([#445](#445)) ([#447](#447)) ([2a1ca6d](2a1ca6d)) * the policy knows run-together clearance names and "Spalt" ([#444](#444)) ([9ae231d](9ae231d)) ### Performance * claude code loads tools on demand, with partbuddy's own system prompt ([#446](#446)) ([#452](#452)) ([5926d2d](5926d2d)) * fewer lookup rounds and no model turn for simple commands ([#446](#446)) ([#450](#450)) ([caa76f8](caa76f8)) * measure and cut the assistant's token use, first package ([#446](#446)) ([#449](#449)) ([511c23a](511c23a)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
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.
Part of #446. The hinged box ("80 x 60 x 40 mm, lid on a print-in-place hinge, snap closure at the front") took five
partbuddy_mechanismcalls, three refused, then three undos and a rebuild; every retry resent the whole conversation.What changes
from/to: PartBuddy puts the line in the middle of the gap between the two bodies, along the stretch both share, at their rims (box built open) or half the barrel above the bed (plates), and says where. What stands in the way is said instead (rims at two heights, too far apart, diagonal).hinge_from/hinge_toneeded), and makes the lid's part of the hinge again after the lip (hingeStepsfiltered to the lid). The run's failure, replayed against SolidCraft (tools/audit/cases/box-446.case.ts): the foot filled the rooms that open through the lid's wall (17.16 mm³ shared with the box, taken back), and the cut at the hinge wall sliced the lid's knuckles (0.2 mm skin over the bore). The foot now reaches no further than the room at that wall.Measured (real Claude Code,
token-probe.spec.ts,PROBE_REAL=1, same request)Tests
test/mechanism.test.ts: 91 passed (new: line finding, offer, skin numbers,builtHinges, closure on a built hinge, foot at the hinge wall)box-446(both build, no shared volume, print check ready, folds to 177°),mechanik-fixtemplate still readytest/supervisor.test.tsfails locally onmaintoo (not this change)🤖 Generated with Claude Code