Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

File formats

Every file under .rqtk/ is TOML and is checked against these fields; unknown fields are errors. Dates may be native TOML dates (2026-03-14) or strings. rqtk schema <kind> prints the JSON Schema of each.

Requirement

One requirement file. Scalars sit at the top level; related groups are tables.

FieldTypeRequiredDescription
allocationAllocation (optional)
approvalApproval (optional)
assumptionslist of string
categorystringyes
content_hashstring (optional)Fingerprint of the semantic fields, see [Requirement::compute_content_hash]. Maintained by rqtk rehash; checked by lint rule RQ021.
criticalitystring (optional)
customobject
idRequirementIdyes
keywordslist of string
maturitystring (optional)
notesstring (optional)
parameterslist of Parameter
prioritystringyes
rationalestring (optional)
riskRisk (optional)
statestringyes
statementstringyesThe normative statement, e.g. “The system shall …”.
tbdboolean
tbrboolean
titlestringyes
traceTraceability
typestringyes
validationValidationSpec (optional)
verificationVerificationyes

Allocation

FieldTypeRequiredDescription
componentslist of string
software_moduleslist of string
source_fileslist of string
subsystemslist of string

Approval

FieldTypeRequiredDescription
approved_bylist of string
baselined_atstring (optional)
baselined_bystring (optional)
ecr_idslist of string

Parameter

FieldTypeRequiredDescription
namestringyes
operatorstringyes
tolerancenumber (optional)
unitstring (optional)
valueanyyes

RequirementId

Identifier of a requirement, e.g. FOBC-SYS-0001.

Type: string

Risk

FieldTypeRequiredDescription
fmea_refstring (optional)
hazardslist of string
mitigationslist of string
safety_criticalboolean
security_sensitiveboolean

Traceability

FieldTypeRequiredDescription
conflicts_withlist of RequirementId
depends_onlist of RequirementId
derived_fromlist of RequirementId
externallist of ExternalTrace
parentslist of RequirementId
refineslist of RequirementId
relatedlist of RequirementId
satisfieslist of NeedId

ValidationSpec

FieldTypeRequiredDescription
acceptance_criteriastring (optional)
methodstring (optional)
stakeholderStakeholderId (optional)
statusstring (optional)

Verification

FieldTypeRequiredDescription
activitieslist of VerificationActivity
levelstringyes
methodstringyes
ownerstring (optional)
phasestringyes
success_criteriastring (optional)

ExternalTrace

FieldTypeRequiredDescription
refstringyes
typestringyes

NeedId

Identifier of a stakeholder need, e.g. NEED-0001.

Type: string

StakeholderId

Identifier of a stakeholder, e.g. STK-001.

Type: string

VerificationActivity

FieldTypeRequiredDescription
evidencelist of string
executed_atstring (optional)
expected_resultstring (optional)
idstringyes
namestringyes
procedurestring (optional)
statusstring (optional)

Need

FieldTypeRequiredDescription
acceptanceAcceptance (optional)
content_hashstring (optional)
idNeedIdyes
keywordslist of string
prioritystring (optional)
rationalestring (optional)
stakeholderslist of StakeholderId
statestringyes
statementstringyes
titlestringyes

Acceptance

FieldTypeRequiredDescription
criteriastring (optional)
validated_atstring (optional)
validated_bystring (optional)

NeedId

Identifier of a stakeholder need, e.g. NEED-0001.

Type: string

StakeholderId

Identifier of a stakeholder, e.g. STK-001.

Type: string

Stakeholder

FieldTypeRequiredDescription
authorityStakeholderAuthority
concernsStakeholderConcerns
idStakeholderIdyes
namestringyes
organizationstring (optional)
rolestring (optional)

StakeholderAuthority

FieldTypeRequiredDescription
approval_scopestring (optional)
sign_off_requiredboolean

StakeholderConcerns

FieldTypeRequiredDescription
primarylist of string
secondarylist of string

StakeholderId

Identifier of a stakeholder, e.g. STK-001.

Type: string

Evidence (.rqtk/evidence.toml)

FieldTypeRequiredDescription
activitylist of ActivityEvidence
reviewlist of Review
schema_versionintegeryes
written_bystring (optional)Version of rqtk that last wrote the file.

ActivityEvidence

The latest recorded result for one verification activity. Unknown fields are ignored so that files written by a later rqtk still load.

FieldTypeRequiredDescription
commitstring (optional)Commit checked out when the evidence was recorded.
idstringyesVerification activity ID.
outcomeOutcomeyes
requirementRequirementIdyesRequirement that owned the activity when the evidence was recorded.
requirement_hashstringyesThe requirement’s content hash when the evidence was recorded. If the requirement’s current hash differs, the evidence is stale and the activity is Suspect.
testslist of stringyesTest cases that produced the outcome, as path::name: the linked test’s source file and the name the runner gave the case.
tests_hashstring (optional)Hash of the linked tests’ source when they last ran.
unchanged_testsbooleanThe requirement was re-verified after it changed, by the same tests that passed for its earlier wording. It stays Suspect until someone runs rqtk review.
upstreamtable of stringContent hashes of the requirement’s ancestors and of the needs they satisfy, when this version of the requirement was first verified. A later change to any of them makes the requirement Suspect until it is reviewed.

Review

A person’s or agent’s confirmation that a requirement still holds after something it depends on changed, recorded with rqtk review.

FieldTypeRequiredDescription
commitstring (optional)Commit checked out when the review was recorded.
datestringyesDate of the review, YYYY-MM-DD.
notestring (optional)
requirementRequirementIdyes
requirement_hashstringyesThe requirement’s content hash when it was reviewed; a later change voids the review.
upstreamtable of stringContent hashes of its ancestors and their needs when it was reviewed.

Outcome

Type: passed | failed

RequirementId

Identifier of a requirement, e.g. FOBC-SYS-0001.

Type: string