← All Specifications

USDS

The constitutional formalization of distribution — how packages are signed, delivered, verified, and revoked across sovereign boundaries.

L4 — Distribution System 23 Invariants 1074 Lines ❄️ Frozen

USDS Formal Specification v0.1.0

The universal formalization of sovereign distribution — how constitutional software is packaged, signed, versioned, distributed, verified, and revoked while preserving chain-of-custody integrity and sovereign control.

Preamble

This document is the formal specification of the Universal Sovereign Distribution System (USDS) — the constitutional distribution layer that ensures software produced by the ICore ecosystem reaches recipients with verified authenticity, integrity, and provenance. USDS answers the question every distribution system must answer before it can deliver: How is constitutional software distributed sovereignly?

USDS sits as a cross-cutting concern across the ICore stack. Where UWA defines what exists and UCN defines how nodes communicate, USDS defines how constitutional artifacts flow between originators and recipients — through any channel, across any distance, without surrendering sovereignty at any point.

The v0.1.0 specification is technology-independent. It does not specify package managers, transport protocols, or cryptographic implementations. It specifies the formal semantics that any conforming distribution system must satisfy.

Classification: Constitutional — defines the distribution model for all of ICore. Derivation:
Originator (produces package) → USDS (distribution model) → Recipient (receives & verifies)
Depends on: Reference Systems (communication, data, and computation systems provide the substrate for distribution). Transitively, USDS depends on the entire constitutional stack — a package must answer all six constitutional questions. Depended on by: Studyo (visualizes distribution channels and chain of custody), UCA (adapters bridge distribution to external package systems), ICS (canonical source for published packages).

This specification answers the constitutional question: How are artifacts distributed? It defines the invariants that distribution must satisfy — the properties that hold true regardless of channel, transport, or package format. USDS specifies no package manager; it specifies what any conforming distribution system must guarantee.


Section 1: Foundational Axioms

Every distribution capability must trace to these axioms. Nothing exists in USDS that these axioms do not authorize.

1.1 The Ten Distribution Axioms

#AxiomStatementDerived From
DA01Distribution preserves constitutional origin.Every distributed artifact carries verifiable proof of its constitutional origin. Distribution never strips, obscures, or makes ambiguous where a package came from. Origin is a constitutional property, not metadata.Origin (USCP)
DA02Integrity is cryptographically enforced.Every distributed artifact is bound to its content through cryptographic hashing. Any modification to content — however small — is detectable by any recipient. Integrity is not a policy; it is a mathematical guarantee.Constraint (USCP)
DA03No single authority controls distribution.No single entity — not the originator, not the distributor, not the recipient — can unilaterally control what is distributed, to whom, or through which channel. Distribution is a sovereign federation, not a hierarchy.Identity (USCP)
DA04Every distribution event is recorded.The chain of custody is an immutable, append-only record of every distribution event: creation, signing, transfer, receipt, and verification. The record is complete, ordered, and tamper-evident.Transformation (USCP)
DA05Recipients verify, never trust.No recipient accepts a package based on channel reputation, source relationship, or implicit trust. Every recipient independently verifies authenticity, integrity, and chain of custody before accepting. Verification is sovereign duty, not optional courtesy.Verification (USCP)
DA06Distribution channels are sovereign and interchangeable.Constitutional software may be distributed through any channel — peer-to-peer, local filesystem, content network, or future transport. No channel is privileged. The verification protocol is channel-independent.Relationship (USCP)
DA07Compromised packages are identifiable and excludable.When a package's integrity, origin, or chain of custody is violated, the system provides mechanisms to identify the compromise and exclude the affected artifact from further distribution. Revocation is immediate and propagation is required.Constraint (USCP)
DA08Versioning encodes constitutional compatibility.Package versions encode not only functional changes but constitutional compatibility: which constitutional questions the package answers, which invariants it upholds, and which prior versions it supersedes. Versioning is semantic and constitutional.Existence (USCP)
DA09Distribution is channel-agnostic.The formal properties of a distributed artifact — authenticity, integrity, provenance, version compatibility — are invariant across all distribution channels. A package verified on channel A is equally valid on channel B. Channel is incidental; property is constitutive.Existence (USCP)
DA10Attestation is constitutionally binding.When an originator signs a package, the signature constitutes a constitutional attestation: "I produced this, I stand behind its integrity, and I attest to its constitutional provenance." Attestation carries legal and constitutional weight within the ICore ecosystem.Verification (USCP)

1.2 Axiom Sufficiency

All six USCP primitives are represented across the axioms:

PrimitivePresent InRole
ExistenceDA08 (constitutional versioning), DA09 (channel-agnostic properties)Packages exist as versioned, channel-independent constitutional artifacts
IdentityDA03 (no single authority)Distribution authority is distributed, not centralized
RelationshipDA06 (sovereign channels)Channels are voluntary, interchangeable relationships
ConstraintDA02 (cryptographic integrity), DA07 (revocation)Integrity is enforced mathematically; compromises are excluded
TransformationDA04 (chain of custody)Every distribution event transforms the custody record
VerificationDA05 (recipient verification), DA10 (attestation)Verification is sovereign; attestation is binding
The foundation is complete. The six primitives are fully represented.

Section 2: Definitions

TermDefinition
PackageA constitutionally identified, versioned, signed, and self-describing unit of software distribution. A package is the atomic unit of distribution — it cannot be partially distributed or partially verified.
ContentThe actual software artifacts within a package: source code, binaries, configuration, documentation, or any other data that constitutes the distributed software.
ManifestThe machine-readable metadata describing a package: its identity, version, contents, dependencies, constitutional properties, and distribution instructions.
SignatureA cryptographic proof binding an originator's identity to a specific package content and manifest. A signature proves origin, integrity, and authorship.
AttestationA signed declaration by an originator or verifier that a package satisfies specified constitutional properties. Attestation is binding and revocable.
OriginatorThe constitutional entity that produces a package. The originator is the initial signer and the primary authority on the package's provenance.
RecipientA constitutional entity that receives, verifies, and optionally installs a package. Recipients are sovereign — they verify independently and accept or reject based on their own policies.
DistributorAny entity that facilitates the transfer of packages from originators to recipients. Distributors are untrusted intermediaries — they carry packages but cannot alter, substitute, or suppress them without detection.
Chain of CustodyThe complete, ordered, immutable record of every distribution event from package creation to recipient verification. The chain of custody is the constitutional provenance of a package.
Distribution EventAn atomic record of a distribution action: creation, signing, transfer, receipt, verification, or revocation. Each event is timestamped, signed, and linked to its predecessor.
Distribution ChannelThe mechanism by which a package is transferred from one entity to another. Channels may be sovereign (P2P, local), hybrid (CDN-backed), or external (bridged through UCA).
RevocationThe constitutional act of declaring a package compromised, unsafe, or withdrawn. Revocation is signed by the originator or a constitutional authority and propagates through the distribution network.
CompatibilityThe constitutional relationship between two package versions: whether a newer version can replace an older one without breaking constitutional guarantees.
Trust AnchorAn originator whose signing key has been verified through an unbroken cryptographic chain to a known constitutional origin. Trust anchors are the root of distribution trust.

