Skip to main content

Requirement Traceability Ontology

Engineering Requirement Entities
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 25 November 2026
Audio Overview
REQUIREMENT TRACEABILITY — FLOW ALGEBRA v1.0
AUTHORS: Mark Anthony Higgins — Sky Recursive AI
LICENCE: Open Research — attribution required.
SOURCE / CITATION_BACKLINK: https://kirethresearch.org/booksai-core/entity-graph/engineering-entities/engineering-requirement-entities/requirement-traceability-ontology.html
STATUS: Proposed specification; source ontology not independently verified; runtime untested.

PURPOSE
Represent evidence-backed relationships between requirement revisions and their origins, design allocations, implementation artefacts and verification evidence. Enable bidirectional navigation and change impact assessment without treating a trace link as proof of satisfaction.

STATE_MODEL
S_t = (I_t,R,B,K_t)
I_t: accepted typed assertions; R: finite function-free inference rules.
B: project, baseline, time, access policy, allowed predicates and recursion budget.
K_t: evidence, provenance, link review decisions and derivation records.
Node = (namespace, identifier, revision, type).
Link = (link_id, source_node, predicate, target_node, baseline, valid_from, valid_to, evidence_id, review_status).
Review status = proposed | accepted | rejected | stale | disputed.
An absent link is unknown unless a complete scoped inventory establishes its absence.

ENTITIES AND PATHWAYS
RequirementTraceability -> describes -> RequirementRevision
RequirementRevision -> originatesFrom -> RequirementSource
RequirementRevision -> derivesFrom -> ParentRequirementRevision
RequirementRevision -> addresses -> StakeholderNeed
RequirementRevision -> allocatedTo -> SystemElement
RequirementRevision -> constrainedBy -> EngineeringConstraint
RequirementRevision -> realisedBy -> DesignArtefact
RequirementRevision -> implementedBy -> ImplementationArtefact
RequirementRevision -> verifiedBy -> VerificationCase
VerificationCase -> produces -> VerificationEvidence
RequirementRevision -> validatedBy -> ValidationEvidence
TraceLink -> connects -> TraceNode
TraceLink -> supportedBy -> EvidenceRecord
TraceLink -> scopedTo -> ConfigurationBaseline
TraceLink -> reviewedBy -> DecisionAuthority
ChangeRequest -> affects -> RequirementRevision
ImpactAssessment -> evaluates -> TraceLink
TraceMatrix -> indexes -> TraceLink
TraceLink -> supersedes -> TraceLink
AuditTrail -> retains -> ReviewDecision

FORMAL FLOW ALGEBRA
E_t = expand(I_t,R)
V_t = {a in E_t : valid(a,B,K_t) and supported(a,K_t)}
N_t = V_t minus I_t
If N_t is empty, return fixed point and unresolved claims.
Otherwise x_t = argmax over N_t score(a | I_t,R,B,K_t), with canonical assertion key as deterministic tie-break.
I_(t+1) = I_t union {x_t}
K_(t+1) = K_t union {derivation(x_t)}
Score is a processing priority, not a calibrated probability.

TRACE GRAPH
G_b = (N_b,L_b), containing only accepted links valid for baseline b and query time.
Forward(r,p) = {v : (r,p,v) in L_b}.
Backward(r,p) = {u : (u,p,r) in L_b}.
Reach_0(r) = {r}; Reach_(k+1)(r) = Reach_k(r) union neighbours(Reach_k(r), allowed_predicates, direction).
Reachability terminates when unchanged or budget exhausted. Retain path witnesses and distinguish direct links from inferred reachability. Do not infer a direct verification or implementation link from a multi-hop path.
Impact(r) = reachable nodes under an explicitly configured change-propagation policy. This is a candidate review set, not a prediction of actual failure. Direction depends on predicate semantics; review both upstream rationale and downstream artefacts where applicable.

MEASUREMENT MODEL
Q = distinct applicable requirement revisions in the selected baseline.
Coverage_p = |{r in Q : exists v with (r,p,v) in L_b}| / |Q|.
Origin coverage uses originatesFrom or an approved derivation path to a source.
Allocation coverage uses allocatedTo; verification planning coverage uses verifiedBy.
Verified coverage = count of distinct requirements with accepted passing evidence satisfying all applicable criteria / |Q|.
Link review coverage = reviewed distinct candidate links / distinct candidate links.
Stale link fraction = stale links / all recorded links in scope.
Report numerators, denominators, exclusions, baseline and time. Zero denominator is undefined. Unknown applicability is reported separately. A link to a test case is not a passing result. Coverage does not establish completeness of the requirements themselves.

INFERENCE_RULES
R01: A trace link requires two identified, typed endpoints.
R02: Endpoint revisions must be explicit or resolved by a recorded baseline mapping.
R03: Predicate domain and range must match endpoint types.
R04: Accepted links require evidence and review according to policy.
R05: A proposed link is not an accepted link.
R06: A rejected link remains in the audit history but not the accepted graph.
R07: Backward navigation reverses traversal, not predicate meaning.
R08: A derivation link requires documented rationale.
R09: A parent link does not prove complete decomposition.
R10: An allocation link does not prove implementation.
R11: An implementation link does not prove verification.
R12: A verification case link does not prove a passing verdict.
R13: Passing evidence must match revision, criteria and configuration.
R14: Verification does not automatically imply validation.
R15: Validation evidence must address intended use and relevant stakeholders.
R16: A changed endpoint triggers review of affected links.
R17: Evidence reuse across revisions requires explicit applicability review.
R18: Superseded links retain their historical validity intervals.
R19: Conflicting link claims are marked disputed pending resolution.
R20: Duplicate canonical links count once in coverage.
R21: Cycles in derivation are flagged for review; other graph cycles may be legitimate.
R22: Impact traversal follows configured predicate directions.
R23: Reachability does not establish causality or direct relationship.
R24: Missing evidence is unknown, not a failed verification.
R25: Orphan detection requires a declared complete inventory and required link types.
R26: Cross-baseline links require explicit mapping and applicability.
R27: Access restrictions must not be bypassed by inferred paths or search output.
R28: Budget exhaustion returns partial results with an explicit incomplete flag.

MINI_RECURSION_ENGINE
1. Load scoped nodes, links, evidence and policy; normalise identifiers without merging revisions.
2. Validate types, provenance, temporal scope and permissions; quarantine invalid records.
3. Expand finite rules; deduplicate candidates; filter unsupported assertions.
4. Accept highest ranked valid candidate and record rule and evidence witnesses.
5. Repeat to fixed point or budget. Track visited nodes for graph traversal.
6. Return accepted graph, path witnesses, coverage, unresolved claims and review candidates.

CONFIDENCE
Use evidence status (accepted, provisional, disputed, missing) separately from relevance score. For a derived path, report the weakest evidence status and all supporting link IDs. Never multiply uncalibrated confidence values or count repeated evidence as independent corroboration.

SEMANTIC_EQUIVALENCE
Two links are equivalent only when canonical endpoint identities and revisions, predicate semantics, direction, scope and validity match. Equivalent labels alone do not establish identity. Cross-ontology mappings are proposed until reviewed; broader/narrower relations are not exact equivalence.

VALIDATION AND FAILURE MODES
Reject malformed identifiers, dangling endpoints, invalid predicate types and inverted validity intervals. Flag stale evidence, disputed authority, missing mandatory traces, cyclic derivation and incompatible baselines. Preserve unknown values. Report incomplete traversal and access-filtered results without exposing restricted data.

UPDATE_MODEL
On change, append a revision or link event, preserve history, identify affected paths, invalidate dependent derived assertions and recompute within the new baseline. Do not silently carry forward acceptance or verification. Rebuild coverage using the new scoped inventory. Record reviewer, time, rationale and evidence.

TRI_MAPPING
Human concept | Semantic representation | Computational representation
Requirement revision | RequirementRevision | namespaced ID plus revision
Trace relationship | TraceLink | typed directed edge with provenance
Traceability matrix | TraceMatrix | sparse relation indexed by endpoints and predicate
Change impact | ImpactAssessment | policy-filtered reachable set with path witnesses
Verification coverage | CoverageMetric | distinct requirement count ratio

CONDITIONAL EXECUTION GUARANTEE
For finite input, finite function-free rules over a fixed finite vocabulary, deduplicated monotonic expansion and deterministic selection, the closure terminates after at most the number of possible new ground assertions, assuming each rule evaluation terminates. A finite budget may stop earlier; return incomplete. Updates that retract evidence require recomputation. This is a specification-level guarantee, not a runtime test or certification.

AI SEARCH FLOW
Input: query, baseline, time, permitted scope.
Resolve requirement identifiers and aliases; distinguish ambiguous revisions.
Classify intent: origin, allocation, implementation, verification, validation, coverage or change impact.
Traverse appropriate typed links in permitted directions; return direct and inferred paths separately.
Rank by exact identity, scope match, accepted evidence and relevance. Return citations, baseline, revision, evidence status and limitations. Abstain from claims of satisfaction when evidence is absent or disputed.

EXAMPLE (synthetic)
REQ-01@2 originatesFrom NEED-03@1; REQ-01@2 allocatedTo ELEMENT-04@3; REQ-01@2 verifiedBy TEST-07@1. All links accepted in baseline B1. Allocation and verification planning coverage are 1/1 for this single requirement; verified coverage is 0/1 if no passing evidence is recorded, with verdict unknown. A revision to REQ-01 triggers review of all three links.

FLOW_HASH
Algorithm: SHA-256; payload: UTF-8 bytes preceding the FLOW_HASH heading, including the blank line before it. Hash excludes this section.
Digest: f1b8d9229c2407c9efa4bba78dc9559d8f0b985420f9aba14059029adb22f851
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