š§ chore(claude): the guard no longer admits athya-rules agent wait and status
Slice: #574
This removes the reviewedCLIs entry for athya-rules from .claude/kavach.json. #516 added it so that a niyam session could run athya-rules agent wait and agent status. Since athya-rules 0.6.0 (https://github.com/athya-hq/athya-rules/pull/137, fixing https://github.com/athya-hq/athya-rules/issues/127), the router's hook no longer prints agent wait. It prints a read-only until ⦠find -mmin ⦠loop instead, and kavach passes that loop with no entry.
kavach cannot tie the name to code it has read: the ~/.local/bin/athya-rules shim resolves the plugin afresh on every run and honours ATHYA_RULES_ROOT and ATHYA_RULES_NODE (https://github.com/veda-hq/veda/issues/404). So an entry nothing needs is removed rather than kept. git grep (2026-11-23) finds nothing in niyam that runs either command. athya-rules 0.6.0's README keeps both for a person at a terminal.
No release: .claude/kavach.json is not in the package's files, and onboard does not write it.
Approved by Alok with a š on https://github.com/veda-hq/niyam/issues/574#issuecomment-7086106389 (2026-11-23).
Evidence
The probe ran athya-rules 0.6.0's installed hook (~/.claude/plugins/cache/athya-rules/athya/0.6.0/claude/hooks/agent-router.sh) on a stub PreToolUse Agent event, with XDG_STATE_HOME pointed at a scratch folder. It took line 8 of the hook's message, the wait loop, and sent it through niyam's own .claude/hooks/sarathi.sh PreToolUse (sarathi 0.8.2) as a Bash event. Each run set CLAUDE_PROJECT_DIR to the main checkout, then to this branch:
main passed (exit 0) until [ -e 'ā¦/results/ā¦-probe-6a653b.json.running' ] || ⦠find ⦠-mmin +10 ā¦; do sleep 1; done; until ⦠-mmin +180 ā¦; do sleep 2; done
branch passed (exit 0) (same loop)
main passed (exit 0) athya-rules agent wait --out x
branch refused (exit 2) athya-rules agent wait --out x
BLOCKED: mutation targets could not be resolved: this command uses `athya-rules`, a program whose writes the guard does not know, ā¦
main passed (exit 0) athya-rules agent status
branch refused (exit 2) athya-rules agent status
BLOCKED: ⦠`athya-rules`, a program whose writes the guard does not know, ā¦
The live guard reads the main checkout's settings ($CLAUDE_PROJECT_DIR). So sessions see this once the PR merges and the main checkout pulls it.
š¤ Generated with Claude Code
Summary by cubic
Removes the athya-rules reviewed-CLI entry from .claude/kavach.json since athya-rules 0.6.0 changed its router hook to emit a read-only wait loop instead of agent wait.
That loop passes kavach's guard on its own, and neither niyam nor the hook tells a session to run agent wait or agent status anymore; the latter is for a person at a terminal. No release is needed because the config isn't in the package's files and onboard doesn't write it.