You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix(roadmap): the implement step tells the agent to keep scratch files out of the checkout #3006
The implement step of the runner tells the agent nothing about where to put scratch files. The agent wrote test_get_ollama_semaphore.py in the repository root while it worked on #2175 (PR #3000). mypy --strict ran on that file and failed, and the step stopped at group 2 with the work done and the tasks not ticked. The step also runs git add -A (src/devops_cli/roadmap/implement_step.py and implement_run.py), so a scratch file in the checkout can go into the commit of the pull request.
AGENTS.md rule 12 says "Put agent files under .data/agent/ and scratch scripts under .data/agent/scratch/". The prompt src/devops_cli/ai/tasks/roadmap_implement_step.md does not repeat it, and the runner agent does not read AGENTS.md.
What should happen
The prompt of each agent that changes code in a checkout tells the agent to put every scratch file (a probe script, a note, a copy of a file) under .data/agent/scratch/, which git ignores, to make that directory with uv run python -c (the tool write_file does not make one), to put nothing else in the repository root, and to run no check on a scratch file.
A test fails if the prompt of a code-changing agent has no such rule.
Acceptance criteria
roadmap_implement_step.md holds the rule and names .data/agent/scratch/.
A test reads the prompts of the agents that change code and fails if one lacks the rule.
docs/ROADMAP_WORKFLOW.md or the implement documents state the rule if they list the prompt's rules.
Activity
dan-petty commentedon Nov 1, 2026
Intake placed this item to the backlog: intake puts every new item in the backlog. A person plans the milestones.
fixprefix of the title gives the type.(roadmap)scope of the title gives the scope.A failed step and a risk of committing scratch files, but one reported instance so far.Prevents a repeat class of failures where scratch files break checks or enter commits.Add one rule to a prompt file and write a test that reads the prompt text.Both concern the implement step created by #2664, but the candidate fixes the prompt rule while #2664 delivers the step itself.chore(main): release 0.37.1 (#3009)