docs(adr): ADR-0069 — package-first authoring (Airtable base model)#2277
Merged
Conversation
Every runtime-authored metadata item must live in a writable package (base); no orphans. Code/installed packages are read-only; the package is the delete/export/duplicate unit. Unifies the contract across the kernel (saveMetaItem), Studio UI, and ../cloud service-ai-studio AI authoring. Retires the #2252 (coerce-to-null) and #1946 (Local scope) stopgaps. Drafted from a business-user Studio dogfood pass. Status: Proposed. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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.
Status: Proposed — drafted from a business-user Studio dogfood pass; opening for team decision.
What
ADR for the Airtable-style package-first model: every runtime-authored metadata item must live in a writable package (base); no orphans. Code/installed packages are read-only; the package is the delete / export / duplicate unit (the answer to "a pile of loose metadata — how do I delete it?").
Why now
A dogfood pass surfaced a family of defects with one root cause — no package-first contract:
package_id = null.service-ai-studiocan still silently default into a catch-allcom.workspace.The ADR unifies the contract across kernel (
saveMetaItem), Studio UI, and ../cloud AI authoring, and retires #2252 / #1946 as transitional.Decisions
package_idrequired; kernel rejects withwritable_package_required)Tracking epic + rollout: see the package-first card.
🤖 Generated with Claude Code