Add an on/off switch for the MAS facility.

MAS-WP-0007 is finished. power.sh scales the MX and statute together
and records the power annotation. apply.sh keeps an off facility off.
The live facility was annotated power=on and was not restarted.

Assistant: grok
Assistant-Session: 01a198fa-fd27-7e41-a0a2-57355c3e4efd
This commit is contained in:
tegwick 2026-11-01 22:46:46 +01:00
parent b108e89af4
commit f18eb0b8df
12 changed files with 344 additions and 36 deletions

View file

@ -58,9 +58,11 @@ delivery stays external.
outside master that issues case ids), a scripted callback stub, a stub
outside master and the flow runner. Email is the only real channel. See
`docs/reuse-surface.md`.
- **Live test environment.** `deploy/railiance/`: the MX for
- **MAS facility.** `deploy/railiance/`: the MX and statute for
`mas.coulomb.social`, with replies through Scaleway TEM capped at 300.
It is temporary; MAS-WP-0007 retires it.
`power.sh` turns the two Deployments on and off. Off keeps the
namespace, evidence volume, credentials, DNS, and LoadBalancer.
MAS-WP-0007.
## Out of Scope
@ -85,23 +87,22 @@ delivery stays external.
- Status: active. The reference experiment (MAS-WP-0002) passed its
decision gate on 2026-10-18; the findings are in
`docs/experiment-review.md`.
- Finished: MAS-WP-0001 to 0006 and 0008 to 0014. That covers the
Postfix profile, the v0.1.1 errata, v0.2 (final), the address composer,
the mode contract v0.1 (final) with authentication, one outbound path
and bundle-only flows, and the second implementation (`impl/js/`, both
specs, both contract sides).
- Open: MAS-WP-0007 (retire the live MX; backlog, kept by decision).
- Finished: MAS-WP-0001 to 0015. That covers the Postfix profile, the
v0.1.1 errata, v0.2 (final), the address composer, the mode contract
v0.1 (final) with authentication, one outbound path and bundle-only
flows, the second implementation (`impl/js/`, both specs, both contract
sides), and the switchable MAS facility.
- v0.2 is final (founder, 2026-10-19, after MAS-WP-0009). Mode contract
v0.1 is final too (founder, 2026-10-19, after MAS-WP-0014: independent
JS email side; MCP-1 to MCP-6).
- P2 is decided: `!MODE` requests a handoff (founder, 2026-10-19; SCP-8,
v0.2 §7.1). The mode contract and its reference implementation are
done (MAS-WP-0010); `mas test` runs the contract corpus.
- The live MX runs image `mas-live:v0.2-480e69a` (redeployed 2026-10-19)
and is kept up by founder decision (MAS-WP-0007 stays in backlog).
The deployment with MAS-WP-0012 (one outbound path) is recorded in
MAS-WP-0007.
- Tests: `.venv/bin/pytest` runs 274 tests, offline apart from loopback
- The MAS facility runs image `mas-live:v0.2-480e69a` (redeployed
2026-10-19). Founder decision 2026-11-01: keep it and power it on or
off (MAS-WP-0007). It was left on. The 300-reply cap, the side-loaded
image, and snakeoil SMTP TLS stay until a later decision.
- Tests: `.venv/bin/pytest` runs 280 tests, offline apart from loopback
fixtures, the Docker probe and Node for `impl/js/`. `mas test` runs
four corpora: parser 64, statute 16, v0.2 statute-aware 33, mode
contract 195. `cd impl/js && node --test` runs 85 more.