-
Notifications
You must be signed in to change notification settings - Fork 2
feat(mongo): full index vocabulary, validators, and collection options #329
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
Merged
wmadden
merged 47 commits into
main
from
tml-2231-m2-full-index-vocabulary-validators-collection-options
Apr 12, 2026
Merged
Changes from all commits
Commits
Show all changes
47 commits
Select commit
Hold shift + click to select a range
d9bf714
add MongoStorageIndex and MongoIndexKey contract types with Arktype v…
wmadden 21469b3
implement marker/ledger storage and MongoControlDriverInstance
wmadden 71bec0f
Add M2 spec and implementation plan for full index vocabulary, valida…
wmadden 8f7cb72
feat(mongo-contract): add M2 index options (wildcardProjection, colla…
wmadden 513e75b
feat(mongo-contract): add MongoStorageValidator and MongoStorageColle…
wmadden 69b7368
feat(mongo-schema-ir): extend MongoSchemaIndex with M2 options
wmadden 35f80ed
feat(mongo-schema-ir): add MongoSchemaValidator and MongoSchemaCollec…
wmadden 392d090
feat(mongo-query-ast): add CreateCollectionCommand, DropCollectionCom…
wmadden aadc151
feat(mongo-schema-ir): add canonicalize() for key-order-independent s…
wmadden fb081e0
feat(adapter-mongo): extend contractToSchema for validators, options,…
wmadden e9f30a2
feat(adapter-mongo): extend serializer for new DDL commands and index…
wmadden 4013cf8
feat(adapter-mongo): extend DDL formatter for new commands and index …
wmadden 89b8418
feat(adapter-mongo): extend planner with canonical lookup keys and M2…
wmadden 60616ba
feat(adapter-mongo): extend planner for validator diffing and collect…
wmadden 223600e
feat(adapter-mongo): extend command executor for new DDL commands
wmadden a727bca
feat(mongo-contract-psl): add @@index/@@unique and @unique to Mongo P…
wmadden 7d05d7d
feat(mongo-contract-psl): auto-derive $jsonSchema validator from mode…
wmadden 3af1432
feat(mongo-contract-psl): wire $jsonSchema validator derivation into …
wmadden ee4d9ac
feat(adapter-mongo): E2E integration tests for full M2 vocabulary
wmadden 7fefd4d
test(integration): E2E PSL authoring test for full M2 flow
wmadden df7353e
fix: reconcile MongoStorageIndex format after rebase onto origin/main
wmadden a7effdc
fix: implement validator classification matrix and add prechecks/post…
wmadden eaa2fbe
refactor: code cleanup — remove dead CLI formatter, rename options no…
wmadden c35aaea
test: add missing negative Arktype tests and language_override integr…
wmadden 0a71c16
docs: update ADRs 187-189, schema-ir README, and contract-psl README …
wmadden d5383f9
test: add policy-gated validator and collection option integration te…
wmadden d2c0f97
fix: resolve TS errors in integration tests for CollectionInfo option…
wmadden 89ed81b
test: improve adapter-mongo branch coverage above 90% threshold
wmadden b13db34
fix: remove weak postcheck from validator removal to prevent idempote…
wmadden d3c64ef
fix: address PR review findings for planner correctness
wmadden 0aa36eb
fix: update integration test fixtures to new MongoStorageIndex keys f…
wmadden 97380a3
fix: route StorageBase cast through unknown for exactOptionalProperty…
wmadden df8a587
fix: update contract fixtures for new MongoStorageIndex keys format a…
wmadden e63de91
fix: update emit-command test to new MongoStorageIndex keys format
wmadden 023f753
use canonicalize() for immutable option comparison and fix clusteredI…
wmadden 4326dc7
revert clusteredIndex fixture: schema intentionally omits key+unique
wmadden b109363
Add PSL index authoring surface design doc
wmadden b2f840e
Rewrite PSL index authoring design doc for clarity
wmadden 3593d60
Add PSL language specification describing current parser
wmadden b72ba88
fix cli.emit-command test: update d.ts assertion for keys index format
wmadden c4e225a
Implement PSL index authoring surface
wmadden 700617d
Add e2e tests for PSL index authoring surface on real MongoDB
wmadden 68ce8aa
Establish PSL language model: grammar, binding, and index surface
wmadden cd707a3
Add TypeConstructor and TaggedLiteral value types to PSL design
wmadden d6e7a2f
Define filter as typed dictionary: field-ref keys with schema-validat…
wmadden 33882f1
Fix typecheck: add null to parseCollation return type, fix getIndexes…
wmadden 25d8b8e
Merge branch 'main' into tml-2231-m2-full-index-vocabulary-validators…
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
86 changes: 0 additions & 86 deletions
86
packages/1-framework/3-tooling/cli/src/control-api/operations/extract-mongo-statements.ts
This file was deleted.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.