From bbd782641673f2e44ebe93a2e55fe3e89a8eb903 Mon Sep 17 00:00:00 2001 From: "Hermes (desk)" Date: Sun, 18 Oct 2026 18:41:12 -0500 Subject: [PATCH] Remove hosted test workflows: testing runs on the Spark only Drake, 2026-10-18: all testing runs on the local network; nothing is tested on GitHub-hosted runners. This removes the workflows here that built or tested code on ubuntu-latest. Workflows that only publish (the aienos.com Pages deploy) stay, without their test step. --- .github/workflows/sovereign-reviewer.yml | 219 ----------------------- 1 file changed, 219 deletions(-) delete mode 100644 .github/workflows/sovereign-reviewer.yml diff --git a/.github/workflows/sovereign-reviewer.yml b/.github/workflows/sovereign-reviewer.yml deleted file mode 100644 index ecd9de9..0000000 --- a/.github/workflows/sovereign-reviewer.yml +++ /dev/null @@ -1,219 +0,0 @@ -name: Sovereign Gatekeeper & Automated Reviewer - -on: - pull_request_target: - types: [opened, synchronize] - issues: - types: [opened] - issue_comment: - types: [created] - -permissions: - pull-requests: write - issues: write - contents: read - -jobs: - pr-reviewer: - if: github.event_name == 'pull_request_target' - runs-on: ubuntu-latest - steps: - - name: Checkout Repository - uses: actions/checkout@v4 - - - name: Checkout Sovereign Inquisitor Core - uses: actions/checkout@v4 - with: - repository: aien-dev/aien-sovereign-core - path: sovereign-core - - - name: Checkout Sibling Protocols Dependency - uses: actions/checkout@v4 - with: - repository: aien-dev/aien-protocols - path: aien-protocols - - - name: Build Sovereign Inquisitor - run: cargo build --release --manifest-path sovereign-core/Cargo.toml -p spark-inquisitor - - - name: Verify Test Suite - run: cargo test --verbose - - - name: Fetch PR Diff - env: - GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - PR_NUMBER: ${{ github.event.pull_request.number }} - run: | - gh pr diff "$PR_NUMBER" > pr.diff - - - name: Execute Sovereign Code Review - id: review - continue-on-error: true - env: - PR_AUTHOR: ${{ github.event.pull_request.user.login }} - PR_NUMBER: ${{ github.event.pull_request.number }} - PR_TITLE: ${{ github.event.pull_request.title }} - run: | - ./sovereign-core/target/release/spark-inquisitor review \ - --author "$PR_AUTHOR" \ - --pr "$PR_NUMBER" \ - --title "$PR_TITLE" \ - --diff pr.diff \ - --output comment.md \ - --output-labels labels.txt - - - name: Post PR Review Comment - if: always() && steps.review.conclusion != 'skipped' - env: - GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - PR_NUMBER: ${{ github.event.pull_request.number }} - run: | - if [ -f comment.md ]; then - gh pr comment "$PR_NUMBER" --body-file comment.md - fi - - - name: Apply Review Labels - if: always() && steps.review.conclusion != 'skipped' - env: - GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - PR_NUMBER: ${{ github.event.pull_request.number }} - run: | - if [ -f labels.txt ]; then - LABELS=$(cat labels.txt) - if [ -n "$LABELS" ]; then - gh pr edit "$PR_NUMBER" --add-label "$LABELS" || true - fi - fi - - - name: Verify Audit Invariants - env: - REVIEW_OUTCOME: ${{ steps.review.outcome }} - run: | - if [ "$REVIEW_OUTCOME" != "success" ]; then - echo "Constitutional diff audit detected violations. See PR comment for details." - exit 1 - fi - - issue-triage: - if: github.event_name == 'issues' && github.event.action == 'opened' - runs-on: ubuntu-latest - steps: - - name: Checkout Sovereign Inquisitor Core - uses: actions/checkout@v4 - with: - repository: aien-dev/aien-sovereign-core - - - name: Checkout Sibling Protocols Dependency - uses: actions/checkout@v4 - with: - repository: aien-dev/aien-protocols - path: aien-protocols - - - name: Setup Sibling Dependencies - run: | - mkdir -p ../aien-protocols - cp -r aien-protocols/* ../aien-protocols/ - - - name: Build Sovereign Inquisitor - run: cargo build --release -p spark-inquisitor - - - name: Extract Issue Payload Safely - run: | - jq -r '.issue.body // ""' "$GITHUB_EVENT_PATH" > issue_body.txt - - - name: Execute Sovereign Issue Triage - env: - ISSUE_AUTHOR: ${{ github.event.issue.user.login }} - ISSUE_NUMBER: ${{ github.event.issue.number }} - ISSUE_TITLE: ${{ github.event.issue.title }} - run: | - ./target/release/spark-inquisitor triage-issue \ - --author "$ISSUE_AUTHOR" \ - --issue "$ISSUE_NUMBER" \ - --title "$ISSUE_TITLE" \ - --body issue_body.txt \ - --output-comment issue_reply.md \ - --output-labels issue_labels.txt - - - name: Post Issue Triage Comment - env: - GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - ISSUE_NUMBER: ${{ github.event.issue.number }} - run: | - if [ -f issue_reply.md ]; then - gh issue comment "$ISSUE_NUMBER" --body-file issue_reply.md - fi - - - name: Apply Issue Labels - env: - GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - ISSUE_NUMBER: ${{ github.event.issue.number }} - run: | - if [ -f issue_labels.txt ]; then - LABELS=$(cat issue_labels.txt) - if [ -n "$LABELS" ]; then - gh issue edit "$ISSUE_NUMBER" --add-label "$LABELS" || true - fi - fi - - comment-evaluator: - if: github.event_name == 'issue_comment' && github.event.action == 'created' && github.event.issue.pull_request != null && github.event.comment.user.login != 'github-actions[bot]' && github.event.comment.user.login != 'aien-dev' - runs-on: ubuntu-latest - steps: - - name: Checkout Sovereign Inquisitor Core - uses: actions/checkout@v4 - with: - repository: aien-dev/aien-sovereign-core - - - name: Checkout Sibling Protocols Dependency - uses: actions/checkout@v4 - with: - repository: aien-dev/aien-protocols - path: aien-protocols - - - name: Setup Sibling Dependencies - run: | - mkdir -p ../aien-protocols - cp -r aien-protocols/* ../aien-protocols/ - - - name: Build Sovereign Inquisitor - run: cargo build --release -p spark-inquisitor - - - name: Extract Comment Payload Safely - run: | - jq -r '.comment.body // ""' "$GITHUB_EVENT_PATH" > comment_body.txt - - - name: Evaluate Contributor Testimony - id: eval - continue-on-error: true - env: - COMMENT_AUTHOR: ${{ github.event.comment.user.login }} - run: | - ./target/release/spark-inquisitor evaluate \ - --testimony comment_body.txt \ - --author "$COMMENT_AUTHOR" \ - --output-comment verdict.md \ - --output-labels verdict_labels.txt - - - name: Post Verdict Comment - if: always() && steps.eval.conclusion != 'skipped' - env: - GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - ISSUE_NUMBER: ${{ github.event.issue.number }} - run: | - if [ -f verdict.md ]; then - gh pr comment "$ISSUE_NUMBER" --body-file verdict.md - fi - - - name: Update PR Labels - if: always() && steps.eval.conclusion != 'skipped' - env: - GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - ISSUE_NUMBER: ${{ github.event.issue.number }} - run: | - if [ -f verdict_labels.txt ]; then - LABELS=$(cat verdict_labels.txt) - if [ -n "$LABELS" ]; then - gh pr edit "$ISSUE_NUMBER" --add-label "$LABELS" || true - fi - fi