Skip to content

docs(agents-md,hook): sync AGENTS.md + nudge hook with edit_lines/edit_symbol #55

docs(agents-md,hook): sync AGENTS.md + nudge hook with edit_lines/edit_symbol

docs(agents-md,hook): sync AGENTS.md + nudge hook with edit_lines/edit_symbol #55

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
verify:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
with:
lfs: true
- uses: dtolnay/rust-toolchain@29eef336d9b2848a0b548edc03f92a220660cdb8 # stable
with:
components: clippy, rustfmt
- uses: Swatinem/rust-cache@e18b497796c12c097a38f9edb9d0641fb99eee32 # v2
- name: Format check
run: cargo fmt --all -- --check
- name: Clippy
run: cargo clippy --workspace --all-targets -- -D warnings
- name: Test
run: cargo test --workspace
- name: Audit
run: cargo install cargo-audit --locked && cargo audit --ignore RUSTSEC-2026-0189
stack-graphs-corpus:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
- uses: dtolnay/rust-toolchain@29eef336d9b2848a0b548edc03f92a220660cdb8 # stable
- uses: Swatinem/rust-cache@e18b497796c12c097a38f9edb9d0641fb99eee32 # v2
- name: Run Stack Graphs Regression Corpus
run: cargo test --test parity_test test_formal_edges -- --nocapture
embeddings:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
with:
lfs: true
- uses: dtolnay/rust-toolchain@29eef336d9b2848a0b548edc03f92a220660cdb8 # stable
with:
components: clippy
- uses: Swatinem/rust-cache@e18b497796c12c097a38f9edb9d0641fb99eee32 # v2
# The `embeddings` feature (model2vec-rs). The default model's weights
# are vendored via Git LFS (crates/ci-core/assets/potion-code-16m/) and
# loaded with zero network — `lfs: true` above is required so checkout
# fetches the real blob instead of a pointer file (include_bytes! would
# otherwise embed the pointer text and fail to parse at runtime).
- name: Clippy (embeddings)
run: cargo clippy -p ci-core --all-targets --features embeddings -- -D warnings
- name: Test (embeddings)
run: cargo test -p ci-core --features embeddings