Repository navigation
Adopt the shared agent docs and Claude Code guard hooks - #225
Conversation
The Claude Code hooks are standalone scripts that share a helper module. The directory is deliberately not a package, the same way the other namespace directories listed here are not. Assisted-by: LLM
The agent docs shared with ansible/pylibssh say that delegated experiments come back as findings, not faits accomplis. codespell reads "accomplis" as a typo. The exception and its dictionary reference match the ones in ansible/awx_plugins.interfaces. Assisted-by: LLM
AGENTS.md, CLAUDE.md and the shared .agents-ctx/ docs are copied unchanged from ansible/pylibssh as of 5ff33f5d, so the next commit shows exactly what differs here. The pylibssh-only CYTHON_AND_LIBSSH.md is left out. Assisted-by: LLM
The shared text stays as in ansible/pylibssh. Only the "Here:" paragraphs, which state this project's facts, are rewritten, along with the per-project NAMING_THE_DUCKS.md and WHERE_TO_LOOK_FIRST.md, and the operator-local context file CLAUDE.md loads. Where existing tests don't follow a shared rule yet, such as the grouping class or the mocks patching the plugins' internals, the paragraph names them as predating the rule rather than as precedent. Assisted-by: LLM
The agent docs make silencing checks and changing license terms the operator's decision. These PreToolUse hooks, copied unchanged from ansible/pylibssh as of 5ff33f5d, make Claude Code ask the operator before edits or commands that look like either. Assisted-by: LLM
|
Caution Review failedThe pull request is closed. Walkthrough
Merge Risk:
|
|



This brings over the agent context that ansible/awx_plugins.interfaces, ansible/pylibssh and the tox-dev plugins already use: the
AGENTS.md/CLAUDE.mdentry points, the.agents-ctx/house rules, and two Claude CodePreToolUsehooks that make the agent ask before silencing checks or changing license terms.The shared docs are first imported unchanged from ansible/pylibssh@5ff33f5d, so the next commit shows exactly what differs here. Two tool-config commits come first, so the imported files pass this repository's linters: ruff treats
.claude/hooks/as a namespace directory, and codespell accepts "faits accomplis".🤖 Produced by a probabilistic agent with a token generator using an LLM to sound convincing.
Summary by CodeRabbit