feat(agent-graph): prepare grounded ingestion material - #285
Merged
Conversation
Contributor
Author
|
Fixed the CI compile failure in Verification:
|
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
compass.agent-graph.ingestion-preparation/1contract so agents select Base node/edge IDs and repository-relative source byte spans while Compass calculates canonical record, file, excerpt, and anchor valuescompass agent-graph prepareand MCPinspect_agent_graphoperationprepareIngestion protocol
preparewith exact Base IDs and at least oneFILE:START_BYTE:END_BYTEsource span.expectedRevision, Base references, and grounding submission intocompass.agent-graph.batch/1.Preparation is read-only and never emits
GROUNDED. Stale source bytes, missing or duplicate references/spans, uninventoried paths, out-of-range spans, cross-generation overlays, and caller-supplied revisions fail closed.Safety contract
GROUNDEDremains Compass-issued citation-integrity verification, not structural confidence or proof of semantic truthVerification
cargo fmt --all -- --checkcargo clippy --workspace --lib --bins --locked -- -D warningscargo test --workspace --lib --bins --lockedcargo clippy -p compass-agent-graph -p compass-output -p compass-cli -p compass-mcp --all-targets --all-features --locked -- -D warningscargo test -p compass-agent-graph --lockedcargo test -p compass-cli --test agent_graph_cli --lockedcargo test -p compass-cli --test install_cli --lockedcargo test -p compass-mcp --test agent_graph_tools --lockedcargo test -p compass-output --lib --lockedcargo test -p compass-cli --test compass_product --lockedpython3 scripts/check_agent_graph_contracts.pyuv run --with pyyaml python /Users/haipingfu/.agents/skills/skill-creator/scripts/quick_validate.py crates/compass-cli/assets/compass-skillsh scripts/check_product_boundary.shnode scripts/check_viewer_assets.mjs./scripts/qualify_code_graph_v1.sh --fixtures-onlygit diff --checkAll Cargo commands used
CARGO_TARGET_DIR=/Volumes/Workspace/crabbuild-target/compass-grounded-agent-graphand--locked.