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

unit-executor

Execute exactly one eligible Unit in an existing research Workspace; use for stepwise or manual semantic execution when status, Attempt, Artifact, Manifest, checkpoint, and acceptance evidence must remain synchronized.

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

설치 방법 보기

포함된 파일(2)

  • SKILL.md4.1 KB
  • scripts/run.py1.2 KB

SKILL.md(원문)

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

Unit Executor

The leading principle is atomicity: one invocation owns one Unit Attempt and either commits one accepted Completion or records one diagnosable block. It never starts a second Unit.

Inputs

  • UNITS.csv and the selected Unit row.
  • Files declared by that row's inputs field.
  • DECISIONS.md when the Unit is checkpoint-gated.

Outputs

  • Files declared by the Unit's outputs field.
  • Updated UNITS.csv, Run Evidence, and optional STATUS.md projection.
  • output/QUALITY_GATE.md when strict quality checks block Completion.

Steps

1. Reconcile and select one Unit

Inspect the Workspace through the Pipeline adapter. Select the requested Unit, or the first TODO Unit whose dependencies are DONE. Stop when a HUMAN checkpoint, unresolved Decision, open Attempt, or integrity failure prevents selection.

Completion criterion: exactly one eligible Unit is selected, or one blocking condition is recorded with a concrete next action.

2. Open the Attempt

Start semantic work through the adapter, never by editing a status cell:

uv run python scripts/pipeline.py mark \
  --workspace workspaces/<name> \
  --unit-id <U###> \
  --status DOING \
  --note "starting semantic execution"

Completion criterion: the Unit is DOING and one matching open Attempt owns the execution.

3. Execute the declared Skill

Read the selected Unit's Skill and only the context pointers required by this branch. Produce the declared outputs without changing unrelated Workspace artifacts.

Completion criterion: every required output exists or the failure is specific enough to commit as BLOCKED.

4. Verify and commit Completion

Evaluate the Unit acceptance rule and strict quality contract when requested. Commit through the adapter:

uv run python scripts/pipeline.py mark \
  --workspace workspaces/<name> \
  --unit-id <U###> \
  --status DONE \
  --note "acceptance checked"

Use BLOCKED with a concrete reason when acceptance fails. Do not directly edit UNITS.csv; the adapter aligns Attempt, Artifact, Manifest, Decision, and status projections.

Completion criterion: Completion is DONE with acceptance and provenance evidence, or BLOCKED with a diagnosable Failure.

5. Stop after one Unit

Refresh the Workspace projection and report the completed or blocked Unit. Do not claim end-to-end completion and do not start the next eligible Unit.

Completion criterion: exactly one Unit changed execution state during this invocation and the next operator can resume from Workspace files.

Context Pointers

  • The selected row in UNITS.csv owns dependencies, inputs, outputs, acceptance, checkpoint, and Skill identity.
  • The selected Skill owns semantic behavior.
  • The locked Pipeline owns cross-Unit gates and target Artifacts.
  • Use research-pipeline-runner for automatic continuation across Units.

Script

Quick Start

uv run python .codex/skills/unit-executor/scripts/run.py \
  --workspace workspaces/<name>

All Options

  • --workspace <path>: existing Workspace.
  • --unit-id <U###>: execute a specific eligible Unit.
  • --inputs, --outputs, --checkpoint: Pipeline-runner compatibility arguments.
  • --strict: block scaffold-like outputs and write the quality-gate report.

Examples

Run exactly one strict Unit:

uv run python .codex/skills/unit-executor/scripts/run.py \
  --workspace workspaces/<name> \
  --strict

Equivalent adapter command:

uv run python scripts/pipeline.py run-one \
  --workspace workspaces/<name> \
  --strict

The helper returns 0 for DONE or IDLE, and 2 for BLOCKED or ERROR.

Troubleshooting

  • When no Unit is runnable, inspect dependencies, checkpoint approvals, and open Attempts before changing status.
  • When a DONE Unit has missing outputs, reopen it through the adapter with an explanatory note; never repair the CSV projection alone.

리뷰

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

댓글

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

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

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. 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-skills5132026년 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-skills5132026년 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-skills5132026년 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-skills5132026년 10월 5일 업데이트

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

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

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

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.

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

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

WILLOSCAR의 스킬 모두 보기

이 스킬의 문제 신고