Skip to content

Epic: package-first authoring (ADR-0070) — bases as the authoring & delete unit #2278

Description

@os-zhuang

ADR: framework#2277 (ADR-0070, Proposed). This card tracks the cross-repo rollout.

Problem (from a business-user Studio dogfood pass)

Authored metadata can end up orphaned (package_id = null) with no container to delete/export"a pile of loose metadata, how do I clean it up?". Root cause: no package-first contract. Stopgaps shipped: framework#2252 (coerce-to-null), objectui#1946 (Local scope). We adopt the Airtable base model: create/select a writable package (base) first; author into it; manage/delete/export by base.

Current state per surface (assessment)

Rollout checklist

Open questions (see ADR)

  1. Auto-provision one "My workspace" base on first authoring (one-click) vs always explicit create?
  2. allowOrgOverride in single-tenant: keep overlay for surgical tweaks vs "fork to base" for substantial changes?
  3. Delete-cascade: also delete object records, or schema only? (ties to data-lifecycle/retention)
  4. Base naming vs stable id (app.<slug>).

Repos: framework (kernel, ADR), ../objectui (Studio), ../cloud (service-ai-studio).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions