Skip to content
This repository was archived by the owner on Nov 25, 2026. It is now read-only.

docs(project): record Phase 1 / Phase 2 decomposition for marker/ledger AST - #759

Merged
wmadden merged 1 commit into
mainfrom
tml-2754-plan-phase-1-decomposition
Jun 8, 2026
Merged

wmadden merged 1 commit into
mainfrom
tml-2754-plan-phase-1-decomposition

Conversation

@wmadden-electric

Copy link
Copy Markdown
Contributor

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:

After 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

  • Render the markdown locally — headings + slice list flow correctly.
  • Reviewer: the Phase 1 / Phase 2 framing matches the decisions we agreed in the planning discussion.

🤖 Generated with Claude Code

…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]>
@wmadden-electric
wmadden-electric requested a review from a team as a code owner June 8, 2026 06:06
@coderabbitai

coderabbitai Bot commented Jun 8, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Review was skipped due to path filters

⛔ Files ignored due to path filters (1)
  • projects/migrate-marker-ledger-to-typed-query-ast-commands/plan.md is excluded by !projects/**

CodeRabbit blocks several paths by default. You can override this behavior by explicitly including those paths in the path filters. For example, including **/dist/** will override the default block on the dist directory, by removing the pattern from both the lists.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yml

Review profile: CHILL

Plan: Pro

Run ID: 13222fb1-727a-4924-9349-6b3e6397294e

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch tml-2754-plan-phase-1-decomposition

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@wmadden
wmadden merged commit a4f22d0 into main Jun 8, 2026
12 checks passed
@wmadden
wmadden deleted the tml-2754-plan-phase-1-decomposition branch June 8, 2026 06:08
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants