CI ran cargo for rago, mint and some relay crates only, without a database,
and no Node suite at all: the live money-path suites (rago pg-tests, mint's
ignored live tests, vend, abacus, turnstile, ledgerline, passport, relay
storage/traces, game-economy) never ran, nor did the console, product
analytics, insights-edge, the SDK packages or the Scribase bridge contract.
- scripts/ci/scratch-postgres.sh starts a throwaway cluster per job from the
runner's initdb (skips cleanly when Postgres is not installed) and exports
DATABASE_URL (plus TURNSTILE_/RELAY_TEST_DATABASE_URL); a stop script
removes it.
- The Rust matrix adds ledgerline, vend, abacus, turnstile, toolgate,
game-economy, agent-runtime, context-passport and relay-storage-postgres /
relay-traces; rago runs with pg-tests; mint runs its live suites.
- A node job runs the console, product analytics test:all, insights-edge, the
SDK packages (borrowing product analytics' pinned SDK install) and the
bridge contract.
- vend's Cargo.lock was stale (mint-payments gained ring), so
'cargo test --locked' failed for vend; refreshed.
Verified locally against a scratch database: vend 136, abacus 95, turnstile
92, toolgate 114, context-passport 58 passed.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
H10: llama-3.1-8b-instant runs GPT-OSS 20B on Groq ($0.075/$0.30 per 1M)
but sold at $0.05/$0.08. It is now priced at cost x 1.25 (93750/375000
micro-USD per 1M). A contract test ties every Groq compatibility alias to
its first leg's built-in cost and fails if any sells below it.
H11 (workflow side): ci.yml lists its pull_request activity types; the
infra-box job guard is deny-by-default for any event the workflows do not
declare.
Denylist 2026-09-29.2 is vendored at policy/copy-denylist.json with a
zero-dependency JavaScript matcher (CLAIMS-RULES section 4) that the
console, CLI and MCP packages share. Tests: version pin, byte-for-byte
match with gtm/policy, the per-rule self-test for every product, and a
failing fixture for each phrase added in .2. A root .gitleaks.toml
allowlists the fake AWS key hit example, as infra-box already does.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
ci.yml runs cargo test --locked for rago, mint and the Relay crates (same-repo
PRs only). ship.yml follows a green ci on main and calls infra-box
ci/ship-railyard.sh (Mac arm64 build, auto-restore); mint ships only from a
dispatch with approve=mint. audit.yml runs gitleaks and cargo audit weekly.
Token is contents: read, checkout pinned by SHA without persisted credentials.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>