Conversation
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
Ships Spectra v0.4 as an adoption-focused adaptive context runtime centered on the default
spectra_contextMCP tool while preserving all v0.3 tools and persisted schema compatibility.What changed
spectra context, andspectra stats.spectra_context; legacy tools remain available throughSPECTRA_MCP_TOOLS.Impact
LLM harnesses receive compact, deduplicated, text-first context through one drop-in tool. Existing index-v4, ledger-v1, lifecycle-v1, hook installations, MCP commands, allowlists, and legacy response contracts remain compatible.
Evaluation
The preserved Grok 4.5 pilot covered 100 paired tasks across 20 pinned repositories. Before the final corrections it measured 60.4% lower median provider input, 55.0% lower input at p75, 95.4% fewer repeated context bytes, and deterministic success improving from 57% to 77%. The original pilot missed the call-count and packet-budget gates; those implementations now have targeted regression coverage, but the paid corpus was intentionally not rerun. The formal multi-provider/multi-harness release gate remains future work.
Validation
GitHub Actions run 29782073255 passed on commit
2fdcc80:Release tag:
v0.4.0.Need help on this PR? Tag
/codesmithwith what you need. Autofix is disabled.