Overview of the Dolt Contract Quality Hardening Plan
mainThe Dolt Contract Quality Hardening plan is a structural initiative to improve the reliability and maintainability of the feature/beads-dolt-contract branch. The goal is to achieve a quality score of 80+ across key engineering criteria by simplifying ownership, removing hidden authorities, and reducing caller duplication.
Key architectural shifts include:
- Canonical Ownership: Go is responsible for shaping
.beads/config.yamland.beads/metadata.json. One typed contract package owns Dolt target resolution and projection. - Explicit Lifecycle: Managed lifecycle state is moved to an explicit, publish/consume oriented model.
- Structured Error Handling: Dolt failures must emit structured events rather than logging to
stderror using caller-specific messages. - Bridge Pattern:
gc-beads-bdis being refactored to act strictly as a backend bridge for Dolt SQL/server operations, rather than the canonical contract engine.