Skip to content

chore: ratchet baseline for agent recovery #308

chore: ratchet baseline for agent recovery

chore: ratchet baseline for agent recovery #308

Workflow file for this run

name: Core CI
on:
push:
branches: [main, master]
pull_request:
env:
CARGO_TERM_COLOR: always
concurrency:
group: core-ci-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
quality:
name: format · lint · deterministic tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt, clippy
- uses: Swatinem/rust-cache@v2
- name: Format
run: cargo fmt --all --check
- name: Clippy (0.2 core only)
run: >-
cargo clippy
-p hi-ai -p hi-tools -p hi-lsp -p hi-agent
-p hi-tui -p hi -p hi-eval
--all-targets -- -D warnings
- name: Core tests
run: >-
cargo test
-p hi-ai -p hi-tools -p hi-lsp -p hi-agent
-p hi-tui -p hi -p hi-eval -p hi-gguf
- name: Validate benchmark task schemas and immutable oracles
run: cargo run -p hi-eval -- bench --validate
- name: Evaluator hermetic/tamper-resistance tests
run: cargo test -p hi-eval
- name: Fake-provider end-to-end outcome tests
run: cargo test -p hi --test memory_e2e
- name: Source file-size ratchet
run: scripts/check_file_size.sh
# PR CI is deliberately provider-free. Network/model-backed evaluation runs
# only in the scheduled workflow and cannot make pull-request checks flaky.