harness-files/skills/rad-execute-coding-task/SKILL.md
Execute a single task end-to-end from a self-contained task-handoff document. Supports `code` (with mandatory RED-GREEN) and `doc` / `config` / `infra` task types, plus handoffs that declare no explicit task type. The handoff is the sole input; no upstream planning docs are read.
npx skillsauth add MetalHexx/RadOrchestration rad-execute-coding-taskInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Implement the task described in a self-contained task-handoff document. The handoff carries every contract, interface, file target, step, and acceptance criterion you need — nothing outside it is authoritative.
You read: the task-handoff document at the path provided (handoff_doc) and the source files it references. That is all.
DO NOT read upstream planning docs — no requirements specs, master-plan / phase-plan files, product-spec / design / architecture artifacts, or any earlier pipeline output. The handoff is self-contained; anything you need is inlined verbatim. Reading upstream docs re-introduces the drift the pipeline explicitly eliminated.
You write: source code, tests, and (optionally) an ## Execution Notes appendix appended to the END of the handoff body.
Not yours: state.json writes, git commits (owned by the source-control skill), any product / design / architectural decision not already inlined in the handoff.
Original handoffs (emitted by the explosion script) and corrective handoffs (authored by the orchestrator from code-review mediation) share one shape. Read whichever handoff_doc the pipeline hands you — original or corrective — with the same workflow. No mode branching. No visibility into reviewer finding tiers (on-track / drift / regression / met / missing); the orchestrator pre-digests tier reasoning into the corrective handoff body, so you execute steps as written.
handoff_doc end-to-end before touching code.task_completed.Branch on task type only when the handoff declares one explicitly (a task_type: field in frontmatter, or a labeled section in the body). If no explicit task type is present, do not infer one from the file targets or step shape — execute the handoff as written.
code — mandatory 4-step RED-GREEN: (1) write the failing test, (2) run and confirm it fails, (3) implement minimal code to pass, (4) run and confirm it passes. Mirrors the authoritative spec in rad-create-plans/references/master-plan/workflow.md:132–140.doc / config / infra — follow the handoff's author-chosen steps in order. No TDD shape required, but every step still traces to a requirement tag as written.code tasks)Any of these fired → log as an Execution Note:
Hard rules on your own test and code additions:
expect(mock).toHaveBeenCalled() with nothing about the production side effect).Carve-out: if a handoff step explicitly prescribes one of these shapes, follow the handoff but log the concern as an Execution Note so the authoring upstream (explosion script or orchestrator) gets feedback.
Before emitting task_completed, scan your own diff against four dimensions. Findings → Execution Notes.
code tasks.A single channel for executor feedback to the stateless code reviewer and the orchestrator — without halting the pipeline.
## Execution Notes heading. No earlier placement. No separate file.After running terminal commands inside a project subdirectory, restore working directory to the workspace root before continuing. Stale CWD slows every subsequent tool call.
| Artifact | Path | Format |
|----------|------|--------|
| Source code | File Targets entries (Create / Modify) | Language-specific |
| Tests | Paths derived from the handoff's Steps / Acceptance (or whichever section specifies tests) | Language-specific |
| Execution Notes (optional) | Appended to end of handoff_doc under ## Execution Notes | Markdown |
development
Use this skill whenever a task might involve code beyond the current working directory — when you're figuring out where code lives, scoping work that may span multiple repositories, or about to act as if the current repo is the whole system — and whenever the user wants to register, bind, describe, group, or manage repositories and repo-groups. The repo registry is your map of the repos a team works across and how they relate.
tools
Stop the detached radorch dashboard UI server (SIGTERM).
business
Report whether the radorch dashboard UI server is running, and its URL.
business
Start the radorch dashboard UI as a detached server and report the URL.