Single-commit clean baseline after security scrub of niche-tells, project codenames, internal jargon, and contributor-email leaks. Contents: - 100 Rust crates (_primitives/_rust/) - 37 agent manifests (_manifests/) + generated specs (_generated/) - 67 user-invocable skills (skills/) - 33 hooks (hooks/) - Composition blocks (_blocks/) - Documentation (docs/, README.md) - TS adapter packages (_ts_packages/) - Assembler (_assembler/) - Roles (_roles/) - Templates (_templates/) - Forgejo CI (.forgejo/) Author: Denis Parfionovich <info@greendragon.info> License: see LICENSE.
39 lines
874 B
TOML
39 lines
874 B
TOML
[capability]
|
|
name = "policy::no-git-ops"
|
|
category = "policy"
|
|
version = "1.0"
|
|
description = "Forbid git, gh repo, and gh api /repos shell operations from the agent."
|
|
rationale = "RULE 0.13 (orchestrator-branch-first.md): orchestrator owns branch + commit + push; agents sandbox-deny Bash inside .claude/worktrees/<agent>/. See ~/.claude/rules/orchestrator-branch-first.md."
|
|
|
|
[restricts]
|
|
tool-patterns = [
|
|
'^git( |$)',
|
|
'^gh repo',
|
|
'^gh api /?repos',
|
|
]
|
|
tools-denied = []
|
|
|
|
[parameterized]
|
|
accepts = []
|
|
|
|
[text]
|
|
path = "text.md"
|
|
|
|
[gate]
|
|
rust-module = "gates::policy_no_git_ops"
|
|
event = "PreToolUse:Bash"
|
|
severity = "block"
|
|
bypass-env = "ORCHESTRATOR_META"
|
|
|
|
[taxonomy]
|
|
kingdom = "capability"
|
|
mechanism = "gate"
|
|
domain = "policy"
|
|
layer = "agent-substrate"
|
|
stability = "stable"
|
|
language = "rust"
|
|
|
|
[lineage]
|
|
parents = []
|
|
creator = "ag-orchestrator-human"
|
|
created = "2026-04-23"
|