Section 3: The Package Model

3.1 Specification

A USDS package is a constitutionally complete unit of distribution. It is the intersection of four inseparable aspects: content, metadata, signature, and attestation.

PropertyRequirement
RecordPackage { manifest, content_archive, signature, attestation_chain }
Operationscreate(manifest, content) → Package, verify(package) → VerificationResult, extract(package) → Content
AtomicityA package is either fully distributed and fully verifiable, or not distributed at all. Partial packages are constitutionally void.
Self-descriptionA package contains sufficient metadata to verify its own authenticity without external state.

3.2 The Four Inseparable Aspects

┌──────────────────────────────────────────────────────────────┐
│                         PACKAGE                               │
│                                                               │
│  ┌─────────────┐  ┌──────────────┐  ┌───────────────────┐  │
│  │   Content   │  │   Manifest   │  │    Signature      │  │
│  │  (software) │  │  (metadata)  │  │ (cryptographic    │  │
│  │             │  │              │  │  proof of origin) │  │
│  └─────────────┘  └──────────────┘  └───────────────────┘  │
│                                                               │
│  ┌──────────────────────────────────────────────────────┐   │
│  │              Attestation Chain                        │   │
│  │  (constitutional guarantees, one or more signers)    │   │
│  └──────────────────────────────────────────────────────┘   │
│                                                               │
│  ┌──────────────────────────────────────────────────────┐   │
│  │           Content Hash: SHA-256(content_archive)     │   │
│  │           Binds all four aspects together             │   │
│  └──────────────────────────────────────────────────────┘   │
└──────────────────────────────────────────────────────────────┘

3.3 Package Axioms

#AxiomStatement
PK1Four aspects are inseparableA package without content, manifest, signature, or attestation is not a package — it is an incomplete artifact. All four must be present and valid.
PK2Content-addressed identityA package's content hash uniquely identifies its content. Two packages with different content hashes are different packages, even if all metadata is identical.
PK3Signature binds content to originatorThe package signature covers both the content hash and the manifest hash. A valid signature proves that a specific originator produced a specific content with specific metadata.
PK4Packages are immutableOnce created and signed, a package cannot be modified. Any modification invalidates the signature and requires re-creation as a new version.
PK5Self-verifyingA recipient can verify a package's authenticity and integrity using only the package itself (and trusted public keys). No external database, certificate authority, or channel state is required.

Section 3.5: The Doctrine Position

USDS occupies a specific position in the constitutional doctrine:

Doctrine PrincipleUSDS Position
Constitution before architectureUSDS's axioms (DA01-DA10) are constitutional law, derived from USCP primitives
Architecture before implementationThe package model defines the architecture; package managers are implementation
Implementation before optimizationUSDS specifies what must be true about distribution, not how to build a package manager
USDS defines the invariants. Implementations choose the distribution mechanisms.

Section 4: The Signature Model

4.1 Specification

A USDS signature is the cryptographic binding between an originator's identity and a specific package. Signatures prove three properties simultaneously: origin (who produced it), integrity (it has not been tampered with), and authorship (the signer stands behind it).

PropertyRequirement
RecordSignature { signer_id, public_key_ref, content_hash, manifest_hash, timestamp, signature_value, algorithm }
Operationssign(signer_key, package) → Signature, verify(signature, package) → bool, verify_chain(signature_chain) → bool
CoverageA signature must cover both the content hash and the manifest hash. A signature covering only one is constitutionally incomplete.
AlgorithmThe signature algorithm must be a well-established public-key scheme (e.g., Ed25519, ECDSA-P256, RSA-PSS). Algorithm selection is an implementation choice; the formal model is algorithm-agnostic.

4.2 Signature Structure

Signature:
  ├── signer_id: OriginatorId          // who signed
  ├── public_key_ref: KeyReference     // which key was used (hash or identifier)
  ├── content_hash: SHA-256(content)   // integrity of the software
  ├── manifest_hash: SHA-256(manifest) // integrity of the metadata
  ├── timestamp: ISO-8601-UTC          // when it was signed
  ├── algorithm: String                // e.g., "ed25519", "ecdsa-p256"
  ├── key_created: ISO-8601-UTC        // when the signing key was created
  └── signature_value: bytes           // the cryptographic signature

4.3 Multi-Originator Signatures

A package may carry signatures from multiple originators. This supports:

SignatureChain:
  ├── primary: Signature               // originator's signature (required)
  ├── cosigners: [Signature]           // additional signers (optional)
  └── chain_valid: bool                // derived: all signatures verify

4.4 Signature Verification Protocol

┌──────────────┐                           ┌──────────────┐
│   Package    │                           │   Recipient  │
│  (received)  │                           │  (verifier)  │
└──────┬───────┘                           └──────┬───────┘
       │                                          │
       │  1. Extract manifest, content, signature │
       │─────────────────────────────────────────►│
       │                                          │
       │  2. Recompute content_hash               │
       │  3. Recompute manifest_hash              │
       │  4. Compare with signed hashes           │
       │     (mismatch = integrity violation)     │
       │                                          │
       │  5. Verify signature_value               │
       │     using signer's public_key            │
       │     (invalid = forgery)                  │
       │                                          │
       │  6. Check signer_id against              │
       │     trusted key registry                 │
       │     (unknown = untrusted origin)         │
       │                                          │
       │  7. Verify chain_of_custody              │
       │     (broken chain = custody violation)   │
       │                                          │
       │  Result: PASS | FAIL (with reason)       │
       │◄─────────────────────────────────────────│

4.5 Signature Axioms

#AxiomStatement
SG1Dual coverageA valid signature must cover both content_hash and manifest_hash. Signatures covering only one are constitutionally invalid.
SG2Origin bindingA signature cryptographically binds the signer's identity to the package. Forging a signature requires breaking the underlying cryptographic scheme.
SG3Temporal bindingA signature includes a timestamp. Packages signed with expired or future keys are flagged for review but not automatically rejected.
SG4Chain integrityIn a multi-signer package, every signature in the chain must independently verify. One invalid signature invalidates the entire chain.
SG5Signature immutabilityA signature cannot be transferred between packages. The signed content and manifest hashes make signatures package-specific.

Section 5: Chain of Custody

5.1 Specification

The chain of custody is the constitutional provenance of a package. It is an immutable, append-only log of every distribution event from creation through every transfer, receipt, verification, and revocation. The chain of custody answers: "Who had this package, when, and what did they do with it?"

