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

Close out marker-ledger-to-typed-query-ast-commands — migrate design substrate; delete workspace - #867

Merged
wmadden-electric merged 5 commits into
mainfrom
project-closeout-marker-ledger
Jun 25, 2026
Merged

wmadden-electric merged 5 commits into
mainfrom
project-closeout-marker-ledger

Conversation

@wmadden-electric

@wmadden-electric wmadden-electric commented Jun 24, 2026 •

Copy link
Copy Markdown
Contributor

Linked issue

Close-out of Marker/ledger via typed query AST. Phase-2 op porting + the project's deferred ADR migrate into the new project Typed DDL migration ops — complete the conversion (TML-2919/2920/2921/2922/2923/2925/2927/2866).

At a glance

137 files changed, 9067 deletions(-)

Removes projects/migrate-marker-ledger-to-typed-query-ast-commands/ after the final retro, and migrates the durable design notes (the seven design principles, the DDL visitor + dispatch model, the table-level constraint shape, the codec-handling split, the planner-lowering mechanism, the Mongo runner-boundary lowering) into the successor project's workspace as draft material for TML-2923's ADR. No source-code changes. External-reference scan was clean before the delete.

The design notes land at projects/typed-ddl-migration-ops/typed-ddl-design-notes.md — the workspace of the successor "Typed DDL migration ops" project, whose spec.md/plan.md arrive on main with PR #840 (in flight). The notes are voice-rewritten to strip the project-shaping framing (the close-out workflow's Step 4.5 disposition) and banner-marked as draft-for-TML-2923 — its ADR slice absorbs/replaces this file when it lands.

Decision

Project closes; workspace is deleted. The project's DoD is met or explicitly-deferred-with-ticket:

  1. All 11 slices merged.
  2. Final retro recorded (commit 36279033f immediately preceding the delete).
  3. Long-lived methodology — the seven design principles + the DDL-as-target-contributed-AST model + the table-constraint shape + codec-handling split + planner lowering mechanism — migrated to the successor project's workspace as draft material that TML-2923's ADR absorbs. The canonical ADR ("DDL as a target-contributed query-AST kind + adapter DDL-lowering seam") + Adapters & Targets / Migration System subsystem-doc updates are owned by TML-2923 in the successor project, where the dust from Phase-2's remaining design decisions has to settle first.
  4. No external references to the project dir; nothing to re-point or remove.

Project DoD verification (acceptance criteria in spec.md)

AC Status Evidence
Team-DoD floor ✅ met repo-wide gates green on every merged slice; Linear close-out via this PR; ADR audit covered by AC #9 (deferred)
SQL query AST represents CREATE TABLE + CREATE SCHEMA as target-contributed nodes ✅ met Slice 1 (TML-2761, foundational) — merged
All in-scope marker/ledger ops execute via adapter.lower() → driver; zero db.collection() in marker-ledger.ts ✅ met Slice 2 (TML-2753 SQL) + Slice 3 (TML-2825 Mongo) — both merged
Each family's marker CRUD behind one control-adapter SPI; duplicate read paths + parseContractMarkerRow + raw-SQL write builders collapsed ✅ met TML-2753 outcome (sql-marker-ops-through-adapter)
SqlControlAdapter exposes marker-write methods symmetric with MongoControlAdapter ✅ met TML-2753
Contract-free construction surface per family; no in-scope op hand-builds nodes by object literal or concatenates raw SQL ✅ met TML-2761 (SQL DDL surface) + TML-2825 corrective round 2 (Mongo). Phase-2 op-porting tracked by TML-2919/2920/2921/2922 in the successor project.
Two as casts in Mongo marker-ledger.ts eliminated; cast ratchet not regressed ✅ met TML-2825
Invariant-merge converges on accumulate-dedupe across PG + SQLite; test pins for both dialects ✅ met TML-2753
Migration planner adopts typed AST across all three targets (or residual deferred with tracked follow-ups) ✅ met Phase 1 closed: Slice 5 SQLite (#768 / TML-2859), Slice 7 PG ALTER (#813), Slice 6 Mongo (#816 / TML-2888). Residual op-porting deferred to the successor project.
ADR "DDL as a target-contributed query-AST kind + adapter DDL-lowering seam" + subsystem-doc updates (Adapters & Targets, Migration System) 🟡 partially met Durable design notes migrated to projects/typed-ddl-migration-ops/typed-ddl-design-notes.md as draft material; canonical ADR + subsystem-doc updates owned by TML-2923 in the successor project, where the dust from Phase-2's remaining design decisions has to settle first.

Slices merged in this project

Slice Linear PR
ddl-in-query-ast (foundational) TML-2761 merged
sql-marker-ops-through-adapter TML-2753 merged
mongo-marker-ledger-through-adapter TML-2825 merged
planner-create-table-adopts-ddl-ast TML-2754 #751
codec-routed-ddl-defaults TML-2867 #794
sqlite-create-table-adoption (Phase 1) TML-2859 #768
pg-add-column-pioneer (Phase 1) — #813
mongo-planner-create-collection-and-index-adoption (Phase 1) TML-2888 #816
typed-migration-verification-queries TML-2889 #825
un-namespaced-pg-defaults-to-public TML-2916 #838
pg-addcolumn-opid-and-codecref-roundtrip TML-2918 #837

What follows in the successor project

Typed DDL migration ops — complete the conversion owns:

  • TML-2919 (in flight as #840) — PG: remaining raw-SQL op-builders → typed DDL; delete buildAddColumnSql.
  • TML-2920 — PG: model CREATE EXTENSION as first-class entity kind.
  • TML-2921 — SQLite: convert op execute steps to typed DDL.
  • TML-2922 — SQLite: RecreateTable + AST growth (CASE WHEN, row-tuple IN).
  • TML-2866 — SQLite inline-autoincrement: stop smuggling column options through DdlColumn.type.
  • TML-2923 — ADR + subsystem docs (the deferred AC Add db verify schema CLI command #10 from this project).
  • TML-2925 — Rewrite dataTransform op factory: defer lowering, type the EXISTS wrapper.
  • TML-2927 — Introduce PostgresTableRef end-to-end (typed table refs).

Reviewer notes

  • Deletion is the only behavioral change — 56 files removed, 5087 deletions, zero additions outside the final retro. Source code, fixtures, examples, and tests are untouched.
  • External-reference scan was empty before delete (rg -l "projects/migrate-marker-ledger-to-typed-query-ast-commands/" --glob '!projects/migrate-marker-ledger-to-typed-query-ast-commands/**' --glob '!.git/**' returned no matches). No links to re-point.
  • The two commits are intentionally split (docs(marker-ledger): final close-out retro then chore: close out … — delete workspace) so the final retro is preserved as a tracked commit on main for archeology if anyone later asks "how did Phase 2 get extracted out cleanly?"
  • The migrated doc is draft material, not a finished ADR. The design notes capture the steady-state architecture (the principles, the visitor/dispatch model, the constraint shape, the codec split, the lowering mechanism); they live in the successor project's workspace alongside its spec.md/plan.md, where TML-2923's ADR slice absorbs/replaces it. Writing the canonical ADR here, before the remaining Phase-2 design decisions (TML-2919/2920/2921/2922) land, would produce a doc that drifts within weeks.
  • The doc lands on main before the successor project's workspace does (TML-2919/TML-2919: convert not-null temp-default recipe to typed DDL; delete buildAddColumnSql #840 also creates projects/typed-ddl-migration-ops/ but is in flight). If this PR merges first, my commit creates the dir; if TML-2919: convert not-null temp-default recipe to typed DDL; delete buildAddColumnSql #840 merges first, my file lands next to its spec/plan. Either order works.

Testing performed

  • Worktree gates not re-run for a delete-only PR; the merged slices each shipped with their own gate runs.
  • rg reference scan confirmed pre-delete.

Skill update

n/a — internal project workspace removal.

Checklist

  • All commits signed off (DCO).
  • Scoped to one logical concern (project close-out).
  • Tests are updated — n/a (delete-only, no behavioral change).
  • PR title in <TICKET-or-scope>: <sentence-case title> form.
  • Skill update filled in (n/a).

wmadden-electric and others added 3 commits June 24, 2026 16:14
Signed-off-by: willbot <[email protected]>
Signed-off-by: Will Madden <[email protected]>
…r TML-2923 ADR

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
Signed-off-by: willbot <[email protected]>
Signed-off-by: Will Madden <[email protected]>
…orkspace

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
Signed-off-by: willbot <[email protected]>
Signed-off-by: Will Madden <[email protected]>
@wmadden-electric
wmadden-electric requested a review from a team as a code owner June 24, 2026 14:32
@coderabbitai

coderabbitai Bot commented Jun 24, 2026 •

Copy link
Copy Markdown
Contributor

Important

Review skipped

Review was skipped due to path filters

⛔ Files ignored due to path filters (57)
  • projects/migrate-marker-ledger-to-typed-query-ast-commands/design-notes.md is excluded by !projects/**
  • projects/migrate-marker-ledger-to-typed-query-ast-commands/learnings.md is excluded by !projects/**
  • projects/migrate-marker-ledger-to-typed-query-ast-commands/plan.md is excluded by !projects/**
  • projects/migrate-marker-ledger-to-typed-query-ast-commands/retros.md is excluded by !projects/**
  • projects/migrate-marker-ledger-to-typed-query-ast-commands/slices/codec-routed-ddl-defaults/dispatches/01-async-interface-plumbing.md is excluded by !projects/**
  • projects/migrate-marker-ledger-to-typed-query-ast-commands/slices/codec-routed-ddl-defaults/dispatches/02-pg-consumer-rewire.md is excluded by !projects/**
  • projects/migrate-marker-ledger-to-typed-query-ast-commands/slices/codec-routed-ddl-defaults/dispatches/03-sqlite-consumer-rewire.md is excluded by !projects/**
  • projects/migrate-marker-ledger-to-typed-query-ast-commands/slices/codec-routed-ddl-defaults/dispatches/04-mechanical-sweep.md is excluded by !projects/**
  • projects/migrate-marker-ledger-to-typed-query-ast-commands/slices/codec-routed-ddl-defaults/dispatches/05-codec-wiring.md is excluded by !projects/**
  • projects/migrate-marker-ledger-to-typed-query-ast-commands/slices/codec-routed-ddl-defaults/dispatches/06-bootstrap-migration-walker-deletion.md is excluded by !projects/**
  • projects/migrate-marker-ledger-to-typed-query-ast-commands/slices/codec-routed-ddl-defaults/dispatches/07-executable-statement-convergence.md is excluded by !projects/**
  • projects/migrate-marker-ledger-to-typed-query-ast-commands/slices/codec-routed-ddl-defaults/dispatches/08-control-query-param-encoding.md is excluded by !projects/**
  • projects/migrate-marker-ledger-to-typed-query-ast-commands/slices/codec-routed-ddl-defaults/dispatches/09-query-branch-end-to-end-test.md is excluded by !projects/**
  • projects/migrate-marker-ledger-to-typed-query-ast-commands/slices/codec-routed-ddl-defaults/plan.md is excluded by !projects/**
  • projects/migrate-marker-ledger-to-typed-query-ast-commands/slices/codec-routed-ddl-defaults/spec.md is excluded by !projects/**
  • projects/migrate-marker-ledger-to-typed-query-ast-commands/slices/ddl-in-query-ast/plan.md is excluded by !projects/**
  • projects/migrate-marker-ledger-to-typed-query-ast-commands/slices/ddl-in-query-ast/spec.md is excluded by !projects/**
  • projects/migrate-marker-ledger-to-typed-query-ast-commands/slices/mongo-marker-ledger-through-adapter/plan.md is excluded by !projects/**
  • projects/migrate-marker-ledger-to-typed-query-ast-commands/slices/mongo-marker-ledger-through-adapter/spec.md is excluded by !projects/**
  • projects/migrate-marker-ledger-to-typed-query-ast-commands/slices/mongo-planner-create-collection-and-index-adoption/dispatches/01-adapter-lowering-and-runner-unification.md is excluded by !projects/**
  • projects/migrate-marker-ledger-to-typed-query-ast-commands/slices/mongo-planner-create-collection-and-index-adoption/dispatches/02-builder-terminals-and-construction.md is excluded by !projects/**
  • projects/migrate-marker-ledger-to-typed-query-ast-commands/slices/mongo-planner-create-collection-and-index-adoption/dispatches/03-codec-resolution-dedup.md is excluded by !projects/**
  • projects/migrate-marker-ledger-to-typed-query-ast-commands/slices/mongo-planner-create-collection-and-index-adoption/plan.md is excluded by !projects/**
  • projects/migrate-marker-ledger-to-typed-query-ast-commands/slices/mongo-planner-create-collection-and-index-adoption/reviews/code-review.md is excluded by !projects/**
  • projects/migrate-marker-ledger-to-typed-query-ast-commands/slices/mongo-planner-create-collection-and-index-adoption/spec.md is excluded by !projects/**
  • projects/migrate-marker-ledger-to-typed-query-ast-commands/slices/pg-add-column-pioneer/dispatches/01-alter-table-node-shape.md is excluded by !projects/**
  • projects/migrate-marker-ledger-to-typed-query-ast-commands/slices/pg-add-column-pioneer/plan.md is excluded by !projects/**
  • projects/migrate-marker-ledger-to-typed-query-ast-commands/slices/pg-add-column-pioneer/spec.md is excluded by !projects/**
  • projects/migrate-marker-ledger-to-typed-query-ast-commands/slices/pg-addcolumn-opid-and-codecref-roundtrip/dispatches/01-fixes.md is excluded by !projects/**
  • projects/migrate-marker-ledger-to-typed-query-ast-commands/slices/pg-addcolumn-opid-and-codecref-roundtrip/plan.md is excluded by !projects/**
  • projects/migrate-marker-ledger-to-typed-query-ast-commands/slices/pg-addcolumn-opid-and-codecref-roundtrip/spec.md is excluded by !projects/**
  • projects/migrate-marker-ledger-to-typed-query-ast-commands/slices/planner-create-table-adopts-ddl-ast/plan.md is excluded by !projects/**
  • projects/migrate-marker-ledger-to-typed-query-ast-commands/slices/planner-create-table-adopts-ddl-ast/spec.md is excluded by !projects/**
  • projects/migrate-marker-ledger-to-typed-query-ast-commands/slices/sql-marker-ops-through-adapter/plan.md is excluded by !projects/**
  • projects/migrate-marker-ledger-to-typed-query-ast-commands/slices/sql-marker-ops-through-adapter/spec.md is excluded by !projects/**
  • projects/migrate-marker-ledger-to-typed-query-ast-commands/slices/sqlite-create-table-adoption/dispatches/01-lowerer-plumbing.md is excluded by !projects/**
  • projects/migrate-marker-ledger-to-typed-query-ast-commands/slices/sqlite-create-table-adoption/dispatches/02-sqlite-renderer-substrate-fix.md is excluded by !projects/**
  • projects/migrate-marker-ledger-to-typed-query-ast-commands/slices/sqlite-create-table-adoption/dispatches/03-create-table-call-refactor.md is excluded by !projects/**
  • projects/migrate-marker-ledger-to-typed-query-ast-commands/slices/sqlite-create-table-adoption/dispatches/04-sqlite-migration-create-table-method.md is excluded by !projects/**
  • projects/migrate-marker-ledger-to-typed-query-ast-commands/slices/sqlite-create-table-adoption/dispatches/05-reviewer-round-2.md is excluded by !projects/**
  • projects/migrate-marker-ledger-to-typed-query-ast-commands/slices/sqlite-create-table-adoption/dispatches/06-review-address.md is excluded by !projects/**
  • projects/migrate-marker-ledger-to-typed-query-ast-commands/slices/sqlite-create-table-adoption/plan.md is excluded by !projects/**
  • projects/migrate-marker-ledger-to-typed-query-ast-commands/slices/sqlite-create-table-adoption/spec.md is excluded by !projects/**
  • projects/migrate-marker-ledger-to-typed-query-ast-commands/slices/typed-migration-verification-queries/dispatches/01-substrate-and-first-consumers.md is excluded by !projects/**
  • projects/migrate-marker-ledger-to-typed-query-ast-commands/slices/typed-migration-verification-queries/dispatches/02-joins-exists-constraint-check.md is excluded by !projects/**
  • projects/migrate-marker-ledger-to-typed-query-ast-commands/slices/typed-migration-verification-queries/dispatches/03-pg-sweep.md is excluded by !projects/**
  • projects/migrate-marker-ledger-to-typed-query-ast-commands/slices/typed-migration-verification-queries/dispatches/04-sqlite-sweep.md is excluded by !projects/**
  • projects/migrate-marker-ledger-to-typed-query-ast-commands/slices/typed-migration-verification-queries/dispatches/05-review-findings.md is excluded by !projects/**
  • projects/migrate-marker-ledger-to-typed-query-ast-commands/slices/typed-migration-verification-queries/plan.md is excluded by !projects/**
  • projects/migrate-marker-ledger-to-typed-query-ast-commands/slices/typed-migration-verification-queries/spec.md is excluded by !projects/**
  • projects/migrate-marker-ledger-to-typed-query-ast-commands/slices/un-namespaced-pg-defaults-to-public/diagnosis.md is excluded by !projects/**
  • projects/migrate-marker-ledger-to-typed-query-ast-commands/slices/un-namespaced-pg-defaults-to-public/plan.md is excluded by !projects/**
  • projects/migrate-marker-ledger-to-typed-query-ast-commands/slices/un-namespaced-pg-defaults-to-public/spec.md is excluded by !projects/**
  • projects/migrate-marker-ledger-to-typed-query-ast-commands/spec.md is excluded by !projects/**
  • projects/migrate-marker-ledger-to-typed-query-ast-commands/subagent-registry.md is excluded by !projects/**
  • projects/migrate-marker-ledger-to-typed-query-ast-commands/trace.jsonl is excluded by !projects/**
  • projects/typed-ddl-migration-ops/typed-ddl-design-notes.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: c7d0b2dc-e094-4416-aba9-2ae795bb9072

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 project-closeout-marker-ledger

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.

@github-actions

github-actions Bot commented Jun 24, 2026 •

Copy link
Copy Markdown

size-limit report 📦

Path Size
postgres / no-emit 158.79 KB (0%)
postgres / emit 146.37 KB (0%)
mongo / no-emit 78 KB (0%)
mongo / emit 72.09 KB (0%)
cf-worker / no-emit 186.2 KB (0%)
cf-worker / emit 172.2 KB (0%)

@pkg-pr-new

pkg-pr-new Bot commented Jun 24, 2026 •

Copy link
Copy Markdown

Open in StackBlitz

@prisma-next/extension-author-tools

npm i https://pkg.pr.new/prisma/prisma-next/@prisma-next/extension-author-tools@867

@prisma-next/mongo-runtime

npm i https://pkg.pr.new/prisma/prisma-next/@prisma-next/mongo-runtime@867

@prisma-next/family-mongo

npm i https://pkg.pr.new/prisma/prisma-next/@prisma-next/family-mongo@867

@prisma-next/sql-runtime

npm i https://pkg.pr.new/prisma/prisma-next/@prisma-next/sql-runtime@867

@prisma-next/family-sql

npm i https://pkg.pr.new/prisma/prisma-next/@prisma-next/family-sql@867

@prisma-next/extension-arktype-json

npm i https://pkg.pr.new/prisma/prisma-next/@prisma-next/extension-arktype-json@867

@prisma-next/middleware-cache

npm i https://pkg.pr.new/prisma/prisma-next/@prisma-next/middleware-cache@867

@prisma-next/mongo

npm i https://pkg.pr.new/prisma/prisma-next/@prisma-next/mongo@867

@prisma-next/extension-paradedb

npm i https://pkg.pr.new/prisma/prisma-next/@prisma-next/extension-paradedb@867

@prisma-next/extension-pgvector

npm i https://pkg.pr.new/prisma/prisma-next/@prisma-next/extension-pgvector@867

@prisma-next/extension-postgis

npm i https://pkg.pr.new/prisma/prisma-next/@prisma-next/extension-postgis@867

@prisma-next/postgres

npm i https://pkg.pr.new/prisma/prisma-next/@prisma-next/postgres@867

@prisma-next/sql-orm-client

npm i https://pkg.pr.new/prisma/prisma-next/@prisma-next/sql-orm-client@867

@prisma-next/sqlite

npm i https://pkg.pr.new/prisma/prisma-next/@prisma-next/sqlite@867

@prisma-next/extension-supabase

npm i https://pkg.pr.new/prisma/prisma-next/@prisma-next/extension-supabase@867

@prisma-next/target-mongo

npm i https://pkg.pr.new/prisma/prisma-next/@prisma-next/target-mongo@867

@prisma-next/adapter-mongo

npm i https://pkg.pr.new/prisma/prisma-next/@prisma-next/adapter-mongo@867

@prisma-next/driver-mongo

npm i https://pkg.pr.new/prisma/prisma-next/@prisma-next/driver-mongo@867

@prisma-next/contract

npm i https://pkg.pr.new/prisma/prisma-next/@prisma-next/contract@867

@prisma-next/utils

npm i https://pkg.pr.new/prisma/prisma-next/@prisma-next/utils@867

@prisma-next/config

npm i https://pkg.pr.new/prisma/prisma-next/@prisma-next/config@867

@prisma-next/errors

npm i https://pkg.pr.new/prisma/prisma-next/@prisma-next/errors@867

@prisma-next/framework-components

npm i https://pkg.pr.new/prisma/prisma-next/@prisma-next/framework-components@867

@prisma-next/operations

npm i https://pkg.pr.new/prisma/prisma-next/@prisma-next/operations@867

@prisma-next/ts-render

npm i https://pkg.pr.new/prisma/prisma-next/@prisma-next/ts-render@867

@prisma-next/contract-authoring

npm i https://pkg.pr.new/prisma/prisma-next/@prisma-next/contract-authoring@867

@prisma-next/ids

npm i https://pkg.pr.new/prisma/prisma-next/@prisma-next/ids@867

@prisma-next/psl-parser

npm i https://pkg.pr.new/prisma/prisma-next/@prisma-next/psl-parser@867

@prisma-next/psl-printer

npm i https://pkg.pr.new/prisma/prisma-next/@prisma-next/psl-printer@867

@prisma-next/cli

npm i https://pkg.pr.new/prisma/prisma-next/@prisma-next/cli@867

@prisma-next/cli-telemetry

npm i https://pkg.pr.new/prisma/prisma-next/@prisma-next/cli-telemetry@867

@prisma-next/config-loader

npm i https://pkg.pr.new/prisma/prisma-next/@prisma-next/config-loader@867

@prisma-next/emitter

npm i https://pkg.pr.new/prisma/prisma-next/@prisma-next/emitter@867

@prisma-next/language-server

npm i https://pkg.pr.new/prisma/prisma-next/@prisma-next/language-server@867

@prisma-next/migration-tools

npm i https://pkg.pr.new/prisma/prisma-next/@prisma-next/migration-tools@867

prisma-next

npm i https://pkg.pr.new/prisma/prisma-next@867

@prisma-next/vite-plugin-contract-emit

npm i https://pkg.pr.new/prisma/prisma-next/@prisma-next/vite-plugin-contract-emit@867

@prisma-next/mongo-codec

npm i https://pkg.pr.new/prisma/prisma-next/@prisma-next/mongo-codec@867

@prisma-next/mongo-contract

npm i https://pkg.pr.new/prisma/prisma-next/@prisma-next/mongo-contract@867

@prisma-next/mongo-value

npm i https://pkg.pr.new/prisma/prisma-next/@prisma-next/mongo-value@867

@prisma-next/mongo-contract-psl

npm i https://pkg.pr.new/prisma/prisma-next/@prisma-next/mongo-contract-psl@867

@prisma-next/mongo-contract-ts

npm i https://pkg.pr.new/prisma/prisma-next/@prisma-next/mongo-contract-ts@867

@prisma-next/mongo-emitter

npm i https://pkg.pr.new/prisma/prisma-next/@prisma-next/mongo-emitter@867

@prisma-next/mongo-schema-ir

npm i https://pkg.pr.new/prisma/prisma-next/@prisma-next/mongo-schema-ir@867

@prisma-next/mongo-query-ast

npm i https://pkg.pr.new/prisma/prisma-next/@prisma-next/mongo-query-ast@867

@prisma-next/mongo-orm

npm i https://pkg.pr.new/prisma/prisma-next/@prisma-next/mongo-orm@867

@prisma-next/mongo-query-builder

npm i https://pkg.pr.new/prisma/prisma-next/@prisma-next/mongo-query-builder@867

@prisma-next/mongo-lowering

npm i https://pkg.pr.new/prisma/prisma-next/@prisma-next/mongo-lowering@867

@prisma-next/mongo-wire

npm i https://pkg.pr.new/prisma/prisma-next/@prisma-next/mongo-wire@867

@prisma-next/sql-contract

npm i https://pkg.pr.new/prisma/prisma-next/@prisma-next/sql-contract@867

@prisma-next/sql-errors

npm i https://pkg.pr.new/prisma/prisma-next/@prisma-next/sql-errors@867

@prisma-next/sql-operations

npm i https://pkg.pr.new/prisma/prisma-next/@prisma-next/sql-operations@867

@prisma-next/sql-schema-ir

npm i https://pkg.pr.new/prisma/prisma-next/@prisma-next/sql-schema-ir@867

@prisma-next/sql-contract-psl

npm i https://pkg.pr.new/prisma/prisma-next/@prisma-next/sql-contract-psl@867

@prisma-next/sql-contract-ts

npm i https://pkg.pr.new/prisma/prisma-next/@prisma-next/sql-contract-ts@867

@prisma-next/sql-contract-emitter

npm i https://pkg.pr.new/prisma/prisma-next/@prisma-next/sql-contract-emitter@867

@prisma-next/sql-lane-query-builder

npm i https://pkg.pr.new/prisma/prisma-next/@prisma-next/sql-lane-query-builder@867

@prisma-next/sql-relational-core

npm i https://pkg.pr.new/prisma/prisma-next/@prisma-next/sql-relational-core@867

@prisma-next/sql-builder

npm i https://pkg.pr.new/prisma/prisma-next/@prisma-next/sql-builder@867

@prisma-next/target-postgres

npm i https://pkg.pr.new/prisma/prisma-next/@prisma-next/target-postgres@867

@prisma-next/target-sqlite

npm i https://pkg.pr.new/prisma/prisma-next/@prisma-next/target-sqlite@867

@prisma-next/adapter-postgres

npm i https://pkg.pr.new/prisma/prisma-next/@prisma-next/adapter-postgres@867

@prisma-next/adapter-sqlite

npm i https://pkg.pr.new/prisma/prisma-next/@prisma-next/adapter-sqlite@867

@prisma-next/driver-postgres

npm i https://pkg.pr.new/prisma/prisma-next/@prisma-next/driver-postgres@867

@prisma-next/driver-sqlite

npm i https://pkg.pr.new/prisma/prisma-next/@prisma-next/driver-sqlite@867

commit: 69ada0c

wmadden-electric and others added 2 commits June 24, 2026 16:35
Lands in projects/typed-ddl-migration-ops/ (the successor project owning
TML-2923) instead of an invented docs/architecture docs/projects/
subdirectory. The successor project's workspace currently lives on the
in-flight TML-2919 branch (PR #840); when it merges this file lives
alongside its spec.md/plan.md as the substrate the ADR slice absorbs.

Signed-off-by: willbot <[email protected]>
Signed-off-by: Will Madden <[email protected]>
…ename from -substrate

Rewrites projects/typed-ddl-migration-ops/marker-ledger-typed-ddl-substrate.md as
typed-ddl-design-notes.md. The new file describes the architecture as it is today —
present-tense, positive properties, no project-shaping voice or before/after narrative.

Additions from the original design-notes that were missing from the first draft:
- Current architecture by family table (Mongo/Postgres/SQLite transport, SPI, invariants merge)
- Codec dispatch mechanics (CodecRef resolution via contractCodecs.forCodecRef, lazy registry growth)
- Mongo specifics expanded: why lowering happens at runner boundary, contract-free
  createFieldAccessor reuse, server-side $setUnion rationale, DDL command node set
- Typed verification queries section (TML-2889 seam): cfExpr/exprSelect/CfExprSelectQuery,
  per-target checks.ts surfaces, names-as-ParamRefs discipline

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
Signed-off-by: Will Madden <[email protected]>
Signed-off-by: willbot <[email protected]>
Signed-off-by: Will Madden <[email protected]>
@wmadden-electric
wmadden-electric added this pull request to the merge queue Jun 25, 2026
Merged via the queue into main with commit 1ce2735 Jun 25, 2026
20 checks passed
@wmadden-electric
wmadden-electric deleted the project-closeout-marker-ledger branch June 25, 2026 11:54
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