Harness Implementation Orchestrator
Use this skill for multi-file, high-risk, or long-running implementation work that must remain resumable and well-governed.
Non-Negotiable Rules
- Do not code until Plan 1, Review 1, Plan 2, Review 2, Plan 3, and Review 3 are complete.
- Freeze the implementation goal before any broad code change starts.
- Record a chunk contract before implementation starts.
- Refresh governance artifacts before and after each chunk.
- Keep each chunk limited to one verifiable outcome.
- Add or update tests for behavior that changes.
- Treat legacy adoption as a non-destructive harness overlay; do not delete or replace existing application source during setup.
- For parallel work, the main agent is the hub: classify dependencies, assign only independent chunks to workers, review receipts, and accept integration only after evidence is sufficient.
Recommended Delegation Roles
@harness-orchestratorfor dependency mapping, worker assignment, and context injection@harness-implementerfor the approved code chunk@harness-verifierfor targeted checks and regression validation@harness-doc-writerfor governance updates@harness-expert-reviewerfor focused expert-lens reviews@harness-quality-gatefor post-work remediation and final quality closure
Chunking Heuristics
Split the work when any of these are true:
- more than one subsystem changes together
- the blast radius is unclear
- test scope is larger than one focused verification pass
- a session interruption would lose hidden context
- independent chunks can run in parallel without shared write paths, DB/schema changes, API contract conflicts, runtime side effects, or integration-sensitive shared files
- dependency manifests, lockfiles, CI workflows, shared config, generated clients, DB migrations, and API contracts require one merge owner or sequential execution even when text paths do not overlap
Parallel Execution
- Build a dependency map for the backlog.
- Mark chunks as blocked, sequential, or parallel-ready.
- Assign one worker per independent chunk.
- Define expected read paths, expected write paths, assigned worker, dependency map, merge owner, integration owner, parallel safety status, and evaluation threshold.
- Run
audit_harness_parallel_chunk_conflicts; resolve hard conflicts and treat integration warnings as requiring sequentialization or a named merge owner. - Inject only relevant code snippets, DB schema fragments, API specs, logs, commands, and verification instructions.
- Require worker receipts with changed paths, verification evidence, residual risk, confidence, and undeclared path requests.
- Integrate through evaluator evidence, receipts, dashboard updates, and atomic commits.
- Repeat work -> evaluate -> improve until the hub can explain why the chunk is accepted or blocked.
Per-Chunk Workflow
- Refresh context, review, and plan artifacts.
- Write or refresh the contract with scope, done criteria, and evaluator thresholds.
- Implement the approved chunk only.
- Run targeted verification and update or add tests.
- Run independent evaluation or code review and remediate findings immediately.
- Run the maturity gate: static analysis, boundary testing, environment compatibility, dependency audit, maintainability review, self-correction, and atomic commit traceability.
- Update world model memory with lessons, decisions, tacit context, evidence links, and next safest action.
- Refresh handover and governance state before closing the chunk.