Optional [taxonomy] + [lineage] TOML sections on capability.toml and atom .md frontmatter. Backward-compat — all fields optional, existing files parse unchanged. TaxonomyFacets struct (7 facets): kingdom, mechanism, domain, layer, stage, stability, language. Lineage struct: parents[], creator, created, fork_from. AtomMeta extended with taxonomy: Option<TaxonomyFacets> + lineage: Option<Lineage>. docs/TAXONOMY.md — canonical vocabulary. Graph-based (DAG with typed edges), not tree. Multi-faceted nodes allowed. 3 pilot primitives tagged: policy::no-git-ops, quality::cargo-check-green, tools::bash-allowlist. Tests: 16/16 (was 12, +4: full/partial/no-facets/parents-array). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
34 lines
836 B
TOML
34 lines
836 B
TOML
[capability]
|
|
name = "quality::cargo-check-green"
|
|
category = "quality"
|
|
version = "1.0"
|
|
description = "Require `cargo check --workspace` to pass on return, in worktree AND in simulated merge onto main."
|
|
rationale = "Worktree-green is not enough — E1 jsonschema regression showed agent-local green can break main integration. Simulated-merge pass catches that class of failure before merge."
|
|
|
|
[restricts]
|
|
tool-patterns = []
|
|
tools-denied = []
|
|
|
|
[parameterized]
|
|
accepts = ["cargo-check-crates"]
|
|
|
|
[text]
|
|
path = "text.md"
|
|
|
|
[verify]
|
|
rust-module = "verifies::quality_cargo_check_green"
|
|
run-mode = "both"
|
|
when = "on-return"
|
|
|
|
[taxonomy]
|
|
kingdom = "capability"
|
|
mechanism = "verify"
|
|
domain = "quality"
|
|
layer = "agent-substrate"
|
|
stability = "stable"
|
|
language = "rust"
|
|
|
|
[lineage]
|
|
parents = []
|
|
creator = "ag-orchestrator-human"
|
|
created = "2026-04-23"
|