8 capabilities (output/quality/safety/scope/tools) + 12 manifests + 5 roles. Consistent classification per W9-A rules. Deprecated-alias stubs (tools::cargo-only-bash, tools::read-only) skipped — no [gate]/[verify] sections. facet-query results: kingdom=capability → 11 hits (was 3) kingdom=capability gate → 6 hits (was 2) kingdom=manifest → 12 hits (was 0) Roles tagged but not reachable by current facet_query (walker scans _capabilities + _manifests). Forward-compat for walker extension. cargo test -p kei-atom-discovery: 16/16 preserved. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
39 lines
925 B
TOML
39 lines
925 B
TOML
[capability]
|
|
name = "scope::files-denylist"
|
|
category = "scope"
|
|
version = "1.0"
|
|
description = "Block Edit/Write to paths matching a per-task denylist, even if otherwise whitelisted."
|
|
rationale = "Protects SSoT files (Cargo.toml / Cargo.lock / rules / settings.json / CI configs) that are easy to touch accidentally and hard to recover once committed. Denylist overrides whitelist."
|
|
|
|
[restricts]
|
|
tool-patterns = []
|
|
tools-denied = []
|
|
|
|
[parameterized]
|
|
accepts = ["files-denylist"]
|
|
|
|
[text]
|
|
path = "text.md"
|
|
|
|
[gate]
|
|
rust-module = "gates::scope_files_denylist"
|
|
event = "PreToolUse:Edit|Write"
|
|
severity = "block"
|
|
|
|
[verify]
|
|
rust-module = "verifies::scope_files_denylist"
|
|
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"
|