PropertyRequirement
RecordChainOfCustody { package_id, events: [DistributionEvent], chain_hash }
Operationscreate_chain(package) → ChainOfCustody, append_event(chain, event) → ChainOfCustody, verify_chain(chain) → bool, audit(chain) → AuditReport
Append-onlyEvents can only be appended, never removed or modified. The chain is monotonically growing.
Tamper-evidentEach event includes a hash of the previous event, forming a hash chain. Any modification to a past event invalidates all subsequent hashes.

5.2 Distribution Event Types

Event TypePurposeRequired Fields
CreatedPackage was created and initially signedoriginator_id, manifest_hash, content_hash, timestamp
SignedAn additional signature was appliedsigner_id, public_key_ref, timestamp
TransferredPackage was sent from one entity to anothersender_id, recipient_id (may be unknown), channel, timestamp
ReceivedRecipient acknowledges receiptrecipient_id, receipt_hash, timestamp
VerifiedPackage was independently verifiedverifier_id, verification_result, timestamp
RevokedPackage was declared compromisedrevoker_id, reason, timestamp
SupersededPackage was replaced by a newer versionsuperseded_by_package_id, timestamp

5.3 Event Structure

DistributionEvent:
  ├── event_id: UUID                          // unique event identifier
  ├── event_type: EventType                   // one of the seven types
  ├── package_id: PackageId                   // which package
  ├── actor_id: EntityId                      // who performed the action
  ├── timestamp: ISO-8601-UTC                 // when it occurred
  ├── previous_event_hash: SHA-256 | null     // hash of prior event (null for first)
  ├── event_hash: SHA-256(event_body)         // hash of this event (excludes this field)
  ├── metadata: Map<String, String>           // type-specific additional data
  └── signature: SignableValue                // actor's signature over event_body

5.4 Chain Verification Protocol

verify_chain(chain):
  1. FOR each event in chain.events (in order):
     a. Verify event.signature is valid for event.actor_id
     b. Verify event.previous_event_hash matches hash of prior event
     c. Verify event.event_hash is correctly computed
     d. Verify event.timestamp is monotonic (non-decreasing)
  2. Verify chain.chain_hash == SHA-256( concatenated event_hashes )
  3. IF any step fails → chain is INVALID
     ELSE → chain is VALID

5.5 Chain of Custody Diagram

Created          Transferred       Received          Verified
┌──────────┐    ┌──────────┐     ┌──────────┐     ┌──────────┐
│ Event #1 │───►│ Event #2 │────►│ Event #3 │────►│ Event #4 │
│          │    │          │     │          │     │          │
│ hash: h1 │    │ hash: h2 │     │ hash: h3 │     │ hash: h4 │
│ prev: ∅  │    │ prev: h1 │     │ prev: h2 │     │ prev: h3 │
└──────────┘    └──────────┘     └──────────┘     └──────────┘

chain_hash = SHA-256(h1 || h2 || h3 || h4)

5.6 Chain of Custody Axioms

#AxiomStatement
CC1Append-only immutabilityEvents can only be appended to the chain. No event may be removed, modified, or reordered after recording.
CC2Hash-chain integrityEach event hashes its predecessor. Tampering with any event invalidates all subsequent events in the chain.
CC3Complete recordingEvery distribution event must be recorded. A package without a complete chain of custody is constitutionally suspect.
CC4Actor accountabilityEvery event is signed by its actor. Anonymous events are constitutionally void — the chain must always answer "who did this."
CC5Temporal orderingEvents are ordered by timestamp. Clock skew is tolerated within configurable bounds; temporal inversions are flagged.

Section 6: Version Compatibility

6.1 Specification

USDS versioning extends semantic versioning with constitutional compatibility rules. A version number encodes not only functional change magnitude but constitutional compatibility: can this package safely replace a prior version without breaking constitutional guarantees?

PropertyRequirement
FormatMAJOR.MINOR.PATCH — three non-negative integers separated by dots
RecordVersionInfo { major, minor, patch, constitutional_layer, compatibility_matrix }
Operationsbump_major(version) → Version, bump_minor(version) → Version, bump_patch(version) → Version, is_compatible(old, new) → bool

6.2 Semantic Rules

Change TypeVersion ImpactConstitutional Meaning
PatchPATCH + 1Bug fix, documentation update, non-functional change. No constitutional property changes. Safe drop-in replacement.
MinorMINOR + 1, PATCH = 0New functionality added. Constitutional guarantees preserved and extended. Backward-compatible.
MajorMAJOR + 1, MINOR = 0, PATCH = 0Constitutional property changed, interface broken, or dependency graph altered. Not a drop-in replacement. Migration may be required.

6.3 Constitutional Compatibility Rules

RuleStatement
CR1Major versions are incompatible by default. Two packages with different major versions are constitutionally incompatible unless an explicit compatibility declaration states otherwise.
CR2Minor versions are compatible. A higher minor version is always backward-compatible with a lower minor version of the same major version.
CR3Patch versions are interchangeable. Any patch version is a safe replacement for any other patch version of the same major.minor.
CR4Cross-originator compatibility requires declaration. When two different originators produce packages for the same constitutional question, compatibility must be explicitly declared, never assumed.
CR5Constitutional layer compatibility. Packages targeting different constitutional layers (e.g., L4 vs L5) are incompatible regardless of semver numbers.

6.4 Version Compatibility Matrix

Package A (v2.1.3)          Package B
─────────────────           ─────────
  v2.1.4  ─── PATCH ────── Compatible (drop-in)
  v2.1.9  ─── PATCH ────── Compatible (drop-in)
  v2.2.0  ─── MINOR ────── Compatible (extends, preserves)
  v2.5.1  ─── MINOR ────── Compatible (extends, preserves)
  v3.0.0  ─── MAJOR ────── Incompatible (unless declared)
  v1.9.9  ─── MAJOR ────── Incompatible (unless declared)

6.5 Version Axioms

#AxiomStatement
VR1Monotonic progressionVersion numbers are monotonically increasing. A package can never regress to a lower version number.
VR2Constitutional encodingVersion numbers encode constitutional compatibility. The version system is not merely functional — it is constitutional.
VR3Compatibility is explicitCompatibility between packages of different major versions or different originators must be declared, never inferred.
VR4Version in signatureThe package version is covered by the signature. A signature valid for v2.1.3 does not validate v2.1.4 — they are distinct signed artifacts.
VR5Supersession is recordedWhen a newer version supersedes an older one, the supersession is recorded in both packages' chains of custody.

Section 7: Distribution Channels

7.1 Specification

Constitutional software may be distributed through any channel. USDS classifies channels by their trust properties, not their technical implementation. The formal model is channel-agnostic: the same verification protocol applies regardless of how a package was delivered.

Channel ClassDescriptionTrust Properties
SovereignDirect transfer between known constitutional entities (P2P, local filesystem, USB, air-gapped)Full provenance — sender and receiver are known, authenticated, and verifiable
HybridCDN-backed, mirror networks, or repository aggregators with constitutional verification layerCarrier-neutral — the channel carries packages but does not authenticate origin; recipients verify independently
ExternalBridged to non-constitutional systems through UCA adapters (e.g., npm, PyPI, Docker Hub)Untrusted carrier — no constitutional guarantees from the channel; full recipient verification required

7.2 Channel Trust Properties

Trust Level
                    ───────────
Sovereign:          ██████████████████████  (Known parties, full provenance)
Hybrid:             ████████████░░░░░░░░░░  (Carrier-neutral, verified independently)
External:           ██████░░░░░░░░░░░░░░░░  (Untrusted carrier, full verification)

In all cases: Verification protocol is IDENTICAL The channel does not change the package's constitutional properties

7.3 Channel Axioms

#AxiomStatement
CH1Channel independenceA package's constitutional properties are invariant across channels. A verified package on channel A is equally valid on channel B.
CH2No channel is privilegedNo distribution channel has constitutional authority over any other. Sovereignty is not determined by channel choice.
CH3External channels are untrustedPackages received through external (bridged) channels must undergo full recipient verification. The bridge provides no constitutional guarantee.
CH4Channel records custodyEach channel records its distribution events in the chain of custody. The chain of custody is complete regardless of channel diversity.
CH5Sovereign channels preferredWhile all channels are valid, sovereign channels provide the highest provenance guarantees and are preferred for constitutional distribution.

Section 8: Verification Protocol

8.1 Specification

Verification is the constitutional process by which a recipient determines whether to accept a package. Verification is sovereign duty — recipients verify independently, regardless of channel, source reputation, or distribution path.

PropertyRequirement
Operationsverify_package(package, trust_store) → VerificationResult, verify_full(package, trust_store, custody_chain) → FullVerificationResult
OutputVerificationResult { authentic, integrity_valid, custody_valid, revoked, compatible, details }
MandatoryA recipient MUST NOT install or execute a package that has not passed full verification. This is a constitutional requirement, not a recommendation.

8.2 Verification Stages

Every package must pass through the following stages in order. Failure at any stage is terminal for that verification attempt.

StageCheckFailure Meaning
1. StructuralPackage has all four aspects: content, manifest, signature, attestationIncomplete or malformed package
2. IntegrityRecomputed content_hash matches signed content_hashContent has been modified
3. IntegrityRecomputed manifest_hash matches signed manifest_hashMetadata has been modified
4. AuthenticitySignature is cryptographically valid for declared signerForgery or corruption
5. TrustSigner's identity is in recipient's trusted key registryUntrusted origin
6. RevocationPackage is not on the recipient's revocation listPackage is compromised
7. Chain of CustodyChain is complete, hash-linked, and all events verifyCustody breach detected
8. CompatibilityPackage version is compatible with recipient's requirementsVersion mismatch
9. AttestationAttestation claims are verifiable and acceptableUnacceptable claims

8.3 Verification Flow

┌──────────────────────────────────────────────────────────────┐
│                  RECIPIENT VERIFICATION                       │
│                                                               │
│  Package received via any channel                             │
│          │                                                    │
│          ▼                                                    │
│  ┌─────────────────┐   FAIL → REJECT (incomplete)           │
│  │ 1. Structural   │                                         │
│  │    Check        │                                         │
│  └────────┬────────┘                                         │
│           │ PASS                                              │
│           ▼                                                   │
│  ┌─────────────────┐   FAIL → REJECT (integrity violation)  │
│  │ 2. Integrity    │                                         │
│  │    Verification │                                         │
│  └────────┬────────┘                                         │
│           │ PASS                                              │
│           ▼                                                   │
│  ┌─────────────────┐   FAIL → REJECT (forgery)              │
│  │ 3. Signature    │                                         │
│  │    Verification │                                         │
│  └────────┬────────┘                                         │
│           │ PASS                                              │
│           ▼                                                   │
│  ┌─────────────────┐   FAIL → REJECT (untrusted origin)     │
│  │ 4. Trust Chain  │                                         │
│  │    Verification │                                         │
│  └────────┬────────┘                                         │
│           │ PASS                                              │
│           ▼                                                   │
│  ┌─────────────────┐   FAIL → REJECT (revoked)              │
│  │ 5. Revocation   │                                         │
│  │    Check        │                                         │
│  └────────┬────────┘                                         │
│           │ PASS                                              │
│           ▼                                                   │
│  ┌─────────────────┐   FAIL → REJECT (custody breach)       │
│  │ 6. Chain of     │                                         │
│  │    Custody      │                                         │
│  └────────┬────────┘                                         │
│           │ PASS                                              │
│           ▼                                                   │
│  ┌─────────────────┐   FAIL → REJECT (incompatible)         │
│  │ 7. Compatibility│                                         │
│  │    Check        │                                         │
│  └────────┬────────┘                                         │
│           │ PASS                                              │
│           ▼                                                   │
│  ┌─────────────────┐   FAIL → REJECT (unacceptable claims)  │
│  │ 8. Attestation  │                                         │
│  │    Validation   │                                         │
│  └────────┬────────┘                                         │
│           │ PASS                                              │
│           ▼                                                   │
│     ✅ ACCEPTED                                               │
│     Record verification event in custody chain                │
└──────────────────────────────────────────────────────────────┘

8.4 Verification Axioms

#AxiomStatement
VF1Verification is mandatoryNo package may be accepted without passing all verification stages. Skipping any stage is a constitutional violation.
VF2Verification is sovereignEach recipient verifies independently. No recipient delegates verification to another entity or to the channel.
VF3Verification is deterministicThe same package and the same trust store always produce the same verification result. Verification is a pure function.
VF4Failure is terminalFailure at any verification stage rejects the package. Partial verification does not produce a partial acceptance.
VF5Verification is recordedEvery verification attempt — pass or fail — is recorded. Successful verifications are appended to the chain of custody.

Section 9: Revocation

9.1 Specification

Revocation is the constitutional mechanism for identifying compromised packages and excluding them from distribution. Revocation is signed, immediate, and propagating — once a package is revoked, all recipients must reject it.

PropertyRequirement
RecordRevocation { package_id, revoker_id, reason, timestamp, signature, propagation_proof }
Operationsrevoke(package, authority, reason) → Revocation, is_revoked(package_id, revocation_store) → bool, propagate(revocation, channel) → PropagationResult
AuthorityOnly the package's originator or a designated constitutional authority may revoke a package
ImmediacyRevocation takes effect immediately upon publication. Grace periods are not permitted for security revocations.

9.2 Revocation Reasons

Reason CodeCategoryDescription
INTEGRITY_VIOLATIONSecurityContent or manifest was modified after signing
KEY_COMPROMISESecurityThe originator's signing key was compromised
SUPPLANTGovernanceA newer version intentionally replaces this one
VULNERABILITYSecurityA known vulnerability exists in this version
RECALLEDGovernanceThe originator withdrew the package for non-security reasons
CONSTITUTIONAL_VIOLATIONConstitutionalThe package violates a constitutional invariant

9.3 Revocation Propagation

