Skip to main content

Module archetype

Module archetype 

Source
Expand description

Static capability archetypes (docs/design/behavioral-taxonomy-archetypes.md). The recurring facet profiles the Phase-1 subcommand surface classifies against. Each archetype is a fixed Capability declared in archetypes.toml; a subcommand references one by name (profile = "remote-mutate") and the resolver emits that capability directly (a static profile — the sub’s facets don’t depend on its arguments, unlike the operand-role commands of Phase 0).

This is the archetype as a reusable audited bundle, never a unit of analysis: profile = … expands to the explicit capability here, the researcher still verifies the sub genuinely is that archetype and cites it (the per-item provenance schema). Facet fields take an EXACT term, not a bound — these are points in facet-space, not the level predicates of authoring.

Functions§

archetype
The capability an archetype expands to, or None if the name is unknown (fail-closed: an unknown profile = … must not silently resolve to nothing).
names
Every archetype name, for the profile = … closed-set check and the docs.