• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In
You are now the owner of this repo.

raystack / compass
12%

Build:
DEFAULT BRANCH: main
Repo Added 30 Jun 2023 08:34AM UTC
Token yr1a63XHNpv5h7D6bUc95FpMNKfA5xT96 regen
Build 68 Last
Files 69
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH main
branch: SELECT
CHANGE BRANCH
x
Sync Branches
  • No branch selected
  • chore/upgrade-dependencies
  • docker-dev-workflow
  • feat/entity-system
  • feat/mcp-server
  • feat/migrate-to-connect-rpc
  • feat/unify-edge-api
  • fix/dedupe
  • main
  • raystack-rename
  • refactor/restructure-codebase
  • refs/tags/v0.6.0
  • request-gzip
  • user-from-jwt

18 Apr 2026 08:30PM UTC coverage: 11.91% (+2.3%) from 9.654%
24613273430

push

github

ravisuhag
feat: add assemble_context MCP tool for intelligent context assembly

New MCP tool that replaces the 4-call pattern (search → context →
documents → impact) with a single intent-aware, token-budget-aware
context assembly call for AI agents.

Five-phase algorithm:
1. Seed resolution (from URNs or hybrid search)
2. Graph expansion (bidirectional traversal from seeds)
3. Document fetching (for seeds + top related entities)
4. Intent-aware ranking (debug/build/analyze/govern weights)
5. Token-budget packing (highest-value context first)

- Add assemble_context MCP tool with query, seed_urns, intent,
  token_budget, depth parameters
- Add AssembleContext service method with DocumentFetcher interface
- Wire document service into entity service via adapter
- Update MCP docs, context guide, and architecture docs
- Bump MCP server to v0.3.0

229 of 303 new or added lines in 6 files covered. (75.58%)

1055 of 8858 relevant lines covered (11.91%)

2.27 hits per line

Relevant lines Covered
Build:
Build:
8858 RELEVANT LINES 1055 COVERED LINES
2.27 HITS PER LINE
Source Files on main
  • Tree
  • List 69
  • Changed 4
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
24613273430 main feat: add assemble_context MCP tool for intelligent context assembly New MCP tool that replaces the 4-call pattern (search → context → documents → impact) with a single intent-aware, token-budget-aware context assembly call for AI agents. Five-p... push 18 Apr 2026 08:31PM UTC ravisuhag github
11.91
24609909559 main chore: regenerate proto from proton, add CLAUDE.md - Regenerate from proton merge commit 8516e5e (Principal + no Stars) - Update PROTON_COMMIT in Makefile - Add CLAUDE.md with project conventions and API workflow push 18 Apr 2026 05:24PM UTC ravisuhag github
9.65
24596014174 main feat: remove upstreams/downstreams from UpsertEntity, unify edge API (#251) All relationships including data lineage are now sent as edges via UpsertEdge. Remove UpsertWithEdges service method and the special handling that converted upstreams/dow... push 18 Apr 2026 03:36AM UTC web-flow github
8.65
24596007878 feat/unify-edge-api feat: remove upstreams/downstreams from UpsertEntity, unify edge API All relationships including data lineage are now sent as edges via UpsertEdge. Remove UpsertWithEdges service method and the special handling that converted upstreams/downstream... Pull #251 18 Apr 2026 03:36AM UTC ravisuhag github
8.65
24588971682 main fix: recursive CTE bugs in edge traversal and improve HNSW params - GetBidirectional: split into seed CTE + single recursive graph CTE to fix PostgreSQL error 42P19 (recursive reference in non-recursive term) - traverse (GetDownstream/GetUpstre... push 17 Apr 2026 10:15PM UTC ravisuhag github
8.76
24542877595 main feat: add document CLI commands Add document management commands to the CLI, completing interface parity with the API and MCP tools: - compass document list [--entity-urn, --source] - compass document view <id> - compass document upsert [--entit... push 17 Apr 2026 01:26AM UTC ravisuhag github
8.76
24542627320 main test: add unit tests for core services and MCP handlers Add 33 new tests across 4 files, bringing total to 78 passing tests. Core services: - entity: GetByID, UpsertWithEdges, GetImpact, Suggest, Search with keyword - document: GetAll, DeleteByE... push 17 Apr 2026 01:16AM UTC ravisuhag github
8.92
24538028235 main feat: add multi-hop bidirectional context traversal Implement depth-aware graph traversal for GetContext using a bidirectional recursive CTE in PostgreSQL. Previously, GetContext only returned 1-hop neighbors and ignored the depth parameter. - A... push 16 Apr 2026 10:51PM UTC ravisuhag github
6.74
24488650903 main refactor: flatten store/postgres into store package Only Postgres is used as a store backend, so the extra nesting is unnecessary. Moves all files from store/postgres/ to store/ and renames the package from postgres to store. push 16 Apr 2026 02:26AM UTC ravisuhag github
6.51
23935014117 main feat: add document and embedding pipeline with hybrid search Introduce a document system with chunking, embedding generation (Ollama/OpenAI), and async pipeline for semantic search. Refactor hybrid search from entity package into dedicated embedd... push 03 Apr 2026 05:22AM UTC ravisuhag github
6.51
See All Builds (67)

Badge your Repo: compass

We detected this repo isn’t badged! Grab the embed code to the right, add it to your repo to show off your code coverage, and when the badge is live hit the refresh button to remove this message.

Could not find badge in README.

Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

Refresh
  • Settings
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc