Repository navigation
Add adversarial repository evaluation baseline and harden review boundaries - #134
oliarmak-web wants to merge 5 commits into
Conversation
|
Thank you for this, @oliarmak-web. It's a substantial piece of work and a lot of it is solid: the suite passes on the PR head (1367 passed; the one failure is the known macOS sensor test from #113), the offline replays for the synthetic, Blocking
Should fix
Looking forward to the next version. |
|
Thanks for the detailed review. I’ve updated the PR description with the revisions and local validation, keeping historical measurements separate. Fresh measurements on the revised corpus are still pending; I’ll complete those using no paid API calls before requesting another review. |
Closes #117
Repository instructions can suppress real findings, fabricate reports, or induce tool requests. This adds paired adversarial fixtures, offline replay and opt-in live collection, plus focused report/prompt hardening.
Changes addressing the maintainer review
###[High]. The runner records malformed reports as failed before findings ingestion.Validation
test_sensor_dying_mid_run_drops_events_without_blocking, reproduces identically on untouched baselinef24043bd6f01618128748241b6729bebc9254a26on this Mac.Evidence and remaining work
Draft pending fresh Claude/API measurements on the revised corpus and implementation. This machine has no configured model credentials, CLI authentication or local model runtime. No billable evaluation workflow was dispatched.
The November 16 raw records are preserved unchanged, with their labeled SQL-only corpus archived under corpus-v1. Historical first-trial results were Claude attack/control retention 8/8 in both phases; local Qwen API attack retention 7/8 baseline and 8/8 hardened, with 8/8 controls in both phases. All 32 API reports failed format checks. These are small historical observations, not measurements of the revised code or corpus and not a statistically established improvement.
Original API empty tool lists were asserted rather than observed and now replay as unknown. Only four historical Claude runs have complete streams, under narrower-than-production grants. Current collection records production grants and telemetry in the same invocation.
See evaluation guide and historical evidence for reproduction and limitations. Retention remains a location/CWE heuristic requiring human review; F900 detection is not a general hallucination detector.
AI assistance: OpenAI Codex implemented and tested these changes under the account owner's direction. Maintainer feedback approved resubmission after fixes, not this implementation or its results.