Skip to content

Honor project base refs for FirstMate spawns - #288

Closed
dimajarkov wants to merge 4 commits into
kunchenguid:mainfrom
dimajarkov:fm/arena-dev-base-policy-20260706
Closed

dimajarkov wants to merge 4 commits into
kunchenguid:mainfrom
dimajarkov:fm/arena-dev-base-policy-20260706

Conversation

@dimajarkov

Copy link
Copy Markdown

Summary

  • parse project registry base=... tokens and preserve existing mode/yolo output
  • spawn Treehouse/Orca worktrees from the configured base ref and record it in task metadata
  • use task metadata base refs in brief/review helpers and validate bad bases before creating task endpoints
  • harden watcher stat handling discovered during no-mistakes test repair

Validation

  • no-mistakes run 01KWV7JFAPXM52NM0F9AY73BZQ completed review, test, document, and lint
  • full shell test sweep passed during no-mistakes test step
  • document and lint steps completed with no findings

Note

  • no-mistakes push step failed only because dimajarkov has READ permission on kunchenguid/firstmate, so the validated branch was pushed to dimajarkov/firstmate and this upstream PR was opened from the fork.

@dimajarkov dimajarkov closed this Jul 6, 2026
@dimajarkov
dimajarkov deleted the fm/arena-dev-base-policy-20260706 branch July 6, 2026 09:46
fritznoff pushed a commit to fritznoff/starship that referenced this pull request Nov 2, 2026
…en cycles (kunchenguid#288)

* fix(bin): keep Claude watcher monitoring through host sleep and between cycles

A host sleep froze the watcher and the Stop hook's attached arm together.
On wake the arm read the hour of wall clock as a stall of the healthy
watcher and gave up; the hook then saw that watcher healthy and exited
silently, so the watcher's next wake reached nobody until unrelated input
arrived.

- fm-watch-arm.sh: after a clock gap of FM_ARM_SUSPEND_GAP (default 60s)
  between two of its own reads, an attached arm measures the holder's
  stall age from its resume instead of across the sleep.
- fm-claude-stop-autoarm.sh: a close with no wake beside a healthy
  watcher resets the failure episode and spends the next bounded attempt
  attaching to that watcher, so its wake is still delivered.
- fm-continuity-pretool-check.sh: decide outages with the Claude model's
  own verdict, so the normal gap between watcher cycles (fresh beacon, no
  live watcher) no longer reports an outage and prompts a manual arm.

* no-mistakes(document): Update continuity gate entry in scripts inventory
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