Skip to content

feat(mcp): serve verified federated corpora - #459

Open
tcballard wants to merge 2 commits into
agent/federation-05-persistencefrom
agent/federation-06-mcp-eval
Open

feat(mcp): serve verified federated corpora#459
tcballard wants to merge 2 commits into
agent/federation-05-persistencefrom
agent/federation-06-mcp-eval

Conversation

@tcballard

@tcballard tcballard commented Aug 9, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • activate the central source-aware composition across remaining CLI read surfaces, local-subject diagnostics, Herald, and stdin proposal validation
  • serve all six MCP tools from one freshly verified logical generation with cache-on/cache-off parity, qualified parent history, canonical override redirects, bounded provenance, and stale-parent refusal
  • fail closed when federation topology, child config, manifest shape, source, or pin changes; audit preparation failures exactly once with no stale returned identity
  • use the central composed resolver for both exact MCP tools, source-distinct ambiguity paths, canonical-only qualified references, and effective-vs-qualified-history graph projections
  • retain source-aware identities through graph traversal, audit returned records, relationship findings, response budgets, summaries, and local Git recency without assigning child history to inherited artifacts
  • extend the existing DecisionGrounding evaluation with a 40-artifact parent, lexical hard negatives, and a high-inbound graph decoy while preserving the v0.28 graph-floor invariant
  • keep no-manifest repositories on the released single-corpus paths

Stack

Closes #270

Validation

  • cargo test --workspace --all-targets
  • cargo clippy --workspace --all-targets -- -D warnings
  • MCP: 18 unit tests and 39 integration tests, including 8 federation and 14 HTTP tests
  • composition: 9/9
  • federated cache: 10/10
  • decided eval --check federation track
  • decided validate decisions/: 462 valid, 0 invalid, 12 skipped
  • decided relationships decisions/ --validate: 2,931 checked, 0 issues
  • decided gate decisions/: 0 blocking, 134 existing advisories
  • git diff --check

All listed checks pass; one intentional differential test remains ignored.

@tcballard
tcballard marked this pull request as ready for review August 12, 2026 06:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant