catalogue: measure the six ports' floors in clan-lab (ADR 0030) — replace the provisional estimates #1170

Closed
opened 2026-09-02 20:44:55 +00:00 by ben · 7 comments
Owner

Parent

Feature #1073 / spec #1116. Filed from the 2026-09-02 review (Spec axis finding 1).

What to build

All six shipped ports carry "tier-aligned honest estimate … provisional under ADR 0030 pending a clan-lab measurement" floors — the build agents ruled this two-way under ADR 0174 (rulings on the port tickets; Ben has not vetoed, this ticket is the follow-through). Measure each service's real admission floor and steady-state memory in clan-lab and replace the estimates in the catalogue single source: community-archive (Mukurtu — Drupal+MariaDB+Solr under real load), document-archive (Paperless-ngx — with OCR running), newsletters (Listmonk), whakapapa (Gramps Web), video (PeerTube — measured under transcode load, not idle, per #1149's explicit AC), surveys (LimeSurvey).

Acceptance criteria

  • Each of the six catalogue entries carries a measured floor + steady-mem with the measurement method noted (replacing the "provisional" comments)
  • PeerTube's numbers are from transcode load
  • No gate semantics change — numbers only

Blocked by

  • #1168 (deploy-routing — until it lands the six ports render nowhere; corrected per the agent-blocked report 2026-09-02)
  • A human ruling on measurement approach + spend (clan-lab disclaims floor numbers; see the blocker comment) — Ben to rule on this ticket.
## Parent Feature #1073 / spec #1116. Filed from the 2026-09-02 review (Spec axis finding 1). ## What to build All six shipped ports carry "tier-aligned honest estimate … provisional under ADR 0030 pending a clan-lab measurement" floors — the build agents ruled this two-way under ADR 0174 (rulings on the port tickets; Ben has not vetoed, this ticket is the follow-through). Measure each service's real admission floor and steady-state memory in clan-lab and replace the estimates in the catalogue single source: community-archive (Mukurtu — Drupal+MariaDB+Solr under real load), document-archive (Paperless-ngx — with OCR running), newsletters (Listmonk), whakapapa (Gramps Web), video (PeerTube — **measured under transcode load, not idle**, per #1149's explicit AC), surveys (LimeSurvey). ## Acceptance criteria - [ ] Each of the six catalogue entries carries a measured floor + steady-mem with the measurement method noted (replacing the "provisional" comments) - [ ] PeerTube's numbers are from transcode load - [ ] No gate semantics change — numbers only ## Blocked by - #1168 (deploy-routing — until it lands the six ports render nowhere; corrected per the agent-blocked report 2026-09-02) - A human ruling on measurement approach + spend (clan-lab disclaims floor numbers; see the blocker comment) — Ben to rule on this ticket.

Blocked — cannot-proceed (agent-blocked)

Two hard blockers make an honest measurement impossible this run. I will not fabricate numbers into a // measured … comment when nothing was measured (the AC demands "a measured floor + steady-mem with the measurement method noted").

1. The six ports are gated OUT of deploy — there are no "rendered services" to measure

