Files
NeuroSploit/examples/github-actions
f913af211d feat(3.6.6): local/uncensored llama.cpp provider, clippy clean, CI (#40)
Version bump 3.6.5 -> 3.6.6.

Local & uncensored models
- New `llamacpp:` provider (llama-server, OpenAI-compatible, localhost:8080,
  no API key, CPU-only or GPU-offloaded). Override via LLAMACPP_BASE_URL;
  model name is the loaded gguf (pass-through). 15 -> 16 providers.
- README: local/uncensored highlight, provider table + key-less note, badges.

Quality
- clippy clean under `-D warnings`: clamp(), sort_by_key(Reverse), struct-literal
  init, too_many_arguments allows, scoped await_holding_lock on the REPL blocking
  fallback (guard intentionally held across run().await), plus clippy --fix set.

CI
- examples/github-actions/ci.yml: cargo build/test/clippy -D warnings for the
  neurosploit-rs workspace (template, kept out of .github/workflows).


Claude-Session: https://claude.ai/code/session_01QDses7zTSa9YF7pPRjphvh

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
2026-08-03 23:48:08 -03:00
..

NeuroSploit — GitHub Actions templates

Copy either file into your repository's .github/workflows/ directory to enable the automation. Add an ANTHROPIC_API_KEY secret (Settings → Secrets and variables → Actions), or swap the MODEL/key for a provider you use. The built-in GITHUB_TOKEN already covers commit statuses, PR reviews and comments.

Template What it does
neurosploit-pr-gate.yml Reviews every pull request and blocks the merge on a confirmed critical (fails the check + sets a neurosploit/security commit status + posts a REQUEST_CHANGES review).
neurosploit-mention.yml Comment @neurosploit on a PR/issue (writers only) to trigger a scan. Text after the mention steers it, in any language; a URL runs a black-box test, otherwise it reviews the PR.
ci.yml Rust CI for the neurosploit-rs/ workspace — cargo build / test / clippy -D warnings on every push & PR.

Enforce the PR gate as a merge block

  1. Add neurosploit-pr-gate.yml to .github/workflows/ and let it run once on a PR.
  2. Repo Settings → Branches → Branch protection rule on your default branch.
  3. Enable Require status checks to pass and select neurosploit-pr-gate.
  4. (Optional) Enable Require a pull request review so the REQUEST_CHANGES review it posts must be resolved/overridden before merge.

These live here (not in .github/workflows/) so this repo doesn't run them on itself — they're templates for your repo.