AvrelDocs

Requirements and readiness records

Requirements & Readiness answers the question a review board asks before hardware or a release ships: is every requirement verified, by what evidence, and who signed off?

It has two parts:

  • a verification matrix: each requirement, how it is verified, the evidence against it and its verdict;
  • readiness records: a frozen snapshot of the matrix and the release gate, approved by named people, signed and tamper-evident.

Requirements#

Add requirements one at a time with Add requirement, or import a whole matrix with Import CSV. The CSV needs a header row. Columns are matched by name, in any order:

ColumnAlso accepted asNotes
refid, requirement id, req id, numberRequired. Your own reference, such as PWR-001. Importing a ref that exists updates it.
titlename, short title
textrequirement, description, statementThe requirement as written.
methodverification method, verificationtest, analysis, inspection or review. T, A, I, R and D (demonstration, counted as test) work too.
subsystemsystem, areaUsed to scope a readiness record, for example Power.

Evidence and verdicts#

Evidence is a test result, analysis, inspection or review against one requirement: the result (pass, fail or inconclusive), when it was performed, an optional link to a saved run, a document reference, a note, and measurements with their limits.

A measurement outside its limits cannot be recorded as a pass. Each piece of evidence is stored with a SHA-256 hash of its content.

Each requirement's verdict comes from its latest accepted evidence, by the time it was performed:

VerdictMeaning
VerifiedThe latest evidence passed.
FailedThe latest evidence failed.
InconclusiveThe latest evidence was inconclusive.
OpenNo accepted evidence yet.

Evidence a person adds is accepted at once. Evidence and requirements an AI assistant proposes wait, marked Proposed, until a person accepts or rejects them.

Readiness records#

Open a readiness record freezes the current matrix and release gate into a snapshot. Its scope can be every requirement, a subsystem, or a list of refs, and it can name the release it is for. You choose how many approvals it needs (2 by default, up to 10).

A record is ready only when every requirement in its scope is verified and the release gate is not blocked. People then sign it:

  • Approve is possible only when the record is ready.
  • Reject is always possible and needs a comment.
  • Each person signs once.

Its status is Awaiting approvals until it has enough approvals, then Approved. One rejection makes it Rejected. If evidence changes after the record was opened, the record says so; open a new record to review the new state.

Tamper evidence#

Each approval is chained to the one before it: its hash covers the approval and the previous hash, starting from the snapshot's hash. When the server has a signing key, each approval is also signed with Ed25519.

Download gives the record as JSON with the snapshot, every approval, the public key and the steps to check it yourself, so an auditor or customer can verify it offline without access to Avrel. Changing any field breaks the chain.

For administrators: the signing key is the AVREL_SIGNING_KEY environment variable, a base64-encoded 32-byte Ed25519 seed. Keep it in your hosting provider's environment settings, never in code. Without it, records are hash-chained but not signed, and the record says so.

Everything is recorded#

Adding, importing, accepting, opening and signing are written to the organization's audit log, with who did it. The log keeps ids, counts and hashes, not the content.

With an AI assistant#

Assistants reach the same matrix through MCP. With Propose access an assistant can draft requirements, import a CSV and propose evidence for a person to accept. With Operate access, for example a CI pipeline, it can record a test result and open a readiness record. Assistants can never accept a proposal, retire a requirement or sign a record.