Skip to content
Back to skills

2672 Step0 Interface Freeze 9c1d524b

ASecurity

Date: 2026-02-26 Status: READY FOR STEP 1 This document freezes three implementation contracts before adapter coding: - Provider adapter input/output interfaces (proposal §2). - Runtime `RunResult` field contract. - Artifact directory/output contract (proposal §13).

  • 9 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 11, 2026
databases

Security analysis

A100/100

Scanned October 11, 2026

npx -y skills add tools-only/X-Skills --skill 2672-step0-interface-freeze_9c1d524b --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of 2672 Step0 Interface Freeze 9c1d524b?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for 2672 Step0 Interface Freeze 9c1d524b
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/tools-only-2672-step0-interface-freeze-9c1d524b/badge)](https://www.skillsdirectory.com/skills/tools-only-2672-step0-interface-freeze-9c1d524b)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

SKILL.md
# Step 0 Interface Freeze (Stage A)

Date: 2026-02-26  
Status: READY FOR STEP 1

This document freezes three implementation contracts before adapter coding:
- Provider adapter input/output interfaces (proposal §2).
- Runtime `RunResult` field contract.
- Artifact directory/output contract (proposal §13).

## 1) ProviderAdapter Contract (Frozen)
Runtime source of truth: `runtime/contracts.py`.

Required methods:
- `detect() -> ProviderPresence`
- `capabilities() -> CapabilitySet`
- `run(input_task: TaskInput) -> TaskRunRef`
- `poll(ref: TaskRunRef) -> TaskStatus`
- `cancel(ref: TaskRunRef) -> None`
- `normalize(raw: Any, ctx: NormalizeContext) -> list[NormalizedFinding]`

Frozen enums/sets:
- `ProviderId`: `claude|codex|gemini|opencode|qwen`
- `CapabilityTier`: `C0..C6`

## 2) RunResult Contract (Frozen)
Runtime source of truth: `runtime/types.py`.

Schema version:
- `RUN_RESULT_SCHEMA_VERSION = "stage-a-v1"`

Frozen field order:
1. `task_id`
2. `provider`
3. `dispatch_key`
4. `success`
5. `attempts`
6. `delays_seconds`
7. `output`
8. `final_error`
9. `warnings`
10. `deduped_dispatch`

## 3) Artifact Layout Contract (Frozen)
Runtime source of truth: `runtime/artifacts.py`.

Layout version:
- `ARTIFACT_LAYOUT_VERSION = "stage-a-v1"`

Per-task artifact root:
`<artifact_base>/<task_id>/`

Required root files:
- `summary.md`
- `decision.md`
- `findings.json`
- `run.json`

Required root directories:
- `providers/`
- `raw/`

Per-provider required files:
- `providers/<provider>.json`
- `raw/<provider>.stdout.log`
- `raw/<provider>.stderr.log`

## 4) Step 0 DoD (Definition of Done)
- [x] Frozen interfaces are codified in runtime modules.
- [x] Frozen `RunResult` fields have explicit schema version.
- [x] Frozen artifact layout has explicit schema version.
- [x] Contract-freeze tests enforce these shapes:
  - `tests/test_contract_freeze.py`

## 5) Change Policy
If any frozen field/signature/layout changes:
1. Bump schema version (`stage-a-v2`).
2. Update this document.
3. Update `tests/test_contract_freeze.py`.
4. Record migration note in `reports/gate/*-signoff.md`.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.