P4 service catalogue becomes a store — hybrid S2 tabs, candidate tier, explicit demand signal #1073

Closed
opened 2026-08-31 17:27:07 +00:00 by ben · 6 comments
Owner

Feature: the P4 service catalogue becomes a store

Brainstormed with Ben 2026-08-31; all four forks ruled. This issue is the
feature ticket for the design tier (grill-ux-with-docs → wireframe → DDR →
to-spec).

Ruled shape

Two tiers, one catalogue

  • Installable tier — the existing ported services; the ADR 0062
    three-part port contract (nixosModule + reconciler + HealthCheck) is
    untouched. catalogue.Service grows three display facts (the DDR 0166
    move): Category, Description (one-liner, domain vocabulary), Icon.
  • Candidate tier — a curated data set beside internal/catalogue/:
    slug, name, product + product URL, category, one-liner, icon. No floor,
    no health check, never deployable. Grows by commit, ships through the
    update channel, browsable offline. Seeded by a research pass over
    nixpkgs / awesome-selfhosted (~15–25 realistic candidates).

UI — P4-S2 gains tabs, both wearing app-store dress (ruled: hybrid, not a
standalone shell page)

  • Tab "For this device" (default): the existing picker, cards enriched
    with icon + one-liner, grouped by category. Fit/impact line in the
    device's own numbers, accent-flood selection, and all gating semantics
    stay per ADR 0166 / DDR 0156.
  • Tab "Browse catalogue": the full store — category sections, search,
    installable services marked with where they already run, candidate cards
    with [Request], and a closing "Suggest something else" free-text
    card. Candidates visibly distinct: no fit line, no tick — a Request
    button instead.

Demand signal (ruled: explicit act, never telemetry)

  • Request = deliberate operator act: a confirm step states exactly what is
    sent and to whom, then files a prefilled issue against Matou/idss AND
    emails ben@matou.nz.
  • The request is recorded in community state so every operator sees
    "Requested on " instead of a second button.
  • Open engineering question for the grill: transport — a narrowly
    scoped issues-only token baked into communities vs. mail-first via the
    community's own mail service with a Matou-side listener filing the issue.

Untouched
Deploy path, spec gates, health checks, and the P4 S1→S5x flow edges — S2
gains a tab, not new transitions.

Rejected alternatives (for the record)

  • Raw nixpkgs browser / install-at-your-own-risk candidates — breaks the
    ADR 0062 contract; floors and health checks would be fiction.
  • Standalone shell catalogue page — Ben ruled hybrid tabs inside P4-S2.
  • Aggregate opt-in telemetry for demand — cuts against the sovereignty
    ethos; the send is an explicit operator act.
  • Live-fetched external index for candidates — curated in-repo data plus a
    free-text escape hatch instead.
## Feature: the P4 service catalogue becomes a store Brainstormed with Ben 2026-08-31; all four forks ruled. This issue is the feature ticket for the design tier (grill-ux-with-docs → wireframe → DDR → to-spec). ### Ruled shape **Two tiers, one catalogue** - **Installable tier** — the existing ported services; the ADR 0062 three-part port contract (nixosModule + reconciler + HealthCheck) is untouched. `catalogue.Service` grows three display facts (the DDR 0166 move): `Category`, `Description` (one-liner, domain vocabulary), `Icon`. - **Candidate tier** — a curated data set beside `internal/catalogue/`: slug, name, product + product URL, category, one-liner, icon. No floor, no health check, **never deployable**. Grows by commit, ships through the update channel, browsable offline. Seeded by a research pass over nixpkgs / awesome-selfhosted (~15–25 realistic candidates). **UI — P4-S2 gains tabs, both wearing app-store dress (ruled: hybrid, not a standalone shell page)** - Tab **"For this device"** (default): the existing picker, cards enriched with icon + one-liner, grouped by category. Fit/impact line in the device's own numbers, accent-flood selection, and all gating semantics stay per ADR 0166 / DDR 0156. - Tab **"Browse catalogue"**: the full store — category sections, search, installable services marked with where they already run, candidate cards with **[Request]**, and a closing **"Suggest something else"** free-text card. Candidates visibly distinct: no fit line, no tick — a Request button instead. **Demand signal (ruled: explicit act, never telemetry)** - Request = deliberate operator act: a confirm step states exactly what is sent and to whom, then files a prefilled issue against `Matou/idss` AND emails ben@matou.nz. - The request is recorded in community state so every operator sees "Requested on <date>" instead of a second button. - **Open engineering question for the grill:** transport — a narrowly scoped issues-only token baked into communities vs. mail-first via the community's own mail service with a Matou-side listener filing the issue. **Untouched** Deploy path, spec gates, health checks, and the P4 S1→S5x flow edges — S2 gains a tab, not new transitions. ### Rejected alternatives (for the record) - Raw nixpkgs browser / install-at-your-own-risk candidates — breaks the ADR 0062 contract; floors and health checks would be fiction. - Standalone shell catalogue page — Ben ruled hybrid tabs inside P4-S2. - Aggregate opt-in telemetry for demand — cuts against the sovereignty ethos; the send is an explicit operator act. - Live-fetched external index for candidates — curated in-repo data plus a free-text escape hatch instead.
Author
Owner

Grilled 2026-08-31 (4b7fbfdc) — both gates confirmed. Artifacts: DDR 0220 docs/adr/0220-design-the-catalogue-browses-in-p4.md (two tiers, hybrid S2b tab, tile toggle, request shape, loop closure, out-of-scope lines), ADR 0219 docs/adr/0219-demand-signal-rides-the-broker.md, flow branch in docs/ux/flows/p4-provisioning.mermaid (S2b / S2b-req / S2bx + updates→activity arrival), CONTEXT.md nouns Candidate / Service request + candidate states. Map #7 boundary annotated. Next: /wireframe → /to-spec.

