plan-exec-loop

Execute multi-phase AI deployment plans with resumable sessions and git governance.

Updated May 2, 2026
One-click install
npx skills add https://github.com/Tacuchi/agent-workflow-cli --skill plan-exec-loop
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: plan-exec-loop
Source: https://github.com/Tacuchi/agent-workflow-cli/tree/main/skills/w/loops/plan-exec-loop
Command: npx skills add https://github.com/Tacuchi/agent-workflow-cli --skill plan-exec-loop

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

The plan-exec-loop provides a reusable, gap-driven engine to orchestrate the execution of AI deployment plans across multiple phases, maintaining per-phase sessions, a robust git policy, and careful handling of database interactions and artifacts with zero automatic exports.

Core Features & Use Cases

  • Gap-driven execution: runs per-phase exec sessions and resumes where left off.
  • Session governance: dedicated control sessions and per-phase exec sessions with checkpoint persistence.
  • Governance & safety: branch checks before edits, proposed commits by source, and strict non-execution of DDL/DML; migrations are drafted to SCRIPTS.sql and used for read-only validation.
  • Export discipline: artifacts remain in sessions; explicit export-* steps promote artifacts to docs.

Quick Start

Run plan-exec-loop to start executing the PPP-plan with resumable sessions.

Frequently Asked Questions about plan-exec-loop

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

FAQPage Schema
How do I execute AI deployment plans safely across multiple phases?

To execute AI deployment plans safely, you can use a gap-driven plan-exec loop that maintains per-phase sessions and applies strict git branch checks before edits. This orchestrates multi-phase execution while ensuring proposed commits are governed by source.

How does session-based resumption work for AI planning workflows?

Session-based resumption works by running dedicated control sessions and per-phase execution sessions with checkpoint persistence. The gap-driven engine resumes the AI planning workflow exactly where the previous session left off, preventing duplicate task execution.

Can I draft database migrations to SCRIPTS.sql without executing DDL or DML?

Yes, you can draft database migrations to SCRIPTS.sql for read-only validation. The workflow enforces strict non-execution of DDL and DML statements, ensuring that drafted migrations are only used for safe, read-only analyses during the execution loop.

What is the best way to manage artifact promotion to docs during plan execution?

The best way to manage artifact promotion is through explicit export steps. Artifacts remain securely within sessions during the plan execution loop, and you must use explicit export-* actions to promote them to the docs directory, ensuring zero automatic exports.

Does the plan-exec loop approach support git policy enforcement during automated workflows?

Yes, the plan-exec loop approach supports robust git policy enforcement during automated workflows. It performs branch checks before allowing edits and groups proposed commits by their source, maintaining an auditable and safe deployment workflow.

How do I resume an interrupted multi-phase AI workflow without losing progress?

You can resume an interrupted multi-phase AI workflow by leveraging the plan-exec loop's checkpoint persistence. It uses gap-driven execution to identify incomplete phases and resumes the session-based workflow without losing prior progress or repeating completed tasks.