You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .codex/skills/hack-cli/SKILL.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -70,7 +70,7 @@ Use `hack` as the primary interface for local-first development.
70
70
## Linked git worktrees
71
71
72
72
- Secret key inherits from the primary checkout automatically through the shared git common dir; set `HACK_ENV_SECRET_KEY` for CI or detached environments.
73
-
-`hack up` in a linked worktree defaults to a branch instance named after the worktree's git branch; opt out with config `worktree.auto_branch=false`or an explicit `--branch`.
73
+
-`hack up` in a linked worktree defaults to a branch instance named after the worktree's git branch; a detached linked worktree requires an explicit `--branch`, unless config `worktree.auto_branch=false`explicitly opts into the base instance.
74
74
-`hack doctor` flags divergent secret keys and dev_host collisions across checkouts.
75
75
76
76
## Advanced networking (extra_hosts + local proxies/tunnels)
Copy file name to clipboardExpand all lines: .cursor/rules/hack.mdc
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -34,7 +34,7 @@ Prefer `hack` when shell access is available. Use MCP only when shell access is
34
34
## Linked git worktrees
35
35
36
36
- Secret key inherits from the primary checkout automatically through the shared git common dir; set `HACK_ENV_SECRET_KEY` for CI or detached environments.
37
-
- `hack up` in a linked worktree defaults to a branch instance named after the worktree's git branch; opt out with config `worktree.auto_branch=false` or an explicit `--branch`.
37
+
- `hack up` in a linked worktree defaults to a branch instance named after the worktree's git branch; a detached linked worktree requires an explicit `--branch`, unless config `worktree.auto_branch=false` explicitly opts into the base instance.
38
38
- `hack doctor` flags divergent secret keys and dev_host collisions across checkouts.
Copy file name to clipboardExpand all lines: AGENTS.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -261,7 +261,7 @@ Project files (managed vs generated):
261
261
262
262
Linked git worktrees:
263
263
- Secret key inherits from the primary checkout automatically through the shared git common dir; set `HACK_ENV_SECRET_KEY` for CI or detached environments.
264
-
-`hack up` in a linked worktree defaults to a branch instance named after the worktree's git branch; opt out with config `worktree.auto_branch=false`or an explicit `--branch`.
264
+
-`hack up` in a linked worktree defaults to a branch instance named after the worktree's git branch; a detached linked worktree requires an explicit `--branch`, unless config `worktree.auto_branch=false`explicitly opts into the base instance.
265
265
-`hack doctor` flags divergent secret keys and dev_host collisions across checkouts.
266
266
267
267
Advanced networking (extra_hosts + local proxies/tunnels):
Copy file name to clipboardExpand all lines: CLAUDE.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -131,7 +131,7 @@ Project files (managed vs generated):
131
131
132
132
Linked git worktrees:
133
133
- Secret key inherits from the primary checkout automatically through the shared git common dir; set `HACK_ENV_SECRET_KEY` for CI or detached environments.
134
-
-`hack up` in a linked worktree defaults to a branch instance named after the worktree's git branch; opt out with config `worktree.auto_branch=false`or an explicit `--branch`.
134
+
-`hack up` in a linked worktree defaults to a branch instance named after the worktree's git branch; a detached linked worktree requires an explicit `--branch`, unless config `worktree.auto_branch=false`explicitly opts into the base instance.
135
135
-`hack doctor` flags divergent secret keys and dev_host collisions across checkouts.
136
136
137
137
Advanced networking (extra_hosts + local proxies/tunnels):
Copy file name to clipboardExpand all lines: docs/lifecycle.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -212,8 +212,8 @@ Lifecycle session name:
212
212
Notes:
213
213
- If no mux backend is available, lifecycle process startup fails with an actionable error.
214
214
- Teardown is implemented by killing the lifecycle session; anything running inside that session will be stopped.
215
-
- For tmux-backed lifecycle sessions, Hack also persists pane PID and process-group metadata to
216
-
`.hack/.internal/lifecycle/state.json`, with per-hook/process output logged to
215
+
- For tmux-backed lifecycle sessions, Hack also persists the pane PID and the wrapped command's actual
216
+
process-group metadata to `.hack/.internal/lifecycle/state.json`, with per-hook/process output logged to
217
217
`.hack/.internal/lifecycle/*.log`. If tmux pane state disappears before teardown, `hack down` still uses that persisted metadata to clean up any live lifecycle process groups instead of leaving orphaned host processes behind.
218
218
-`hack doctor` reports stale lifecycle state when the persisted lifecycle entry no longer has a live mux session and points operators to `hack down` so cleanup and state removal happen through the supported path. `hack doctor --fix` does not tear down lifecycle sessions itself — use `hack down` for that.
"Secret key inherits from the primary checkout automatically through the shared git common dir; set `HACK_ENV_SECRET_KEY` for CI or detached environments.",
125
-
"`hack up` in a linked worktree defaults to a branch instance named after the worktree's git branch; opt out with config `worktree.auto_branch=false` or an explicit `--branch`.",
125
+
"`hack up` in a linked worktree defaults to a branch instance named after the worktree's git branch; a detached linked worktree requires an explicit `--branch`, unless config `worktree.auto_branch=false` explicitly opts into the base instance.",
126
126
"`hack doctor` flags divergent secret keys and dev_host collisions across checkouts.",
0 commit comments