Skip to content

docs(skill): document clean-git requirement and /tmp filter gotchas#61

Merged
christophergeyer merged 1 commit intomainfrom
cg/skill-gotchas
Apr 17, 2026
Merged

docs(skill): document clean-git requirement and /tmp filter gotchas#61
christophergeyer merged 1 commit intomainfrom
cg/skill-gotchas

Conversation

@christophergeyer
Copy link
Copy Markdown
Member

Summary

Two gotchas discovered while exercising roar run end-to-end:

  1. Clean git state is required. roar run refuses to execute with any uncommitted changes (including untracked files). There's no --dirty bypass. Agents especially need to make sure .roar/ is in .gitignore before the first run — otherwise the directory becomes an untracked change that blocks every subsequent run.

  2. The default config filters /tmp. ignore_tmp_files = true in the generated config.toml silently drops all I/O under /tmp. A run in a /tmp workdir shows in:0 out:0 in roar dag and no Inputs/Outputs sections in roar show, with no indication the filter is responsible.

Added both to the Claude skill's Gotchas section and condensed versions to the cross-agent AGENTS.md snippet.

Test plan

  • 24 existing test_init_agents.py tests still pass (template rendering is content-agnostic)
  • Manual: re-run roar init agents on a project with existing AGENTS.md → verify the block refreshes to include the new bullets

🤖 Generated with Claude Code

Two gotchas discovered while exercising `roar run` end-to-end:

1. `roar run` refuses to execute with any uncommitted git changes
   (including untracked files) and has no `--dirty` bypass. Agents
   hitting this need to commit, stash, or gitignore first — and
   especially need to make sure `.roar/` is in `.gitignore` before
   the first run, or it becomes an untracked change that blocks
   subsequent runs.

2. The default `config.toml` sets `ignore_tmp_files = true`, which
   silently drops any I/O under `/tmp`. A run in a /tmp workdir
   produces no Inputs/Outputs and `in:0 out:0` in `roar dag`, with
   no indication the filter is responsible.

Added both to the Claude skill's Gotchas section and a condensed
version to the cross-agent AGENTS.md snippet.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@christophergeyer christophergeyer merged commit 3674d55 into main Apr 17, 2026
12 checks passed
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.

3 participants