feat(v0.5.1): universal pre-enrichment, compact context format, prose…#2
Merged
Divish1032 merged 5 commits intomainfrom Mar 4, 2026
Merged
feat(v0.5.1): universal pre-enrichment, compact context format, prose…#2Divish1032 merged 5 commits intomainfrom
Divish1032 merged 5 commits intomainfrom
Conversation
… briefings - bulkIngestToBrain: remove 100-node cap, ingest ALL non-structural nodes, increase concurrency 4→8 workers (0.8B handles more parallel requests) - add get_context format="compact" parameter: serializeCompact() converts directional context to natural-language prose ~400-600 tokens (80% reduction vs JSON default of 2000-3800 tokens); new internal/mcp/digest.go - register format param in get_context tool definition (server.go) - update CLAUDE.md with new package table and session_init startup ritual Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Covers all 3 legs (synapses core, intelligence, scout) with pass/fail checks, token savings methodology, scoring rubric, and live results from the v0.5.1 run. Re-run this plan for every major version to track regression vs improvement. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
19 improvements across P0-P3 covering: CPU model selection, get_impact overflow, hot constitution, ADRs, domain personas, retrieval hooks, progressive context loading, and federated cold memory. Maps each gap to the 3-tier Codified Context framework (arxiv 2602.20478). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…context loading Batch 1 (quick wins): - BUG-S02: get_impact initialises Tiers to [] instead of null - BUG-S04: get_context adds brain hint when brain is not configured - UX-S04: get_file_context groups entities by file when multiple files match - UX-S05: get_working_state scans root dir for .json/.yaml/.toml/Makefile/Dockerfile - get_impact node cap + hot-reload synapses.json + call-chain cross-binary explanation (v0.5.2) - FTS prefix matching + find_entity test-file ranking (v0.5.2) Batch 3 (medium features): - P2-D: detail_level param on get_context(format=compact): summary/neighbors/full - Constitution: synapses.json constitution.principles → injected in session_init + get_context compact Batch 4 (ADRs): - upsert_adr + get_adrs MCP tools backed by brain /v1/adr HTTP routes - ADR lines injected into get_context compact when brain is configured - brain.Client: UpsertADR(), GetADR(), GetADRs() HTTP methods - config: ConstitutionConfig struct + applyDefaults injection flags Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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.
… briefings