A lightweight, disciplined, and deterministic framework for coordinating AI agent workflows in local development environments. It prevents AI agents from drifting, skipping phases, or making unverified claims.
Current package release: 1.2.4 Governance & Routing Stabilization
Canonical playbook: 1.2.0
Runtime: 1.2.1
ChatGPT Companion: 1.2.2
AI coding assistants are highly capable but prone to state drift and over-claiming:
- An agent starts implementing a feature.
- It mutates dozens of files across multiple modules.
- It declares the task completed based on its own internal reasoning.
- The system fails to build, tests fail, or human review reveals extensive unintended side-effects.
Agentic Pipeline solves this. It forces a structured, step-by-step loop where the agent cannot proceed to the next phase without providing deterministic evidence (passing test runs, clean diffs, and exact terminal commands) and obtaining explicit human approval at phase boundaries.
- Software Engineers pair-programming with advanced AI agents who want to maintain absolute control over code quality and architecture.
- Team Leads establishing safety guidelines for AI-assisted development.
- Security & QA Teams requiring verifiable, audit-ready compliance trails for AI-generated code.
The pipeline separates reasoning, process, and product code into three distinct planes:
graph TD
A["💬 ChatGPT Companion / Chat Console<br>(Divergent Thinking, Design, Ideation)"]
-->|Plan/Spec Instructions| B["⚡ Agentic Pipeline<br>(Workflows, Durable Rules, Hooks, Skills)"]
B -->|Deterministic Mutation & Tests| C["📦 Product Project<br>(Source Code, Tests, Evidence Ledger)"]
C -->|Verified Artifacts / Status| B
B -->|Strict Checkpoints & Logs| A
- ChatGPT Companion (Chat Console): The entry point for divergent thinking, architecture debates, and high-level goal definition. Note: The companion is not the executor. The chat console cannot verify safety constraints by itself.
- Agentic Pipeline (Governance & Environment): Coordinates the local agent using strict workflows, durable rules (e.g.
00-project-rules.md), narrow on-demand skills, and local hooks (guard_preflight.ps1). - Product Project (The Workspace): The target codebase containing actual source files, automated test suites, the machine-readable
.agy/PHASE_STATUS.json, and the append-only.agy/EVIDENCE_LOG.md.
Important
Core Trust Invariant: LLM claims in chat are not verification. Deterministic terminal commands, test results, git diffs, screenshots, and exit codes in the workspace are verification.
Run the deterministic installer from the pipeline repository:
powershell -NoProfile -ExecutionPolicy Bypass -File .\scripts\windows\Initialize-AgenticProject.ps1 -Mode New -TargetRoot "$env:USERPROFILE\Documents\antigravity\My New Project"The first run is a dry-run. Add -Apply after reviewing it. A new project always starts at:
/specdoc
Adoption is a separate infrastructure operation. Finish active feature work first, then run:
powershell -NoProfile -ExecutionPolicy Bypass -File .\scripts\windows\Initialize-AgenticProject.ps1 -Mode Adopt -TargetRoot "C:\path\to\existing-project"After review, add -Apply. Adoption starts at /landing, followed by /auditphase. Existing .agy state is not silently overwritten.
Bash users may use:
bash scripts/bash/adopt-pipeline.sh /path/to/your/projectWorkflows are executed sequentially. Each command represents a strict phase boundary:
[Idea]
│
▼
/specdoc # Create the SPEC.md and PROJECT.md requirements
│
▼
/planonly # Create implementation_plan.md & verification tasks
│
▼
/auditphase # Verify workspace cleanliness and rule alignment
│
▼
/nextphase # Implement exactly ONE planned phase and stop
│
▼
/visualqa # (Optional) Verify browser UI using DevTools MCP
│
▼
/securityaudit # (Optional) Verify privacy, data flows, and secrets
│
▼
/shipcheck # Enforce final release checks (tests, status, logs)
│
▼
/githubprepare # Scaffold README, license, and workflows for GitHub
│
▼
/githubsync # Safely commit and push updates to the remote repo
For minor styling or UI-only edits, the agent may use /fastpatch only if the local check script allows it:
powershell -NoProfile -ExecutionPolicy Bypass -File .\scripts\Test-FastPatchAllowed.ps1The decision to publish code is strictly binary and evidence-gated:
- SHIP: Allowed only if
.agy/PHASE_STATUS.jsonis fully approved, all automated semantic test runs pass, visual QA reports no regressions, and no high-risk items remain in the risk ledger. - NO-SHIP: Triggered automatically if any hook fails, a command returns a non-zero exit code, unverified LLM claims exist, or rollback notes are missing.
Explore detailed guides and conceptual articles in Russian and English:
- Getting Started: START_HERE.en.md / START_HERE.ru.md
- Context Control: CONTEXT_SPLIT.en.md explaining how to isolate instructions from codebase knowledge.
- Installation: Detailed environment guides inside docs/guides/.
- Version History: docs/PIPELINE_VERSION_MATRIX.md.
- Full Index: Refer to the complete docs/README.md documentation sitemap.
This project is licensed under the MIT License - see the LICENSE file for details.