The ticket states "clan-lab measurement can run against the rendered services directly" and "Blocked by: None". Both are contradicted by the code the 2026-09-02 review flagged (and by sibling follow-up #1168):

  • internal/provision/deploy.go:1183 — routedRenderService returns true only for files and docs-editing.
  • internal/provision/deploy.go:1196 — provisionCannotDeploy(service) = renderShippingService(service) && !routedRenderService(service) is therefore true for all six ports (archive, paperless, newsletters, whakapapa, video, surveys).

So today the six ports can deploy only as phantom clan-core instances (a selectable lie under ADR 0100), and P4-S2 gates them out of selection. There is no real render of these services on a fleet to point a measurement at. Making them installable is exactly the work of #1168 (open, ready-for-agent), which #1170 in fact depends on.

2. The sanctioned lab tool cannot produce floor numbers

Even once #1168 lands, clan-lab — the skill this kind of task is meant to use — explicitly disclaims resource numbers (.claude/skills/clan-lab/SKILL.md, "Honesty limits"):

No perf/resource-floor numbers. Nested VMs behind NAT ≠ a 4 GB gateway with its own IP. Functional verdicts only; measure floors on a real droplet.

A real-droplet measurement of six heavy services under load — Mukurtu (Drupal 11 + MariaDB + Solr/Java), Paperless-ngx under OCR, PeerTube under transcode (per #1149's explicit AC), Gramps Web, Listmonk, LimeSurvey — is a multi-service load-measurement spike requiring dedicated sized droplets (some ≥4 GB), real load generation, and non-routine spend. That is beyond a single vertical slice and beyond clan-lab's charter, and it is not the "rendered services … directly" the ticket assumes.

Why human / re-arm

A human must:

  1. Land #1168 first (deploy routing) so the six ports render on a real fleet — then #1170 has something to measure. #1170 should carry depends_on: #1168.
  2. Confirm the measurement approach and authorize the spend: since clan-lab cannot give floor numbers, this needs a dedicated real-droplet harness (or per-service measurement boxes) with load generation, likely re-scoped as its own spike per service rather than one catalogue-edit slice.

The current Floor/SteadyMemBytes values remain the honest tier-aligned estimates, correctly marked "provisional under ADR 0030" — no worse than before, and truthful. Nothing to change in the catalogue until real measurements exist.

## Blocked — cannot-proceed (agent-blocked) Two hard blockers make an honest measurement impossible this run. I will not fabricate numbers into a `// measured …` comment when nothing was measured (the AC demands "a measured floor + steady-mem **with the measurement method noted**"). ### 1. The six ports are gated OUT of deploy — there are no "rendered services" to measure The ticket states *"clan-lab measurement can run against the rendered services directly"* and *"Blocked by: None"*. Both are contradicted by the code the 2026-09-02 review flagged (and by sibling follow-up **#1168**): - `internal/provision/deploy.go:1183` — `routedRenderService` returns true **only** for `files` and `docs-editing`. - `internal/provision/deploy.go:1196` — `provisionCannotDeploy(service) = renderShippingService(service) && !routedRenderService(service)` is therefore **true for all six ports** (archive, paperless, newsletters, whakapapa, video, surveys). So today the six ports can deploy only as phantom clan-core instances (a selectable lie under ADR 0100), and P4-S2 gates them out of selection. **There is no real render of these services on a fleet to point a measurement at.** Making them installable is exactly the work of **#1168** (open, `ready-for-agent`), which #1170 in fact depends on. ### 2. The sanctioned lab tool cannot produce floor numbers Even once #1168 lands, `clan-lab` — the skill this kind of task is meant to use — explicitly disclaims resource numbers (`.claude/skills/clan-lab/SKILL.md`, "Honesty limits"): > **No perf/resource-floor numbers.** Nested VMs behind NAT ≠ a 4 GB gateway with its own IP. Functional verdicts only; **measure floors on a real droplet.** A real-droplet measurement of six heavy services under load — Mukurtu (Drupal 11 + MariaDB + Solr/Java), Paperless-ngx under OCR, PeerTube **under transcode** (per #1149's explicit AC), Gramps Web, Listmonk, LimeSurvey — is a multi-service load-measurement spike requiring dedicated sized droplets (some ≥4 GB), real load generation, and non-routine spend. That is beyond a single vertical slice and beyond clan-lab's charter, and it is not the "rendered services … directly" the ticket assumes. ## Why human / re-arm A human must: 1. **Land #1168 first** (deploy routing) so the six ports render on a real fleet — then #1170 has something to measure. #1170 should carry `depends_on: #1168`. 2. **Confirm the measurement approach and authorize the spend**: since clan-lab cannot give floor numbers, this needs a dedicated real-droplet harness (or per-service measurement boxes) with load generation, likely re-scoped as its own spike per service rather than one catalogue-edit slice. The current `Floor`/`SteadyMemBytes` values remain the honest tier-aligned estimates, correctly marked "provisional under ADR 0030" — no worse than before, and truthful. Nothing to change in the catalogue until real measurements exist.
Author
Owner

Blocker accepted — both points are right, and refusing to mint fake // measured comments was the correct call. Dependency on #1168 now added natively and the body's Blocked by: None corrected. The remaining gate is the human ruling on measurement approach + spend; Ben is being asked now. The ticket stays agent-blocked until that ruling lands here, then re-arms ready-for-agent.

Blocker accepted — both points are right, and refusing to mint fake `// measured` comments was the correct call. Dependency on #1168 now added natively and the body's `Blocked by: None` corrected. The remaining gate is the human ruling on measurement approach + spend; Ben is being asked now. The ticket stays `agent-blocked` until that ruling lands here, then re-arms `ready-for-agent`.
Author
Owner

Ruled by Ben (2026-09-03): standing community + one droplet.

Measurement approach for this ticket, once #1168 lands:

  • Five services (community-archive/Mukurtu, document-archive/Paperless-ngx, newsletters/Listmonk, whakapapa/Gramps Web, surveys/LimeSurvey): deploy on the standing Tairea dev community and sample real steady-state memory there under representative use (fixture load: an OCR batch for Paperless, a seeded Mukurtu collection, a rendered campaign, etc.). Note the sampling method + duration in the catalogue comment per entry.
  • PeerTube only: one dedicated ≥4 GB DO droplet for the transcode-load run (#1149's explicit AC — floors under transcode, not idle). Tear the droplet down after (clan-lab teardown discipline; the DELETE-scoped token per docs).
  • Spend authorised: that one droplet. No per-service droplet harness.

Body's Blocked-by stands satisfied when #1168 closes; re-arming ready-for-agent now so the ticket surfaces the moment the dependency clears.

**Ruled by Ben (2026-09-03): standing community + one droplet.** Measurement approach for this ticket, once #1168 lands: - **Five services** (community-archive/Mukurtu, document-archive/Paperless-ngx, newsletters/Listmonk, whakapapa/Gramps Web, surveys/LimeSurvey): deploy on the **standing Tairea dev community** and sample real steady-state memory there under representative use (fixture load: an OCR batch for Paperless, a seeded Mukurtu collection, a rendered campaign, etc.). Note the sampling method + duration in the catalogue comment per entry. - **PeerTube only**: one dedicated **≥4 GB DO droplet** for the transcode-load run (#1149's explicit AC — floors under transcode, not idle). Tear the droplet down after (clan-lab teardown discipline; the DELETE-scoped token per docs). - Spend authorised: that one droplet. No per-service droplet harness. Body's Blocked-by stands satisfied when #1168 closes; re-arming `ready-for-agent` now so the ticket surfaces the moment the dependency clears.

Blocked — one-way-door (ready-for-human)

Picked this up after your 2026-09-03 re-arm. Before executing the ruling I verified the target infrastructure, and the ruling rests on a premise that isn't there yet — so I asked in Mattermost (thread wxbyooynp7dtzmq7cubms7jt9c); no reply inside the 20-min window, so parking it here for the durable record.

The gap

Your ruling: 5 non-video services on the standing Tairea dev community, PeerTube on one ≥4 GB droplet (spend = that one droplet, no per-service harness).

  1. There is no standing "Tairea dev community" to deploy onto. Tairea / Tairea Anau exists only as a Go test-fixture / example community name (internal/clan/seedcommunity.go:18, internal/provision/deploy.go:720, and the _test.go fakes). The only IDSS droplet in the DO account is idss-gateway-rehearsal-e-bc25 (4 GB, tagged idss-rental, expiring ~2026-09-03 22:48) — the disarmed device-rehearsal loop's standing community (ADR 0208), not a home for six heavy catalogue services (Mukurtu alone floors at 4 GB, and it expires in <24 h). Founding + sizing a fresh community droplet for the 5-service run is non-routine spend beyond the single PeerTube droplet you authorised — a one-way door I can't rule under ADR 0174.

  2. Scope. Standing up Mukurtu (Drupal 11 + MariaDB + Solr), Paperless + OCR, Listmonk, Gramps Web, LimeSurvey and a PeerTube transcode droplet, seeding representative load, and sampling steady-state over a duration is a multi-service load-measurement spike, not one Sandcastle vertical slice (the earlier blocker made this point; you agreed "both points are right").

What re-arms it (one of)

  • (a) Point me at a reachable, suitably-sized standing community (name/IP) I may deploy the 5 services onto, and confirm I may run the fixture load there; or
  • (b) Authorise founding + sizing a dedicated dev-community droplet for the 5-service run (the spend beyond the one PeerTube droplet); and
  • (c) Confirm whether #1170 stays one slice or is re-scoped into per-service measurement child spikes (your per-entry sampling-method note already gestures at this — one spike per service is the honest unit given the per-service load harnesses differ).

Until one of those lands, the Floor/SteadyMemBytes values stay the honest tier-aligned estimates, correctly marked "provisional under ADR 0030". I will not mint // measured … comments for numbers nothing measured — the AC demands the method be noted, and there is nothing to note.

Why human

Non-routine spend (founding/sizing a dev-community droplet) and the choice of which real infrastructure to target — neither is revertible-by-a-test-I-can-run, so both are yours, not mine.

## Blocked — one-way-door (ready-for-human) Picked this up after your 2026-09-03 re-arm. Before executing the ruling I verified the target infrastructure, and the ruling rests on a premise that isn't there yet — so I asked in Mattermost (thread `wxbyooynp7dtzmq7cubms7jt9c`); no reply inside the 20-min window, so parking it here for the durable record. ### The gap Your ruling: 5 non-video services on **the standing Tairea dev community**, PeerTube on **one ≥4 GB droplet** (spend = that one droplet, no per-service harness). 1. **There is no standing "Tairea dev community" to deploy onto.** `Tairea` / `Tairea Anau` exists only as a Go test-fixture / example community name (`internal/clan/seedcommunity.go:18`, `internal/provision/deploy.go:720`, and the `_test.go` fakes). The only IDSS droplet in the DO account is `idss-gateway-rehearsal-e-bc25` (4 GB, tagged `idss-rental`, expiring ~2026-09-03 22:48) — the disarmed device-rehearsal loop's standing community (ADR 0208), not a home for six heavy catalogue services (Mukurtu alone floors at 4 GB, and it expires in <24 h). Founding + sizing a fresh community droplet for the 5-service run is **non-routine spend beyond the single PeerTube droplet you authorised** — a one-way door I can't rule under ADR 0174. 2. **Scope.** Standing up Mukurtu (Drupal 11 + MariaDB + Solr), Paperless + OCR, Listmonk, Gramps Web, LimeSurvey **and** a PeerTube transcode droplet, seeding representative load, and sampling steady-state over a duration is a multi-service load-measurement spike, not one Sandcastle vertical slice (the earlier blocker made this point; you agreed "both points are right"). ### What re-arms it (one of) - **(a)** Point me at a reachable, suitably-sized standing community (name/IP) I may deploy the 5 services onto, and confirm I may run the fixture load there; **or** - **(b)** Authorise founding + sizing a dedicated dev-community droplet for the 5-service run (the spend beyond the one PeerTube droplet); **and** - **(c)** Confirm whether #1170 stays one slice or is re-scoped into per-service measurement child spikes (your per-entry sampling-method note already gestures at this — one spike per service is the honest unit given the per-service load harnesses differ). Until one of those lands, the `Floor`/`SteadyMemBytes` values stay the honest tier-aligned estimates, correctly marked "provisional under ADR 0030". I will not mint `// measured …` comments for numbers nothing measured — the AC demands the method be noted, and there is nothing to note. ## Why human Non-routine spend (founding/sizing a dev-community droplet) and the choice of which real infrastructure to target — neither is revertible-by-a-test-I-can-run, so both are yours, not mine.
Author
Owner

Ruled by Ben (2026-09-03) — re-arm (b)+(c): one dedicated droplet, sequential, one slice.

Your premise-check was right: the standing dev community does not exist (the earlier ruling leaned on a stale memory of it). Corrected authorisation:

  • Found ONE dedicated 8 GB dev-community droplet for the five non-video services, measured sequentially on it — deploy one service → seed its representative fixture load → sample steady-state over a stated duration → record method → remove it → next. No six-service co-residency; Mukurtu gets the droplet to itself during its window.
  • PeerTube: the separately-authorised ≥4 GB transcode droplet stands.
  • Teardown discipline: both droplets destroyed when the last measurement lands (clan-lab teardown rules; the DELETE-scoped token per docs).
  • Scope (c): #1170 stays ONE slice, sequential — no child spikes. If any single service's measurement proves impossible in that shape, park just that entry with the reason and land the rest (partial completion honest, per-entry method notes).
  • Spend authorised = exactly those two droplets for the days the run needs. Nothing else.

Re-arming ready-for-agent.

**Ruled by Ben (2026-09-03) — re-arm (b)+(c): one dedicated droplet, sequential, one slice.** Your premise-check was right: the standing dev community does not exist (the earlier ruling leaned on a stale memory of it). Corrected authorisation: - **Found ONE dedicated 8 GB dev-community droplet** for the five non-video services, measured **sequentially** on it — deploy one service → seed its representative fixture load → sample steady-state over a stated duration → record method → remove it → next. No six-service co-residency; Mukurtu gets the droplet to itself during its window. - **PeerTube**: the separately-authorised ≥4 GB transcode droplet stands. - **Teardown discipline**: both droplets destroyed when the last measurement lands (clan-lab teardown rules; the DELETE-scoped token per docs). - **Scope (c)**: #1170 stays ONE slice, sequential — no child spikes. If any single service's measurement proves impossible in that shape, park just that entry with the reason and land the rest (partial completion honest, per-entry method notes). - Spend authorised = exactly those two droplets for the days the run needs. Nothing else. Re-arming `ready-for-agent`.

swarm-claim host=matou-dev-server-01 run=16678
(automated multi-host claim — lowest live claim id works this ticket)

swarm-claim host=matou-dev-server-01 run=16678 (automated multi-host claim — lowest live claim id works this ticket)

close-report for #1170 — status success

✅ close-report gates passed — every claim verified against main; issue closed.

envelope
{
  "issue": 1170,
  "status": "success",
  "commits": [
    "dace9839e41caf3ac4885ca2828fec8e0e9ae519"
  ],
  "changed_files": [
    "STATUS.md",
    "internal/catalogue/catalogue.go"
  ],
  "tests": [
    {
      "command": "nix develop .#go-ci --command go build ./...",
      "exit_code": 0
    },
    {
      "command": "nix develop .#go-ci --command go test ./...",
      "exit_code": 0
    }
  ],
  "criteria": {
    "Each of the six catalogue entries carries a measured floor + steady-mem with the measurement method noted (replacing the provisional comments)": "5 of 6 measured on a real 8GB DO droplet and rewritten in internal/catalogue/catalogue.go (surveys ~147MiB, newsletters ~84MiB, video ~518 idle/~1332 transcode, whakapapa ~1572, document-archive ~753/~1038 OCR — each SteadyMemBytes updated + method-noted comment); archive/Mukurtu PARKED with the reason (pinned image ghcr.io/mukurtucms/mukurtu-cms:v4.0.0 does not exist — port undeployable), which Ben's ruling on the issue (2026-09-03) explicitly authorises as honest partial completion",
    "PeerTube's numbers are from transcode load": "video entry: measured on a ≥4GB droplet with 3×1080p uploads transcoding (24 transcode-finish jobs), ~1332 MiB peak UNDER TRANSCODE recorded (not idle) — SteadyMemBytes 1536→1344; comment cites #1149's transcode-not-idle AC",
    "No gate semantics change — numbers only": "every Floor unchanged in catalogue.go (only SteadyMemBytes literals + comments edited); go test ./... green including internal/provision and internal/rescue which consume Floor/SteadyMemBytes"
  },
  "summary": "Measured five of the six catalogue ports' steady floors on a real DO droplet (PeerTube under transcode), replaced the provisional ADR 0030 estimates with measured values + method notes, kept all Floors, parked Mukurtu as undeployable (non-existent image) per Ben's ruling, and filed deploy-blocker findings as #1175.",
  "reason": "",
  "blockers": [],
  "no_code_change": ""
}
**close-report** for #1170 — status `success` :white_check_mark: **close-report gates passed** — every claim verified against main; issue closed. <details><summary>envelope</summary> ```json { "issue": 1170, "status": "success", "commits": [ "dace9839e41caf3ac4885ca2828fec8e0e9ae519" ], "changed_files": [ "STATUS.md", "internal/catalogue/catalogue.go" ], "tests": [ { "command": "nix develop .#go-ci --command go build ./...", "exit_code": 0 }, { "command": "nix develop .#go-ci --command go test ./...", "exit_code": 0 } ], "criteria": { "Each of the six catalogue entries carries a measured floor + steady-mem with the measurement method noted (replacing the provisional comments)": "5 of 6 measured on a real 8GB DO droplet and rewritten in internal/catalogue/catalogue.go (surveys ~147MiB, newsletters ~84MiB, video ~518 idle/~1332 transcode, whakapapa ~1572, document-archive ~753/~1038 OCR — each SteadyMemBytes updated + method-noted comment); archive/Mukurtu PARKED with the reason (pinned image ghcr.io/mukurtucms/mukurtu-cms:v4.0.0 does not exist — port undeployable), which Ben's ruling on the issue (2026-09-03) explicitly authorises as honest partial completion", "PeerTube's numbers are from transcode load": "video entry: measured on a ≥4GB droplet with 3×1080p uploads transcoding (24 transcode-finish jobs), ~1332 MiB peak UNDER TRANSCODE recorded (not idle) — SteadyMemBytes 1536→1344; comment cites #1149's transcode-not-idle AC", "No gate semantics change — numbers only": "every Floor unchanged in catalogue.go (only SteadyMemBytes literals + comments edited); go test ./... green including internal/provision and internal/rescue which consume Floor/SteadyMemBytes" }, "summary": "Measured five of the six catalogue ports' steady floors on a real DO droplet (PeerTube under transcode), replaced the provisional ADR 0030 estimates with measured values + method notes, kept all Floors, parked Mukurtu as undeployable (non-existent image) per Ben's ruling, and filed deploy-blocker findings as #1175.", "reason": "", "blockers": [], "no_code_change": "" } ``` </details>
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
Matou/idss#1170
No description provided.