Repository navigation
docs(project): record Phase 1 / Phase 2 decomposition for marker/ledger AST - #759
Conversation
…lices Decomposes the "Follow-up slices (tracked; tickets created at pickup)" placeholder in the marker/ledger-via-typed-query-AST project plan into a concrete Phase 1 (3 slices to prove planner adoption across all three targets) + a Phase 2 (decomposition deferred until Phase 1 settles the substrate). Phase 1: - Slice 5 sqlite-create-table-adoption (smallest; substrate from slice 4) - Slice 6 mongo-planner-create-collection-and-index-adoption (two op kinds so the second exercises the substrate against a different shape) - Slice 7 pg-add-column-pioneer (the highest-risk substrate decision left in the project — settles the ALTER TABLE node shape that PG's remaining column ops + constraint ALTERs reuse) All three are independent and can run in parallel. After they land, all three targets demonstrate planner adoption against the substrate kinds that matter (CREATE-shape on SQLite, command-shape on Mongo, ALTER-shape on PG), so the project DoD's adoption clause is met by the literal reading. Phase 2 — porting the remaining ops + cross-cutting precheck/postcheck-via-AST + ADR — is intentionally not decomposed yet; slice boundaries become obvious only after Phase 1 settles the per-target adoption shapes. Also updates the plan to reflect that slices 1–4 are shipped and fixes the stale "Linear TBD" on slice 1 (it's TML-2761). Co-Authored-By: Claude Opus 4.8 <[email protected]> Signed-off-by: Will Madden <[email protected]>
|
Important Review skippedReview was skipped due to path filters ⛔ Files ignored due to path filters (1)
CodeRabbit blocks several paths by default. You can override this behavior by explicitly including those paths in the path filters. For example, including ⚙️ Run configurationConfiguration used: Path: .coderabbit.yml Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
Decomposes the "Follow-up slices (tracked; tickets created at pickup)" placeholder in the marker/ledger via typed query AST project plan into a concrete Phase 1 + a deliberately-deferred Phase 2.
Phase 1 — three independent pioneers, parallelisable:
sqlite-create-table-adoption(smallest; substrate from slice 4 / TML-2754: Postgres migration planner builds CREATE TABLE / CREATE SCHEMA as typed DDL through the adapter #751)mongo-planner-create-collection-and-index-adoption(two op kinds so the second exercises the substrate against a different shape)pg-add-column-pioneer— the highest-risk substrate decision left in the project; settles the ALTER TABLE node shape that PG's remaining column ops + constraint ALTERs reuseAfter Phase 1 lands, all three targets demonstrate planner adoption against the substrate kinds that matter (CREATE-shape on SQLite, command-shape on Mongo, ALTER-shape on PG). The project DoD's adoption clause is met by the literal reading.
Phase 2 — complete the refactor; decomposition deferred. Port the remaining ops in all three targets + cross-cutting precheck/postcheck-via-AST + ADR. Slice boundaries become obvious only once Phase 1 has settled the per-target adoption shapes; the discipline that paid off in slice 4 (which split mid-flight) applies here.
Also updates the plan to mark slices 1–4 shipped and fixes the stale "Linear TBD" on slice 1.
Scope statement
Documentation only —
projects/migrate-marker-ledger-to-typed-query-ast-commands/plan.md. No code or test changes.Test plan
🤖 Generated with Claude Code