test(dogfood): package-first authoring gate (ADR-0070 Phase 6)#2303
Merged
Conversation
…into read-only packages (ADR-0070 Phase 6) Boots the real CRM stack and asserts protocol.saveMetaItem(runtime-only) into a loaded code package throws writable_package_required (D1/D2), with a writable-base control. Runs under the required Dogfood Regression Gate; reverting D1 turns it red. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
📓 Docs Drift CheckNo hand-written docs reference the 1 changed package(s). ✅ |
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.
What
ADR-0070 Phase 6 — an automated regression gate for the package-first contract, run end-to-end through the real booted CRM stack (not a mocked unit), under the required Dogfood Regression Gate CI check.
protocol.saveMetaItemfor a runtime-only create into a loaded code package throwswritable_package_required(D1/D2).Reverting D1 (the
writable_package_requiredthrow) turns this red — that's the point of the gate. Locks the contract that the Studio + AI surfaces depend on.Verification
@objectstack/dogfood— 2/2 pass locally against the booted@objectstack/example-crmstack.Final piece of the ADR-0070 epic (D1–D6 + gate).
🤖 Generated with Claude Code