-
Notifications
You must be signed in to change notification settings - Fork 5
feat(codec-registration-completion): unify codec registration (TML-2357) #417
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
wmadden
wants to merge
113
commits into
main
Choose a base branch
from
tml-2357-codec-registration-model-complete-the-unified
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 106 commits
Commits
Show all changes
113 commits
Select commit
Hold shift + click to select a range
9f3d4c1
project(codec-registration-completion): draft spec and plan for TML-2357
wmadden 692178c
wip(codec-registration-completion): M1 in-progress narrowing of runti…
cursoragent 3c9338f
(TML-2357) M1 R1: complete narrowed-Codec migration
wmadden bef4787
project(codec-registration-completion): apply m1 R1 plan/spec amendme…
wmadden 1be7564
(TML-2357) M1 R2: address reviewer F1 cast cleanup
wmadden 04cffc1
TML-2357 M2: introduce aliasDescriptor for descriptor-level aliasing
wmadden 45c240e
(TML-2357) M2 setup: add codecDescriptor() and defineCodecDescriptors…
wmadden 8d4cfdf
(TML-2357) M2 T2.2: add native CodecDescriptor exports to sql-relatio…
wmadden 08d1e3a
(TML-2357) M2 T2.3: add native CodecDescriptor exports to postgres ta…
wmadden a7ecaf1
(TML-2357) M2 T2.4: add native CodecDescriptor exports to sqlite targ…
wmadden e4bbfc7
(TML-2357) M2 T2.5: migrate pgvector to native CodecDescriptor
wmadden a6df71f
(TML-2357) M2 T2.6: delete arktypeJsonEmitCodec emit-only shim
wmadden 2f2e175
M2 Phase A: unify SQL contributor codec slot, drop synthesis bridge
wmadden b49dbe3
M2 Phase B: retire CodecParamsDescriptor + aliasCodec + scrub stale s…
wmadden 233d0cc
extractCodecLookup reads codec metadata from descriptor list
wmadden 461c33e
codecDescriptor() materializes a narrow codec instance
wmadden 8a60fee
M2 Phase B: narrow MongoCodec + scrub framework-components README
wmadden 842a88d
M2 Phase B: narrow SQL Codec to id+conversion + migrate test reads to…
wmadden f94fddb
M2 Phase B: drop the four inlined as-unknown-as Codec casts at the po…
wmadden 4d050ae
M2 Phase B: add T2.10 no-synthesis-bridge constructive test
wmadden ed2f9ee
M2 R3: rename createCodecRegistry → newCodecRegistry; drop CodecRegis…
wmadden efb52b1
M2 R3: rename legacy + parallel codec factories and builder property …
wmadden 86ae206
M2 R3: retire F1 LegacyCodecInstanceMeta cast and codecInstances slot
wmadden a29e062
M2 R3: scrub legacy codec-API references from docs and retire no-synt…
wmadden f618436
M2 R4: add narrow buildCodec helper for runtime Codec materialization
wmadden 49fbd6f
M2 R4: derive SQL base codec maps from descriptors; drop legacy facto…
wmadden 038b709
M2 R4: derive postgres codec maps from descriptors; drop legacy facto…
wmadden aef6108
M2 R4: derive sqlite codec maps from descriptors; drop legacy factories
wmadden 42da1de
M2 R4: derive pgvector codec maps from descriptor; drop legacy factories
wmadden 8089e43
M2 R4: migrate arktype-json closure to buildCodec helper
wmadden f8fc3ea
M2 R4: delete legacy mkCodec test suites and stale comment refs
wmadden 6ebf68d
M2 R4: migrate test fixtures from mkCodec to buildCodec
wmadden ef841ab
M2 R4: delete legacy mkCodec / defineCodecGroup / defineCodecBundle
wmadden d28ecae
M2 R4: cleanup doc references and ADR 207 import drift (F4)
wmadden 083129e
M2 R4: thread typed Codec through descriptor byScalar slots
wmadden cfd5476
M2 R4: type defineCodec factory return as Codec<Id, TTraits, TWire, T…
wmadden b50f799
Revert "M2 R4: type defineCodec factory return as Codec<Id, TTraits, …
wmadden 5f5d5ce
M2 R4: narrow descriptor-derived codec result type in sqlite test
wmadden 76f5c4a
Reapply "M2 R4: type defineCodec factory return as Codec<Id, TTraits,…
wmadden 4a0f34d
Revert "Reapply "M2 R4: type defineCodec factory return as Codec<Id, …
wmadden a42f2b0
Revert "M2 R4: thread typed Codec through descriptor byScalar slots"
wmadden fb12774
M2 R4 rollback: revert chain to M2 R3 HEAD (a29e06245)
wmadden f7df41b
Add M0 typed-codec-flow precondition spec to TML-2357
wmadden dc8f4e1
docs(codec-registration-completion): lock in Strength 3 forcing funct…
wmadden 4a5d90b
docs(codec-registration-completion): factory-defined codec types goal…
wmadden efc0a98
docs(codec-registration-completion): refine Mode C goal spec per disc…
wmadden c69972e
docs(codec-registration-completion): add Data flow section to Mode C …
wmadden cd013d1
docs(codec-registration-completion): class-based codec design spec (M…
wmadden 0c80b60
docs(codec-registration-completion): rewrite class-based spec around …
wmadden d9ad7db
docs(codec-registration-completion): fold spike findings into class-b…
wmadden 9edb155
docs(codec-registration-completion): rewrite M0 plan around Pattern E…
wmadden 0515acd
feat(framework-components)(TML-2357): M0 Phase A T0.A.1 — class-based…
wmadden 625c590
test(framework-components)(TML-2357): M0 Phase A T0.A.3 — class-based…
wmadden ea67cc5
refactor(framework-components): move ColumnTypeDescriptor from contra…
wmadden 588cf31
refactor(framework-components): consolidate codec interfaces and Impl…
wmadden 89d27c2
refactor(framework-components,postgres): delete aliasDescriptor; repl…
wmadden 4d157a9
docs(codec-registration-completion): update plan after Phase A landin…
wmadden 6e851a9
feat(sql-relational-core)(TML-2357): M0 Phase B1 — class-based base c…
wmadden 66b91ec
refactor(postgres)(TML-2357): M0 Phase B1 — defensive rework of legac…
wmadden cff53ec
feat(contract)(TML-2357): arktypeParamsSchema helper for arktype → St…
wmadden 70b69da
refactor(sql-relational-core)(TML-2357): use arktypeParamsSchema help…
wmadden d8c9cd6
feat(postgres)(TML-2357): M0 Phase B2 — class-based form for native P…
wmadden d3ac5d8
docs(codec-registration-completion)(TML-2357): align spec § Heterogen…
wmadden 014028a
fix(framework-components,sql-relational-core,postgres)(TML-2357): F5 …
wmadden 030c02e
test(framework-components)(TML-2357): F6 — drop CodecDescriptor<unkno…
wmadden c045858
test(framework-components)(TML-2357): F7 — runtime tests for CodecImp…
wmadden 37097cd
feat(target-sqlite)(TML-2357): M0 Phase B3 — class-based form for nat…
wmadden 61901d7
feat(extension-pgvector)(TML-2357): M0 Phase B4 — class-based form fo…
wmadden 4b1d930
feat(extension-arktype-json)(TML-2357): M0 Phase B4 — class-based for…
wmadden 9614b9b
codec(postgres): swap adapter consumption to class-form descriptors (…
wmadden 9f265a4
codec(sqlite): swap adapter consumption to class-form descriptors (T0…
wmadden 64b24e5
codec(extensions): swap pgvector + arktype-json contributors to class…
wmadden c9e5c86
test(arktype-json): update runtime descriptor test for B5 class-form …
wmadden 5c777d8
TML-2357 M0 R5: migrate sql-runtime tests off mkCodec to defineTestCo…
wmadden fc5b990
TML-2357 M0 R5: migrate relational-core tests onto class-form descrip…
wmadden 405f377
TML-2357 M0 R5: migrate postgres tests onto class-form descriptors
wmadden ad20903
TML-2357 M0 R5: migrate sqlite adapter codecs test onto class-form de…
wmadden bae6c7c
TML-2357 M0 R5: migrate pgvector tests onto class-form descriptor
wmadden 16c269d
TML-2357 M0 R5: migrate sql-orm-client + cross-family tests off mkCodec
wmadden 547c20c
TML-2357 M0 R5: delete legacy postgres codec carriers
wmadden b687653
TML-2357 M0 R5: delete legacy sqlite codec carriers
wmadden ee40ecb
TML-2357 M0 R5: delete legacy pgvector codec carriers
wmadden 7e874d9
TML-2357 M0 R5: delete legacy arktype-json codec carriers
wmadden 130d31e
TML-2357 M0 R5: delete legacy carrier types + rename ExtractDescripto…
wmadden ef61c05
TML-2357 M0 R5: refresh stale legacy-carrier comments + docs after de…
wmadden feb9e7e
TML-2357 M0 R5: F4 — replace ADR 207 grounding example with class-for…
wmadden 3f8341c
TML-2357 M0 R5: fix DescriptorCodecTraits to read traits off the desc…
wmadden fae3bd6
TML-2357 M0 R6: fix F8 — restore CodecTypes portability across consumers
wmadden db185c8
TML-2357 M0 R6: T0.D.1 typed-codec-flow type tests in relational-core
wmadden 525a8bb
TML-2357 M0 R6: T0.D.2 per-target descriptor flow type tests
wmadden a210fa1
TML-2357 M0 R6: T0.D.3 no-emit authoring chain demo type test (AC-CB-6)
wmadden 42feef3
TML-2357 M3: T3.2 extend ParamRef + ProjectionItem AST with refs
wmadden 58076b0
TML-2357 M3: T3.3 add validateParamRefRefs builder-pipeline pass
wmadden a37e976
TML-2357 M3: T3.4 populate refs at every column-bound ParamRef site
wmadden 3f0ec22
TML-2357 M3: T3.5 encode-side dispatch via forColumn + run validator …
wmadden e055c94
TML-2357 M4: delete JsonSchemaValidatorRegistry and retire `json-vali…
wmadden 9e647d8
TML-2357 close-out: align long-lived docs with post-migration state
wmadden c0b5a2c
TML-2357 close-out: strip project-internal phase markers from code co…
wmadden aacf58d
TML-2357 close-out: delete projects/codec-registration-completion/
wmadden 5b0113a
Restore projects/codec-registration-completion/ tracked files
wmadden 2d4eb3b
TML-2357 close-out: cross-reference TML-2402 / TML-2403 follow-ups
wmadden 3d57f9e
F9 prep: export buildCodecDescriptorRegistry from relational-core
wmadden ca38474
F10: drop Class suffix from descriptor instance names
wmadden 73b76e0
F9+F10 (target-postgres): expose postgresCodecRegistry as the public …
wmadden 7f6e366
F9+F10 (target-sqlite): expose sqliteCodecRegistry as the public cons…
wmadden 583a8e9
F9+F10 (extension-pgvector): expose pgvectorCodecRegistry as the publ…
wmadden 6162fbc
F9+F10 (extension-arktype-json): expose arktypeJsonCodecRegistry as t…
wmadden b13525a
F10 (target-postgres): rename core/codecs-class.ts → core/codecs.ts a…
wmadden 62b3f8c
F10 (target-sqlite): rename core/codecs-class.ts → core/codecs.ts and…
wmadden a29ad2a
F10 (extension-pgvector): rename core/codecs-class.ts → core/codecs.t…
wmadden d3b46a6
F10 (extension-arktype-json): align imports + test filenames after co…
wmadden 05144c0
F10: scrub class-form / class-based vocabulary in shared layers and docs
wmadden c4d81ad
F10 (sql-orm-client tests): scrub residual class-form vocabulary in c…
wmadden File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rephrase the identity-default note in current terms.
The retrospective note already says
defineCodec()is retired, but these paragraphs still describe its defaults in the present tense. Please restate this in terms of the current class/descriptor authoring surface, or mark it explicitly as historical, so the ADR does not read as internally contradictory.As per coding guidelines, "
**/*.{md,mdx}: Keep docs current (READMEs, rules, links)`."Also applies to: 136-136
🤖 Prompt for AI Agents