Skip to content

Add db verify schema CLI command#10

Merged
wmadden merged 13 commits intomainfrom
db-verify-schema
Nov 14, 2025
Merged

Add db verify schema CLI command#10
wmadden merged 13 commits intomainfrom
db-verify-schema

Conversation

@wmadden
Copy link
Copy Markdown
Contributor

@wmadden wmadden commented Nov 14, 2025

No description provided.

@wmadden wmadden merged commit 300d393 into main Nov 14, 2025
12 of 14 checks passed
@aqrln aqrln deleted the db-verify-schema branch December 15, 2025 13:54
wmadden added a commit that referenced this pull request Mar 30, 2026
Promote design principles (self-describing domain model, domain/persistence
separation, scoped family details, facts-not-instructions) to cross-cutting
learnings. Update contract-symmetry with domain/storage separation proposal.
Update design questions #1 (embedding as relation property), #6 (discriminator
+ variants), #10 (domain level as shared contract surface) with concrete
design answers. Update overview with redesign summary.
wmadden added a commit that referenced this pull request Mar 30, 2026
Lead with the answer for resolved questions instead of preserving
the historical options/insights/redesign layers. Mark headings with
resolved/open status so readers know immediately.
wmadden added a commit that referenced this pull request Mar 30, 2026
Promote design principles (self-describing domain model, domain/persistence
separation, scoped family details, facts-not-instructions) to cross-cutting
learnings. Update contract-symmetry with domain/storage separation proposal.
Update design questions #1 (embedding as relation property), #6 (discriminator
+ variants), #10 (domain level as shared contract surface) with concrete
design answers. Update overview with redesign summary.
wmadden added a commit that referenced this pull request Mar 30, 2026
Lead with the answer for resolved questions instead of preserving
the historical options/insights/redesign layers. Mark headings with
resolved/open status so readers know immediately.
wmadden added a commit that referenced this pull request Mar 31, 2026
Promote design principles (self-describing domain model, domain/persistence
separation, scoped family details, facts-not-instructions) to cross-cutting
learnings. Update contract-symmetry with domain/storage separation proposal.
Update design questions #1 (embedding as relation property), #6 (discriminator
+ variants), #10 (domain level as shared contract surface) with concrete
design answers. Update overview with redesign summary.
wmadden added a commit that referenced this pull request Mar 31, 2026
Lead with the answer for resolved questions instead of preserving
the historical options/insights/redesign layers. Mark headings with
resolved/open status so readers know immediately.
jkomyno pushed a commit that referenced this pull request Apr 1, 2026
Promote design principles (self-describing domain model, domain/persistence
separation, scoped family details, facts-not-instructions) to cross-cutting
learnings. Update contract-symmetry with domain/storage separation proposal.
Update design questions #1 (embedding as relation property), #6 (discriminator
+ variants), #10 (domain level as shared contract surface) with concrete
design answers. Update overview with redesign summary.
jkomyno pushed a commit that referenced this pull request Apr 1, 2026
Lead with the answer for resolved questions instead of preserving
the historical options/insights/redesign layers. Mark headings with
resolved/open status so readers know immediately.
wmadden added a commit that referenced this pull request Apr 27, 2026
…on API

- spec FR4.1-4.4: standardise root accessors on lowercased plurals
  (db.orm.users / db.orm.posts) per the emitter output, drop the
  db.transaction(...) runtime requirement, and rewrite FR4.4 so it
  documents the replica-set requirement and points at TML-2313 as the
  owner of both the API and dev-environment provisioning.
- spec acceptance criteria: switch the Mongo facade-parity AC to
  db.orm.users.where(...).first() and the transaction line to a
  documentation-only requirement linking TML-2313.
- spec Decisions: rewrite #1 to capture the emitter-driven root
  convention; add #10 recording that the transaction API is deferred
  end-to-end to TML-2313.
- plan M3 task list: replace the db.transaction implementation task with
  the documentation task, mention binding-mirror connection inputs, and
  align the type-chain task and E2E task with the new accessor names.
wmadden added a commit that referenced this pull request Apr 27, 2026
…on API

- spec FR4.1-4.4: standardise root accessors on lowercased plurals
  (db.orm.users / db.orm.posts) per the emitter output, drop the
  db.transaction(...) runtime requirement, and rewrite FR4.4 so it
  documents the replica-set requirement and points at TML-2313 as the
  owner of both the API and dev-environment provisioning.
- spec acceptance criteria: switch the Mongo facade-parity AC to
  db.orm.users.where(...).first() and the transaction line to a
  documentation-only requirement linking TML-2313.
- spec Decisions: rewrite #1 to capture the emitter-driven root
  convention; add #10 recording that the transaction API is deferred
  end-to-end to TML-2313.
- plan M3 task list: replace the db.transaction implementation task with
  the documentation task, mention binding-mirror connection inputs, and
  align the type-chain task and E2E task with the new accessor names.
wmadden added a commit that referenced this pull request May 4, 2026
…on API

- spec FR4.1-4.4: standardise root accessors on lowercased plurals
  (db.orm.users / db.orm.posts) per the emitter output, drop the
  db.transaction(...) runtime requirement, and rewrite FR4.4 so it
  documents the replica-set requirement and points at TML-2313 as the
  owner of both the API and dev-environment provisioning.
- spec acceptance criteria: switch the Mongo facade-parity AC to
  db.orm.users.where(...).first() and the transaction line to a
  documentation-only requirement linking TML-2313.
- spec Decisions: rewrite #1 to capture the emitter-driven root
  convention; add #10 recording that the transaction API is deferred
  end-to-end to TML-2313.
- plan M3 task list: replace the db.transaction implementation task with
  the documentation task, mention binding-mirror connection inputs, and
  align the type-chain task and E2E task with the new accessor names.
wmadden added a commit that referenced this pull request May 8, 2026
Introduce `buildCodec({id, encode, decode, encodeJson?, decodeJson?})`
in `framework-components/codec` so descriptor `factory` bodies and
ad-hoc test fixtures can construct narrow `Codec` instances without
reaching for the legacy `mkCodec(...)` / family-side codec factory.

The helper accepts strictly the runtime instance shape — `id` and the
four conversion methods — and refuses `targetTypes` / `traits` / `meta`
/ `paramsSchema` / `init` / `renderOutputType` at the type level so it
cannot serve as a back-door for the retired contributor surface (the
`@ts-expect-error` block in `test/build-codec.test.ts` pins this).
Sync `encode` / `decode` are auto promise-lifted (per ADR 204);
`encodeJson` / `decodeJson` default to identity when omitted so codecs
whose `TInput` is JSON-safe stay concise.

This unblocks the next M2 R4 commits, which retire `mkCodec`,
`defineCodecGroup`, and `defineCodecBundle` from `relational-core`
(decisions #4 / #9 / #10 in the unattended-decisions log).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant