Presets Reference
The extension ships with four built-in presets. Each is a self-contained YAML configuration defining roles, allowed relations, and matrix definitions.
requirements-engineering
Systems and software engineering. Three roles with comprehensive relation coverage.
Roles |
|
Matrices |
|
Version |
1.0.0 |
Relations:
| Relation | Forward | Reverse |
|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Each pair is declared once; the reverse direction is allowed automatically.
Matrices:
| Name | Rows | Columns |
|---|---|---|
|
requirement |
design |
|
requirement |
test |
agile
Agile/Scrum teams. Eight roles mapping the Scrum backlog.
Roles |
|
Matrices |
|
Version |
1.0.0 |
Relations:
| Relation | Forward | Reverse |
|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
medical-iec62304
Medical device software compliant with IEC 62304. Safety classification support.
Roles |
|
Matrices |
|
Version |
1.0.0 |
Relations:
| Relation | Forward | Reverse |
|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
minimal
Two roles — the simplest possible setup.
Roles |
|
Matrices |
|
Version |
1.0.0 |
Relations:
| Relation | Forward | Reverse |
|---|---|---|
|
|
|
|
|
|
|
|
|
Preset metadata schema
Each preset YAML file follows this structure:
| Key | Type | Description |
|---|---|---|
|
string |
Unique preset identifier |
|
string |
Human-readable explanation of domain and intended use |
|
semver |
Independent version, separate from the extension |
|
string |
Name of a parent preset to inherit from. The parent’s roles, relations, matrices, and labels are deep-merged under this preset (child wins on conflict). |
|
string |
Preset author or organization |
|
string[] |
Keywords for categorisation |
|
object |
|
|
string[] |
Ordered list of valid role names |
|
map |
|
|
map |
Display-only |
|
object[] |
Array of matrix definitions (name, rows, columns, coverageRelations) |
|
object[] |
Optional named Cypher queries shipped with the preset |
|
object |
|
Initialize from a preset
To customize a preset, initialize a local copy:
npx antora-tracer preset init -n requirements-engineering -o ./config/
This writes the full YAML to ./config/traceability.yml.
Edit it, then point your playbook at the file:
antora:
extensions:
- require: antora-tracer/antora-extension
config:
configPath: ./config/traceability.yml
List available presets
npx antora-tracer preset list
# → requirements-engineering, agile, medical-iec62304, minimal
Show a preset’s details:
npx antora-tracer preset show requirements-engineering
Related
-
How to define a custom domain model — extending presets
-
Configuration Reference — playbook options and YAML schema