Forge scale harness
Maintainer notes for the secrets-gated live forge smoke and additive scale harness. End users do not need these paths; they are operator verification tooling. Functional private-forge journeys remain separate from throughput measurements.
Harness channels
| Path | Entrypoint | When it runs |
|---|---|---|
| Live forge smoke | verify/scripts/run-g008-live-forge-smoke.sh (compose g008-live-forge-smoke) |
Default-on when token + throwaway repo URL are present; honest SKIP when absent |
| Live scale harness | verify/scripts/run-g008-live-scale.sh (compose g008-live-scale) |
Records operator-local timings when secrets are present; honest no-measurement when absent |
| Local loopback forge | verify/scripts/run-g008-local-forge.sh (compose g008-local-forge) |
Loopback arks serve-http clone/push/fetch wire when GitHub secrets are absent (not a GitHub live PASS) |
Secrets live in GitHub Environment g008-live-forge-smoke-live (or a local operator shell). Workflow YAML cannot invent tokens. Always use a throwaway peer repository and scrub PATs from logs.
Force-off flags: ARKS_G8_LIVE=0 (smoke) and ARKS_G8_SCALE_MEASURE=0 (scale). Offline remote wire verification stays separate. The local loopback forge proves the HTTPS Git wire on a local peer only and never substitutes for a GitHub-hosted live measurement.
Dry-run (not a live PASS)
From the Actions UI, run the g008-live-forge-smoke-forge-scale workflow with dry_run enabled (workflow_dispatch):
- Prints a structural readiness report (
scripts/forge-scale-readiness.sh). - Exercises both harness entrypoints without Environment secrets, producing honest SKIP / no-measurement receipts.
- Does not call a live forge and does not invent latency numbers.
A green dry-run confirms workflow wiring is ready, not that a live forge benchmark or scale SLO passed.
Local structural check (no secrets required):
bash scripts/forge-scale-readiness.sh
Live samples (receipt-only)
- Mint a throwaway HTTPS peer repository and scoped PAT (prefer fine-grained; rotate after attaching receipts).
- Configure Environment
g008-live-forge-smoke-livewithARKS_G8_TOKENandARKS_G8_REPO_URL(GitHub UI → Settings → Environments). Confirm names-only count:gh api repos/modootoday/arks/environments/g008-live-forge-smoke-live/secrets --jq .total_count≥ 2. - Dispatch g008-live-forge-smoke-forge-scale with
dry_run=false(gh workflow run g008-live-forge-smoke-forge-scale.yml -f dry_run=false), or run composeg008-live-forge-smokeandg008-live-scalelocally with the same env vars. Optional fail-closed probe first:bash scripts/g008-live-forge-smoke-live-operator-path.sh. - Keep sole-runner isolation so clean-room timing matrices do not contend on CPU or disk.
- Attach real receipts under
.spec/evidence/only. Empty SKIP, dry-run, or local-forge runs are not live PASS evidence.
Secrets-block disposition
The live forge smoke remains secrets-blocked when Environment g008-live-forge-smoke-live has zero configured secrets (secrets-block receipt, operator-path receipt). The harness itself is ready; live measurement requires operator secrets and committed receipts.
Local-forge wire (when secrets are absent)
When Environment secrets are absent, you can still exercise the loopback HTTPS wire locally:
docker compose -f verify/docker-compose.yml run --rm g008-local-forge
# or: bash verify/scripts/run-g008-local-forge.sh
This emits receipt schema arks-g008-local-forge-wire/v1 with disposition=claimed-wire and github_live_pass=false.
Honesty
- Live forge throughput, Checks, and merge-queue behavior are not product SLOs (see Limits).
- Dry-run or readiness success is not a live forge PASS or a scale latency PASS.
- Local-forge
claimed-wireis not a GitHub-hosted live PASS. - Functional private-forge verification does not imply forge scale capacity.
- Tokens belong in Environment secrets or local shells only, never in the repository tree.