Foundgine

SES-100 — Forward Conformance Testing Specification

SES-026 — Proof, Attestation, and Verification · Standard Index · SES-101 — Test Architecture, Fixtures, and Independent Oracles


Status and purpose

Status: Draft 1.0 — Forward-looking specification and gap analysis.

This document is not a reverse-engineering report and is not a claim that the reference implementation already satisfies every requirement. It defines the target architecture for a production-grade, provider-neutral Semantic Execution System (SES), identifies the capabilities that remain to be specified or developed, and gives concrete acceptance criteria for future implementations.

The reference implementation may be used as an informative experiment, but the standard is the authority. Where the implementation and this specification differ, the implementation is considered incomplete until it is brought into conformance or the standard is deliberately amended.

Normative terms MUST, MUST NOT, REQUIRED, SHALL, SHALL NOT, SHOULD, SHOULD NOT, RECOMMENDED, and MAY have their usual standards meaning.

1. Principle

Testing is not a postscript. Every normative requirement MUST have an independently identifiable validation method.

2. Mandatory test classes

Each implementation MUST maintain, as applicable:

3. Layer requirements

Every L0–L26 layer MUST have positive, negative, boundary, malformed-input, adversarial, and regression tests appropriate to its contract. A layer is not considered covered because another layer’s E2E test happens to pass through it.

4. Hard rule

Line coverage, branch coverage, mutation score, or test count MUST NOT be used as substitutes for requirement coverage.

5. Future requirement matrix

Each requirement MUST map to:

Requirement → invariant → test ID → fixture → oracle → expected result → implementation → provider/profile → CI gate

6. Critical cross-layer tests

At minimum the future suite MUST prove:

7. Development gap

The next stage is to map every normative requirement to exact test methods and identify missing tests rather than merely listing existing test files.

8. Layer-by-layer mandatory requirement identifiers

The following identifiers are normative anchors. Implementations MUST map each identifier to an executable test or an explicitly declared profile exclusion.

Resolved (SES-GAP-06, see SES-104 §5): these L# labels now follow the same L#=SES-0## convention as conformance/requirements.json. The two layers that previously had no correctly-labeled section — L2 (SES-002, Canonical Lifecycle) and L7 (SES-007, Logical Traversal) — now have their own test requirements below, and the sections that were shifted by two (old L6–L16, which actually tested SES-008 through SES-018) have been renumbered to match their real subject matter. This document also now defines L17–L26 (SES-GAP-02), closing the range that scripts/verify-conformance.py checks.

L0 — terminology and conformance

L1 — architectural model and trust boundaries

L2 — canonical semantic execution lifecycle

L3 — semantic contract

L4 — Semantic Operation Graph

L5 — semantic algebra

L6 — retrieval and resolution

L7 — logical traversal and path expansion

L8 — authorization

L9 — authorization provenance

L10 — planning and rewrites

L11 — Execution IR

L12 — provider boundary

L13 — mutations

L14 — plan cache

L15 — transports and agents

L16 — resource governance

L17 — evidence and observability

L18 — AOT/generated metadata

L19 — future development roadmap

L20 — formal data model

L21 — state machines

L22 — wire protocol

L23 — versioning and compatibility

L24 — authority and delegation

L25 — provider capability profiles

L26 — proof and attestation

9. Cross-layer requirements


SES-026 — Proof, Attestation, and Verification · Standard Index · SES-101 — Test Architecture, Fixtures, and Independent Oracles