KeiSeiKit-1.0/_capabilities/scope/files-whitelist/capability.toml
Parfii-bot a4e667de10 KeiSeiKit-public — clean state
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.
2026-05-01 12:09:03 +08:00

39 lines
932 B
TOML

[capability]
name = "scope::files-whitelist"
category = "scope"
version = "1.0"
description = "Restrict Edit/Write to paths matching a per-task whitelist of glob patterns."
rationale = "Scope violations surfaced only after merge in substrate v1 audit waves. Whitelist makes scope explicit at spawn time; gate blocks at PreToolUse, verify walks git diff on return to catch any bypass."
[restricts]
tool-patterns = []
tools-denied = []
[parameterized]
accepts = ["files-whitelist"]
[text]
path = "text.md"
[gate]
rust-module = "gates::scope_files_whitelist"
event = "PreToolUse:Edit|Write"
severity = "block"
[verify]
rust-module = "verifies::scope_files_whitelist"
run-mode = "worktree"
when = "on-return"
[taxonomy]
kingdom = "capability"
mechanism = "gate"
domain = "scope"
layer = "agent-substrate"
stage = "runtime"
stability = "stable"
language = "rust"
[lineage]
creator = "ag-orchestrator-human"
created = "2026-04-23"