Originator/Authority
       │
       │  1. Sign revocation record
       │  2. Publish to revocation list
       │
       ▼
┌──────────────────┐
│ Revocation Store │ ◄── Append-only, signed revocations
│ (distributed)    │
└────────┬─────────┘
         │
    ┌────┴────┬────────┬──────────┐
    ▼         ▼        ▼          ▼
 Recipient  Recipient  CDN    External
 Alpha      Beta    Mirror    Bridge
    │         │        │          │
    ▼         ▼        ▼          ▼
 Check      Check   Check     Check
 revocation revocation revocation revocation
 before     before   before   before
 accept     accept   serve    bridge

9.4 Revocation Axioms

#AxiomStatement
RV1Revocation is immediateA revoked package must be rejected from the moment of publication. No grace period.
RV2Revocation is signedEvery revocation is cryptographically signed by the revoking authority. Unsigned revocations are void.
RV3Revocation propagatesEvery distribution channel and recipient must check the revocation list before accepting or serving a package.
RV4Revocation is append-onlyRevocation records are never removed. A package may be un-revoked only by a signed retraction that itself becomes a new custody event.
RV5Revocation is specificA revocation targets a specific package version. Revoking v2.1.3 does not automatically revoke v2.1.4 or v2.1.2.
RV6Revocation authority is boundedOnly the originator or a designated constitutional authority may revoke. Distributors and recipients cannot unilaterally revoke.

Section 10: Sovereignty in Distribution

10.1 The Sovereignty Principle

Sovereignty is the constitutional foundation of USDS. Distribution is a voluntary act between sovereign entities. No entity is compelled to distribute, to receive, to host, or to verify. The distribution system exists to serve constitutional software delivery — it does not govern, control, or coerce.

10.2 Sovereignty Properties

PropertyStatement
Originator SovereigntyThe originator controls what is published, when, and under what terms. No distributor may publish a package without the originator's signed authorization.
Distributor SovereigntyA distributor chooses which packages to carry. A distributor may refuse to carry any package without justification. A distributor is never compelled to serve.
Recipient SovereigntyA recipient chooses which packages to accept. A recipient verifies independently, accepts or rejects based on their own policies, and is never obligated to accept.
Channel SovereigntyEach channel operates autonomously. No channel is subordinate to another. Channels share packages voluntarily.
No Central AuthorityNo single entity controls the distribution network. There is no central server, no master registry, no privileged distributor. Distribution is a federation of sovereign participants.

10.3 Sovereignty Constraints

#ConstraintStatement
SC1No distribution mandateNo entity can require another entity to distribute a specific package. Distribution is always voluntary.
SC2No suppression authorityNo single entity can suppress a constitutionally valid package from all distribution channels. Distributed distribution provides resilience against suppression.
SC3No observation monopolyNo entity has privileged visibility into the entire distribution network. Each participant sees only what is shared with them.
SC4No version mandateNo entity can compel a recipient to upgrade or downgrade. Version selection is a recipient's sovereign right.
SC5Offline capabilityA recipient must be able to verify and use previously-received packages without network connectivity. Distribution enhances capability; it is not a dependency.

Section 11: Invariants

11.1 The Twenty-Two Distribution Invariants

All invariants in this section are constitutional laws — not guidelines, not aspirations. A conforming distribution system must satisfy every invariant.

#InvariantCategoryStatement
DI01Content integrityIntegrityEvery distributed package maintains a cryptographic hash binding content to signature. Modification is always detectable.
DI02Manifest integrityIntegrityEvery distributed package maintains a cryptographic hash binding manifest to signature. Metadata tampering is always detectable.
DI03Signature validityAuthenticityEvery distributed package carries a valid cryptographic signature from a recognized originator. Unsigned packages are constitutionally void.
DI04Chain of custody completenessProvenanceEvery package carries a complete, unbroken chain of custody from creation to current custody. Gaps are constitutionally invalid.
DI05Append-only custodyProvenanceDistribution events are appended to the chain of custody. No event may be removed or modified after recording.
DI06Hash-chain integrityProvenanceEach custody event hashes its predecessor. Tampering with any event invalidates all subsequent events.
DI07Originator authorizationSovereigntyPackages are distributed only with originator authorization. Unauthorized distribution is a constitutional violation.
DI08Recipient verificationVerificationEvery recipient independently verifies package authenticity, integrity, and provenance before acceptance.
DI09Channel invarianceChannelsPackage constitutional properties are invariant across distribution channels.
DI10Revocation immediacyRevocationRevoked packages are rejected from the moment of publication. No grace period applies.
DI11Revocation propagationRevocationRevocations propagate to all known distribution channels and recipients.
DI12Revocation authorizationRevocationOnly authorized entities (originators, constitutional authorities) may revoke packages.
DI13Version monotonicityVersioningPackage version numbers are monotonically increasing. No version regression.
DI14Version-encoded compatibilityVersioningVersion numbers encode constitutional compatibility rules. Major/minor/patch semantics are binding.
DI15Signature-content bindingAuthenticityA signature is bound to a specific content hash and manifest hash. Signatures cannot be transferred between packages.
DI16No central controlSovereigntyNo single entity controls the distribution network. Distribution is a voluntary federation.
DI17Offline verificationSovereigntyPackages can be verified without network connectivity using previously-received trust anchors and revocation lists.
DI18Attestation bindingAttestationPackage attestations are cryptographically signed and constitutionally binding on the attesting entity.
DI19Verification determinismVerificationThe same package and the same trust store always produce the same verification result.
DI20Custody accountabilityProvenanceEvery custody event is signed by its actor. Anonymous custody events are constitutionally void.
DI21Supersession recordingVersioningWhen a version supersedes another, the supersession is recorded in both packages' chains of custody.
DI22Package atomicityIntegrityA package is either fully distributed and verifiable, or not distributed at all. Partial packages are void.

Section 12: Conformance Criteria

12.1 USDS Conformance Tests

An implementation conforms to the USDS Formal Specification if and only if:

