chore: sync claude config — hooks canon, permission guardrails#159
Open
ArthurBernard wants to merge 2 commits into
Open
chore: sync claude config — hooks canon, permission guardrails#159ArthurBernard wants to merge 2 commits into
ArthurBernard wants to merge 2 commits into
Conversation
…rading permission guardrails
881663a to
c7dfbc9
Compare
…es tiered by complexity with escalation)
Owner
Author
|
Follow-up commit on this branch: the model policy in the CLAUDE.md mirror evolved from "inherit the session model everywhere" to tiered execution — judgement (orchestration, review, pick/plan/finish) stays on the session model; plan-leaf execution runs at the tier derived from the leaf's complexity (low→haiku / medium→sonnet / high→session model), escalating one tier on failed tests/verification. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
.claude/hooks/with the canonical copies in~/.claude/hooks/: drops thelegacy/exclusion frompr_decision_guard.py(the legacy tree was retired) and un-hardcodes thetrading_botlabel insession_start.py(read fromworkflow.json)..claude/settings.json: first-pass permission guardrails for a live-trading repo — denyReadon.env*(API keys), ask before running the real-brokerpytest -m networksuite. The globaldontAskmode stays; these narrow rules take precedence.~/.claude/CLAUDE.md: model policy is now "inherit the session model"; dated mirror marker added so/groom-docscan detect drift..gitignore: ignore.claude/settings.local.json+ local Claude state in-repo (was only covered by a machine-global git ignore).Why
.envdeny covers the Read tool, notcatvia Bash — it is a guardrail, not a boundary.Test plan
python -m pytestandruff check trading_bot/unaffected.