Use Cases
This page captures the key user workflows for the Antora Tracer extension.
Each use case traces into the requirements it motivates via leads_to relations — demonstrating how config extension adds domain-specific roles and relations beyond the built-in presets.
Setup and Configuration
UC-002: Requirements Engineer defines custom domain model via config
ID |
UC-002 |
|---|---|
Title |
Requirements Engineer defines custom domain model via config |
Goal |
Requirements Engineer defines custom roles, relations, and matrices so that the project’s traceability reflects its specific domain language rather than a generic template |
Primary Actor |
Requirements Engineer |
Preconditions |
The Antora Tracer extension is installed And a built-in preset exists that covers the baseline domain (e.g., |
Trigger |
Requirements Engineer determines that the built-in preset does not fully capture the project’s domain — a missing role, an unneeded relation, or a custom matrix is needed |
Basic Flow |
|
Alternate Flows |
|
Postconditions |
The project’s traceability domain model is configured And items using the new roles are accepted by the extension And custom matrices appear in the traceability output |
Priority |
High |
Frequency |
Once per project — updated infrequently as the domain model evolves |
Notes |
⚠ Actor "Requirements Engineer" does not yet have a persona definition. The |
UC-006: Project lead bootstraps traceability for a new project
ID |
UC-006 |
|---|---|
Title |
Project lead bootstraps traceability for a new project |
Goal |
Project lead sets up the Antora Tracer extension for a new or existing Antora project so the team can begin writing traceable items with a domain model appropriate to their workflow |
Primary Actor |
Project Lead, Requirements Engineer, or Tech Lead |
Preconditions |
The project uses Antora as its site generator And the project lead has access to the Antora playbook and module directories |
Trigger |
The team decides to adopt traceability — a new project is starting, or an existing project wants to add traceability to its documentation |
Basic Flow |
|
Alternate Flows |
|
Postconditions |
The Antora Tracer extension is installed and configured And at least one preset is active And the site navigation includes matrix links And matrices generate during builds with 0 errors And the team can begin writing traceable items |
Priority |
High |
Frequency |
Once per project — revisited when the domain model evolves |
Notes |
This use case covers the "Day 0" setup. For ongoing configuration changes, see UC-002. The |
Authoring Traceable Items
UC-001: Team member writes traceable items in AsciiDoc
ID |
UC-001 |
|---|---|
Title |
Team member writes traceable items in AsciiDoc |
Goal |
Team member writes traceable items so that the project establishes complete end-to-end traceability across the software development lifecycle |
Primary Actor |
Business Analyst, Architect, Developer, Test Manager — any team member who authors traceable content |
Preconditions |
The project uses Antora as its site generator And the Antora Tracer extension is installed in the playbook And a |
Trigger |
Team member opens an |
Basic Flow |
|
Alternate Flows |
|
Postconditions |
The traceability graph contains the new item with a consistent ID And all inline relationships are registered And the rendered page shows relationship lists if macros were included And the traceability matrix reflects updated coverage |
Priority |
High |
Frequency |
Per item — multiple times per documentation session |
Notes |
The |
-
REQ-044 — tracer:outgoing[ macro renders outgoing links]
-
REQ-055 — tracer:incoming[ macro renders incoming links]
-
REQ-088 — Inline macros inside verbatim blocks are not parsed
-
REQ-090 — Verbatim block detection handles standard AsciiDoc fences
-
REQ-091 — Inline macros inside verbatim blocks are preserved in rendered output
-
REQ-092 — Inline macros inside backtick code spans are not parsed
-
REQ-100 — Inline macros suppressed when links macros are active
-
REQ-102 — Collapsible list-style output via document attribute
-
REQ-104 — tracer:links[ macro renders combined outgoing and incoming links]
-
REQ-116 — Items carry component and module context from Antora
-
REQ-117 — Cross-module and cross-component xref includes correct prefix
-
REQ-146 — Empty-state message when item has no outgoing relationships
UC-004: Requirements Engineer organizes items in partial files
ID |
UC-004 |
|---|---|
Title |
Requirements Engineer organizes items in partial files |
Goal |
Requirements Engineer places related items in separate partial files so that the traceability structure stays modular, focused, and maintainable without cluttering the main page |
Primary Actor |
Requirements Engineer |
Preconditions |
The project uses Antora as its site generator And the Antora Tracer extension is installed And the project has a |
Trigger |
Requirements Engineer notices that a page contains many item blocks or that a group of related items would benefit from being in a standalone file |
Basic Flow |
|
Alternate Flows |
|
Postconditions |
The traceability graph contains the items from the partial And matrix links point to the partial’s source file in the repository And the page content is rendered with the partial included |
Priority |
Medium |
Frequency |
During initial documentation setup and periodically as the item count grows |
Notes |
⚠ Actor "Requirements Engineer" does not yet have a persona definition. The partial processing behavior is documented in the User Guide section "Items in Partials". |
UC-011: Requirements Engineer writes a use case
ID |
UC-011 |
|---|---|
Title |
Requirements Engineer writes a use case |
Goal |
Requirements Engineer writes a use case item so that a user goal is captured in a testable, traceable form that links to the requirements it motivates |
Primary Actor |
Requirements Engineer |
Preconditions |
The Antora Tracer extension is installed And the project config defines a |
Trigger |
Requirements Engineer identifies a user workflow that needs to be documented as a use case |
Basic Flow |
|
Alternate Flows |
|
Postconditions |
The traceability graph contains the use case item And the |
Priority |
High |
Frequency |
Per user goal — added when a new workflow is identified |
Notes |
⚠ Actor "Requirements Engineer" does not yet have a persona definition. The use case template and quality rules live in the |
UC-015: Team member allocates a collision-free item ID
ID |
UC-015 |
|---|---|
Title |
Team member allocates a collision-free item ID |
Goal |
Team member obtains a unique item ID so that parallel work on separate branches never produces duplicate IDs in the merged tree |
Primary Actor |
Business Analyst, Architect, Developer, Test Manager — any team member who authors traceable content |
Preconditions |
The project configures |
Trigger |
Team member needs a new ID for a traceable item while other branches may be allocating IDs for the same prefix concurrently |
Basic Flow |
|
Alternate Flows |
|
Postconditions |
The allocator has persisted the incremented counter And the team member holds a unique ID for the prefix And concurrent allocations for the same prefix yield distinct IDs |
Priority |
High |
Frequency |
Per item — whenever a team member authors a new traceable item |
Notes |
The allocator is the standalone |
Validation and Maintenance
UC-007: Developer validates traceability in CI pipeline
ID |
UC-007 |
|---|---|
Title |
Developer validates traceability in CI pipeline |
Goal |
Developer runs traceability validation in CI so that invalid relationships, circular references, and configuration errors are caught before they reach the published site |
Primary Actor |
Developer or DevOps Engineer |
Preconditions |
The Antora Tracer CLI is installed in the CI environment And the project’s |
Trigger |
A pull request is opened or a commit is pushed — the CI pipeline triggers a traceability validation job |
Basic Flow |
|
Alternate Flows |
|
Postconditions |
The traceability graph is free of structural errors (0 circular references, 0 invalid relations) And the CI pipeline has verified the config is valid And the build can proceed to site generation |
Priority |
High |
Frequency |
On every push or pull request — continuous integration |
Notes |
The |
UC-010: Developer assesses impact before changing a traceable item
ID |
UC-010 |
|---|---|
Title |
Developer assesses impact before changing a traceable item |
Goal |
Developer queries the traceability graph so they can identify every item that references a target before changing or removing it, avoiding dangling references and broken coverage |
Primary Actor |
Developer or Requirements Engineer |
Preconditions |
The project’s |
Trigger |
Developer plans to change, rename, or remove a traceable item and needs to know what references it |
Basic Flow |
|
Alternate Flows |
|
Postconditions |
The developer has identified every item that references the target And no Antora build was required And no source files were modified (query is read-only) And the change can proceed with all referencing items accounted for |
Priority |
Medium |
Frequency |
Before each refactor, rename, or removal of a traceable item |
Notes |
The |
UC-013: Requirements Engineer retires an obsolete traceable item
ID |
UC-013 |
|---|---|
Title |
Requirements Engineer retires an obsolete traceable item |
Goal |
Requirements Engineer marks an obsolete item as superseded And cleans it out of the active set so that current-state views reflect the successor while the item’s history is preserved |
Primary Actor |
Requirements Engineer, Developer, or Tech Lead |
Preconditions |
An obsolete traceable item exists in the graph And (a replacement successor has been authored Or the item is isolated with no relationships) And the Antora Tracer CLI is available And the Requirements Engineer has write access to the source |
Trigger |
Requirements Engineer determines that an existing item is obsolete and must be replaced or removed |
Basic Flow |
|
Alternate Flows |
|
Postconditions |
The successor is registered as replacing the predecessor And the obsolete item is marked superseded And current-state matrices And views show only active items And the obsolete item’s history is preserved via successor links And the archive or remove command has confirmed the target item before mutating the file |
Priority |
High |
Frequency |
Whenever an item is replaced — during refactoring or requirement changes |
Notes |
The |
-
REQ-202 — The reverse superseded_by relationship is derivable
-
REQ-206 — Functional links to superseded items remain visible
-
REQ-228 — Orphaned state is derived from supersession and incoming functional links
-
REQ-229 — Overview page generation is opt-in and configurable
-
REQ-235 — archive moves a superseded item to the module’s superseded page
-
REQ-237 — remove deletes an isolated item with a stronger confirmation
-
REQ-239 — Generation passes use the complete graph across all components and versions
UC-014: Developer compares traceability across two versions
ID |
UC-014 |
|---|---|
Title |
Developer compares traceability across two versions |
Goal |
Developer diffs two sets of AsciiDoc sources so that they can see exactly which items and relationships changed between versions before merging or auditing |
Primary Actor |
Developer or Requirements Engineer |
Preconditions |
Two source paths (for example, a base branch and a revision) are available locally And the Antora Tracer CLI is installed And the Developer has read access to both source paths |
Trigger |
Developer prepares to merge, release, or audit a change And runs the diff command |
Basic Flow |
|
Alternate Flows |
|
Postconditions |
The delta — added, removed, and modified items plus relationship changes — has been printed And no source file has been modified |
Priority |
Medium |
Frequency |
Before merges, during release reviews, or when auditing traceability drift |
Notes |
The diff is read-only And config-agnostic — it works with any role or relation vocabulary. No persona defined for the actor roles. |
Review and Exploration
UC-005: Reviewer browses traceability matrices for coverage
ID |
UC-005 |
|---|---|
Title |
Reviewer browses traceability matrices for coverage |
Goal |
Reviewer inspects traceability matrices so that they can verify which requirements are covered by design decisions, tests, and other downstream artifacts |
Primary Actor |
Reviewer or Auditor |
Preconditions |
The Antora site has been built And traceability matrices have been registered in the content catalog during the |
Trigger |
Reviewer needs to verify coverage — during a design review, a compliance audit, or a quality gate |
Basic Flow |
|
Alternate Flows |
|
Postconditions |
Reviewer has assessed coverage completeness And identified any gaps And can navigate from the matrix to the source items for further investigation |
Priority |
High |
Frequency |
Periodically — at design reviews, before releases, during compliance audits |
Notes |
⚠ Actor "Reviewer or Auditor" — two distinct roles with similar workflows. Consider splitting if their goals diverge significantly (internal review vs. external compliance). No persona defined for either. |
UC-008: Data analyst explores traceability in Neo4j
ID |
UC-008 |
|---|---|
Title |
Data analyst explores traceability in Neo4j |
Goal |
Data analyst exports the traceability graph to Neo4j so they can run complex graph queries, generate compliance reports, and discover patterns not visible in the matrix views |
Primary Actor |
Data Analyst, Compliance Officer, or Systems Engineer |
Preconditions |
The traceability graph has been populated with items and relationships And the Antora Tracer CLI is available And Neo4j is installed or accessible (Desktop, AuraDB, or Docker) |
Trigger |
Data analyst needs to answer a question that requires graph traversal — "show me all requirements with no test coverage," "trace the impact chain for this change," or "generate a compliance audit trail" |
Basic Flow |
|
Alternate Flows |
|
Postconditions |
The traceability graph is available in Neo4j And preset queries return results And the data analyst can run ad-hoc Cypher queries for deep analysis |
Priority |
Medium |
Frequency |
Periodically — before releases, during audits, or when investigating coverage gaps |
Notes |
The |
UC-009: Architect visualizes relationship dependencies
ID |
UC-009 |
|---|---|
Title |
Architect visualizes relationship dependencies |
Goal |
Architect embeds relationship graphs and coverage charts in documentation pages so stakeholders can visually explore dependencies and coverage at a glance without leaving the documentation site |
Primary Actor |
Architect, Tech Lead, or Requirements Engineer |
Preconditions |
The Antora Tracer extension is installed And the |
Trigger |
Architect wants to provide visual context — showing how a key requirement connects to downstream artifacts, or displaying global coverage status on a dashboard page |
Basic Flow |
|
Alternate Flows |
|
Postconditions |
The documentation page contains embedded relationship graphs and/or coverage charts And stakeholders can visually explore dependencies And the graphs are navigable via xrefs to related items |
Priority |
Medium |
Frequency |
Per key item — added to pages where visual context adds value (dashboard, architecture overview, key requirements) |
Notes |
The dashboard page ( |
UC-012: Reader finds a traceable item through site search
ID |
UC-012 |
|---|---|
Title |
Reader finds a traceable item through site search |
Goal |
Reader searches the published documentation so that they can jump directly to a specific traceable item instead of scrolling through pages |
Primary Actor |
Reader — any team member, reviewer, or auditor browsing the published site |
Preconditions |
The published site has search enabled And traceable item anchors are included in the search index And the Reader has access to the published site |
Trigger |
Reader opens the site search and enters a query to locate a specific traceable item |
Basic Flow |
|
Alternate Flows |
|
Postconditions |
The Reader has navigated directly to the traceable item’s anchor |
Priority |
Medium |
Frequency |
Ad hoc — whenever a reader needs to locate a specific item |
Notes |
Distinct from UC-005 (browsing matrices for coverage): this use case covers locating a single item via full-text search. Items are indexed by their element anchors within the article body; headings and elements outside the article body are handled by the site’s existing indexing. No persona defined for the reader roles. |