Skip to content

cli: point agents at fast local repos/ scratch in injected AGENTS.md - #840

Closed
devin-ai-integration[bot] wants to merge 1 commit into
mainfrom
feat/agents-md-fast-repos-scratch
Closed

devin-ai-integration[bot] wants to merge 1 commit into
mainfrom
feat/agents-md-fast-repos-scratch

Conversation

@devin-ai-integration

@devin-ai-integration devin-ai-integration Bot commented Oct 6, 2026 •

Copy link
Copy Markdown
Contributor

Summary

The runtime AGENTS.md that prepareAgent injects into every deployed agent now tells the agent to clone repositories and do file-heavy scratch work under repos/ — the workspace path the blue microVM supervisor bind-mounts from VM-local disk (companion PR: diggerhq/blue — channel ack + fast repos/ scratch). The rest of the workspace is a network filesystem, slow for builds and file trees, so the note steers finished artifacts there only.

Takes effect on the next opencomputer deploy of each agent. Either merge order is safe — the mount works without the note.

Link to Devin session: https://app.devin.ai/sessions/cab299e85dfe4b1aac32801c17aa758b
Open in Devin Desktop: https://app.devin.ai/desktop/session/cab299e85dfe4b1aac32801c17aa758b?variant=devin
Requested by: @motatoes

Polylane reviews this pull request when you ask:

Review with Polylane

The runtime identity AGENTS.md that prepareAgent writes into every
deployed agent now tells the agent to clone repositories and do
file-heavy scratch work under repos/ — the workspace path the microVM
supervisor bind-mounts from the VM's local disk. The rest of the
workspace is a network filesystem, slow for builds and file trees, so
the note limits it to finished artifacts.

Co-Authored-By: Mohamed <mo@digger.dev>
@devin-ai-integration

Copy link
Copy Markdown
Contributor Author

I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)".

  • Disable automatic comment, CI, and merge conflict monitoring

@devin-ai-integration

Copy link
Copy Markdown
Contributor Author

Verification (devin-dev stack)

Live-verified on devin-dev alongside the paired blue PR (diggerhq/blue#154 — runtime image managed-agents-devin-runtime:10.0, opencomputer 09d3e7c6):

  • The deployed runtime AGENTS.md (built by this branch's prepareAgent, 725 B) carries the new repos/ bullet — confirmed identical to the file present at /workspace/AGENTS.md inside a live MicroVM sandbox session.
  • findmnt/df from inside the sandbox show /workspace/repos is the ext4 bind-mount of /blue/scratch/<sessionId> while /workspace remains the nfs4 network FS — so the guidance lands on a mount that actually exists and is fast.
  • Full matrix (hello-world, bug-repro chat+sandbox, ci-resolver, pr-review) green; evidence on the blue PR.

@motatoes motatoes closed this Oct 6, 2026
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