Skip to content

feat: add production-ready runtime safety baseline - #6

Merged
cvsz merged 6 commits into
mainfrom
feat/production-ready-baseline
Aug 22, 2026
Merged

feat: add production-ready runtime safety baseline#6
cvsz merged 6 commits into
mainfrom
feat/production-ready-baseline

Conversation

@cvsz

@cvsz cvsz commented Aug 22, 2026

Copy link
Copy Markdown
Owner

Summary

Adds the remaining production-readiness foundation contracts across ZLoop without pretending deployment-specific controls are complete:

  • checkpoint restore + legal state transition validation
  • provider-neutral model router with bounded fallback
  • hard token/cost ledger and structured-output validation
  • deny-by-default permission gate
  • verifier registry with fail-closed INCONCLUSIVE behavior
  • evidence fingerprints for repeat/no-progress detection
  • bounded fleet depth/fan-out governor
  • permission-bound command runner with timeout and reduced environment
  • safe GitHub PR boundary with stale-SHA, approval and checks gates
  • audit event schema with tenant binding field
  • metrics/tracing-compatible span primitives
  • secret redaction helper
  • production config example
  • production architecture, readiness and release-gate documentation
  • deterministic tests covering the new safety contracts

Important boundary

The reference command runner is not an OS/container security sandbox. docs/PRODUCTION-READINESS.md explicitly lists the mandatory deployment gates that still must be implemented/configured before enabling remote/high-impact production mutations: PostgreSQL canonical state, durable queue/leases/recovery, real sandbox/resource/network limits, capability-scoped connectors, external approval authority, durable audit sink, OpenTelemetry exporter/dashboards, secrets manager, branch protection, SBOM/provenance/signing, backup/restore drills, and load/chaos testing.

Validation

Expected repository gate:

python -m unittest discover -s src -p 'test_*.py' -v
python -m compileall -q src

Do not treat missing CI records as green; merge only after reviewing actual evidence available from GitHub.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

@cvsz
cvsz merged commit 1bc7395 into main Aug 22, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant