AGENTS.md instructions for /home/entity/projects/EntityProcess/agentv <INSTRUCTIONS>…
- User
AGENTS.md instructions for /home/entity/projects/EntityProcess/agentv
This file is the root index for repo-facing agent instructions. Read the linked
.agents/*.mdguide for the kind of work you are doing, and read STRATEGY.md plus ROADMAP.md before making product-boundary calls.Product Direction
AgentV aims to be the repo-native, workspace-native evaluation framework for AI agents.
- Repo-native evals: run against real repos, multi-repo workspaces, setup scripts, and existing harnesses.
- Zero-infra local to CI: keep the default path lightweight so the same eval contract works on a laptop and in CI.
- Portable run artifacts: treat run bundles, traces, and summaries as the source of truth for comparison, gating, and export.
- Adapter boundaries: integrate with Phoenix, Harbor, Opik, and provider-specific systems through narrow adapters instead of absorbing their concepts into core.
- AI-native extensibility: keep the core small and composable so engineers and coding agents can extend it with plugins, wrappers, and harness-specific glue.
Phoenix boundary after the 2026-06-20 product decision:
- AgentV-owned run bundles, traces, transcripts, datasets, experiments, indexes, and Git-backed artifacts are not exported or projected into Phoenix.
- The local Dashboard is the supported zero-infra inspection path for AgentV run, trace, and session artifacts.
- Phoenix may be referenced as UI inspiration and optional external trace infrastructure only when Codex, Arize, or another hook already emitted spans independently.
- Optional Phoenix integration is link-out correlation only through safe
external_tracemetadata and anOpen in PhoenixURL when available. - Dashboard must not require the
pxCLI at runtime or query Phoenix database tables directly.
Design guardrails:
- Prefer core primitives plus plugins or wrappers over new built-ins.
- Document composition patterns before inventing a new feature.
- Match industry-standard lowest-common-denominator contracts when possible.
- When designing AgentV contracts, check public reference standards such as Claude Skills, Vercel agent-eval, Hugging Face Datasets, and OpenInference before inventing AgentV-specific shapes. Use their shared lowest common denominator where it fits, and document any intentional divergence.
- Apply YAGNI aggressively and solve the current request with the smallest surface that works.
- Keep extensions non-breaking unless a same-week unreleased surface should be hard-corrected.
- User
<environment_context> /home/entity/projects/EntityProcess/agentv zsh <current_date>2026-06-27</current_date> Europe/Berlin <workspace_roots>/home/entity/projects/EntityProcess/agentv</workspace_roots><permission_profile type="disabled"><file_system type="unrestricted" /></permission_profile> </environment_context>
- User
Can you review our beads that are currently open and let me know if any of them are stale and it should be closed
- Assistant
I’ll inspect the repo instructions and the current tracker state, then compare open Beads against recent code/docs so stale items are called out with reasons.
- Assistant
The checkout is clean on
mainand up to date withorigin/main. I’m reading the Beads database next and will focus on “open but already implemented/superseded/no longer aligned” rather than judging priority. - Assistant
Beads context is healthy and using the expected
avdatabase. I’m exporting the open set with full details now so I can check each candidate against the current tree. - Assistant
The built-in stale report returns no items at its 30-day threshold, so this is a semantic stale review. I’m narrowing the open set into IDs/titles/statuses first, then I’ll spot-check likely stale items against files and PR/branch state.
- Assistant
There are 86 non-closed beads: 71 open, 11 in progress, 4 deferred, 0 blocked. The most suspicious stale cluster is work that says “implemented” or references old PR/worktree state, so I’m checking those first against
mainand GitHub. - Assistant
Two findings are forming: PR #1511 is merged and the artifact layout appears present in
main; PR #1521 is also merged, but the follow-up Pi tool-result bug may still be valid because it was created after/during that merge. I’m checking the experiment-separation cluster next because the accepted ADR may have changed the original bead scope. - Assistant
The artifact-layout bead is not simply “done on main”: its PR merged into
dashboard-pr1500-full-stack, notmain, andmaindoes not contain that exact commit. I’ll mark it as a “don’t close yet unless that stack is intentionally abandoned” rather than stale. - Assistant
A stronger stale candidate showed up:
av-cufasks for baseline branch safety, andmainalready hasFix workspace baseline branch safety (#1531). I’m checking whether its child dogfood bead is also satisfied or still represents live evidence work. - Assistant
av-cufandav-263look closeable: PR #1531 is merged, includes the requested private-ref/index-preservation behavior, regression tests, and dogfood evidence. I’m now sampling other high-signal open items that reference recent merged work or old implementation branches. - Assistant
av-i0l.2is another likely closeable item: its notes say PR #1513 was opened for the re-applied strict layout, andmaincontains the results restructure plus follow-up fixes. I’m verifying PR state and whether the parent/other repeat-run beads still have remaining scope. - Assistant
av-i0l.2should be closed, but its parent repeat-run epic should stay open: schema/execution/dashboard/docs cleanup still has separate open children and the code still carries some legacy internaltrialsnames. I’m doing one more pass over old in-progress worker beads so I don’t miss stale assignments. - Assistant
Several older in-progress beads are stale by state, not by product direction: their PRs merged days ago but the Beads were left
in_progress. I’m checking the exact PR state for those so the recommendation can be specific. - Assistant
One caveat:
av-abehas a merged PR, but currentskills-data/agentv-bench/SKILL.mdstill documentsAGENT_EVAL_MODEand says absent defaults tosubagent. That means it is not closeable as completed; it is stale in the opposite direction, with merged-PR notes that no longer matchmain. - Assistant
I found several that look stale/closeable.
Recommend Closing
av-cufand childav-263: completed by merged PR #1531. The PR includes private baseline refs, index preservation tests, and dogfood evidence atagentv-private/dogfood-av-cuf-2026-06-26.txt.- : completed by merged PR #1513. It restructured run artifacts around , root , and case-local artifacts.
- User
Can you spawn workers to confirm from the code base and PR's merged whether the beads can be closed
- Assistant
I’ll use the Workmux coordination workflow here, since you asked for parallel workers. I’ll first load its instructions, then split the verification by bead clusters so each worker checks code and PR evidence independently.
- Assistant
The repo is clean on
mainand up to date. I’m finishing the Workmux instructions, then I’ll create worker prompts for the closure-candidate clusters and launch them. - Assistant
I’ll keep this as verification-only: workers should not edit code or close beads, just report whether each candidate is closeable with code/PR proof. I’m checking Workmux setup now.
- Assistant
I’m going to split the verification into four independent workers: implementation-completed candidates, experiment-superseded cluster, trace/skill candidates, and “do not close yet” edge cases. Each prompt will require exact PR state plus code/doc evidence.
- Assistant
I’ll write ignored local prompt files under
.workmux/prompts/; these are coordination artifacts and will not be committed. Then I’ll spawn the workers fromorigin/main. - Assistant
Prompt files are in place. I’m spawning four verification workers now; branch/worktree names are scoped to this review and they should only report evidence.
- Assistant
All four Workmux workers were created. I’m checking their status/captures now to make sure the prompts actually submitted and none are sitting idle.
- Assistant
Two workers are active. Two report no status hook, so I’m inspecting their tmux panes before deciding whether to recover prompt delivery.
- Assistant
All four panes have the assignments loaded and show active Codex sessions. I’ll let them run and then consolidate their independent reports into a closure recommendation.
- Assistant
Workers are running. No local repo changes beyond ignored Workmux prompt files in the main checkout.
- Assistant
They’re still working after the first 30 seconds. I’m polling captures now for progress and to catch any worker that finished without the status hook updating.
- Assistant
The captures show all four are progressing through Beads and PR checks. One worker hit a harmless
git show-ref --remotessyntax error and continued; no recovery needed. - Assistant
They’re still active after another polling interval. I’m checking captures again; if any worker has enough evidence but is spending extra time, I’ll nudge for a concise final report.
- Assistant
One worker has completed a final report:
av-vwa.16.7close,av-abekeep open because the merge was not into main and current skill still defaults to subagent. The other three are still checking code details. - Assistant
The experiment worker just finished. I’m capturing its final report and continuing to wait on the implemented/edge-case workers.
- Assistant
The implemented-candidates worker is done too. I’m capturing that report; only the edge-case worker is still active.
- Assistant
The implemented worker independently agrees
av-cuf,av-263,av-i0l.2, andav-49scan close, with one caveat onav-i0l.2field naming. I’m waiting on the edge-case worker now. - Assistant
The edge-case worker reached its final report, but the capture cut off the table header. I’m recapturing more scrollback so I can read the whole verdict table accurately.
- Assistant
The capture command supports a larger scrollback; I’m pulling 500 lines from the edge worker now.
- Assistant
The edge-case worker finished too. Its key difference from my first pass: it found
av-wrf.5is now closeable because the Pi tool-result join fix is present in the #1521 squash and covered by fixture tests. - Assistant
Spawned 4 Workmux verification workers. All finished, no relaunch/fallback needed, and no code changes were made. Main checkout is clean at
main...origin/main; Beads DB used: . - User
Whats agentv.trace.v1. I thought we removed trace.json and use transcript.jsonl directly.
For trials I thought we rename to runs or evalruns or whatever vercel agent-eval uses.
av-991.9: can you run dashboard on main and from this worktree and tell me if that bead is needed or we cherry pick parts we need. Spawn worker to do
We are archinving agentv-deploy. No longer need docker. Just run dashboard directly going forward. Can close av-upn of that relates to work on agentv-deploy.
av-abe: subagent should not be default mode. Please submit rebased PR for me to review.
av-75h: we should close the agentv-bead issue it's just for tracking.
- Assistant
I’ll split this into two tracks: I’ll handle the tracker/PR work directly, and I’ll spawn a read-only worker to compare
av-991.9on currentmainversus the stacked dashboard branch. Also, quick answer up front:agentv.trace.v1is the internal/canonical trace artifact namespace, but current user-facing result bundles can still choose not to exposetrace.jsonand rely ontranscript.jsonl; I’ll verify whether any stale docs/beads are implying the old public trace sidecar. - Assistant
I’m going to use the primary checkout for the small
agentv-benchfix and PR, and keep the dashboard comparison isolated in a worker. I’ll also close the tracker items the user explicitly redirected:av-upnandav-75h/the external tracking issue. - Assistant
For the dashboard comparison worker, I’m asking it to run the current
mainDashboard and the stackeddashboard-pr1500-full-stackstate side by side, inspect the same run fixture/API/UI, and report whetherav-991.9needs any cherry-pick. - Assistant
The worker prompt is ready. I’m spawning it now from
origin/main; it can create its own comparison checkout fordashboard-pr1500-full-stack. - Assistant
The dashboard worker worktree was created, but Workmux didn’t attach an agent process. I’m checking the pane and will use the Codex dispatch helper if needed.
- Assistant
Status now shows the dashboard worker active. I’ll continue with the tracker closures and
agentv-benchfix while it runs. - Assistant
I confirmed the two tracker items match your direction. I’m closing
av-upn,av-75h, and the externalagentv-beads#15tracking issue now with explicit close reasons. - Assistant
The GitHub tracking issue is closed. Next I’m closing the corresponding Beads with close reasons that preserve the product decision.
- Assistant
av-upn,av-75h, andagentv-beads#15are closed. I’m moving to theagentv-benchPR fix: currentmainstill defaults the skill to subagent mode, so I’ll branch and patch that surface. - Assistant
I found the stale text: the main skill still says “default to subagent” and the subagent reference says
AGENT_EVAL_MODE=subagentis default. I’m creating a feature branch and making the smallest doc/skill correction. - Assistant
I’m updating only the skill text and its subagent reference: CLI becomes the default, subagent mode becomes an explicit opt-in fallback, and
AGENT_EVAL_MODEis no longer presented as the default selector. - Assistant
The skill now defaults to CLI and the subagent reference is explicit opt-in. I’m checking for remaining stale mentions and then running focused validation.
- Assistant
The diff is scoped to the skill docs. I hit a shell quoting issue in the stale-text scan, so I’m rerunning that cleanly before tests.
- Assistant
The focused skills unit test passed. The frontmatter validator reports this path as zero files, consistent with the earlier stale PR notes, so I’m also checking the CLI-rendered skill output directly.
- Assistant
The CLI-rendered skill still shows stale text, which means the bundled skill source used by the CLI is separate from
skills-data. I’m locating and patching the bundled copy too so the PR fixes what users actually read. - Assistant
The CLI command is reading
apps/cli/dist/skillsfirst when running from source. That directory is present in this checkout, so I’m updating the bundled skill copy as well. - Assistant
apps/cli/dist/skillsis not tracked, so it should not go into the PR. For validation I’ll either rebuild the local dist bundle or point the CLI atskills-data, depending on how the command resolves skills. I’m checking the resolver now. - Assistant
The resolver intentionally prefers
apps/cli/dist/skillsafter a build. I’ll rebuild the CLI bundle so local validation reads the updated source copy; those generated dist files are untracked and will stay out of the PR. - Assistant
The CLI build is running and copying
skills-dataintodist/skills, which should make the rendered skill validation reflect the patch. - Assistant
The build passed and refreshed local
dist/skills. I’m rerunning CLI-rendered skill checks now. - Assistant
The CLI now renders the corrected default from the rebuilt local bundle, and only the tracked
skills-datafiles are modified. I’m preparing the commit and PR. - Assistant
Per the PR workflow, I’m reading the repo’s PR-description guidance before creating the branch PR.
- Assistant
I’m committing the focused skill update now, then I’ll push and open a draft PR for review.
- Assistant
The diff is two tracked skill-doc files, with no whitespace errors. I’m staging explicit paths only.