szl-holdings/platform

SZL Holdings monorepo — substrate runtime, agentic loops, MCP server (11 tools), reusable workflows, CI gates. Doctrine v11 LOCKED (749/14/163)

0

stars

1,401

commits

TypeScript

primary language

Sep 10, 2026

updated

a-11-oy.com
agentic-ai
audit-trail
compliance
doctrine-v11
dsse
dual-witness
enterprise-ai
formal-verification
governance
governed-ai
human-in-the-loop
monorepo
ouroboros
policy-gates
proof-chain
receipts
runtime
slsa-l1
szl-holdings
Browse cluster: Policy-as-Code and Kubernetes Governance

README

SZL Holdings · Doctrine v11 · Λ = Conjecture 1 (advisory, never "green"/theorem) · canonical a-11-oy.com

GitHub Surface Map

CI
CodeQL
OpenSSF Scorecard
Dependabot
SLSA
Doctrine

This document explains every file and directory under .github/ so contributors and reviewers know what each piece does and when to touch it.


Architecture

flowchart TD
  MONO[platform monorepo\npnpm + TypeScript]:::in --> RUNTIME[Ouroboros runtime]
  MONO --> FORMULAS[Lutar formulas]
  MONO --> ADAPTERS[Dual-witness adapters]
  RUNTIME --> COV{Covenant Policy\nhuman gate}
  COV --> PROOF[Cryptographic proof\nof every outcome]
  LEAN[(lutar-lean 749/14/163)] -.anchors.-> RUNTIME
  classDef in fill:#0B1F3A,color:#fff,stroke:#00D4FF;

See also: product surfaces · API spec. SLSA L1 honest; Doctrine v11.

Quick Reference

PathPurposeChange when
.github/BRANCH_PROTECTION.mdStep-by-step GitHub UI settings for branch protection, merge rules, environments, secrets, and DependabotCI job names change or new environments are added
.github/CODEOWNERSMaps path patterns to required reviewersNew directories added or ownership changes
.github/copilot-instructions.mdCopilot coding-assistant instructions scoped to this repoCoding conventions change
.github/dependabot.ymlAutomated dependency update schedules for npm, pip, docker, and GitHub ActionsNew package ecosystems added or PR-limit policy changes
.github/profile/README.mdPublic GitHub organization profile (visible at github.com/szl-holdings)Platform branding, product names, or links change
.github/PULL_REQUEST_TEMPLATE.mdDefault PR description template with type, affected surfaces, and quality checklistRequired CI checks or quality gates change
.github/RELEASE_TEMPLATE.mdRelease notes template used by the release.yml workflowRelease format changes
.github/ISSUE_TEMPLATE/Structured issue forms (bug, feature, security redirect)New issue categories needed
.github/assets/Images used by .github/profile/README.mdBrand assets updated
.github/instructions/Editor-level AI coding instructions (gitignored from public mirror)Internal tooling only
.github/workflows/All GitHub Actions workflowsCI/CD pipeline changes

Workflows

Core CI (required for every PR)

WorkflowTriggerRequired CheckPurpose
ci.ymlPR + push to mainIndividual checksClean-clone validation on Linux and Windows, lint, and TypeScript typecheck
ci.ymlPR + push to main/masterReadiness Gate (smoke:product-mode)Product-mode API smoke test surfaced separately for fast PR visibility
e2e.ymlPR + push to main/masterE2E GateFull Playwright matrix across all artifact surfaces + axe-core a11y
dependency-review.ymlPR onlydependency-reviewOSS vulnerability scan on changed dependencies
codeql.ymlPR + push + weekly scheduleanalyzeGitHub CodeQL static analysis (JavaScript/TypeScript)

Security

WorkflowTriggerPurpose
security.ymlPR to main + push to main + manual + Mondays 03:00 UTCDependency/SBOM checks, Gitleaks and project-specific secret scans, lockfile integrity, license report, and the fan-in Security Gate (blocking) job

Build & Quality

WorkflowTriggerPurpose
lighthouse.ymlPR + pushLighthouse CI across six web artifacts. Accessibility ≥ 90 and complete matrix execution are enforced by the workflow; performance, best-practices, and SEO scores remain advisory. The aggregate check is not currently listed as required branch protection.
readme-qa.ymlPR + pushValidates README image paths, badge workflow names, and link integrity
verify-source-of-truth.ymlPR + pushChecks canonical doc sources are in sync
audit-full.ymlManual dispatchFull audit suite (mocks, routes, deps, copy, design)
commitlint.ymlPREnforces Conventional Commits format
a11y.ymlPR + pushAxe-core accessibility checks (advisory)
build.ymlPR + pushExplicit per-artifact build validation

