# Sovereign Evolution 1 — Baseline

Recorded 2026-10-12 by session cain-studio-platform-46 (with -17; -98 builds `ihvrk/`).
Everything below was observed in this session unless marked otherwise.

## Repository state at the start

| Item | Observed |
|---|---|
| Root | `/root/cain-studio-platform` |
| Branch | `ironclad-prompt8-qualification` (main branch: `main`) |
| HEAD at start | `6cfa3b9e465a35b846311e53503aae509fd457d7` |
| Latest tags | `deploy/20261011T234154Z` … `deploy/20261012T001352Z`, `v42.84.0-aplusplus` |
| Git remote | none (`git remote -v` is empty) |
| Working tree | 150 dirty paths at start (evidence JSON, launchpad, site files) owned by other sessions; untouched by this work |
| Concurrent sessions | 4 Claude sessions on one shared index; every commit here used `git commit -- <paths>` |
| Untracked `ihvrk/` | built today by session -98 (owner of all `ihvrk/` files; this evolution writes nothing there) |
| Environment | Python 3.14.4, z3 5.1.0, cryptography 46.0.5, fastapi 0.118.0, Linux 7.0.0-38-generic |

## Live deployment facts (read-only inspection)

* At the start only the **blue** gateway (`:8088`, pid 1403) was listening; **green `:8098` was not** (stopped 01:48Z; brought back by -17's deploy at 03:46Z).
* Blue's environment sets no `CAIN_HOSTED_PIPELINE_VERSION` and no `CAIN_STRICT_SOVEREIGN_PROOF`, so the hosted MCP server runs pipeline **v27** with strict mode **off**. `SovereignProofActionStage` arrives only in v28+, so it is **not on the live path**.
* The hosted signer pin exists (`/root/.cain/hosted_continuum_ed25519.pem`), so `_pinned_pub_from_env()` returns a key in production.

## Baseline tests (before any change)

| Command | Exit | Passed | Failed | Skipped | Revision |
|---|---|---|---|---|---|
| 16 authorization / Z3 / MCP-proxy / guard suites (list in `s17/findings.json` → `tests[0]`) — run by -17 | 0 | 174 | 0 | 0 | 6cfa3b9e |
| same 16 + `tests/test_*continuum*hosted*.py`, `tests/test_*hosted_pipeline*.py` — run by -46 | 0 | 191 | 0 | 0 | 6cfa3b9e |

Command form used throughout: `python3 -m pytest -q -p no:cacheprovider -o addopts="" <files>`.

### Pre-existing problems found while running the baseline

* **Test pollution of live evidence (D-S46-09).** `tests/test_sovereign_proof_properties.py` and `tests/test_sovereign_differential.py` built `HostedGovernancePipeline` with its default ledger, so **every run appended 12 rows to the live `/root/.cain/hosted_continuum_decisions.jsonl`**. Rows 1133–1144 came from the baseline runs; rows 1145–1150 came from this session's first reproduction script. Rows are never deleted (evidence immutability); the chain still verifies: `DecisionLedger.verify_chain()` → `(True, 1151, [])`, later `(True, 1163, [])`. Fixed in c0b6a64b; later full runs left the ledger at 1163 rows.
* `tests/test_cain_sentinel_guardian.py` reads a live health snapshot that currently reports `DEGRADED`, so 1–2 of its 4 tests fail on both the HEAD worktree and the changed tree. These failures depend on the environment, not the code.
* CI (`.github/workflows/ci.yml`) runs only `tests/clawx_foundation/` and per-service tests. **None of the authorization, MCPGate or sovereign suites run in CI.**
