logical.problemsOffunctionno test imports itfunction problemsOf(e: Evidence): readonly string[]The rules a record must keep, as problems (none where it keeps them).
The records of evidence as files (0002-objective-evidence FR-001, FR-007): one JSON5 file for each record, in the folder of its framework and objective, so that Git shows each piece of evidence as its own change. Reading refuses a record that breaks the rules of FR-001: a tool never determines, a not-applicable needs a person and a reason, a validity ends after the evidence was gathered, and a source is named.
import { recordPath } from "./records.ts";
recordPath({ id: "ev-1", framework: "nist-800-171a-r2", objective: "3.1.1[a]" }); // "nist-800-171a-r2/3.1.1_a/ev-1.json5"logical.problemsOffunctionno test imports itfunction problemsOf(e: Evidence): readonly string[]The rules a record must keep, as problems (none where it keeps them).
logical.recordPathfunctionno test imports itfunction recordPath(e: Pick<Evidence, "framework" | "id" | "objective">): stringThe place of a record in a store: its framework, its objective (without the brackets) and its id.
logical.encodeRecordfunctionno test imports itfunction encodeRecord(e: Evidence): stringThe text of a record's file.
logical.decodeRecordfunctionno test imports itfunction decodeRecord(source: string): Result<Evidence, string>A record from the text of its file, or what is wrong with it.
problemsOffunctionfunction problemsOf(e: Evidence): readonly string[]The rules a record must keep, as problems (none where it keeps them).
recordPathfunctionfunction recordPath(e: Pick<Evidence, "framework" | "id" | "objective">): stringThe place of a record in a store: its framework, its objective (without the brackets) and its id.
encodeRecordfunctionfunction encodeRecord(e: Evidence): stringThe text of a record's file.
decodeRecordfunctionfunction decodeRecord(source: string): Result<Evidence, string>A record from the text of its file, or what is wrong with it.