#TestPass CriterionSeverity
USDS-01Package CompletenessEvery package contains all four aspects: content, manifest, signature, and attestation. Incomplete packages are rejected.Critical
USDS-02Content IntegrityContent hash recomputed from received content matches the signed content hash. Any discrepancy is detected and rejected.Critical
USDS-03Manifest IntegrityManifest hash recomputed from received manifest matches the signed manifest hash. Any metadata tampering is detected.Critical
USDS-04Signature VerificationPackage signatures are cryptographically verified against the declared signer's public key. Forged or corrupted signatures are rejected.Critical
USDS-05Chain of Custody ValidityChain of custody is unbroken: every event hashes its predecessor, every event is signed, and the chain hash is correct.Critical
USDS-06Recipient VerificationRecipients perform all nine verification stages before accepting. No stage is skipped. Acceptance requires all stages to pass.Critical
USDS-07Revocation EnforcementRevoked packages are immediately rejected. Revocation checks occur before acceptance. Revoked packages are never served.Critical
USDS-08Version SemanticsVersion numbers follow MAJOR.MINOR.PATCH with constitutional compatibility semantics. Patch = drop-in, Minor = compatible extension, Major = breaking change.Major
USDS-09Channel InvarianceA package verified on one channel produces identical verification results on any other channel. Channel does not affect package properties.Critical
USDS-10Sovereignty PreservationNo operation compels distribution, reception, or acceptance. All participation is voluntary. No central authority controls distribution.Critical
USDS-11Offline VerificationPackages can be verified without network connectivity using local trust anchors and revocation lists.Major
USDS-12Attestation BindingPackage attestations are cryptographically signed by the attesting entity. Attestations are constitutionally binding and traceable.Major
USDS-13Append-Only CustodyDistribution events are appended to the chain of custody. No event is removed, modified, or reordered after recording.Critical
USDS-14Originator AuthorizationPackages distributed only with originator's signed authorization. Unauthorized distribution is detectable and rejected.Critical
USDS-15Dual Signature CoverageEvery signature covers both content hash and manifest hash. Single-coverage signatures are rejected as constitutionally incomplete.Critical

12.2 Conformance Levels

LevelNameRequirementsCertification
D0Non-ConformantFails any Critical test.None. May not claim USDS conformance.
D1Core ConformantPasses all Critical tests (USDS-01 through USDS-07, USDS-09 through USDS-10, USDS-13 through USDS-15) + ≤2 Major failures.May operate as a constitutional distribution system.
D2Fully ConformantPasses all 15 tests (15/15).May enter the canonical reference. Eligible for standardization.

12.3 Conformance Protocol

  1. Declare scope: Implementation declares which distribution aspects it implements (all required for D1+).
  2. Apply tests: Run all applicable tests (USDS-01 through USDS-15).
  3. Record evidence: For each test, record what was checked, what was found, pass/fail.
  4. Determine level: Count Critical and Major failures. Apply level rules.
  5. Archive: Conformance Record stored as a constitutional artifact.

Section 13: Package Manifest Format

13.1 JSON Specification

The package manifest is a JSON document describing the package's identity, contents, dependencies, and constitutional properties. The manifest is signed as part of the package signature.

{
  "usds_manifest_version": "1.0.0",
  "package": {
    "name": "string — human-readable package name",
    "id": "string — content-addressed identifier: SHA-256(name:version:content_hash)",
    "version": {
      "major": "integer — breaking constitutional changes",
      "minor": "integer — compatible extensions",
      "patch": "integer — bug fixes, non-functional"
    },
    "description": "string — human-readable description"
  },
  "originator": {
    "id": "string — constitutional identity of the originator",
    "public_key_ref": "string — reference to the signing key",
    "attestation": "string — originator's constitutional claim"
  },
  "content": {
    "archive_hash": "string — SHA-256 of the content archive",
    "archive_format": "string — e.g., 'tar.gz', 'zip', 'directory'",
    "files": [
      {
        "path": "string — relative path within archive",
        "hash": "string — SHA-256 of individual file",
        "size_bytes": "integer — file size in bytes"
      }
    ],
    "total_size_bytes": "integer — total content size"
  },
  "constitutional": {
    "layer": "string — constitutional layer this package targets (e.g., 'L4', 'L5')",
    "question_answered": "string — which constitutional question this package addresses",
    "invariants_upheld": ["string — list of invariants this package guarantees"],
    "dependencies": [
      {
        "package_id": "string — required package identifier",
        "version_range": "string — semver range (e.g., '>=2.1.0 <3.0.0')",
        "relationship": "string — 'requires', 'enhances', 'replaces'"
      }
    ]
  },
  "distribution": {
    "channels": ["string — preferred distribution channels"],
    "max_mirror_age_hours": "integer — maximum age of mirrors before refresh",
    "revocation_list_url": "string — URL to the canonical revocation list"
  },
  "metadata": {
    "created_at": "string — ISO-8601 timestamp of package creation",
    "created_by": "string — identity of the creating entity",
    "license": "string — package license identifier",
    "tags": ["string — searchable tags"]
  }
}

13.2 Manifest Invariants

#InvariantStatement
MF1Required fieldsAll fields in the manifest schema are required. Omission of any field renders the manifest constitutionally incomplete.
MF2Deterministic hashingThe manifest hash is computed over a canonical JSON serialization (sorted keys, no whitespace). Non-canonical serialization invalidates the hash.
MF3Content correspondenceEvery file listed in content.files must exist in the content archive. Every file in the archive must be listed. No orphaned or missing files.
MF4Hash correctnessEvery content.files[].hash must match the SHA-256 of the actual file content. Incorrect hashes invalidate the manifest.

Section 14: Signed Attestation Format

14.1 JSON Specification

A signed attestation is a cryptographic declaration by an entity that a package satisfies specific constitutional properties. Attestations are signed, timestamped, and constitutionally binding.

{
  "usds_attestation_version": "1.0.0",
  "attestation": {
    "id": "string — unique attestation identifier",
    "package_id": "string — the package this attestation concerns",
    "package_version": "string — the specific version attested",
    "package_content_hash": "string — SHA-256 of the attested content"
  },
  "attester": {
    "id": "string — constitutional identity of the attester",
    "role": "string — 'originator', 'reviewer', 'authority', 'auditor'",
    "public_key_ref": "string — reference to the attesting key"
  },
  "claims": [
    {
      "claim_type": "string — e.g., 'integrity', 'origin', 'review', 'compliance'",
      "claim_text": "string — human-readable claim statement",
      "evidence": ["string — references to evidence supporting this claim"],
      "constitutional_basis": "string — which constitutional rule or invariant this claim invokes"
    }
  ],
  "timestamp": "string — ISO-8601 UTC timestamp of attestation",
  "valid_until": "string | null — ISO-8601 UTC timestamp of attestation expiry, null for permanent",
  "signature": {
    "algorithm": "string — e.g., 'ed25519', 'ecdsa-p256'",
    "public_key": "string — the attester's public key (or reference)",
    "value": "string — base64-encoded signature over attestation body"
  },
  "revocation": {
    "revoked": false,
    "revoked_at": "string | null — ISO-8601 UTC timestamp if revoked",
    "revocation_reason": "string | null — reason for revocation if applicable"
  }
}

14.2 Attestation Types

Claim TypePurposeTypical Attester
integrity"I have verified this package's content matches its manifest"Reviewer, Auditor
origin"I produced this package and stand behind its content"Originator
review"I have reviewed this package and found no issues"Reviewer
compliance"This package satisfies the specified constitutional invariants"Authority, Auditor
security"This package has been audited for security vulnerabilities"Auditor
dependency"This package's dependencies are known and trusted"Reviewer

14.3 Attestation Invariants

