execute-phase

Executes planned phase lanes with git preflight, ownership boundaries, and verification.

2|1|Updated Jun 25, 2026
One-click install
npx skills add https://github.com/Consiliency/agent-harness --skill execute-phase-consiliency
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: execute-phase
Source: https://github.com/Consiliency/agent-harness/tree/main/phase-loop-skills/execute-phase
Command: npx skills add https://github.com/Consiliency/agent-harness --skill execute-phase-consiliency

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve? Implementing a multi-lane phase plan by hand risks dirty worktrees, cross-lane file conflicts, unverified changes, and lost handoff state. This Skill executes a <harness>-plan-phase plan deterministically, enforcing owned-file boundaries, verification gates, and machine-readable closeouts so autonomous phase loops stay auditable. ## Core Features & Use Cases - Lane-scoped execution: Parses the plan's lane DAG, owned-file globs, and interface contracts, then executes lanes in topological order without touching peer-owned files. - Git safety and closeout audits: Runs preflight git status checks, closeout audits via phase-loop-closeout-audit, and classifies dirty paths as phase-owned, control, or conflicting before reporting completion. - Optional worker fanout: Supports explicit parallel subagent execution only for machine-verified disjoint lanes, with worktree allocation, pre-merge destructiveness checks, and post-merge import smoke tests via bundled scripts. - Use Case: After planning a phase with plan-phase, invoke this Skill to implement all lanes, run verification commands, write a reflection and handoff, and emit a typed closeout the phase-loop runner can consume. ## Quick Start Ask the agent to execute the latest phase plan in plans/ using the execute-phase skill and report the verification results and next command.

Frequently Asked Questions about execute-phase

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I execute a phase plan with an AI coding agent?▼

Point the skill at a plan file (default: latest plans/phase-plan-*.md) and it runs preflight git checks, parses the lane DAG and owned files, then implements each lane in topological order with verification. Use --dry-run to preview the lane schedule without editing.

How does lane ownership prevent conflicts in parallel execution?▼

Each lane declares owned-file globs that act as the write contract; the executor stops if implementation requires touching another lane's files. Parallel worker fanout is allowed only when lanes are machine-verified disjoint, using scripts like audit_lane_file_touches.py to detect peer intrusions.

Can I run multiple worker subagents in parallel on one phase?▼

Yes, but only when the user explicitly requests parallel execution and the DAG-ready lanes are disjoint. Workers receive exact owned files, read-only interfaces, and worktree assignments, while the main thread integrates results and runs final verification.

What happens when verification fails during phase execution?▼

The executor diagnoses the failure once and fixes it within the lane if the cause is local; otherwise it stops with a typed blocker such as repeated_verification_failure. A closeout reporting success requires a runner-owned verification artifact supporting the executed work.

Why does execution stop with a dirty_worktree_conflict blocker?▼

The closeout audit classifies every dirty git path as phase-owned, control, pre-existing, or unowned. Unowned generated files, unknown ignored outputs, or unrelated user changes overlapping lane files block completion until they are committed, isolated, or resolved.

Does execute-phase work without the phase-loop runner?▼

Yes, manual standalone runs remain valid for local phase plans without Pipeline metadata. When a canonical .phase-loop/ runtime state exists it is treated as authoritative, but the skill preserves standalone behavior for manual dotfiles use.