docs: define network freshness policy #133
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| permissions: | |
| contents: read | |
| env: | |
| PYTHONDONTWRITEBYTECODE: "1" | |
| jobs: | |
| engine: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6.0.2 | |
| - uses: actions/setup-python@v6.2.0 | |
| with: | |
| python-version: "3.12" | |
| cache: pip | |
| - name: Install | |
| working-directory: engine | |
| run: python -m pip install -e ".[dev]" | |
| - name: Lint | |
| working-directory: engine | |
| run: ruff check --no-cache . | |
| - name: Test | |
| working-directory: engine | |
| run: pytest -p no:cacheprovider | |
| docs: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6.0.2 | |
| - name: Check required launch docs | |
| run: | | |
| test -f README.md | |
| test -f AGENTS.md | |
| test -f .claude/commands/README.md | |
| test -f .claude/commands/paper-backtest.md | |
| test -f .claude/commands/verify-schema.md | |
| test -f .claude/commands/proof-pack.md | |
| test -f .claude/commands/mcp-transcript.md | |
| test -f .claude/commands/new-strategy.md | |
| test -f .github/ISSUE_TEMPLATE/agent_task.yml | |
| test -f .github/ISSUE_TEMPLATE/bug_report.yml | |
| test -f .github/ISSUE_TEMPLATE/design_review.yml | |
| test -f .github/ISSUE_TEMPLATE/docs_gap.yml | |
| test -f .github/ISSUE_TEMPLATE/feature_request.yml | |
| test -f .github/ISSUE_TEMPLATE/safety_review.yml | |
| test -f .github/ISSUE_TEMPLATE/strategy_example.yml | |
| test -f .github/ISSUE_TEMPLATE/config.yml | |
| test -f .github/CODEOWNERS | |
| test -f .github/labels.yml | |
| test -f CONTRIBUTING.md | |
| test -f SECURITY.md | |
| test -f CODE_OF_CONDUCT.md | |
| test -f docs/local-development.md | |
| test -f docs/first-10-minutes.md | |
| test -f docs/demo-terminal.md | |
| test -f docs/proof/README.md | |
| test -f docs/proof/demo/proof-pack.json | |
| test -f docs/proof/demo/paper-decisions.csv | |
| test -f docs/proof/demo/paper-proof.svg | |
| test -f docs/proof/network/network-proof-pack.json | |
| test -f docs/proof/network/profile.json | |
| test -f docs/proof/network/profile-verification.json | |
| test -f docs/proof/network/leaderboard.json | |
| test -f docs/proof/network/identity/identity_bundle.json | |
| test -f docs/cli-quickstart.md | |
| test -f docs/api.md | |
| test -f docs/mcp.md | |
| test -f docs/mcp/transcript.jsonl | |
| test -f docs/api-compatibility.md | |
| test -f docs/runtime-bus.md | |
| test -f docs/strategy-plugins.md | |
| test -f docs/market-data-adapters.md | |
| test -f docs/positioning.md | |
| test -f docs/open-core-boundary.md | |
| test -f docs/zero-network.md | |
| test -f docs/zero-intelligence.md | |
| test -f docs/dependency-policy.md | |
| test -f docs/live-cockpit.md | |
| test -f docs/live-certification.md | |
| test -f docs/hyperliquid-readonly.md | |
| test -f docs/live-evidence.md | |
| test -f docs/live-canary-operator.md | |
| test -f docs/immune-system.md | |
| test -f docs/production-readiness.md | |
| test -f docs/public-upgrade.md | |
| test -f docs/autonomous-os-plan.md | |
| test -f docs/agentic-contribution.md | |
| test -f docs/label-taxonomy.md | |
| test -f docs/release.md | |
| test -f docs/releases/v0.1.1.md | |
| test -f docs/releases/v0.1.1-evidence.md | |
| test -f docs/launch-scorecard.md | |
| test -f docs/launch-issues.md | |
| test -f contracts/paper-api/v2_status.json | |
| test -f contracts/paper-api/execute_accepted.json | |
| test -f contracts/paper-api/execute_rejected.json | |
| test -f contracts/live/evidence.json | |
| test -f contracts/network/profile.json | |
| test -f contracts/network/leaderboard.json | |
| test -f contracts/network/profile.html | |
| test -f contracts/network/leaderboard.html | |
| test -f contracts/network/index.html | |
| test -f contracts/intelligence/snapshot.json | |
| test -f contracts/intelligence/catalog.json | |
| test -f examples/strategy-plugin/README.md | |
| test -f examples/strategy-plugin/plugin.py | |
| test -f examples/strategy-plugin/run.py | |
| test -f examples/strategy-runner/README.md | |
| test -f examples/strategy-runner/close-strength.yaml | |
| test -x examples/strategy-runner/run.py | |
| test -f examples/market-data-adapter/README.md | |
| test -f examples/market-data-adapter/adapter.py | |
| test -f examples/market-data-adapter/run.py | |
| test -f examples/runtime-loop/README.md | |
| test -x examples/runtime-loop/run.py | |
| test -f examples/network-leaderboard/README.md | |
| test -f examples/network-leaderboard/build.py | |
| test -f examples/network-leaderboard/profiles.jsonl | |
| test -f examples/network-profile-page/README.md | |
| test -f examples/network-profile-page/build.py | |
| test -f examples/network-leaderboard-page/README.md | |
| test -f examples/network-leaderboard-page/build.py | |
| test -f examples/network-index-page/README.md | |
| test -f examples/network-index-page/build.py | |
| test -f openapi/zero-paper-api.v1.yaml | |
| test -x scripts/assemble_release_assets.sh | |
| test -x scripts/install.sh | |
| test -x scripts/demo_capture.sh | |
| test -x scripts/issue_template_check.py | |
| test -x scripts/label_taxonomy_check.py | |
| test -x scripts/github_label_sync.py | |
| test -x scripts/github_launch_issues.py | |
| test -x scripts/codeowners_check.py | |
| test -x scripts/stale_artifact_check.sh | |
| test -x scripts/openapi_contract_check.py | |
| test -x scripts/public_readiness_gate.sh | |
| test -x scripts/network_pages_smoke.py | |
| test -x scripts/package_dry_run.sh | |
| test -x scripts/registry_readiness.py | |
| test -x scripts/homebrew_formula.py | |
| test -x scripts/release_provenance.py | |
| test -x scripts/release_verify.py | |
| test -x scripts/release_evidence.py | |
| test -x scripts/proof_pack.py | |
| test -x scripts/network_proof_pack.py | |
| test -x scripts/release_rehearsal.sh | |
| test -x scripts/draft_release_rehearsal.sh | |
| test -x scripts/release_workflow_rehearsal.sh | |
| test -x scripts/railway_start.sh | |
| test -x scripts/railway_doctor.py | |
| test -x scripts/deployment_identity_evidence.py | |
| test -x scripts/network_profile_verify.py | |
| test -x scripts/deployment_evidence.py | |
| test -x scripts/deployment_evidence_verify.py | |
| test -x scripts/deployment_rollback_rehearsal.py | |
| test -x scripts/deployment_evidence.sh | |
| test -x scripts/live_cockpit_drill.py | |
| test -x scripts/live_cockpit_drill_verify.py | |
| test -x scripts/live_cockpit_drill_tamper_rehearsal.py | |
| test -x scripts/fresh_clone_rehearsal.sh | |
| test -x scripts/live_canary_rehearsal.py | |
| test -x scripts/live_canary_verify.py | |
| test -x scripts/live_canary_exchange_evidence.py | |
| test -x scripts/live_canary_operator.py | |
| test -x scripts/live_canary_operator_verify.py | |
| test -x scripts/railway_smoke.sh | |
| test -f railway.toml | |
| test -f docs/railway-deploy.md | |
| test -f .github/RELEASE_TEMPLATE.md | |
| scripts/issue_template_check.py | |
| scripts/label_taxonomy_check.py | |
| scripts/github_label_sync.py --validate-config | |
| scripts/github_launch_issues.py --validate-config | |
| scripts/codeowners_check.py | |
| python3 scripts/openapi_contract_check.py | |
| PYTHONPATH="$PWD/engine/src" python3 -m zero_engine.mcp --smoke | |
| PYTHONPATH="$PWD/engine/src" scripts/mcp_transcript.py --check | |
| PYTHONPATH="$PWD/engine/src" scripts/proof_pack.py --check | |
| PYTHONPATH="$PWD/engine/src" scripts/network_proof_pack.py --check | |
| scripts/public_readiness_gate.sh | |
| registry-readiness: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6.0.2 | |
| - uses: actions/setup-python@v6.2.0 | |
| with: | |
| python-version: "3.12" | |
| cache: pip | |
| - name: Check package registry readiness without publishing | |
| run: scripts/registry_readiness.py | |
| strategy-plugin-example: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6.0.2 | |
| - uses: actions/setup-python@v6.2.0 | |
| with: | |
| python-version: "3.12" | |
| cache: pip | |
| - name: Install engine | |
| working-directory: engine | |
| run: python -m pip install -e ".[dev]" | |
| - name: Run strategy plugin example | |
| run: | | |
| PYTHONPATH="$PWD/engine/src:$PWD/examples/strategy-plugin" \ | |
| python3 examples/strategy-plugin/run.py | |
| strategy-runner-example: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6.0.2 | |
| - uses: actions/setup-python@v6.2.0 | |
| with: | |
| python-version: "3.12" | |
| cache: pip | |
| - name: Install engine | |
| working-directory: engine | |
| run: python -m pip install -e ".[dev]" | |
| - name: Run strategy runner example | |
| run: PYTHONPATH="$PWD/engine/src" python3 examples/strategy-runner/run.py | |
| market-data-adapter-example: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6.0.2 | |
| - uses: actions/setup-python@v6.2.0 | |
| with: | |
| python-version: "3.12" | |
| cache: pip | |
| - name: Install engine | |
| working-directory: engine | |
| run: python -m pip install -e ".[dev]" | |
| - name: Run market data adapter example | |
| run: | | |
| PYTHONPATH="$PWD/engine/src:$PWD/examples/market-data-adapter" \ | |
| python3 examples/market-data-adapter/run.py | |
| runtime-loop-example: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6.0.2 | |
| - uses: actions/setup-python@v6.2.0 | |
| with: | |
| python-version: "3.12" | |
| cache: pip | |
| - name: Install engine | |
| working-directory: engine | |
| run: python -m pip install -e ".[dev]" | |
| - name: Run runtime loop example | |
| run: PYTHONPATH="$PWD/engine/src" python3 examples/runtime-loop/run.py | |
| network-leaderboard-example: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6.0.2 | |
| - uses: actions/setup-python@v6.2.0 | |
| with: | |
| python-version: "3.12" | |
| cache: pip | |
| - name: Install engine | |
| working-directory: engine | |
| run: python -m pip install -e ".[dev]" | |
| - name: Build network leaderboard example | |
| run: PYTHONPATH="$PWD/engine/src" python3 examples/network-leaderboard/build.py | |
| network-profile-page-example: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6.0.2 | |
| - uses: actions/setup-python@v6.2.0 | |
| with: | |
| python-version: "3.12" | |
| cache: pip | |
| - name: Install engine | |
| working-directory: engine | |
| run: python -m pip install -e ".[dev]" | |
| - name: Build network profile page example | |
| run: PYTHONPATH="$PWD/engine/src" python3 examples/network-profile-page/build.py | |
| network-leaderboard-page-example: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6.0.2 | |
| - uses: actions/setup-python@v6.2.0 | |
| with: | |
| python-version: "3.12" | |
| cache: pip | |
| - name: Install engine | |
| working-directory: engine | |
| run: python -m pip install -e ".[dev]" | |
| - name: Build network leaderboard page example | |
| run: PYTHONPATH="$PWD/engine/src" python3 examples/network-leaderboard-page/build.py | |
| network-index-page-example: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6.0.2 | |
| - uses: actions/setup-python@v6.2.0 | |
| with: | |
| python-version: "3.12" | |
| cache: pip | |
| - name: Install engine | |
| working-directory: engine | |
| run: python -m pip install -e ".[dev]" | |
| - name: Build network index page example | |
| run: PYTHONPATH="$PWD/engine/src" python3 examples/network-index-page/build.py | |
| network-pages-smoke: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6.0.2 | |
| - uses: actions/setup-python@v6.2.0 | |
| with: | |
| python-version: "3.12" | |
| - name: Smoke checked network pages | |
| run: scripts/network_pages_smoke.py | |
| cli: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6.0.2 | |
| - name: Rust toolchain | |
| run: rustup show | |
| - name: Format | |
| working-directory: cli | |
| run: cargo fmt --all --check | |
| - name: Clippy | |
| working-directory: cli | |
| run: cargo clippy --workspace --all-targets -- -D warnings | |
| - name: Test | |
| working-directory: cli | |
| run: cargo test --workspace | |
| paper-example: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6.0.2 | |
| - uses: actions/setup-python@v6.2.0 | |
| with: | |
| python-version: "3.12" | |
| cache: pip | |
| - name: Install engine | |
| working-directory: engine | |
| run: python -m pip install -e ".[dev]" | |
| - name: Run paper example | |
| working-directory: examples/paper-trading | |
| run: python run.py | |
| paper-api-smoke: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6.0.2 | |
| - uses: actions/setup-python@v6.2.0 | |
| with: | |
| python-version: "3.12" | |
| cache: pip | |
| - name: Install engine | |
| working-directory: engine | |
| run: python -m pip install -e ".[dev]" | |
| - name: Rust toolchain | |
| run: rustup show | |
| - name: Smoke local paper API through CLI | |
| run: scripts/paper_api_smoke.sh | |
| fresh-clone-rehearsal: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6.0.2 | |
| - uses: actions/setup-python@v6.2.0 | |
| with: | |
| python-version: "3.12" | |
| - name: Rust toolchain | |
| run: rustup show | |
| - name: Rehearse a fresh source checkout | |
| run: scripts/fresh_clone_rehearsal.sh | |
| package-dry-run: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6.0.2 | |
| - uses: actions/setup-python@v6.2.0 | |
| with: | |
| python-version: "3.12" | |
| cache: pip | |
| - name: Install packaging tools | |
| working-directory: engine | |
| run: python -m pip install -e ".[dev]" | |
| - name: Rust toolchain | |
| run: rustup show | |
| - name: Build package artifacts without publishing | |
| run: scripts/package_dry_run.sh | |
| release-rehearsal: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6.0.2 | |
| - name: Rehearse release assembly and verification | |
| run: scripts/release_rehearsal.sh | |
| draft-release-rehearsal: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6.0.2 | |
| - name: Dry-run draft release and Homebrew formula rehearsal | |
| run: scripts/draft_release_rehearsal.sh | |
| railway-smoke: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6.0.2 | |
| - name: Smoke Railway-style paper deployment | |
| run: scripts/railway_smoke.sh | |
| container-smoke: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6.0.2 | |
| - name: Build paper image | |
| run: docker build -t zero-public:ci . | |
| - name: Run paper demo | |
| run: docker run --rm zero-public:ci | |
| - name: Run paper example | |
| run: docker run --rm zero-public:ci python /app/examples/paper-trading/run.py |