# Sprint 141 Plan: Hybrid Authoring Foundations (Text-First + AST-First) ## Context AST-first remains deterministic, but many users need immediate productivity in classical languages (especially C++). Sprint 141 introduces explicit hybrid authoring modes so teams can ship today while preserving AST-backed guarantees. --- ## Goals 1. Add explicit authoring modes (`text_first`, `ast_first`, `hybrid`) 2. Make C++ text-first the production-ready default option 3. Persist mode/state in workspace/session config 4. Keep deterministic AST projection available in all modes --- ## Steps ### Step 1649: Authoring mode schema and state model (10 tests) ### Step 1650: Workspace mode policy bindings (10 tests) ### Step 1651: Session-level mode override model (10 tests) ### Step 1652: C++ text-first default profile model (10 tests) ### Step 1653: `whetstone_get_authoring_mode` MCP tool (8 tests) ### Step 1654: `whetstone_set_authoring_mode` MCP tool (8 tests) ### Step 1655: `whetstone_get_mode_capabilities` MCP tool (8 tests) ### Step 1656: Mode transition event packet model (8 tests) ### Step 1657: Hybrid mode readiness report artifact (8 tests) ### Step 1658: Sprint 141 integration summary + regression (8 tests) --- ## Architecture Gate - Mode changes must be deterministic and auditable - C++ text-first profile must be stable and defaultable per workspace - Capability reports must be machine-readable - Max 600 lines per header