-
Notifications
You must be signed in to change notification settings - Fork 0
Certification Predicate
flexo-rtm ships one formal certification predicate — the basic predicate — and documents a full-assurance predicate as one possible downstream-analysis composition adopters may choose to apply on top. The basic predicate is what flexo-rtm IS. The full-assurance predicate is what an adopter would compute by composing the basic predicate with a topological downstream audit (per ADR-032 Methodology Agnosticism as Foundational Axiom and Topological Framework Future Work); it is not a flexo-rtm feature and is not on flexo-rtm's roadmap. Both predicates take the same inputs — a canonicalized RDF dataset
This page gives the formal definition of each predicate, the SPARQL/SHACL machinery that decides them, the entailment relationship, and the rationale. See Design Spec §4.1 for the basic predicate, §4.10 for the topological research line, and §9.A.5 for the cross-cutting acceptance criteria (X1, X3) that constrain the basic predicate.
The basic predicate is the certification surface every Doors / Jama / OSLC-RM practitioner already recognizes as "the RTM is complete." It is defined entirely over the rtm:satisfies verification edge and the two coverage statistics from Traditional Forward and Backward Analysis.
Definition. Given a canonical dataset
where the per-dimension coverage statistics, computed over the scope's induced subgraph, are:
$\text{forward%}(D, S) = \dfrac{|{r \in R(D) \cap S : \exists a ;.; a \texttt{ rtm:satisfies } r}|}{|R(D) \cap S|}$ $\text{backward%}(D, S) = \dfrac{|{a \in A(D) \cap S \setminus A_\text{foundational} : \exists r ;.; a \texttt{ rtm:satisfies } r}|}{|A(D) \cap S \setminus A_\text{foundational}|}$
Default thresholds.
SPARQL implementation. The basic predicate decomposes into two parameterized aggregate queries — one per direction — both wrapped in deterministic ordering so transcripts are byte-identical across runs (X1):
PREFIX rtm: <https://flexo-rtm.org/ns/core#>
# Forward coverage over scope ?S
SELECT (COUNT(?req) AS ?reqTotal)
(COUNT(?covered) AS ?reqCovered) WHERE {
?req a rtm:Requirement ; rtm:withinScope ?S .
OPTIONAL {
?art rtm:satisfies ?req ; rtm:withinScope ?S .
BIND(?req AS ?covered)
}
}
ORDER BY ?SPREFIX rtm: <https://flexo-rtm.org/ns/core#>
# Backward coverage over scope ?S
SELECT (COUNT(?art) AS ?artTotal)
(COUNT(?traced) AS ?artTraced) WHERE {
?art a rtm:Artifact ; rtm:withinScope ?S .
FILTER NOT EXISTS { ?art a rtm:FoundationalArtifact . }
OPTIONAL {
?art rtm:satisfies ?req .
BIND(?art AS ?traced)
}
}
ORDER BY ?SThe oracle records both queries and both result sets in the transcript, computes the two percentages, compares to the configured thresholds, and emits the Boolean. The full per-row enumeration is also persisted so consumers can independently re-derive the predicate from the recorded coverage statistics (X3 forbids rolling these dimensions into a single headline number — the predicate is the threshold-applied conjunction, not a smoothed grade).
What this predicate proves. Every requirement in scope has at least one satisfying artifact (no orphan requirements, gap T1), and every non-foundational artifact in scope contributes to at least one requirement (no dangling evidence, gap T2). This is the predicate a Doors or Jama team recognizes as "the RTM is complete." It runs directly against the OSLC-RM adapter's output with no additional vocabulary, no guidance vertices, no attestations, no profile composition. The oracle's certify --level=basic evaluates this predicate and nothing else.
The full-assurance predicate is the certification surface an adopter who chooses to run topological analysis as a downstream-analysis mode would compose on top of flexo-rtm. It conjoins the basic predicate (which flexo-rtm IS) with a topological condition flexo-rtm; the shapes that decide Basic predicate can be composed with any of them.
Definition.
The topological conjunction.
-
Closed assurance faces. Every non-foundational vertex in scope belongs to at least one closed assurance face:
$\forall v \in (V(D) \cap S) \setminus V_\text{boundary} : \exists f \in F(D) \cap S, v \in \partial f$ . See Vertices Edges Faces for the simplicial-complex semantics. -
Named approvers on validation edges. Every Validation edge in scope carries an
rtm:approvedByIRI satisfying the v0.1 SHACL shape (sh:nodeKind sh:IRI,sh:minCount 1). This clause's SHACL shape is the same shape v0.1 already enforces on attestations (Design Spec §4.3); a topological downstream audit would extend the same discipline to every Validation edge in scope. -
Topological invariant.
$V - F \leq 1$ , or an alternative formulation pending the research recorded in Design Spec §9.A.6 D4. This is a purely numerical check; it is necessary but not sufficient for recursive completeness, which is why clause 4 is required. -
No stale attestations. Every face's recorded input hash matches the current canonical hash of the inputs the face attests over: $\forall f \in F(D) \cap S : \text{hash}\text{recorded}(f) = \text{hash}\text{canonical}(\text{inputs}(f))$. Attestations whose subject inputs have mutated since the attestation was signed are stale and cause
$\Phi_\text{topo}$ to fail. This clause is what makes the topological composition sensitive to commit-sequence evolution.
Downstream-analysis decision machinery. Clauses 1, 3, and 4 are decided by SPARQL over the assurance-complex view (Vertices Edges Faces); clause 2 is a SHACL shape on rtm:ValidationEdge that mirrors the v0.1 rtm:AttestationShape. None of this machinery runs in flexo-rtm. The topology-line acceptance criteria that would admit it are D1 (closed assurance triangle audit) and D2 (recursive completeness against the registry) in Design Spec §9.A.6 — meaningful only if an adopter runs the topological audit as a downstream-analysis mode.
The argument is direct: rtm:satisfies is the same edge in both predicates, and every closed assurance face presupposes an rtm:satisfies edge between its Artifact and Requirement vertices. If every non-foundational vertex in scope sits on at least one closed face (clause 1 of
The converse does not hold.
A single tunable predicate would be cleaner in the abstract, but two predicates are the correct shape for three reasons.
First, the basic predicate matches existing RTM tooling. Doors, Jama, OSLC-RM, and three decades of practice have settled on bidirectional traceability as "the RTM is complete." Adopters get a familiar surface from their existing data, with no commitment to new vocabulary, on day one.
Second, the full-assurance predicate makes a structurally stronger claim with different vocabulary requirements. It depends on Guidance vertices, Validation edges, closed assurance faces, and a named-approver registry that is internal to the topological research line, not part of flexo-rtm. Collapsing the two into a single graded predicate would force adopters to commit to one specific downstream-analysis methodology, against ADR-032 Methodology Agnosticism as Foundational Axiom.
Third, the predicates are layered, not competing. The entailment flexo-rtm IS, accumulate the aligned vocabulary opportunistically per Design Spec §4.2, and optionally compose any downstream-analysis predicate (topological, SLSA, GSN, ARP4754A, in-house) on top — without rewriting data. Two predicates with a clean entailment relationship encode this composition pattern explicitly; a single predicate with a knob does not.
A predicate is binary; a metric is quantitative. The certification outcome at scope
The split matters because audit reports must support both deterministic pass/fail and rich per-dimension diagnostics. The predicate answers "did this scope certify?"; the metrics answer "where are the gaps?". Conflating the two into one headline grade would lose the gap information practitioners need.
Both predicates are evaluated at a scope Basic (or FullAssurance) can pass at one and fail at another. Typical pattern: a subsystem scope certifies cleanly while the full-system scope does not, because integration evidence has not yet landed.
Scopes form an algebra (see Analysis Layer Scope Algebra); the predicate is a function of the Basic(D, S_1) says nothing about Basic(D, S_2). The scope IRI is recorded in the transcript so the evaluation is reproducible (X2). Scope-relativity is what makes incremental certification possible: a project can certify subsystems independently as they mature, without waiting for the full model to clear.
-
ADR-032 Methodology Agnosticism as Foundational Axiom — frames the basic predicate as what
flexo-rtmIS and the full-assurance predicate as one optional downstream-analysis composition among several. - Traditional Forward and Backward Analysis — the SPARQL implementations of forward% and backward%, and the gap codes T1 / T2 the basic predicate falsifies.
-
Vertices Edges Faces — the simplicial-complex vocabulary
$V$ ,$F$ ,$\partial f$ that$\Phi_\text{topo}$ ranges over (topology-line research, notflexo-rtm). - Quantitative Outcomes — the per-dimension metrics surface and the X3 criterion that forbids a single rolled-up grade.
-
Gap Taxonomy — the gap codes (T1–T8 for
flexo-rtm's basic surface, G3–G9 for topology-line downstream-analysis only) that the predicates falsify when they fail. - Analysis Layer Scope Algebra — the scope formalism the predicates are evaluated against.
- Verifiable Self-Certification — the certification artifact the predicate evaluation produces.
- Design Spec §4.1 (basic predicate), §4.10 (topological research line), §9.A.5 (X1 determinism, X3 quantitative outcomes), §9.A.6 (D1 triangle closure, D2 recursive completeness — topology-line acceptance criteria).
- Flexo Git Coexistence
- ADCS Prototype Lessons
- MVC Pattern from RIME TRL ANT
- Human-AI Accountability
- Multi-Agent Discourse Graph Precedent
- OSLC RM and QM Review
- INCOSE V2 Review
- OMG SysMLv2
- PROV EARL GSN P-PLAN
- Dragon Architecture and Mission Enterprise
- Traditional Forward and Backward Analysis
- Attestation Infrastructure in v0.1
- Identity Boundaries and Policy Projections
- External URI References
- Signed Envelopes and Established Standards
- Aspect Coverage with Adequacy and Sufficiency
- Federated Audit and Composition
- Certification Predicate
- Gap Taxonomy
- Quantitative Outcomes
- Engineering Lifecycle Stages (v0.2)
- Topological Framework Future Work (research phase)
- Vertices Edges Faces (research phase)
- Three-Layer Architecture
- Operational Layer UX Discipline
- Storage Layer Flexo Conventions
- Analysis Layer Scope Algebra
- OSLC Roundtrip Acceptance
- Identity Adapter Contract
- Flexo REST Binding
- SysMLv2 Ingestion Contract
- External URI Rules
- Signed Envelope Shapes
- Parsimony Manifest
- Lossless Roundtrip Definition
- Vendor Extension Carry-Through
- OSLC RM Adapter Contract
- OSLC QM Adapter Contract
- ADR Template
- ADR-001 Foundations First Approach
- ADR-002 SysMLv2 Anchoring
- ADR-003 Topological Framework Documented as Future Work
- ADR-003a v0.1 Ships Traditional Analysis Only
- ADR-004 Quantitative Certification Outcome
- ADR-005 Adequacy and Sufficiency as Guidance Subtypes
- ADR-006 Three-Layer Architecture
- ADR-007 Scope as First-Class RDF Resource
- ADR-008 Repo Name and Org Transfer Plan
- ADR-009 Two-Repo Strategy
- ADR-010 OSLC-RM and OSLC-QM in v0.1
- ADR-011 Lossless Criterion A plus C
- ADR-012 Direct RDF Properties over Reified Edges
- ADR-013 Simplicial Complex as Derived View When Built
- ADR-014 Parsimony Layer Build-Time Extraction
- ADR-015 GSN Adoption for Adequacy and Sufficiency
- ADR-016 Composable SHACL Profiles
- ADR-017 knowledgecomplex as Optional Extras
- ADR-018 V minus F Invariant Deferred with Topological Framework
- ADR-019 Derived Binary View from Quantitative Metrics
- ADR-020 Vocabulary Alignment with Zargham 2026
- ADR-021 Three Attestation Subclasses Ship in v0.1
- ADR-022 External URI References as Open-Source Foundation
- ADR-023 Cryptography by Composition of Battle-Tested Standards
- ADR-024 Identity by Thin Projection of External Sources
- ADR-025 Reproducibility is Structural and Local
- ADR-026 Cryptographic Agility via Algorithm Profiles
- ADR-027 Bit-Exactness vs Numerical Tolerances Are Both First-Class
- ADR-028 Scope-Level Adequacy and Sufficiency for Federated Audit
- ADR-029 Engineering Lifecycle Stages as Scope Metadata
- ADR-030 Polycentric ASOT Authority Model
- ADR-031 Attestation Status Pass Fail Deferred Deprecated
- ADR-032 Methodology Agnosticism as Foundational Axiom
- ADR-033 Generalized ASOT Principle for All Identified Things