#InvariantStatement
AT1Signed attestationEvery attestation must be cryptographically signed. Unsigned attestations are constitutionally void.
AT2Specific bindingAn attestation must reference a specific package_id, version, and content_hash. Generic attestations ("all packages are fine") are void.
AT3Role declarationEvery attestation declares the attester's role. The role determines the weight and scope of the attestation.
AT4Temporal scopeAttestations carry a timestamp and optional expiry. Expired attestations must be re-verified.
AT5RevocabilityAny attestation may be revoked by the attesting entity. Revoked attestations must not be used to justify acceptance.
AT6Evidence requirementEvery claim must cite evidence. Attestations without evidence are unsupported opinions, not constitutional artifacts.

Section 15: Implementation Guide

15.1 Building a Conforming Distribution System

This section provides guidance for implementing a distribution system that conforms to the USDS Formal Specification. The guide is organized by architectural layer.

15.2 Core Components

┌────────────────────────────────────────────────────────────────┐
│              CONFORMING DISTRIBUTION SYSTEM                     │
│                                                                  │
│  ┌──────────────────┐    ┌──────────────────┐                  │
│  │ Package Builder  │    │ Package Verifier  │                  │
│  │                  │    │                   │                  │
│  │ • create_manifest│    │ • verify_struct   │                  │
│  │ • sign_package   │    │ • verify_integrity│                  │
│  │ • build_archive  │    │ • verify_sig      │                  │
│  │ • attest         │    │ • verify_trust    │                  │
│  └──────────────────┘    │ • verify_revoc    │                  │
│                          │ • verify_custody  │                  │
│  ┌──────────────────┐    │ • verify_compat   │                  │
│  │ Custody Manager  │    │ • verify_attest   │                  │
│  │                  │    └──────────────────┘                  │
│  │ • create_chain   │                                          │
│  │ • append_event   │    ┌──────────────────┐                  │
│  │ • verify_chain   │    │ Trust Store       │                  │
│  │ • audit          │    │                   │                  │
│  └──────────────────┘    │ • trusted_keys    │                  │
│                          │ • revocation_list │                  │
│  ┌──────────────────┐    │ • trust_anchors   │                  │
│  │ Channel Adapter  │    └──────────────────┘                  │
│  │                  │                                          │
│  │ • sovereign      │    ┌──────────────────┐                  │
│  │ • hybrid         │    │ Version Manager   │                  │
│  │ • external       │    │                   │                  │
│  └──────────────────┘    │ • resolve_version │                  │
│                          │ • check_compat    │                  │
│                          │ • supersede        │                  │
│                          └──────────────────┘                  │
└────────────────────────────────────────────────────────────────┘

15.3 Implementation Requirements

ComponentRequired FunctionsConformance Tests Satisfied
Package Buildercreate_manifest(), sign_package(), build_archive(), attest()USDS-01, USDS-04, USDS-12, USDS-14, USDS-15
Package Verifierverify_structural(), verify_integrity(), verify_signature(), verify_trust(), verify_revocation(), verify_custody(), verify_compatibility(), verify_attestation()USDS-02, USDS-03, USDS-04, USDS-06, USDS-09
Custody Managercreate_chain(), append_event(), verify_chain(), audit()USDS-05, USDS-13
Trust Storeadd_trusted_key(), check_trusted(), add_revocation(), is_revoked()USDS-07, USDS-11
Version Managerresolve_version(), check_compatibility(), supersede()USDS-08
Channel Adapterpublish(), fetch(), mirror()USDS-09, USDS-10

15.4 Minimum Viable Conforming System

A minimum viable USDS-conforming distribution system requires:

  1. A signing implementation — any public-key signature scheme (Ed25519 recommended)
  2. A hashing implementation — SHA-256 for content, manifest, and event hashes
  3. A manifest builder — generates the JSON manifest per Section 13
  4. A signature builder — signs content_hash + manifest_hash
  5. A custody log — append-only log of distribution events
  6. A verifier — performs all nine verification stages
  7. A trust store — local registry of trusted keys and revocation list

15.5 Implementation Roadmap

PhaseDeliverableConformance Level
Phase 1: Package CreationManifest builder, signer, archive builderFoundation
Phase 2: VerificationFull 9-stage verifier, trust storeD1 (Core Conformant)
Phase 3: Chain of CustodyCustody manager, event log, auditD1 (complete)
Phase 4: Distribution ChannelsSovereign channel (P2P/local), hybrid (CDN)D1 (complete)
Phase 5: RevocationRevocation store, propagation, external bridgesD2 (Fully Conformant)
Phase 6: AttestationMulti-party attestation, review workflowsD2 (complete)

15.6 Technology Recommendations

ConcernRecommendedAlternativesNotes
SignatureEd25519ECDSA-P256, RSA-PSSEd25519 is compact, fast, and well-supported
HashingSHA-256SHA-3-256, BLAKE3SHA-256 is universal; alternatives must be SHA-256-compatible for interoperability
Archivetar.gzzip, directorytar.gz is widely supported; directory mode for development
ManifestJSONJSON5, TOMLJSON for canonical serialization; JSON5 for human editing
Custody LogAppend-only fileSQLite, append-only databaseSimplicity preferred; must be tamper-evident
Trust StoreLocal fileSQLite, keyringMust work offline; file-based is most portable

Section 16: Stack Integration

16.1 How USDS Connects to the Constitutional Stack

USDS is a cross-cutting concern that interfaces with multiple layers of the ICore stack:

Layer 6  │ USR/CoreFab ──── UCA ──── UCD
         │     ↑                ↑
Layer 5+ │    [UCN]    [UWA]   [USDS]   ← Cross-cutting
         │     ↑        ↑       ↑
Layer 5  │ Reference Systems (Communication, Computation, Data)
         │     ↑
Layer 4  │ UCE ──── UCM ──── UCL ──── UVS
         │     ↑
Layer 3  │ Reference Sciences
         │     ↑
Layer 2  │ USC
         │     ↑
Layer 1  │ USCP
         │     ↑
Layer 0  │ ICore

16.2 How USDS Connects to UCN

UCN (Universal Constitutional Networking) provides the network substrate through which packages may be distributed. USDS defines what a package is and how it is verified; UCN provides the authenticated channels through which packages flow.

AspectUCNUSDS
Question answered"How do nodes communicate?""How is software distributed?"
Package roleTransport layer — carries packages as authenticated eventsDistribution model — defines package structure and verification
Trust modelNode-to-node trust (network)Package authenticity trust (distribution)
RevocationIdentity revocation (nodes)Package revocation (software)

16.3 How USDS Connects to UCA

UCA (Universal Constitutional Adapters) bridges the constitutional stack to external systems. USDS packages distributed through external channels (npm, PyPI, Docker Hub) pass through UCA adapters:

USDS (package model)
  │
  ├── Sovereign channel: direct P2P or local (UCN governs)
  │
  └── External channel: package passes through UCA adapters
        │
        ├── npm Adapter ──► npm registry
        ├── PyPI Adapter ──► Python Package Index
        ├── Docker Adapter ──► Container registries
        └── Future Adapter ──► Any external package system

