betterwithage's picture
publish a11oy operational payload
60be66b verified
# a11oy
[![License: Proprietary](https://img.shields.io/badge/License-Proprietary-0B1F3A.svg?style=flat-square)](./LICENSE)
[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.20434276.svg)](https://doi.org/10.5281/zenodo.20434276)
[![CI](https://github.com/szl-holdings/a11oy/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/szl-holdings/a11oy/actions/workflows/ci.yml)
[![Tests](https://github.com/szl-holdings/a11oy/actions/workflows/tests.yml/badge.svg?branch=main)](https://github.com/szl-holdings/a11oy/actions/workflows/tests.yml)
[![CodeQL](https://github.com/szl-holdings/a11oy/actions/workflows/codeql.yml/badge.svg?branch=main)](https://github.com/szl-holdings/a11oy/actions/workflows/codeql.yml)
[![SBOM](https://github.com/szl-holdings/a11oy/actions/workflows/sbom.yml/badge.svg?branch=main)](https://github.com/szl-holdings/a11oy/actions/workflows/sbom.yml)
[![SLSA 3](https://github.com/szl-holdings/a11oy/actions/workflows/slsa.yml/badge.svg?branch=main)](https://github.com/szl-holdings/a11oy/actions/workflows/slsa.yml)
[![DCO](https://github.com/szl-holdings/a11oy/actions/workflows/dco.yml/badge.svg?branch=main)](https://github.com/szl-holdings/a11oy/actions/workflows/dco.yml)
[![OpenSSF Scorecard](https://api.securityscorecards.dev/projects/github.com/szl-holdings/a11oy/badge)](https://securityscorecards.dev/viewer/?uri=github.com/szl-holdings/a11oy)
[![ORCID](https://img.shields.io/badge/ORCID-0009--0001--0110--4173-A6CE39.svg?style=flat-square&logo=orcid&logoColor=white)](https://orcid.org/0009-0001-0110-4173)
> Vertical alignment substrate β€” policy, measurement, knowledge, and QEC-integrity packages for governed AI execution
> **Frontier Capability:** Governed execution fabric aligned to the Ouroboros Thesis v18.0 DOI and Lean proof substrate. Runtime claims are tracked through the A11oy Doctrine Build, deploy payload manifests, and the public-claim contract in [`docs/PROVENANCE.md`](docs/PROVENANCE.md).
`a11oy` (Alloy) is the governed agentic execution fabric of SZL Holdings β€” the seven-layer substrate that connects live enterprise signals to human-confirmed decisions with cryptographic proof at every transition. It provides TypeScript packages for policy enforcement, signal measurement, knowledge-graph traversal, and QEC-integrity verification across all SZL domain verticals.
> [!NOTE]
> This repository ships the core fabric packages consumed by [`szl-holdings/platform`](https://github.com/szl-holdings/platform). The deployment surface for Alloy is the platform monorepo; this repo contains the standalone alignment substrate packages.
Operational map: [`docs/ECOSYSTEM.md`](docs/ECOSYSTEM.md) Β· Provenance contract: [`docs/PROVENANCE.md`](docs/PROVENANCE.md) Β· Investor demo: [`docs/INVESTOR_DEMO.md`](docs/INVESTOR_DEMO.md) Β· Series-A packet: [`docs/SERIES_A_DILIGENCE.md`](docs/SERIES_A_DILIGENCE.md)
---
## On Hugging Face
This repository is mirrored to the [SZLHOLDINGS Hugging Face org](https://huggingface.co/SZLHOLDINGS) as a generated diligence packet:
| Surface | Hugging Face artifact |
|---------|---------------------|
| **Generated diligence mirror** | [a11oy-v19-substrate](https://huggingface.co/SZLHOLDINGS/a11oy-v19-substrate) |
| **Canonical evidence** | GitHub releases, CI, deploy manifests, checksums, provenance docs, and DOI records in this repo |
Hugging Face is not the canonical source of release truth and A11oy is not a
model checkpoint. The mirror is regenerated from tracked source with
`pnpm payload:huggingface`.
## Architecture
```mermaid
flowchart TD
subgraph packages["a11oy Packages"]
POL[packages/policy\nCovenant Policy Engine\nApproval gate enforcement]
MEA[packages/measurement\nSignal scoring + PRISM\nBaseline drift detection]
KNO[packages/knowledge\nKnowledge-graph traversal\nDomain ontology queries]
QEC[packages/qec-integrity\nQuantum-error-correction\nlineage verification]
end
subgraph platform["szl-holdings/platform"]
ALLOY[Alloy Execution Fabric\n7-layer governed pipeline]
end
packages --> ALLOY
POL -->|"approval gate\n(layer 6)"| ALLOY
MEA -->|"signal correlation\n(layers 2–3)"| ALLOY
KNO -->|"explanation context\n(layer 4)"| ALLOY
QEC -->|"proof-chain integrity\n(layer 7)"| ALLOY
```
---
## Packages
| Package | Purpose | Key Types |
|---------|---------|-----------|
| `packages/policy` | Covenant Policy Engine β€” evaluates all actions against governance rules before execution | `CovenantPolicy`, `ApprovalGate`, `PolicyDecision` |
| `packages/measurement` | Signal scoring, PRISM correlation, baseline drift detection | `SignalScore`, `PRISMFrame`, `DriftReport` |
| `packages/knowledge` | Knowledge-graph traversal and domain ontology queries | `KnowledgeGraph`, `OntologyQuery`, `DomainNode` |
| `packages/qec-integrity` | Quantum-error-correction lineage verification (CSS-QEC backed by `lutar-lean`) | `QECLineage`, `IntegrityProof`, `CSSVector` |
| `packages/receipt-substrate` | Operational MCP-style tool-envelope receipts with hash-chain verification and JSONL append flow | `ToolEnvelope`, `OperationalReceipt`, `verifyChain` |
---
## Quick Start
```bash
# Install via npm
npm install @szl-holdings/a11oy-policy
npm install @szl-holdings/a11oy-measurement
# Or with pnpm
pnpm add @szl-holdings/a11oy-policy
# Development (clone + workspace)
git clone https://github.com/szl-holdings/a11oy.git
cd a11oy
pnpm install
pnpm build:doctrine
pnpm test:doctrine
npm run test:policy-gates
```
---
## Operational artifacts
| Artifact | Purpose | Validation |
|----------|---------|------------|
| `packages/receipt-substrate` | MCP/Cursor/Claude-style operational receipts and JSONL chain verification | `npm test --prefix packages/receipt-substrate` |
| `artifacts/a11oy-uds` | UDS/Zarf payload tree with manifest and attestation generation | `A11OY_UDS_ALLOW_SOURCE_FALLBACK=1 bash artifacts/a11oy-uds/scripts/build.sh` |
The UDS build preserves release-grade behavior when `tsc`, `zarf`, `zstd`, and
`cosign` are installed. In minimal cloud environments, explicit source fallback
emits a non-Zarf deterministic tar plus manifest and attestation checks so the
operator flow remains testable without pretending to produce a deployable Zarf
package.
---
## How It Works
Every action in the SZL platform must pass through the policy engine before execution:
1. **Signal ingress** β€” `measurement` scores incoming events against PRISM baselines
2. **Knowledge context** β€” `knowledge` retrieves relevant domain ontology for explanation
3. **Policy evaluation** β€” `policy` checks the action against Covenant Policy rules
4. **Approval gate** β€” if policy requires human approval, `policy` creates an `ApprovalGate`
5. **Execution unlock** β€” only after gate resolution does the action proceed
6. **Operational receipts** β€” `receipt-substrate` emits and verifies tool-call receipts for MCP/Cursor/Claude-style operations
7. **QEC verification** β€” `qec-integrity` verifies proof-chain cryptographic lineage
The Ξ›-invariant (lambda axis) constrains the policy evaluation: no recommendation with confidence below the configured threshold proceeds to the approval gate without escalation.
---
## Security and Governance
- OpenSSF Scorecard: **7.0** (as of 2026-05-28) β€” see [scorecard report](https://securityscorecards.dev/viewer/?uri=github.com/szl-holdings/a11oy)
- CodeQL security scanning on every push to main
- All packages are consumed exclusively via the platform governance layer; no direct external API surface
- QEC-integrity lineage is tied to the public [`szl-holdings/lutar-lean`](https://github.com/szl-holdings/lutar-lean) proof substrate; public proof claims must cite exact modules and current proof status per [`docs/PROVENANCE.md`](docs/PROVENANCE.md)
---
## How to Cite
```bibtex
@software{szl_holdings_a11oy_2026,
title = {a11oy β€” Governed Agentic Execution Fabric},
author = {{SZL Holdings}},
year = {2026},
doi = {10.5281/zenodo.20434276},
url = {https://github.com/szl-holdings/a11oy}
}
```
[![DOI](https://img.shields.io/badge/DOI-10.5281%2Fzenodo.20434276-805AD5?style=flat-square&logo=doi&logoColor=white)](https://doi.org/10.5281/zenodo.20434276)
[![ORCID](https://img.shields.io/badge/ORCID-0009--0001--0110--4173-A6CE39?style=flat-square&logo=orcid&logoColor=white)](https://orcid.org/0009-0001-0110-4173)
---
## Contributing
See [CONTRIBUTING.md](CONTRIBUTING.md) for the engineering workflow. Operational receipt-chain usage is documented in [`docs/operational-receipt-substrate.md`](docs/operational-receipt-substrate.md). All contributions require CI green on all required checks and one reviewer approval. Doctrine v6 tone required in PR descriptions.
Related: [`szl-holdings/platform`](https://github.com/szl-holdings/platform) Β· [`szl-holdings/sentra`](https://github.com/szl-holdings/sentra) Β· [`szl-holdings/rosie`](https://github.com/szl-holdings/rosie) Β· [`szl-holdings/lutar-lean`](https://github.com/szl-holdings/lutar-lean)
---
## License
BSL-1.1 β€” See [LICENSE](./LICENSE) for terms. Copyright (c) 2024-2026 SZL Holdings.
---
## Related repositories in the SZL substrate
The SZL Holdings org repos are organized in
[`docs/org-repo-map.md`](docs/org-repo-map.md). Use
`bash scripts/clone-org-repos.sh` to discover and clone sibling checkouts under
ignored `.repos/szl-holdings/`.
- [`a11oy`](https://github.com/szl-holdings/a11oy) β€” vertical alignment substrate (policy Β· measurement Β· knowledge Β· QEC-integrity)
- [`amaru`](https://github.com/szl-holdings/amaru) β€” Shor-encoded receipt minting (Cardano-anchored)
- [`rosie`](https://github.com/szl-holdings/rosie) β€” CSS-ingress receipt orchestration
- [`sentra`](https://github.com/szl-holdings/sentra) β€” Kitaev-surface drift detection on audit fibers
- [`uds-mesh`](https://github.com/szl-holdings/uds-mesh) β€” UDS span schemas + governance receipts
- [`lutar-lean`](https://github.com/szl-holdings/lutar-lean) β€” Lean 4 + Mathlib v4.13.0 proof substrate for scoped theorem/module claims
- [`ouroboros`](https://github.com/szl-holdings/ouroboros) β€” bounded-recursion runtime
- [`ouroboros-thesis`](https://github.com/szl-holdings/ouroboros-thesis) β€” DOI-pinned thesis substrate (v3 β†’ v18)
- [`platform`](https://github.com/szl-holdings/platform) β€” composing monorepo (76 packages, 1,220 tests)
- [`szl-brand`](https://github.com/szl-holdings/szl-brand) β€” anatomy + visual doctrine (PDFs hosted in-repo)
- [`szl-cookbook`](https://github.com/szl-holdings/szl-cookbook) β€” governed-AI recipes
- [`agi-forecast`](https://github.com/szl-holdings/agi-forecast) β€” PAC-Bayes + Bekenstein governance-trajectory forecasts
- [`vsp-otel`](https://github.com/szl-holdings/vsp-otel) β€” OpenTelemetry exporter for Ξ›-axis spans
- [`vessels`](https://github.com/szl-holdings/vessels) β€” maritime fleet intelligence
- [`counsel`](https://github.com/szl-holdings/counsel) β€” legal matter command scaffold
- [`terra`](https://github.com/szl-holdings/terra) β€” real estate intelligence scaffold
- [`carlota-jo`](https://github.com/szl-holdings/carlota-jo) β€” private advisory operations scaffold
- [`szl-trust`](https://github.com/szl-holdings/szl-trust) β€” Public Trust Portal artifacts
- [`.github`](https://github.com/szl-holdings/.github) β€” organization profile and community files
Org page: [github.com/szl-holdings](https://github.com/szl-holdings) Β· Doctrine v6 Β· evidence-gated public claims Β· v18.0 DOI [`10.5281/zenodo.20434276`](https://doi.org/10.5281/zenodo.20434276)
---