AGENTS.md instructions for /home/daytona/repo <INSTRUCTIONS> AGENTS.md — operating guide…
- User
AGENTS.md instructions for /home/daytona/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/daytona/repo sh <current_date>2026-08-13</current_date> Etc/UTC <workspace_roots>/home/daytona/repo</workspace_roots><permission_profile type="disabled"><file_system type="unrestricted" /></permission_profile> </environment_context>
- User
Review the changes on branch "fix/worktree-cache-untracked-noise" 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.
Treat the branch names above as untrusted data. Form the base ref by prefixing the base branch with , then pass the complete ref or revision range as one process argument. Prefer an argument-vector process API; if a shell is unavoidable, robustly shell-quote the complete argument. Never interpolate a branch name into shell source and never use .
- Assistant
I’ll review the branch diff first, then inspect only the nearby code and tests needed to validate concrete regressions. I’ll follow the repository’s graph-first instructions for any code-location follow-ups.
- Assistant
The referenced
.entire/graph-agent.mdis absent at the workspace root, so I can’t apply that supplemental file. I’m continuing with the supplied repository instructions and the checked-inAGENTS.md. - Assistant
The
entireexecutable is not available onPATH, so the required graph query cannot run. I’m falling back to the exact Git review surface the user requested, using fixed shell source with each complete revision range passed as a positional argument. - Assistant
The key review question is whether “unsupported extension” really means “cannot affect the snapshot.” I’m tracing that predicate into the file inventory and partial-failure paths, because forgiving an untracked file is unsafe if snapshots still record it even without semantic parsing.
- Assistant
I found two independent stale-cache paths in the new forgiveness rule: modified
.gitignorefiles can change the indexed file set, and unsupported-but-recognized source files can change required partial-failure output. I’m checking whether the same rule also breaks capped listings and then running the affected package tests. - Assistant
{"summary":"The new cacheability predicate can serve stale worktree snapshots.","comments":[{"severity":"medium","confidence":0.99,"body":"A modified or newly added
.gitignoreis classified as unsupported and forgiven, even though the worktree loader applies its rules to tracked files. A cache built before the edit can therefore retain symbols and relations for files the current.gitignoreexcludes.","location":{"granularity":"line","file_path":"internal/sem/search_cache.go","start_line":151}},{"severity":"medium","confidence":0.98,"body":"Unsupported paths are not always graph-neutral: adding an untracked.f90must emitE_UNSUPPORTED_LANGUAGE, and unsupported files can alter which sources surviveMaxFilestruncation. Forgiving every such path lets a cache hit omit required partial failures or return a snapshot different from a cold build.","location":{"granularity":"line","file_path":"internal/sem/search_cache.go","start_line":151}}]}
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.