KeiSeiKit-1.0/_capabilities/quality/constructor-pattern/capability.toml
Parfii-bot e6ed7f8b8e feat(w9a): bulk-tag 25 primitives with taxonomy facets
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>
2026-04-23 13:34:16 +08:00

34 lines
762 B
TOML

[capability]
name = "quality::constructor-pattern"
category = "quality"
version = "1.0"
description = "Enforce Constructor Pattern: file <= 200 LOC, function <= 30 LOC."
rationale = "~/.claude/rules/code-style.md (RULE ZERO). Keeps one file = one class = one responsibility; forces decomposition before complexity compounds."
[restricts]
tool-patterns = []
tools-denied = []
[parameterized]
accepts = []
[text]
path = "text.md"
[verify]
rust-module = "verifies::quality_constructor_pattern"
run-mode = "worktree"
when = "on-return"
[taxonomy]
kingdom = "capability"
mechanism = "verify"
domain = "quality"
layer = "agent-substrate"
stage = "runtime"
stability = "stable"
language = "rust"
[lineage]
creator = "ag-orchestrator-human"
created = "2026-04-23"