Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
0e48a82
docs(08): capture phase context
Galzi1 Apr 8, 2026
85a1927
docs(state): record phase 8 context session
Galzi1 Apr 8, 2026
da8d4ef
docs(08): create phase plan
Galzi1 Apr 9, 2026
3857a59
fix(08): revise phase plans based on checker feedback
Galzi1 Apr 9, 2026
6dac5c3
fix(08): revise plans based on checker feedback
Galzi1 Apr 9, 2026
9731c78
fix(08): revise plan 08-02 publication staging contract
Galzi1 Apr 9, 2026
c62005f
docs(08): add planning research artifacts
Galzi1 Apr 9, 2026
61276f0
Tighten phase 8 plan docs
Galzi1 Apr 10, 2026
9670668
feat: ship phase 8 workflow and docs
Galzi1 Apr 10, 2026
f556828
chore: repin workflow bootstrap ref
Galzi1 Apr 10, 2026
87c68bd
fix: allow workflow secret checks to parse
Galzi1 Apr 10, 2026
4778121
fix: point workflow bootstrap to live repo
Galzi1 Apr 10, 2026
b5de754
fix: avoid heredoc break in cursor persistence
Galzi1 Apr 10, 2026
9b23d40
docs: record phase 8 validation
Galzi1 Apr 10, 2026
b1a2ab6
fix: recover wrapped classifier JSON
Galzi1 Apr 11, 2026
43d7a75
fix: validate parsed classifier payloads
Galzi1 Apr 11, 2026
d5e89cc
Merge pull request #15 from Galzi1/fix/classifier-json-recovery
Galzi1 Apr 11, 2026
5042271
fix: skip Qodo issue comment boilerplate
Galzi1 Apr 11, 2026
a1c9a68
fix: skip automation kb pull requests
Galzi1 Apr 11, 2026
8ea86dd
fix: ignore Qodo issue comments
Galzi1 Apr 11, 2026
89cf0ec
docs(phase-8): add security threat verification
Galzi1 Apr 11, 2026
8cfbb36
docs(phase-8): update nyquist validation
Galzi1 Apr 11, 2026
ddf93a5
docs(08): ship phase 8 - PR #16
Galzi1 Apr 11, 2026
ec4ce25
fix: address PR #16 review comments
Galzi1 Apr 11, 2026
a1004de
fix: defensive cursor parsing in persistence step
Galzi1 Apr 11, 2026
54f8da3
feat: add E2E pipeline integration test against demo repo
Galzi1 Apr 11, 2026
5486981
ci: allow manual workflow_dispatch trigger for e2e-pipeline job
Galzi1 Apr 11, 2026
dd7b579
fix: correct E2E test assertions for ClassifiedFile.pr and pr_url fro…
Galzi1 Apr 11, 2026
f341ba1
fix: use ClassifiedFile.classifications not .comments in E2E test
Galzi1 Apr 11, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 20 additions & 9 deletions .env.example
Original file line number Diff line number Diff line change
@@ -1,11 +1,22 @@
# Required: GitHub Personal Access Token with repo read permissions
# Generate at: https://github.com/settings/tokens
# Scopes needed: repo (or public_repo for public repos only)
# Local CLI/runtime configuration for github-pr-kb.
# This file is for local development and manual runs only.
# Workflow repository secrets belong in GitHub repository secrets, not here.
# Do not add KB_VARIABLES_TOKEN, KB_VARIABLES_APP_ID, or KB_VARIABLES_APP_PRIVATE_KEY to .env.

# Required for local extraction and for any command that reads GitHub PR data.
GITHUB_TOKEN=your_github_token_here

# Future variables (added in their respective phases):
# ANTHROPIC_API_KEY=your_anthropic_api_key_here # Phase 4: Classification
# ANTHROPIC_MODEL=claude-haiku-4-5-20251001 # Optional: override classifier model
# ANTHROPIC_GENERATE_MODEL=claude-sonnet-4-5 # Optional: override article generator model
# KB_OUTPUT_DIR=kb # Optional: change the generated knowledge base output directory
# MIN_CONFIDENCE=0.5 # Optional: generator skips classifications below this confidence
# Required for local classify/generate runs.
ANTHROPIC_API_KEY=your_anthropic_api_key_here

# Optional classifier model override.
ANTHROPIC_MODEL=claude-haiku-4-5-20251001

# Optional article-generation model override.
ANTHROPIC_GENERATE_MODEL=claude-sonnet-4-5

# Optional output directory for generated KB files.
KB_OUTPUT_DIR=kb

# Optional minimum confidence threshold for KB generation.
MIN_CONFIDENCE=0.5
24 changes: 24 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:
merge_group:
branches:
- main
workflow_dispatch:

permissions:
contents: read
Expand Down Expand Up @@ -59,3 +60,26 @@ jobs:

- name: Run phase 7 e2e harness
run: .venv/bin/python -m pytest tests/test_phase7_uat_envs.py -v -m e2e

e2e-pipeline:
name: e2e-pipeline
if: github.ref == 'refs/heads/main' || github.event_name == 'workflow_dispatch'
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4

- name: Install uv
uses: astral-sh/setup-uv@d4b2f3b6ecc6e67c4457f6d3e41ec42d3d0fcb86 # v5
with:
python-version: "3.11"

- name: Install dependencies
run: uv sync --all-groups --frozen

- name: Run E2E pipeline against demo repo
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}
RUN_INTEGRATION_TESTS: "1"
run: .venv/bin/python -m pytest tests/test_e2e_pipeline.py -v -m e2e
Loading
Loading