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
{{ message }}
Repository navigation
Session hook: print the version holds outside a git work tree too #80
plugins/setkernel/hooks/session-context.sh exits before printing anything when the session's directory is not a git work tree (line 7: git rev-parse --is-inside-work-tree ... || exit 0). Fleet seat runs start in a run folder that is not a repository, so they never get the version holds the hook prints from policy/holds.md. Those holds are org policy that must reach every session, wherever it starts.
Acceptance criteria
Outside a git work tree, the hook prints its heading, the org-rules line and the version holds, and leaves out the branch and working-tree lines. Inside a work tree, its output is unchanged.
It still always exits 0, and prints nothing extra when policy/holds.md is missing.
A test covers both cases (in a temp git repo, and in a temp directory that is not one) in the plugin's existing hook tests.
#83 merged and closed this issue; its description doesn't mark these 4 items met, so they stay unticked:
Outside a git work tree, the hook prints its heading, the org-rules line and the version holds, and leaves out the branch and working-tree lines. Inside a work tree, its output is unchanged.
It still always exits 0, and prints nothing extra when policy/holds.md is missing.
A test covers both cases (in a temp git repo, and in a temp directory that is not one) in the plugin's existing hook tests.
Activity
orion-setkernel commentedon Nov 11, 2026
Opened #83.
fix(session-hook): print the version holds outside a git work tree (#80…
setkernel-ops commentedon Nov 11, 2026
#83 merged and closed this issue; its description doesn't mark these 4 items met, so they stay unticked:
policy/holds.mdis missing.(board-sync, hq#1238)