UCA wraps the package in external format. USDS signature and attestation are preserved inside. Recipients on the external side verify using USDS protocol.

16.4 How USDS Connects to Studyo

Studyo visualizes the ICore ecosystem. USDS provides Studyo with:

VisualizationUSDS Source
Package distribution graphChain of custody events
Channel health dashboardChannel adapter status
Trust networkTrust store key registry
Revocation statusRevocation list
Version timelineVersion history and supersession records

16.5 How USDS Connects to ICS

ICS (Intelligence Constitutional Source) is the canonical repository for published constitutional software. ICS serves as the authoritative source for:


Section 17: Self-Verification

17.1 Against the 10 Constitutional Tests

USDS Formal Specification v0.1.0 verified against the Kernel's 10 constitutional tests:

#TestResultEvidence
1Reality✅ PASSThe specification addresses a real need: constitutional software must reach recipients with verified authenticity and integrity. Every axiom maps to a real distribution requirement. The nine-stage verification protocol solves a concrete problem.
2Origin✅ PASSDerived from Reference Systems (L5). All ten axioms trace to USCP primitives. The package model extends UWA's component model into the distribution domain.
3Necessity✅ PASSWithout USDS, constitutional software has no formal distribution model. Packages could be tampered with, origins could be forged, and recipients would have no verification protocol. The gap is real and consequential.
4Derivation✅ PASSFollows D1 (derived from Reference Systems, the layer below). No upward dependencies. USDS does not depend on USR/CoreFab, Studyo, or any layer above.
5Consistency✅ PASSNo axiom contradicts another. The ten axioms (origin, integrity, sovereignty, custody, verification, channels, revocation, versioning, channel-independence, attestation) are orthogonal and jointly complete. The 22 invariants are mutually consistent.
6Verification✅ PASSEvery invariant is independently checkable. The 15 conformance tests provide a concrete verification protocol. The nine-stage verification flow is deterministic and auditable.
7Simplicity✅ PASSTen axioms, fourteen definitions, twenty-two invariants, fifteen conformance tests. No axiom can be removed without leaving a distribution domain undefined. No axiom can be added without overlapping an existing one.
8Sovereignty✅ PASSSovereignty is foundational (DA03, DA05, DA06, DA09). Section 10 explicitly addresses sovereignty in distribution. No central authority. No compulsion. No mandate.
9Replaceability✅ PASSThe specification is defined in terms of what distribution provides, not how. Any implementation satisfying the axioms, invariants, and conformance tests is valid. Algorithms, transports, and formats are implementation choices.
10Evolution✅ PASSNew channels can be added. New attestation types can be registered. New originators can join. The version system accommodates growth. The specification evolves through constitutional governance.
Result: 10/10 PASS. USDS Formal Specification v0.1.0 is constitutionally sound and enters the constitutional record.

Appendix A: Invariant Coverage Summary

DomainInvariantsCoverage
IntegrityDI01, DI02, DI22, PK2, PK4, SG1Content and manifest integrity; package immutability
AuthenticityDI03, DI15, SG2, SG4, SG5, DA10Signature validity; origin binding; attestation
ProvenanceDI04, DI05, DI06, DI20, CC1–CC5Chain of custody completeness; hash-chain; accountability
SovereigntyDI07, DI10, DI16, DI17, SC1–SC5, DA03No central control; voluntary participation; offline capability
VerificationDI08, DI19, VF1–VF5Mandatory verification; deterministic; sovereign
RevocationDI10, DI11, DI12, RV1–RV6Immediate; propagated; authorized; specific
VersioningDI13, DI14, DI21, VR1–VR5, CR1–CR5Monotonic; semver; constitutional compatibility
ChannelsDI09, CH1–CH5Channel independence; no privilege; sovereign preference
AttestationDI18, AT1–AT6Signed; specific; revocable; evidence-based
ManifestMF1–MF4Required fields; deterministic hashing; content correspondence
Total22 distribution + 5 sovereignty + 5 verification + 6 revocation + 5 versioning + 5 channel + 5 signature + 5 custody + 6 attestation + 4 manifestAll six USCP primitives fully covered

Appendix B: Derived Properties

The following properties are derived from the combination of axioms and invariants:

#PropertyDerived FromStatement
DP1Tamper-evident distributionDI01 + DI02 + DI06Any modification to a distributed package is detectable through hash verification at multiple levels.
DP2Self-contained verificationDA05 + PK5 + VF2 + DI17A recipient can verify a package using only the package and local trust anchors — no network dependency.
DP3Distributed resilienceDA03 + DI16 + SC2No single point of failure can suppress or compromise the distribution network.
DP4Constitutional traceabilityDI04 + DI20 + DP1Every package can be traced from creation to current custody through an unbroken, signed, hash-linked chain.
DP5Channel-agnostic trustDA06 + DI09 + DA09The trustworthiness of a package is determined by its content and signatures, not by how it was delivered.
DP6Sovereign upgradeDI13 + VR3 + SC4Version upgrades are always the recipient's sovereign choice — never mandated by the distribution system.
DP7Rapid compromise responseRV1 + RV3 + DI11A compromised package can be revoked and have that revocation propagated faster than packages can be re-distributed.

Appendix C: Glossary

TermDefinitionSection
AttestationA signed constitutional claim about a package's properties14
Chain of CustodyImmutable, append-only record of distribution events5
ChannelThe mechanism by which a package is transferred between entities7
ContentThe actual software artifacts within a package3
DistributorAn entity that facilitates package transfer without altering content2
ManifestMachine-readable metadata describing a package2, 13
OriginatorThe constitutional entity that produces a package2
PackageA signed, attested, versioned unit of distribution2, 3
RecipientAn entity that receives and verifies packages2
RevocationConstitutional declaration that a package is compromised9
SignatureCryptographic binding between originator and package4
SovereigntyConstitutional principle: no entity compels another in distribution10
SupersessionThe replacement of one package version by a newer one6
Trust AnchorAn originator with verified, unbroken cryptographic provenance2
VerificationThe nine-stage process by which recipients accept or reject packages8

Originator Attribution

This USDS Formal Specification v0.1.0 is originated, created, and concept-pioneered by:

Originator: Sir Collins — Creator and Concept Pioneer of ICore (access1@tutamail.com) Date of origination: July 18, 2026 Scope: All axioms, package models, signature models, chain of custody, versioning, distribution channels, verification protocols, revocation mechanisms, sovereignty principles, invariants, conformance criteria, manifest formats, attestation formats, and implementation guidance presented in this specification.

This attribution is a constitutional artifact. It establishes provenance — the lowest and most fundamental layer of trust.


USDS is the Constitution's supply chain. It ensures that constitutional software reaches every recipient with verified authenticity, unbroken provenance, and sovereign choice — making distribution a constitutional right, not a trust exercise.