[codex] Add source-aware Builder database foundation#1173
Draft
3mdistal wants to merge 3 commits into
Draft
Conversation
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
This draft PR adds the first source-aware database foundation to the Content template, with Builder CMS as the first real integration target.
It gives databases an explicit source layer: source metadata, field mappings, row identity/provenance, change sets, review records, and dry-run execution records. Builder CMS is wired as a read/diff/review target with live writes disabled by default.
What is completed
list_builder_modelsReview Builder updateflow in database source settingsPush, while still validating only locallyagent-native-blog-article-testfrom the pickerBuilder API read-only, entry count, matched row count)/page/oJ5v9MB3EiDZshows the copied Builder blog rows in an existing source-backed QA database/page/sgsxJUlnf3nHverified the new model-picker attach path end to endagent-native-blog-article-test,Attachimported 20 rows, and Source settings showed20 of 20 entries matchedWhat is not completed yet
Pushmodal currently validates the push plan/dry run only.Validation
Passed:
pnpm --filter content exec vitest --run actions/_database-source-utils.test.ts actions/content-database-source-actions.test.ts actions/_builder-cms-read-client.test.ts actions/_builder-cms-source-adapter.test.ts actions/_builder-cms-write-adapter.test.ts app/components/editor/DocumentDatabase.test.tsResult: 6 files passed, 126 tests passed.
Passed:
Passed:
Browser verified on local dev server at
http://localhost:8086/page/sgsxJUlnf3nHwith Builder credentials supplied locally and live writes still disabled.