Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .gemini/config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
ignore_patterns:
- "vendor/**"
- "*.min.js"
- ".gourmand-cache/**"
- "*.lock"
28 changes: 28 additions & 0 deletions .gemini/styleguide.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# CrunchTools Autonomous Agent Code Review Standards

## Trust Boundary
- P-Agent (privileged) and Q-Agent (quarantined) MUST be separated
- P-Agent MUST NOT process raw untrusted content directly
- Q-Agent MUST NOT hold credentials or make tool calls
- Trust boundary enforced by deterministic software, NEVER by another LLM

## MCP Server Governance
- Only allowlisted MCP servers — no runtime discovery
- Every server scored on the 8-dimension scorecard (minimum B/15 for production)
- All tools classified by risk tier: read-only, write, system, network

## Runtime Security
- Circuit breakers required: max tool calls, token budget, repeated invocations, conversation depth
- Rate limiting per-tool, per-server, and global
- Audit logging as structured JSON — no credentials in logs
- Dead man's switch: pause if no human input within configured window

## Container Security
- Rootless execution, read-only root filesystem
- SELinux enforcing (`:Z` mounts)
- No host network, dropped capabilities
- All dependencies pinned to exact versions

## Versioning
- Semantic Versioning 2.0.0
- AI-assisted commits MUST include `Co-Authored-By` trailer
Loading