Repository navigation
chore: E9 close-out — perf thresholds + fuzz-lite + docs/perf.md (issue #9) - #139
Merged
Merged
Conversation
🔍 Cora AI Code Review✅ No issues found. Code looks good! Review powered by cora-code · BYOK · MIT |
ajianaz
force-pushed
the
chore/e9-perf-fuzz
branch
3 times, most recently
from
September 29, 2026 01:48
f906a09 to
5606727
Compare
#9) - perf_threshold.rs (CI-enforced regression gates): text-only turn, 10-call tool chain (full intent→effect→settle sandwich per call), crash-resume replay — each under a documented 2s budget (observed <50ms; ~40x headroom, so failures are real regressions not noise). Results recorded in docs/perf.md. - fuzz_lite.rs (deterministic LCG corpus, no rand dep): 400 hostile inputs x 5 tools (traversal, control chars, zero-width, flag injection, shell metacharacters, 300-char blobs) must settle Ok/Err — never panic; 600 fuzzed argv shapes through check_destructive_argv (teardown payloads never pass); truncation invariants (40 MiB stream → capped 32 MiB WITH the marked suffix — generated child-side, argv limits forbid shipping the payload). - epics Track C marked DONE; README links docs/perf.md. E9 acceptance: cross-build CI (#82) ✓, fuzz/panic-free ✓, perf doc ✓, public-ready (#79/#91) ✓.
ajianaz
force-pushed
the
chore/e9-perf-fuzz
branch
from
September 29, 2026 01:56
5606727 to
91e26dd
Compare
3 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Closes the remaining E9 acceptance criteria (#9): CI-enforced performance thresholds, fuzz-lite panic-free corpus, and the documented perf record.
Closes #9.
Why
E9's last open items were "Benchmark: single turn mock < documented threshold; results in docs/perf.md" and "Tool timeout + output truncation tested; panic-free on bad input" — everything else (cross-build CI #82, public-ready #79/#91) already shipped.
Changes
perf_threshold.rs: 3 regression gates (text turn, 10-call tool chain, crash-resume replay), each < 2s documented budget — observed < 50ms (~40× headroom; failures mean real regressions)fuzz_lite.rs: deterministic LCG corpus — 400 hostile inputs × 5 tools must settle Ok/Err (never panic): traversals, control/zero-width chars, flag injection, shell metacharacters, long blobs; 600 argv shapes through the destructive blocklist (teardown never passes); truncation invariants (40 MiB child-generated stream → capped 32 MiB with marked suffix)docs/perf.md(new): budgets, method, fuzz scope, cross-build CI recordTesting