AGENTS.md instructions for /home/user/repo <INSTRUCTIONS> AGENTS.md — operating guide…
Private research annotation
Sign in to add a private research label or note.
- User
AGENTS.md instructions for /home/user/repo
Hand this to any coding agent working in a repo where the
entire graphplugin is installed. It moves initial code-location work from broad grep/read exploration to targeted graph queries; token impact depends on the task and model, and no end-to-end savings claim is current.What this gives you
A precomputed, deterministic code graph is available through the
entire graphcommand — functions, classes, methods, types, routes, and the calls/inheritance/field/service relations between them, parsed with tree-sitter, 100% locally (no network, no model, no keys). Use it to LOCATE and UNDERSTAND code before broad grep / find / cat / whole-file exploration. Every command is no-egress and safe to run inside a sandboxed session. The same commit yields the same graph, but static relations can be heuristic or incomplete; inspect focused source and verify the resulting change.Default flags to remember: pass
--repo .when you're not inside an Entire session; the graph reads your working tree by default (your uncommitted edits are visible), and--headswitches to committed-tree semantics with a cached, reusable index.
The parts of the graph
Reach for the smallest tool that answers your question.
🔍 search — find the code for a task (your first move)
Ranked source regions for a plain-language description, with the source and
file:lineinline. Hybrid ranking over bodies, identifiers (camelCase/snake_case aware), signatures, paths, and graph neighbors. Output is budgeted (16 KiB by default) to drop straight into context.shentire graph search --repo . --query "<the task or bug in one plain sentence>" --format text --top-k 8--format agentfor compact ranked output with latency telemetry;json/ndjsonfor the full schema (completeness, partial failures, diagnostics).--top-k Nresult count;--max-context-bytes Nbyte budget (0= unbounded).- Working tree by default; add
--headfor committed-tree + cache reuse. --profile syntax-only|fast|full(defaultfast);--index-all-filesor--max-indexed-files Nto widen/bound cold-search parsing.
the start of essentially every task. One good query lands you on the fix area.
- User
- User
- User
<environment_context> /home/user/repo bash <current_date>2026-08-17</current_date> Etc/UTC <workspace_roots>/home/user/repo</workspace_roots><permission_profile type="disabled"><file_system type="unrestricted" /></permission_profile> </environment_context>
- User
Review the changes on branch "feat/prose-retrieval-and-benchmarks" against "main" for concrete, actionable defects caused by the diff. This is Entire Graph, a local-only semantic provider and Entire CLI plugin. Report only bugs, regressions, broken invariants, compatibility failures, security issues, data-loss risks, or missing guards; do not report style, documentation, test coverage, naming, alternative designs, or pre-existing issues.
- Assistant
I’ll review the branch diff, then validate suspicious changes in focused context.
- Assistant
The referenced graph guidance file is absent, so I’m proceeding with the required Git review commands.
- Assistant
The branch is mostly benchmark material plus search changes; I’m locating the retrieval implementation before reading focused diff hunks.
- Assistant
The
entirebinary is unavailable, so I’m using the requested diff and focused source inspection. - Assistant
I’ve isolated the new selection and promotion paths; now I’m checking their output contracts and caller assumptions.
- Assistant
Two likely regressions are emerging; I’m running the focused test suites and checking exact changed lines before finalizing.
- Assistant
The executable benchmark files parse cleanly; Go tooling is unavailable, so I’m completing a source-level validation of the findings.
- Assistant
{"summary":"","comments":[{"severity":"medium","confidence":0.98,"body":"Markdown section symbols cover only heading lines, while matches in the section body produce candidates with an empty SymbolID; this fallback therefore groups all normal body hits by file. When the corpus already fills top-k with distinct documents, queries matching paragraph content still cannot retrieve multiple sections from one document, defeating the new section-resolution behavior.","location":{"granularity":"line","file_path":"internal/sem/search_prose_parent.go","start_line":53}},{"severity":"medium","confidence":0.96,"body":"The expansion compares result bytes against the full context budget without reserving bytes already consumed by the funded type-card and signature-type blocks. With either optional block enabled and a tight budget, promotion can make
ResultBytes + TypeCardBytes + SignatureTypeBytesexceed the ceiling, causing response validation—and therefore the search command—to fail.","location":{"granularity":"line","file_path":"internal/sem/search_multi_resolution.go","start_line":154}},{"severity":"medium","confidence":0.99,"body":"A nonzero exit is converted into a successful empty result instead of an exception. This bypasses the harness's retry/drop accounting and records binary, timeout, index, or validation failures as retrieval-quality misses, corrupting benchmark results.","location":{"granularity":"line","file_path":"bench/memory/benchmarks/common/entire_client.py","start_line":402}}]}
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.