Overview
The AI Workforce is Apollo’s autonomous coding system. It takes Project Ready Prompts (PRPs) generated by PSE or Magic Box and autonomously writes code, runs validations, and opens pull requests — with human review at the end.
Pipeline
Validation Pipeline
Every AI-generated PR goes through three validators:
| Validator | Weight | What It Checks |
|---|
| Strix Security | 40% | Security vulnerabilities, injection risks, secrets exposure |
| Playwright E2E | 35% | End-to-end tests pass, UI functions correctly |
| Requirements Compliance | 25% | Code matches the original PRP requirements |
The combined score determines whether the PR is auto-approved (>= 85%) or sent for human review.
Human Review Interface
Navigate to AI Hub > Workflow to see the review queue. For each AI-generated PR, you can:
- View the agent reasoning steps — why it made each decision
- Review the PR diff — exact code changes
- Read the validation reports — detailed results from each validator
- Approve — merge the PR
- Reject — send it back for revision with feedback
GitHub Write Operations
The AI Workforce can perform these GitHub operations:
- Create branches
- Commit code changes
- Open pull requests
- Create PR reviews
- Merge pull requests (after approval)
All write operations go through the HITL review process. The AI cannot merge PRs without human approval.