**Grilled 2026-08-31** (`4b7fbfdc`) — both gates confirmed. Artifacts: **DDR 0220** `docs/adr/0220-design-the-catalogue-browses-in-p4.md` (two tiers, hybrid S2b tab, tile toggle, request shape, loop closure, out-of-scope lines), **ADR 0219** `docs/adr/0219-demand-signal-rides-the-broker.md`, flow branch in `docs/ux/flows/p4-provisioning.mermaid` (S2b / S2b-req / S2bx + updates→activity arrival), `CONTEXT.md` nouns **Candidate** / **Service request** + candidate states. Map #7 boundary annotated. Next: `/wireframe` → `/to-spec`.
Author
Owner

Child spec filed: #1116 (labelled no-triage — /to-tickets input). Design tier complete: grill (both gates) → wireframes (3d800e99) → spec. Remaining before tickets: /slice-map over the spec; the candidate seed list is a separate /research pass; the broker-side endpoint is companion work in the broker's codebase.

**Child spec filed:** #1116 (labelled `no-triage` — /to-tickets input). Design tier complete: grill (both gates) → wireframes (`3d800e99`) → spec. Remaining before tickets: /slice-map over the spec; the candidate seed list is a separate /research pass; the broker-side endpoint is companion work in the broker's codebase.
Author
Owner

Research landed + port queue ticketed (65ca9ebc): docs/research/2026-09-01-catalogue-candidate-seed-list.md — 18 candidate seeds, 11 open questions, DDR 0220 taxonomy grew Heritage. Ben promoted seven services to installable; port tickets #1145–#1151 filed ready-for-agent, each blocked by #1119 (Mukurtu #1145 · Paperless-ngx #1146 · Listmonk #1147 · Gramps Web #1148 · PeerTube #1149 · LimeSurvey #1150 · Radicale #1151, Files-gated). Remaining outside this repo: the broker-side request endpoint; open questions in the research doc (Coa LICENSE, iPlaces referent, Āhau upstream conversation).

**Research landed + port queue ticketed** (`65ca9ebc`): `docs/research/2026-09-01-catalogue-candidate-seed-list.md` — 18 candidate seeds, 11 open questions, DDR 0220 taxonomy grew **Heritage**. Ben promoted seven services to installable; port tickets **#1145–#1151** filed `ready-for-agent`, each blocked by #1119 (Mukurtu #1145 · Paperless-ngx #1146 · Listmonk #1147 · Gramps Web #1148 · PeerTube #1149 · LimeSurvey #1150 · Radicale #1151, Files-gated). Remaining outside this repo: the broker-side request endpoint; open questions in the research doc (Coa LICENSE, iPlaces referent, Āhau upstream conversation).
Author
Owner

Eighth port (Ben's ruling 2026-09-02, follow-up): Grist promoted from candidate seed to the port queue → #1166 (ready-for-agent, blocked by #1119). Port queue = #1145–#1151 + #1166; candidate seeds now 17. Grist's OIDC activation-key question (research OQ 10) moves onto the port ticket as its leading decision.

**Eighth port (Ben's ruling 2026-09-02, follow-up):** Grist promoted from candidate seed to the port queue → **#1166** (`ready-for-agent`, blocked by #1119). Port queue = #1145–#1151 + #1166; candidate seeds now 17. Grist's OIDC activation-key question (research OQ 10) moves onto the port ticket as its leading decision.
Author
Owner

Four-axis review of the arc complete (2026-09-02) — Standards / Spec / Design / Failure-path, 16 commits. Machinery T1–T10 verified high-fidelity; worst findings per axis → follow-ups filed: #1168 deploy-routing (ports are gated out of selection — 'installable today' not yet true), #1169 health-check production wiring (registry-level cannot-fail: six real-function checks are dead code on a real gateway), #1170 clan-lab floor measurement (estimates ruled two-way under ADR 0174, veto open), #1171 cleanup (BEM names, test-name sweep, Heritage in CATEGORY_ORDER, four design drifts, check nuances). #1146 reopened for the unbuilt opt-in Nextcloud pairing. Still open from before: #1151 (Radicale), #1166 (Grist).

**Four-axis review of the arc complete (2026-09-02)** — Standards / Spec / Design / Failure-path, 16 commits. Machinery T1–T10 verified high-fidelity; worst findings per axis → follow-ups filed: **#1168** deploy-routing (ports are gated out of selection — 'installable today' not yet true), **#1169** health-check production wiring (registry-level cannot-fail: six real-function checks are dead code on a real gateway), **#1170** clan-lab floor measurement (estimates ruled two-way under ADR 0174, veto open), **#1171** cleanup (BEM names, test-name sweep, Heritage in CATEGORY_ORDER, four design drifts, check nuances). **#1146 reopened** for the unbuilt opt-in Nextcloud pairing. Still open from before: #1151 (Radicale), #1166 (Grist).
Author
Owner

Closed 2026-10-21 (Ben's ruling in the stale sweep): the P4 catalogue-as-store arc is delivered — the four-axis review completed 2026-09-02 and its findings were filed as follow-up tickets; the spec no longer needs to stay open as a living doc.

Closed 2026-10-21 (Ben's ruling in the stale sweep): the P4 catalogue-as-store arc is delivered — the four-axis review completed 2026-09-02 and its findings were filed as follow-up tickets; the spec no longer needs to stay open as a living doc.
ben 2026-10-21 20:48:50 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Matou/idss#1073
No description provided.