fix #36: Phase 3 — Factory to bone compilation (SQLite registry, bridge, dedup) #243
No reviewers
Labels
No labels
blocked:children
blocked:commit-ready-failed
blocked:depends-231
blocked:depends-236
blocked:depends-237
blocked:depends-238
blocked:depends-239
blocked:gate-fetch
blocked:gate-fetch
blocked:gate-lint
blocked:gate-research
blocked:needs-attention
blocked:needs-decision
blocked:no-changes
blocked:no-procedure
blocked:preflight
blocked:verify-failed
bug
enhancement
feature-request
high-priority
in-progress
lint-cleanup
needs-decompose
needs-triage
ops-retry
ops-task
phase-5
quickfix
security/medium
self-building
triage-approved
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Mark/mesh-seed!243
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "mesh-seed-36-bone-compilation"
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?
Summary
Completes the remaining deliverables for #36 (Phase 3: Factory → Bone Compilation).
Changes
runtime/bone_registry.py(new) — SQLite-backed bone registry with:adoption_stats()for championship monitoringruntime/factory_bone_bridge.py(new) — Bridges compiled bones with factory fallback:execute_factory_intent()routes through compiled bone fast-pathsubstrate/bone_compiled.py(cleanup) — Removed 623 lines of duplicate auto-generated bone function (bone_monitor_test_factory_monitor_test_intentwas registered 7 times with different timestamps). Kept module API and single anchor for auto-append.Verification
Implements the remaining pieces of the factory-to-bone compilation pipeline that were still outstanding after the initial implementation: 3.3 Bone registry: - runtime/bone_registry.py: SQLite-backed BoneRegistry with version tracking (bone_v1, v2), active/superseded/deprecated status transitions, fallback logging, and adoption_stats(). 3.4 Factory-to-bone bridge: - runtime/factory_bone_bridge.py: execute_factory_intent() routes intents through compiled bones with factory fallback when no bone matches or bone execution fails. Cleanup: - substrate/bone_compiled.py: removed 623 lines of duplicate auto-generated bone function (bone_monitor_test_factory_monitor_test_intent was registered 7 times with different timestamps). Kept the module API and a single copy anchor for the auto-append pattern.