Skip to content

feat(runners): keep grind state under a temp directory - #25

Merged
telivity-otaip merged 1 commit into
mainfrom
cursor/asil-state-dir-c6f9
Oct 22, 2026
Merged

telivity-otaip merged 1 commit into
mainfrom
cursor/asil-state-dir-c6f9

Conversation

@telivity-otaip

Copy link
Copy Markdown
Collaborator

Summary

  • Default queue, usage, and domain-answer files to tmpdir()/asil-state-<hash> so leave-it-running does not churn .asil/ next to the open checkout.
  • Honor ASIL_STATE_DIR and the existing ASIL_QUEUE_PATH / ASIL_USAGE_DATA_DIR / ASIL_DOMAIN_ANSWERS_PATH overrides. Relative values resolve against ASIL_STATE_DIR when set, otherwise against REPO_ROOT.
  • Skills still load from REPO_ROOT/.asil/skills (or ASIL_SKILLS_PATH). Grind logs the state root once at start.
  • Docs and unit tests cover the temp default and explicit overrides.

Test plan

  • pnpm --filter asil-improvement-loop test
  • pnpm --filter asil-runners test
  • pnpm -r typecheck
Open in Web Open in Cursor 

Default queue, usage, and domain-answer files to
tmpdir()/asil-state-<hash>. Honor ASIL_STATE_DIR and the existing
path overrides. Skills still load from the open checkout.

Co-authored-by: telivity-otaip <telivity-otaip@users.noreply.github.com>
@telivity-otaip
telivity-otaip marked this pull request as ready for review October 22, 2026 05:35
@telivity-otaip
telivity-otaip merged commit 94fe145 into main Oct 22, 2026
2 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.

2 participants