GitHub Agentic Workflows for LightSpeed release orchestration and automation.
File: release.agent.js
Orchestrates release automation with:
- Step 1: Initialize & Pre-flight checks
- Step 2: Agentic reasoning with confidence scoring
- Steps 3-9: 7-layer safety gates
- Step 10: Audit logging and report generation
Features:
- Dry-run mode with artifact generation
- Structured audit logging
- AUGMENT strategy: wraps Phase 4 shell scripts (no breaking changes)
- Patch/minor/major scopes with tiered approvals
Usage:
# Dry-run test
node release.agent.js --scope=patch --dry-run --skip-branch-check
# Live release
node release.agent.js --scope=patchFile: release.md
Declarative workflow specification defining:
- 10 workflow steps
- Input/output contracts
- Safety gates and approval flows
- Error handling strategies
- Dry-run mode behavior
Phase 5A MVP (Week 2, 2026-08-12)
- ✅ Core orchestrator implemented
- ✅ All 7 safety gates functional
- ✅ Dry-run support verified
- ⏳ Phase 4 shell script integration (Phase 5A Week 2 Days 3-4)
- AGENTIC_WORKFLOW_SPEC.md — Design decisions
- Phase 5A Project — Full project documentation
flowchart TD
accTitle: flowchart diagram
accDescr: flowchart flowchart
A[Start Here] --> B[Read Scope and Prerequisites]
B --> C[Run the Documented Workflow]
C --> D[Validate with Repo Tooling]
D --> E[Open PR or Hand-off]
classDef start fill:#E8F5E9,stroke:#2E7D32,stroke-width:2px,color:#1B5E20;
classDef prep fill:#E3F2FD,stroke:#1565C0,stroke-width:2px,color:#0D47A1;
classDef run fill:#fef3c7,stroke:#b45309,stroke-width:2px,color:#4a2c00;
classDef gate fill:#f3e8ff,stroke:#7e22ce,stroke-width:2px,color:#3b0764;
classDef done fill:#E0F2F1,stroke:#00695C,stroke-width:2px,color:#004D40;
class A start;
class B prep;
class C run;
class D gate;
class E done;