Harden runtime invariants and evidence boundaries - #38
Merged
Conversation
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (17)
📝 WalkthroughWalkthroughThe PR updates runtime terminal and tool-failure handling, stabilizes Python cosine similarity, adds deterministic evaluation statistics and tests, expands coverage configuration, documents evidence boundaries, and removes the Java planner project. ChangesRuntime and vector invariants
Repository scope and evidence
Estimated code review effort: 3 (Moderate) | ~25 minutes Possibly related PRs
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
CoreyLeath-code
marked this pull request as ready for review
August 14, 2026 04:17
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.
1. About vs code
Recommended GitHub About: Deterministic, budgeted Python agent runtime with governed tools, SQLite checkpoints, FastAPI endpoints, and optional C++ cosine-similarity acceleration.
Update the GitHub About description manually; this workflow does not change repository metadata.
2. Planner classification
Deterministic planner. RuleBasedPlanner in agent/autonomy/planning.py proposes keyword-driven typed tasks. A model-backed planner is only a protocol extension point; no LLM orchestration is implemented or claimed.
3. Java decision
REMOVED. The Java sources were duplicate, keyword-driven planners with no runtime integration, JAR invocation, or automated integration test. Removing them is more accurate than preserving an unused language claim.
4. Tests added
5. Coverage
Command: pytest tests -v --cov=agent --cov=api --cov=src --cov-report=term-missing
Scope: agent, api, src.
Line/branch coverage: pending CI.
Commit: pending CI head.
No repository-wide or 90% claim is made. The hard coverage threshold remains a follow-up after measuring this broader scope.
6. Mutation testing
NOT EXECUTED. No mutation score is claimed. Add a targeted mutation configuration after the core coverage baseline is measured.
7. Evaluation
No agent-vs-baseline values are introduced. The PR adds tested Wilson and sample-standard-deviation primitives plus an artifact contract for a future deterministic task suite. The existing benchmark remains a local deterministic control-plane microbenchmark.
8. Fault-tolerance findings
The tests establish terminal idempotence, fail-closed unknown-tool handling, pre-execution approval gates, bounded retries/budgets, timeout control return, and checkpoint persistence. They do not establish exactly-once external side effects, distributed execution, or horizontal-concurrency guarantees.
9. Tool results
10. Remaining limitations
Summary by CodeRabbit
Bug Fixes
Documentation
Testing
Evaluation