apply-agentic-os-hooks: SIBLINGS_ROOT hardcoded to ~/projects/coilysiren, breaks on Windows #102

Open
opened 2026-05-29 05:22:59 +00:00 by coilysiren · 0 comments
Owner

scripts/apply-agentic-os-hooks.py cannot find any repo on Windows because the workspace root is hardcoded to the Mac/Linux path.

Line 43: SIBLINGS_ROOT = Path.home() / "projects" / "coilysiren". On Windows that resolves to C:\Users\firem\projects\coilysiren\, but Kai's Windows workspace lives at X:\projects-x\coilysiren\ (see kai-windows-env). So --repo atmosphere reports "not checked out locally" and a full run skips every repo.

Fix - make the root overridable by env, falling back to the current default, for example SIBLINGS_ROOT = Path(os.environ.get("COILYSIREN_WORKSPACE", Path.home() / "projects" / "coilysiren")). Kai's Windows env would set COILYSIREN_WORKSPACE=X:/projects-x/coilysiren. This keeps the public default Mac/Linux-correct while unblocking Windows agents.

Discovered while hand-applying the hook fleet to atmosphere on a Windows host. The hooks were hand-written to match the script's managed-block template exactly, so a fixed run will adopt them idempotently. Related - this is the kind of fleet rollout a coily dispatch cascade verb would drive, which the installed coily (v2.41.0) does not yet have.

`scripts/apply-agentic-os-hooks.py` cannot find any repo on Windows because the workspace root is hardcoded to the Mac/Linux path. Line 43: `SIBLINGS_ROOT = Path.home() / "projects" / "coilysiren"`. On Windows that resolves to `C:\Users\firem\projects\coilysiren\`, but Kai's Windows workspace lives at `X:\projects-x\coilysiren\` (see kai-windows-env). So `--repo atmosphere` reports "not checked out locally" and a full run skips every repo. Fix - make the root overridable by env, falling back to the current default, for example `SIBLINGS_ROOT = Path(os.environ.get("COILYSIREN_WORKSPACE", Path.home() / "projects" / "coilysiren"))`. Kai's Windows env would set `COILYSIREN_WORKSPACE=X:/projects-x/coilysiren`. This keeps the public default Mac/Linux-correct while unblocking Windows agents. Discovered while hand-applying the hook fleet to atmosphere on a Windows host. The hooks were hand-written to match the script's managed-block template exactly, so a fixed run will adopt them idempotently. Related - this is the kind of fleet rollout a `coily dispatch cascade` verb would drive, which the installed coily (v2.41.0) does not yet have.
coilysiren added
P3
and removed
P2
labels 2026-05-31 07:00:05 +00:00
Sign in to join this conversation.
No labels
P0
P1
P2
P3
P4
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
coilyco-flight-deck/agentic-os#102
No description provided.