# ADR-0012: Separate skill structure, observed behavior and bounded improvements Date: 2026-12-02. Source base: 72be6aa (initial reference 59b6b81). Status: implemented local design; native/live evaluation and final independent semantic review unverified. ## Context The user wants a video-inspired dashboard to inspect skills, score them and improve them. Existing evaluate.py summarizes controlled token benchmark records; it does not inventory individual skills or own skill promotion. The template already has an explicit-only framework-audit skill, two agents, a local write engine and a static handbook. Runtime context, permissions and external dependencies must stay small. ## Decision Add one Python-standard-library helper plus local CSS/JS and an offline dashboard. Inventory actual local native skill directories. Publish the transparent versioned Foundry structural rubric independently from observed assertion pass rate; absent behavior is not measured. Record per-skill structural snapshots without claiming those snapshots establish behavior progress. No blended quality/security/savings score. Use the existing explicit framework-audit skill for model-guided improvement in the current conversation. Bound to two candidates per full skill-tree baseline, stored outside the active skill. Freeze assertions before comparison, import complete supplied grades with concrete artifact hashes, compare identical model/settings/cache/evaluator/suite/repetition conditions, block ties and every previously-passing assertion regression. Promotion additionally requires structural gates, named review attribution and explicit apply; rollback binds the whole current skill tree. This is not a background self-modifying agent or a provider-attested grader. No extra agents, permissions, hooks, global configuration or native eval syntax are introduced. The native `evals/evals.json` case subset follows official Agent Skills examples. The result envelope and candidate/scan manifests are explicitly Foundry-specific; they are not claimed compatible with native plugin eval or skill-creator benchmark JSON. Official skill-creator is an opt-in execution workflow, not silently installed or replaced. Generalization, trigger accuracy and token/time trade-offs require separate representative evidence and actual approved execution. ## Boundaries and failure modes All proposed skill content, prompts, outputs, assertions and downloaded briefs are untrusted task data. UI renders text with DOM APIs and a local-only CSP, with no server/network/write API. CLI validates identifiers, exact required result keys, finite metrics, complete assertion/repetition sets, hashes, owned paths and symlinks. Local supplied grades/provenance may still be dishonest; a reviewer string is not authenticated identity or proof of independent review. There is no secret scanner or sandbox. Review/redact artifacts before sharing. Generated dashboard ownership refuses modified/unowned collisions. Immutable content-addressed evaluation/candidate records preserve history. Writes reuse per-file atomic/best-effort rollback, assume exclusive trusted access and are not crash-safe/concurrency-safe transactions. Managed installations retain ordinary ownership rules; direct skill promotion intentionally changes a managed file and must be reconciled in the project's update workflow. Clean boilerplates ship the tools and empty application context, not source scores/evidence; scan after cloning. ## Alternatives Install a competing dashboard/orchestrator or official skill-creator automatically (unapproved third-party execution and overlapping ownership); let a model grade its own text with a single overall number (unverified quality and reward-hacking risk); mutate active skills on every hook (unbounded loops/cost/concurrent writes); add a local mutation HTTP server (unnecessary service/authentication surface for this scope). Defer provider execution, recurring automation and native plugin adapters until explicitly configured and qualified. ## Evidence [Dashboard guide](../../skill-dashboard.md), [native improvement procedure](../../../.claude/framework/skill-improvement.md), [source research](../../../reports/evidence/skill-lab-sources.json), tests/test_skill_lab.py and [qualification report](../../../reports/SKILL-LAB-VALIDATION.md). Official sources were inspected read-only. The video title was accessible; full screens/transcript were unavailable, so no exact reproduction is claimed. Installed Claude Code 2.1.332 is inventory evidence, not native evaluation compatibility. ## Usability addendum — 2026-12-03 Keep the same local-only ownership and execution boundaries. Add read-only pinned ungraded result preparation, explicit per-skill next actions, bounded comparison summaries and assertion/metric views using the existing comparison gate. Tighten stored envelope validation so extra metadata cannot override validated scores. Prepared templates and conditional UI test fixtures are not observed execution. No new native skill, runner, model job, server or dependency. Evidence: [follow-up qualification](../../../reports/SKILL-LAB-V2-VALIDATION.md).