Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/spark-inquisitor/blob/main/.github/workflows/ci.yml # spark-inquisitor Ultra-fast compiled native Rust gatekeeper and automated code reviewer Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `spark-inquisitor / .github / workflows / ci.yml` 78 lines · 2398 bytes Raw Blame History 1 name: Sovereign CI 2 3 on: 4 push: 5 branches: [main] 6 pull_request: 7 branches: [main] 8 workflow_dispatch: 9 10 permissions: 11 contents: read 12 13 jobs: 14 test: 15 name: Test & Verify Inquisitor Action 16 runs-on: ubuntu-latest 17 steps: 18 - name: Checkout repository 19 uses: actions/checkout@v4 20 21 - name: Checkout AIEN Protocols Dependency 22 uses: actions/checkout@v4 23 with: 24 repository: aien-dev/aien-protocols 25 path: aien-protocols 26 27 - name: Setup Sibling Dependencies 28 run: | 29 mkdir -p ../aien-protocols 30 cp -r aien-protocols/* ../aien-protocols/ 31 32 - name: Install Stable Rust Toolchain 33 uses: dtolnay/rust-toolchain@stable 34 with: 35 components: rustfmt, clippy 36 37 - name: Verify Code Formatting 38 run: cargo fmt --all -- --check 39 40 - name: Cargo Check 41 run: cargo check --all-targets 42 43 - name: Cargo Clippy Invariant 44 run: cargo clippy --all-targets -- -D warnings 45 46 - name: Run Tests 47 run: cargo test --verbose -- --test-threads=1 48 49 - name: Enforce Zero Disk Secrets Invariant 50 run: | 51 echo "Auditing repository for prohibited plaintext secret files..." 52 if find . -maxdepth 4 -name ".env*" -not -path "*/.git/*" -not -path "*/target/*" | grep -q .; then 53 echo "::error::Prohibited plaintext .env file found. Use an approved AIEN SecretProvider." 54 exit 1 55 fi 56 echo "Zero plaintext .env files verified." 57 58 - name: Enforce Sovereign Voice and Anti-Slop Invariant 59 run: | 60 echo "Auditing repository for em dashes, en dashes, and formulaic tropes..." 61 BAD_CHARS=$(grep -rnE --exclude-dir=target --exclude-dir=.git --exclude-dir=aien-protocols --exclude="*.rs" --exclude="*.json" --exclude="*.safetensors" "—|–" src/ tests/ README.md || true) 62 if [ -n "$BAD_CHARS" ]; then 63 echo "::error::Em dashes or en dashes detected:" 64 echo "$BAD_CHARS" 65 exit 1 66 fi 67 echo "Sovereign voice compliance verified." 68 69 - name: Build Release Binary 70 run: cargo build --release 71 72 - name: Install Inquisitor to Path 73 run: sudo cp target/release/spark-inquisitor /usr/local/bin/ 74 75 - name: Verify Composite Action Execution 76 uses: ./ 77 with: 78 command: doctor