feat: convergence tracking, rivet get, MCP server, LSP doc validation#108
Merged
feat: convergence tracking, rivet get, MCP server, LSP doc validation#108
Conversation
…gnatures (#100) Tracks validation failure fingerprints across runs to detect when AI agents are stuck in retry loops: - FailureSignature: severity:rule:artifact_id:message_hash - RetryStrategy escalation: Normal → ExpandedContext → DifferentApproach → HumanReview - Persistent state in .rivet/convergence.json - --track-convergence flag on rivet validate 22 unit tests covering signature determinism, escalation, resolution, and JSON persistence.
Retrieves a single artifact by ID with text/json/yaml output. 3 integration tests: text output, JSON with fields, nonexistent ID.
JSON-RPC 2.0 over stdio implementing Model Context Protocol. 3 initial tools: rivet_validate, rivet_list, rivet_stats. No new dependencies — uses serde_json directly. Start with: rivet mcp
Codecov Report❌ Patch coverage is
📢 Thoughts on this report? Let us know! |
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.
Summary
Four features from parallel agent execution:
Agent convergence tracking (#100)
FailureSignaturefingerprinting:severity:rule:artifact_id:message_hashRetryStrategyescalation: Normal → ExpandedContext → DifferentApproach → HumanReview--track-convergenceflag onrivet validate.rivet/convergence.jsonrivet getcommand (#93)rivet get REQ-001--format text|json|yamlMCP server scaffold (#98)
rivet mcp— JSON-RPC 2.0 over stdiorivet_validate,rivet_list,rivet_statsLSP document validation (audit fix)
validate_documents()now called in LSP flow[[ID]]references surfaced with file + lineTests: 25 new (22 convergence + 3 get)
Refs #93, #98, #100.
Test plan
cargo test --workspace— 700+ tests passcargo check— clean🤖 Generated with Claude Code