ADR-0013: A reusable automation workspace with shared checks and MIT distribution
Date: 2026-12-03. Source base: d03bd54. Status: implemented local design; hosted and live-model qualification remains unverified.
Context
The framework already has fifteen task-specific native skills, two read-only agents, startup/path-guard hooks, standalone helpers, a handbook and evaluation UI. Adoption still requires users to understand scattered setup steps and personal-only check configuration. The user requested a professional reusable template and explicitly selected MIT for distribution.
Decision
Keep native Claude mechanisms and the existing roles/hooks as the core. Add a deterministic project-local workspace helper for preview-first new/existing mode, solo/team guidance, available profile selection and configuration readiness. Setup is separate from product initialization: no application, accepted architecture, packages, permission grants or model execution are created. Existing mode guides startup toward onboarding instead of new-product initialization.
Shared project gates live in .claude/framework/gates.json; ignored personal gates are additive with distinct names. One engine loader serves gate execution, doctor and source-bound review receipts. Reject name collisions rather than allowing a local file to silently weaken a team command. Setup and startup never execute checks; explicit gate --execute still runs only reviewed commands. No new shell-command hook, event schema, agent swarm or external orchestrator is introduced.
Setup owns only automation.json, gates.json and an exact-path/hash manifest. It refuses unowned or modified files, supports idempotent reconfiguration of unchanged owned files, and offers preview-first rollback of only unchanged setup files. Trusted exclusive writers and existing per-file atomic/best-effort rollback limitations apply. Shared config may intentionally be maintained manually through Git review; modifying it prevents automatic setup overwrite/rollback, not execution. Readiness reports presence/configuration separately from activation, tests, independent review and observed skill behavior.
Original Foundry code/docs use the user-selected MIT license. Keep the notice in clean-export and managed native payloads; do not silently choose an application license. Third-party archives/excerpts keep their terms. Application-specific setup/gates/ownership files are excluded from canonical payload copies, even if tracked in the source checkout. Source archives/evidence are not exported as application context.
Alternatives
Another installer/orchestrator or large role collection would duplicate native mechanisms and increase trust/context overhead. A single catch-all skill would weaken explicit task contracts. Global defaults or automatic test/install hooks would exceed the authorized scope and make arbitrary clones executable by default. Per-user-only checks do not provide a shared reviewable team contract.
Sources and evidence
User selection: MIT, December 3, 2026. OSI MIT text, official hook reference, settings scopes. These were inspected read-only; the existing SessionStart/PreToolUse shapes are retained. The workspace/gates schemas are explicitly Foundry-specific.
Automation guide, qualification, installer/export/privacy tests, workspace ownership/rollback/shared-gate tests and browser checks provide local evidence. No remote setting/publication, live model automation or universal platform compatibility is claimed.