Documentation

Everything you need to know about installing, configuring, and using Athena CI/CD.

Quick Start

Athena works out of the box with zero configuration:

  1. Install Athena from the GitHub Marketplace
  2. Select the repositories you want Athena to analyze
  3. Open a pull request — Athena will create Check Runs with its analysis

That's it. No YAML to write, no dashboard to visit, no commands to run.

How It Works

When a pull request is opened or updated, Athena runs a 6-phase pipeline:

Phase 1 — Orchestrator

Receives the webhook from GitHub, verifies the HMAC signature, creates a durable processing record in the database, and coordinates the remaining phases.

Phase 2 — Change Intelligence (CIS)

Classifies every changed file by category (source, test, config, docs, infra, migration, etc.) and determines the intent of the PR. Supported intents:

Phase 3 — CI Planning (CPRS)

Generates an execution plan based on the CIS report. Each of 14 possible CI jobs is classified as:

Phase 4 — CI Execution (CIES)

Dispatches the planned jobs via workflow_dispatch to your GitHub Actions workflow, or operates in dry-run mode showing exactly what would run.

Phase 5 — Validation & Feedback (VFS)

Analyzes CI execution results, detects failure patterns, computes per-module health scores, and identifies flaky test signals.

Phase 6 — Learning & Evolution (LES)

Converts validation feedback into autonomous routing adjustments. If a module keeps failing, Athena increases the validation floor for future PRs touching that module.

GitHub Checks

Athena creates multiple Check Runs on each PR, one per phase:

Check NamePhaseShows
Athena CI/CD Orchestrator1Pipeline status and pre-analysis summary
Athena Change Intelligence2Intent, confidence, impact level, affected domains
Athena CI/CD Execution Plan3Required/optional/skipped jobs with rationale
Athena CI/CD Execution4Dispatch status, workflow inputs, job list
Athena Validation & Feedback5CI outcomes, failure patterns, module health
Athena Learning & Evolution6Recommendations and autonomous adjustments

Configuration

Athena works with zero configuration, but you can customize behavior with environment variables on your hosting platform:

VariableDefaultDescription
ENABLE_WORKFLOW_DISPATCHfalseActually trigger GitHub Actions (vs dry-run)
ENABLE_MANUAL_COMMANDSfalseEnable /athena commands in PR comments
ENABLE_INTRO_COMMENTSfalsePost a welcome comment on new PRs
ENABLE_LEARNING_CHECKStrueCreate Phase 6 Check Run with learning output

Dynamic CI Workflow

To enable real CI execution, add the Athena dynamic workflow to your repository:

  1. Copy athena-dynamic-ci.yml to .github/workflows/ in your repo
  2. Replace the echo placeholders with your real CI commands
  3. Set ENABLE_WORKFLOW_DISPATCH=true

Athena dispatches this workflow with a JSON list of jobs to run. Each job uses an if: contains(...) guard so only the relevant jobs execute.

Permissions Required

Athena requires these GitHub App permissions:

Data & Privacy

Athena processes webhook metadata (file names, SHAs, PR titles) to make routing decisions. It does not read or store your source code. See our Privacy Policy for full details.