Release & Deploy

WorkflowTriggerPurpose
release.ymlPush to mainDetermines semver bump from commit prefixes, creates Git tag, publishes GitHub Release
deploy-staging.ymlPush to mainDeploys to staging environment automatically
deploy-production.ymlPublished releaseDeploys to production environment (requires reviewer approval)
container-publish.ymlPublished releaseBuilds and publishes Docker images
npm-publish.ymlPublished releasePublishes public packages to npm

Operations

WorkflowTriggerPurpose
backup.ymlNightly cronDatabase backup and remote upload (Azure Blob). Failure triggers the backup-upload-stalled runbook in INCIDENT_RESPONSE.md
uptime-monitor.ymlScheduled + manualChecks production endpoints are reachable
prism-counsel-ci.ymlPR + pushCI for the legacy PRISM Counsel domain API routes (retained for backward compat)

Issue Templates

FileTypeNotes
ISSUE_TEMPLATE/bug_report.ymlBug reportStructured form: surface, severity, repro steps, environment
ISSUE_TEMPLATE/feature_request.ymlFeature requestStructured form: problem statement, proposed solution, priority
ISSUE_TEMPLATE/security_report.mdSecurity disclosureRedirects to security@szlholdings.com — do not open public issues for vulnerabilities
ISSUE_TEMPLATE/config.ymlTemplate configDisables blank issues; routes security reports off-Issues to email

Dependency Update Policy

Dependabot is configured in dependabot.yml with the following schedule and limits:

