mirror of
https://github.com/AventurasTeam/Aventuras.git
synced 2026-10-21 05:22:11 +00:00
Under `AVENTURAS_DEV_SLOT=auto`, the main checkout used to claim a slot like any worktree. It is never removed, so that claim never came back: on the worker machine, one `pnpm desktop` in the base clone (where Orca sets `auto` for every terminal) would hold slot 1 for good and push workers onto slots with no emulator. - Under `auto` the main checkout resolves to slot 0 without claiming, and writes slot 0's env file (replacing one an earlier claim left). - A claim the main checkout already holds counts as free, so the next linked worktree takes it over, wiping its data as with any hand-over. - `docs/dev-environment.md` states the rule in the settings table and under Claiming. Tests: two new cases (main stays on 0 with a slot-0 env file; a slot main held is reclaimed), two existing cases moved from main to linked worktrees. Each new check was mutation-tested: dropping the main check, counting main as live, or skipping its env file each fails exactly its test. 🤖 Generated with [Claude Code](https://claude.com/claude-code) <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Bug Fixes** * The main checkout now consistently uses slot 0, while linked worktrees retain their own slot assignments. * Environment files reflect each worktree’s assigned slot, and slots previously claimed by the main checkout are freed along with stale slot data. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --------- Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| dev-slot | ||
| mock-llm | ||
| seed | ||
| check-commit-msg.sh | ||
| check-migrations-format.ts | ||
| compiler-bailouts.baseline.json | ||
| compiler-bailouts.test.ts | ||
| compiler-bailouts.ts | ||
| desktop.ts | ||
| e2e.ts | ||
| reset-project.js | ||
| themes-audit.test.ts | ||
| themes-audit.ts | ||