You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Document generic extension and artifact authoring rules #712
docs/EXTENSIONS.md documents the extension API, add-on packaging, artifacts' inert-file constraints, and the requires/contributes mechanisms. It does not give extension or artifact authors an explicit, normative genericity rule or a review checklist.
The resulting gaps are visible in #709 through #711: a sibling's private YAML shape was consumed directly, core acquired an auth-specific convenience surface, and installation scaffolds gained application examples as live routes.
Proposed documentation
Add a concise Generic add-on authoring rules section to docs/EXTENSIONS.md, linked from CONTRIBUTING.md and the generated extension template. It should require:
An extension owns only its declared configuration, mounts, policies, and exported/contributed contract; it must not read or depend on another extension's private YAML/configuration layout.
Cross-extension dependencies are explicit through requires, typed/versioned exports via ctx.get, or typed/versioned contributions via ctx.contributions; core remains unaware of first-party names and policy vocabulary.
Scaffolds add only integration prerequisites by default. Runnable application examples are opt-in and live as named examples/recipes.
Artifacts remain inert and must contain reusable schemas, examples, or documentation—not executable code, provider wiring, credentials, customer data, or application-specific configuration.
Every new seam gets a second-provider or consumer fixture, plus descriptor/build/add-on verification.
Include a short author checklist and link it from npm run create-extension output/README template.
Activity
fix(cli): extensions add/remove preserve YAML formatting; list --stri…