EcosystemDirectoriesSchedulePR LimitGrouping
npmRoot (all pnpm workspaces)Weekly (Mon 09:00 ET)10React, Vite, testing, TypeScript, UI, DB, TanStack
pipworkers/substrate-python, services/substrate-py-workers, services/lyte-metrics-store, scripts/mediaWeekly (Mon 09:00 ET)3 per dirNone (low volume)
dockerartifacts/api-server, artifacts/szl-holdings, artifacts/vessels, artifacts/terra, artifacts/carlota-joWeekly (Mon 09:00 ET)3 per dirNone (low volume)
github-actionsRootWeekly (Mon 09:00 ET)5actions/*, github/*, CI tooling

All Dependabot PRs must pass the same required CI checks as any other PR.

Note — docs/github/packages/maven/pom.xml: This file is a documentation template for future Java/Kotlin consumers of the GitHub Packages registry (its header says "Copy this file to your package directory"). It is not an active production manifest. No Maven Dependabot entry is needed until an actual Java/Kotlin package is added to the repo.


Secret Scanning

Three complementary layers:

  1. GitHub-native scanning and push protection: provider-known patterns are checked by GitHub, including before accepted pushes when push protection matches.
  2. PR-time scan (security.ymlsecret-scan): Gitleaks scans the PR's base-to-head commit range, then the project-specific scanner checks the current tree. A finding fails the Security Gate (blocking) fan-in job.
  3. Default-branch and scheduled scan (security.ymlsecret-scan): pushes to main, manual dispatches, and the Monday 03:00 UTC schedule scan reachable repository history with Gitleaks and check the current tree with the project-specific scanner.

Config lives in .gitleaks.toml. If you need to add an allowlist entry, document the reason inline and keep patterns as narrow as possible.

If a real leaked secret is discovered: do NOT rotate from a PR. File a high-priority follow-up task and add an entry to INCIDENT_RESPONSE.md under the "Suspected secret exposure" runbook.


Branch Protection Summary

See BRANCH_PROTECTION.md for the full GitHub UI configuration checklist. Required status checks for main:

  • CI Gate
  • Readiness Gate (smoke:product-mode)
  • E2E Gate
  • dependency-review
  • analyze

The Lighthouse Gate (accessibility enforced) check is not currently listed as a required branch-protection context. When the workflow runs, only a completed successful matrix passes: accessibility assertions are hard failures and incomplete infrastructure fails closed. Performance, best-practices, and SEO assertions remain advisory warnings.

Contributors

stephenlutar2-hash

1,287 commits

dependabot[bot]

77 commits

Carlota-1

34 commits

replit-agent

3 commits

szl-holdings/platform

SZL Holdings monorepo — substrate runtime, agentic loops, MCP server (11 tools), reusable workflows, CI gates. Doctrine v11 LOCKED (749/14/163)

0

stars

1,401

commits

TypeScript

primary language

Sep 10, 2026

updated

a-11-oy.com
agentic-ai
audit-trail
compliance
doctrine-v11
dsse
dual-witness
enterprise-ai
formal-verification
governance
governed-ai
human-in-the-loop
monorepo
ouroboros
policy-gates
proof-chain
receipts
runtime
slsa-l1
szl-holdings
Browse cluster: Policy-as-Code and Kubernetes Governance

README

SZL Holdings · Doctrine v11 · Λ = Conjecture 1 (advisory, never "green"/theorem) · canonical a-11-oy.com

GitHub Surface Map

CI
CodeQL
OpenSSF Scorecard
Dependabot
SLSA
Doctrine

This document explains every file and directory under .github/ so contributors and reviewers know what each piece does and when to touch it.


Architecture

flowchart TD
  MONO[platform monorepo\npnpm + TypeScript]:::in --> RUNTIME[Ouroboros runtime]
  MONO --> FORMULAS[Lutar formulas]
  MONO --> ADAPTERS[Dual-witness adapters]
  RUNTIME --> COV{Covenant Policy\nhuman gate}
  COV --> PROOF[Cryptographic proof\nof every outcome]
  LEAN[(lutar-lean 749/14/163)] -.anchors.-> RUNTIME
  classDef in fill:#0B1F3A,color:#fff,stroke:#00D4FF;

See also: product surfaces · API spec. SLSA L1 honest; Doctrine v11.

Quick Reference

PathPurposeChange when
.github/BRANCH_PROTECTION.mdStep-by-step GitHub UI settings for branch protection, merge rules, environments, secrets, and DependabotCI job names change or new environments are added
.github/CODEOWNERSMaps path patterns to required reviewersNew directories added or ownership changes
.github/copilot-instructions.mdCopilot coding-assistant instructions scoped to this repoCoding conventions change
.github/dependabot.ymlAutomated dependency update schedules for npm, pip, docker, and GitHub ActionsNew package ecosystems added or PR-limit policy changes
.github/profile/README.mdPublic GitHub organization profile (visible at github.com/szl-holdings)Platform branding, product names, or links change
.github/PULL_REQUEST_TEMPLATE.mdDefault PR description template with type, affected surfaces, and quality checklistRequired CI checks or quality gates change
.github/RELEASE_TEMPLATE.mdRelease notes template used by the release.yml workflowRelease format changes
.github/ISSUE_TEMPLATE/Structured issue forms (bug, feature, security redirect)New issue categories needed
.github/assets/Images used by .github/profile/README.mdBrand assets updated
.github/instructions/Editor-level AI coding instructions (gitignored from public mirror)Internal tooling only
.github/workflows/All GitHub Actions workflowsCI/CD pipeline changes

Workflows

Core CI (required for every PR)

WorkflowTriggerRequired CheckPurpose
ci.ymlPR + push to mainIndividual checksClean-clone validation on Linux and Windows, lint, and TypeScript typecheck
ci.ymlPR + push to main/masterReadiness Gate (smoke:product-mode)Product-mode API smoke test surfaced separately for fast PR visibility
e2e.ymlPR + push to main/masterE2E GateFull Playwright matrix across all artifact surfaces + axe-core a11y
dependency-review.ymlPR onlydependency-reviewOSS vulnerability scan on changed dependencies
codeql.ymlPR + push + weekly scheduleanalyzeGitHub CodeQL static analysis (JavaScript/TypeScript)

Security

WorkflowTriggerPurpose
security.ymlPR to main + push to main + manual + Mondays 03:00 UTCDependency/SBOM checks, Gitleaks and project-specific secret scans, lockfile integrity, license report, and the fan-in Security Gate (blocking) job

Build & Quality

WorkflowTriggerPurpose
lighthouse.ymlPR + pushLighthouse CI across six web artifacts. Accessibility ≥ 90 and complete matrix execution are enforced by the workflow; performance, best-practices, and SEO scores remain advisory. The aggregate check is not currently listed as required branch protection.
readme-qa.ymlPR + pushValidates README image paths, badge workflow names, and link integrity
verify-source-of-truth.ymlPR + pushChecks canonical doc sources are in sync
audit-full.ymlManual dispatchFull audit suite (mocks, routes, deps, copy, design)
commitlint.ymlPREnforces Conventional Commits format
a11y.ymlPR + pushAxe-core accessibility checks (advisory)
build.ymlPR + pushExplicit per-artifact build validation

Release & Deploy

WorkflowTriggerPurpose
release.ymlPush to mainDetermines semver bump from commit prefixes, creates Git tag, publishes GitHub Release
deploy-staging.ymlPush to mainDeploys to staging environment automatically
deploy-production.ymlPublished releaseDeploys to production environment (requires reviewer approval)
container-publish.ymlPublished releaseBuilds and publishes Docker images
npm-publish.ymlPublished releasePublishes public packages to npm

Operations

WorkflowTriggerPurpose
backup.ymlNightly cronDatabase backup and remote upload (Azure Blob). Failure triggers the backup-upload-stalled runbook in INCIDENT_RESPONSE.md
uptime-monitor.ymlScheduled + manualChecks production endpoints are reachable
prism-counsel-ci.ymlPR + pushCI for the legacy PRISM Counsel domain API routes (retained for backward compat)

Issue Templates

FileTypeNotes
ISSUE_TEMPLATE/bug_report.ymlBug reportStructured form: surface, severity, repro steps, environment
ISSUE_TEMPLATE/feature_request.ymlFeature requestStructured form: problem statement, proposed solution, priority
ISSUE_TEMPLATE/security_report.mdSecurity disclosureRedirects to security@szlholdings.com — do not open public issues for vulnerabilities
ISSUE_TEMPLATE/config.ymlTemplate configDisables blank issues; routes security reports off-Issues to email

Dependency Update Policy

Dependabot is configured in dependabot.yml with the following schedule and limits:

EcosystemDirectoriesSchedulePR LimitGrouping
npmRoot (all pnpm workspaces)Weekly (Mon 09:00 ET)10React, Vite, testing, TypeScript, UI, DB, TanStack
pipworkers/substrate-python, services/substrate-py-workers, services/lyte-metrics-store, scripts/mediaWeekly (Mon 09:00 ET)3 per dirNone (low volume)
dockerartifacts/api-server, artifacts/szl-holdings, artifacts/vessels, artifacts/terra, artifacts/carlota-joWeekly (Mon 09:00 ET)3 per dirNone (low volume)
github-actionsRootWeekly (Mon 09:00 ET)5actions/*, github/*, CI tooling

All Dependabot PRs must pass the same required CI checks as any other PR.

Note — docs/github/packages/maven/pom.xml: This file is a documentation template for future Java/Kotlin consumers of the GitHub Packages registry (its header says "Copy this file to your package directory"). It is not an active production manifest. No Maven Dependabot entry is needed until an actual Java/Kotlin package is added to the repo.


Secret Scanning

Three complementary layers:

  1. GitHub-native scanning and push protection: provider-known patterns are checked by GitHub, including before accepted pushes when push protection matches.
  2. PR-time scan (security.ymlsecret-scan): Gitleaks scans the PR's base-to-head commit range, then the project-specific scanner checks the current tree. A finding fails the Security Gate (blocking) fan-in job.
  3. Default-branch and scheduled scan (security.ymlsecret-scan): pushes to main, manual dispatches, and the Monday 03:00 UTC schedule scan reachable repository history with Gitleaks and check the current tree with the project-specific scanner.

Config lives in .gitleaks.toml. If you need to add an allowlist entry, document the reason inline and keep patterns as narrow as possible.

If a real leaked secret is discovered: do NOT rotate from a PR. File a high-priority follow-up task and add an entry to INCIDENT_RESPONSE.md under the "Suspected secret exposure" runbook.


Branch Protection Summary

See BRANCH_PROTECTION.md for the full GitHub UI configuration checklist. Required status checks for main:

  • CI Gate
  • Readiness Gate (smoke:product-mode)
  • E2E Gate
  • dependency-review
  • analyze

The Lighthouse Gate (accessibility enforced) check is not currently listed as a required branch-protection context. When the workflow runs, only a completed successful matrix passes: accessibility assertions are hard failures and incomplete infrastructure fails closed. Performance, best-practices, and SEO assertions remain advisory warnings.

Contributors

stephenlutar2-hash

1,287 commits

dependabot[bot]

77 commits

Carlota-1

34 commits

replit-agent

3 commits

Languages

TypeScript

89.6%

Python

4.7%

JavaScript

3.6%