Technical manual · alpha.6

Python 3.11+ · Draft 2020-12 schemas · Local replay

Technical manual

Install, replay, inspect, and extend the product-neutral CoherenceLattice module contract.

The source ZIP is the controlling artifact. The installed console entry point is an execution aid and always requires the complete extracted source root.

Exact release identity

Source

UVLM_CoherenceLattice_Product_Module_Contract_v0.1.0-alpha.6_Release_Safety_Successor_v1.0.2.zip

adc29787223610c1fd1b5f3188aebe8096c7d7816e5d954906c0bab93208fe0e

115 members · 184,020 bytes

Contract semantics

alpha.3 governed anatomy preserved

The product version advances to alpha.6 for release safety while all 15 governed alpha.3 reference artifacts remain byte-identical.

Requirements and preparation

  • Python 3.11 or newer.
  • jsonschema >=4.20,<5.
  • For package installation, setuptools >=68.
  • A local directory you own for extraction and generated outputs.
  • No model provider, account, activation, persistent memory, or network service is required for the reference route.
Online vs. offline dependency preparation

An ordinary pip install . may contact the configured package index to create an isolated build environment and install dependencies. In a restricted environment, supply compatible wheels locally or use a pre-provisioned environment. Dependency retrieval is separate from the runtime contract, which made zero network attempts in review.

1 · Authenticate and extract

Compare the downloaded ZIP to the published SHA-256 before extraction.

Windows PowerShell

Get-FileHash .\UVLM_CoherenceLattice_Product_Module_Contract_v0.1.0-alpha.6_Release_Safety_Successor_v1.0.2.zip -Algorithm SHA256

Linux or macOS

sha256sum UVLM_CoherenceLattice_Product_Module_Contract_v0.1.0-alpha.6_Release_Safety_Successor_v1.0.2.zip

Expected SHA-256:

adc29787223610c1fd1b5f3188aebe8096c7d7816e5d954906c0bab93208fe0e

2 · Run the complete source replay

From the extracted source root:

python tools/run_all.py

The runner performs eight stages: package closure, example validation, reference generation, written replay, alpha.3 mutation matrix, release-safety matrix, reference-byte comparison, and the unit-test suite.

Expected unit result

54 passed · 0 failed · 0 skipped.

Reference identity

15 governed artifacts remain byte-identical to alpha.3.

Authority effect

NONE. A replay does not approve a mapped product or real-world action.

3 · Optional installed CLI

The command refuses an omitted source root. Supply the complete extracted root explicitly.

uvlm-module-contract --root /path/to/extracted/source validate-package
uvlm-module-contract --root /path/to/extracted/source run-reference --output /safe/output/path
uvlm-module-contract --root /path/to/extracted/source verify-reference-run --run-dir /safe/output/path

Do not point the output command at an important nonempty directory. The command will reject unowned or unexpected content, but backups and least privilege remain appropriate.

Module roles and model posture

DimensionAllowed declarationMeaning
Module roleTEACH, GENERATE, TRANSFORM, ANALYZE, VALIDATE, REPAIR, GOVERN, COMPARE, SEAL, VERIFYDeclare only capabilities the module actually performs.
Model postureNONE, OPTIONAL, REQUIREDCapability does not authorize a provider or model call.
Grounding postureRequired, optional, or forbiddenEvery used source must resolve exactly once and match its declared digest.
Human decisionAPPROVE, HOLD, REJECT, REQUEST_REPAIRStill bounded to candidate review; separate authority governs publication and deployment.

Canonicalization and digest bases

UVLM_CANONICAL_JSON_V1

UTF-8 JSON, sorted object keys, no insignificant whitespace, unescaped Unicode, and rejection of non-finite numbers. It is a declared UVLM profile, not a claim of RFC 8785 conformance.

RAW_BYTES_SHA256

SHA-256 over exact candidate or file bytes without text normalization. This binds what was actually reviewed.

Bounded repair contract

A repair can run only after a separate human REQUEST_REPAIR decision binds the exact parent candidate. The repair packet must preserve exact ordered one-to-one parity:

finding_id
↔ finding message used as repair instruction
↔ finding repair_scope used as allowed change scope

Missing, duplicated, extra, reordered, or unrelated authority fails. Native delta validation receives only scopes derived from those named findings.

Generated-output safety model

  1. Inspect every existing lexical path component without following links.
  2. Reject filesystem roots, source-root ancestors, VCS metadata, symlinks, and reparse points.
  3. Accept only an absent, empty, or exact owned output directory.
  4. Generate in a private same-filesystem sibling staging directory.
  5. Validate the exact 15-artifact set and write an ownership marker binding every artifact by size and SHA-256.
  6. Revalidate component identities immediately before publication.
  7. Refresh an owned output using rename; clean only known regular files without recursive descent.

Residual TOCTOU boundary. The portable implementation does not claim race-proof isolation from a local actor able to modify the same parent directory concurrently.

Integrating a new product module

  1. Keep the product useful as a standalone Level 1 tool.
  2. Create a thin module manifest declaring only true roles, model posture, required checks, native validators, and nonauthority.
  3. Map product-native outputs into the canonical request, candidate, finding, decision, repair, telemetry, and receipt objects.
  4. Preserve product-owned facts and protected surfaces.
  5. Build deterministic fixtures before adding optional live-model adapters.
  6. Run schema, semantic, mutation, repair-scope, replay, and output-safety conformance.
  7. Obtain independent or separately disclosed exact-package review.
  8. Do not promote into core until at least two materially different products pass the same suite.

Interoperability: governed anatomy, native logic

A participating product does not surrender its terminology or validator. It exports a small, typed sidecar surface that CoherenceLattice can bind, review, repair, and replay.

Executed reference

Web Steward fixture

The package actually runs this deterministic lifecycle. Its final human posture remains HOLD because external checks remain unexecuted.

Included design mappings

Portfolio sidecars

The source contains module-mapping designs for named products. These mappings are not rebuilt products or conformance results.

Separate published bridge

432 Atlas and Rosetta

The optional Atlas/Rosetta release already emits typed observations to the exact CoherenceLattice alpha.3 boundary, but Product Module Contract conformance remains a distinct future pack.

Do not collapse the statuses. “Could use the contract,” “has a design mapping,” “has a direct typed bridge,” and “passed this contract’s conformance suite” are different claims.

Minimum thin adapter pack

Build a sidecar pack rather than rewriting the product or expanding the CoherenceLattice core.

  1. Module manifest. Declare identity, version, supported roles, model posture, grounding policy, native checks, approval-required checks, and nonauthority.
  2. Schema mapping. Translate the product’s native objects into the nine contract objects without erasing native semantics.
  3. Native-validator binding. Call or deterministically reproduce the product’s real validator; never substitute a generic “looks valid” check.
  4. Reference fixtures. Include positive, negative, held, refused, malformed, and adversarial cases with exact identities.
  5. Finding policy. Define stable finding IDs, deterministic ordering, status derivation, repair instructions, and allowed repair scopes.
  6. Adapter declaration. When a model, tool, or copy-paste route produces candidates, disclose identity, locality, network effects, schemas, memory capability, and claim ceiling.
  7. Telemetry and replay. Bind actual run objects and bytes with contiguous, hash-linked events and a replayable receipt.
  8. Product-specific conformance suite. Prove that integration preserves native boundaries and fails closed when identity, evidence, findings, repair scope, or authority is falsified.
  9. Exact-pack review and human decision. Seal the adapter pack, review the exact bytes, preserve open limitations, and obtain any release-specific human authorization separately.

Core-promotion boundary. The roadmap requires at least two materially different products to pass the same independent conformance suite before any interface is considered for promotion into the CoherenceLattice Community Edition core.

Troubleshooting

--root is required

Pass the full extracted source directory before the subcommand. The installed wheel intentionally does not carry the data root.

Package validation reports extra files

Run validation against a clean extraction. Added source files change the exact package closure and require a new manifest, checksum ledger, version, and review.

Output directory is rejected

Choose a new empty directory, or preserve the exact previously generated 15 files plus the ownership marker. Unknown or altered content must not be deleted automatically.

Offline installation tries to reach a package index

Provide setuptools, jsonschema, and their dependencies from a local wheelhouse or pre-provisioned environment. The source replay itself does not authorize network use.