KeiSeiKit-1.0/_capabilities/quality/tests-green/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
868 B
TOML

[capability]
name = "quality::tests-green"
category = "quality"
version = "1.0"
description = "Require `cargo test -p <crate>` to pass, with a minimum test count per task, in worktree AND simulated merge."
rationale = "Self-reported green without a run is the most common substrate v1 failure. Test-count minimum prevents silently deleting tests to make the bar. Dual-pass catches integration regressions."
[restricts]
tool-patterns = []
tools-denied = []
[parameterized]
accepts = ["cargo-test-crates", "test-count-min"]
[text]
path = "text.md"
[verify]
rust-module = "verifies::quality_tests_green"
run-mode = "both"
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"