본문으로 건너뛰기
cccskills
무료GitHub에 공개

artifact-contract-auditor

Audit one research Workspace for declared Unit outputs and Pipeline target Artifacts, writing `output/CONTRACT_REPORT.md`; use for mid-Run coverage snapshots or final delivery completeness, not deep provenance integrity.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

실행 점수 미검증

설치 방법 보기

포함된 파일(2)

  • SKILL.md3.6 KB
  • scripts/run.py8.9 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Artifact Contract Auditor

This Skill measures coverage: whether files promised by Units and the locked Pipeline exist at the point they are required. It does not replace the deeper Attempt, Manifest, Artifact-hash, and ledger checks in pipeline.py audit.

Inputs

  • UNITS.csv.
  • PIPELINE.lock.md.
  • The locked pipelines/*.pipeline.md target-Artifact contract.

Outputs

  • output/CONTRACT_REPORT.md.

Steps

1. Resolve the active contracts

Read PIPELINE.lock.md, resolve the Pipeline inside this repository, and parse UNITS.csv. Treat an invalid lock or malformed Unit table as a reportable contract failure rather than guessing another Workflow.

Completion criterion: one Pipeline contract and one readable Unit table are bound to the audit.

2. Check completed Unit outputs

For every DONE Unit, verify each required output exists. Outputs prefixed with ? are optional. A missing required output is Unit-level contract drift even when the Pipeline is still running.

Completion criterion: every DONE Unit is classified as output-complete or is listed with each missing required path.

3. Check final Pipeline targets when applicable

Determine whether all Units are terminal (DONE or SKIP). Only then require every non-optional target Artifact declared by the Pipeline. During a partial Run, report missing final targets as expected rather than failures.

Completion criterion: final-target completeness is evaluated against the actual Run phase, not merely file absence.

4. Write the report

Always write output/CONTRACT_REPORT.md with one status:

  • PASS: terminal Run, complete Unit outputs, complete Pipeline targets.
  • OK: partial Run, consistent completed Unit outputs.
  • FAIL: missing output from a DONE Unit, or missing final target from a terminal Run.

Completion criterion: the report names the evaluated Pipeline, Run phase, status, and every blocking missing path.

5. Route the next action

For missing Unit outputs, reopen or rerun the owning Unit through the Pipeline adapter. For missing final targets, identify the owning Unit or Skill. When file coverage passes, use scripts/pipeline.py audit for provenance integrity.

Completion criterion: every FAIL item has an owner and repair route; a PASS claim is explicitly limited to declared file coverage.

Context Pointers

  • The locked Pipeline front matter is the only source for target Artifacts.
  • UNITS.csv is the only source for Unit output obligations.
  • Use the deep Run Audit for Attempt pairing, Manifest identity, hashes, Decisions, Failures, and Evaluation consistency.

Script

Quick Start

uv run python .codex/skills/artifact-contract-auditor/scripts/run.py \
  --workspace workspaces/<name>

All Options

  • --workspace <path>: Workspace to audit.
  • --unit-id <U###>, --inputs, --outputs, --checkpoint: optional Pipeline-runner compatibility arguments.

Examples

Inspect the interface:

uv run python .codex/skills/artifact-contract-auditor/scripts/run.py --help

Run the deeper provenance audit after coverage passes:

uv run python scripts/pipeline.py audit --workspace workspaces/<name>

Side Effects

The audit may create or replace output/CONTRACT_REPORT.md. It must not edit research content, Unit statuses, checkpoint approvals, or source Artifacts.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Internal template for creating or refactoring a skill into the repository's reference-first shape. **Trigger**: reference-first template, blueprint skill, create a reusable skill, refactor a script-heavy skill. **Use when**: you need a lean `SKILL.md`, explicit `references/`, machine-readable `assets/`, and a minimal deterministic `run.py`.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

WILLOSCAR/research-units-pipeline-skills5152026년 10월 5일 업데이트

Download a small corpus of open-access arXiv survey/review PDFs about agentic systems and extract text for style learning.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

WILLOSCAR/research-units-pipeline-skills5152026년 10월 5일 업데이트

Extract per-subsection “anchor facts” (NO PROSE) from evidence packs so the writer is forced to include concrete numbers/benchmarks/limitations instead of generic summaries.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

WILLOSCAR/research-units-pipeline-skills5152026년 10월 5일 업데이트

Curate reader-facing survey tables for the Appendix (clean layout + high information density), using only in-scope evidence and existing citation keys.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

WILLOSCAR/research-units-pipeline-skills5152026년 10월 5일 업데이트

Build a final, machine-readable argument snapshot from current H3 sections and refresh section fingerprints before merge.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

WILLOSCAR/research-units-pipeline-skills5152026년 10월 5일 업데이트

Retrieve arXiv paper metadata with keyword queries or import an offline arXiv export, and save results as JSONL (`papers/papers_raw.jsonl`).

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

WILLOSCAR/research-units-pipeline-skills5152026년 10월 5일 업데이트

WILLOSCAR의 스킬 모두 보기

이 스킬의 문제 신고