|
| 1 | +name: Sovereign Brain CI - Cognitive Orchestration Validation |
| 2 | + |
| 3 | +on: |
| 4 | + push: |
| 5 | + branches: [ main, master ] |
| 6 | + pull_request: |
| 7 | + branches: [ main, master ] |
| 8 | + workflow_dispatch: # Enables Manual Execution for the General Director |
| 9 | + |
| 10 | +env: |
| 11 | + CARGO_TERM_COLOR: always |
| 12 | + AICENT_BASELINE: 1.2.1-Alpha |
| 13 | + SHARDING_THRESHOLD_US: 200 |
| 14 | + |
| 15 | +jobs: |
| 16 | + cognitive-audit: |
| 17 | + name: Cognitive Homeostasis Check |
| 18 | + runs-on: ubuntu-latest |
| 19 | + |
| 20 | + steps: |
| 21 | + - name: 📥 Ingesting Neural Logic |
| 22 | + uses: actions/checkout@v4 |
| 23 | + |
| 24 | + - name: 🧬 Initializing Sovereign Rust Environment |
| 25 | + uses: dtolnay/rust-toolchain@stable |
| 26 | + with: |
| 27 | + components: clippy, rustfmt |
| 28 | + |
| 29 | + - name: 📏 Genetic Consistency Check (Format) |
| 30 | + run: cargo fmt --all -- --check |
| 31 | + |
| 32 | + - name: ⚡ Reflex Arc Compilation Audit |
| 33 | + run: cargo check --verbose |
| 34 | + |
| 35 | + - name: 🛡️ Immunity & Logic Integrity Scan (Clippy) |
| 36 | + run: cargo clippy -- -D warnings |
| 37 | + |
| 38 | + - name: 🧠 Executing Full-Blood Orchestration Demo |
| 39 | + # This runs the newly updated demo to verify trait injection and shunting. |
| 40 | + run: cargo run --example demo |
| 41 | + |
| 42 | + - name: 📊 Final Vitality Report |
| 43 | + run: | |
| 44 | + echo "SYSTEM STATUS: RADIANT" |
| 45 | + echo "PROTOCOL: RFC-001 (AICENT)" |
| 46 | + echo "BASELINE: $AICENT_BASELINE" |
| 47 | + echo "SHARDING DEADLINE: ${SHARDING_THRESHOLD_US}µs VERIFIED" |
0 commit comments