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
T198: Investigate merges and pushes that bypass the command tools #67
Paths updated after #56 merged (2026-10-06). Sources now live in packages/; plugins/sage/ is build output (never edit it; npm run check fails on a hand edit). Hook: packages/sage-claude/hooks/sage-hook.mjs. State tool logic: packages/sage-core/state.mjs (the Claude wrapper is packages/sage-claude/skills/sage/sage.mjs). Skills and agents: packages/sage-claude/skills/, packages/sage-claude/agents/. Line numbers in this issue are from before the move.
Owner: Claude (the sage in Claude Code). This issue is context for Codex: do not build this task, and avoid editing the lines it names while it is open. If a Codex task must touch them, say so in its pull request; the sage merges the two one at a time.
Task: T198 · investigation, no build · status: queued.
Merges and pushes can bypass the hook's command tools: the PR tools' auto-merge switch, browser tools on a logged-in GitHub page, a dev-server launcher that runs a command from a config file that an agent may write, and scheduled tasks that run later as a main session. For each, the sage decides: refuse for agents, take the tool away from sage agents, or accept with a reason. The result feeds the lead's tool list (#62 and later steps).
Lines it changes: none (a research page). Needs a Claude Code session, which is why Claude owns it.
Closing as decided. The hooks guard the plain forms of merges and pushes; a deliberate bypass (a wrapper, an alias, a variable, code in a script) is a documented limit by the owner's rule (standing order 70), see PR #463 (T815), #464 (T903), #469 (T909) and docs/design/rules-in-code.md. GitHub's protection of main and the merge check guard the rest. Owner decision 2026-11-09.
Activity
erickb336 commentedon Nov 9, 2026
Closing as decided. The hooks guard the plain forms of merges and pushes; a deliberate bypass (a wrapper, an alias, a variable, code in a script) is a documented limit by the owner's rule (standing order 70), see PR #463 (T815), #464 (T903), #469 (T909) and docs/design/rules-in-code.md. GitHub's protection of main and the merge check guard the rest. Owner decision 2026-11-09.