brand-reach: derived brand-adoption line: capability set → catalogue API → P4-S2b card, both tiers #1256

Closed
opened 2026-09-06 05:35:49 +00:00 by ben · 13 comments
Owner

Parent

Spec #1253 (brand-reach arc, DDR 0225 + DDR 0220 amendments).

What to build

An operator browsing the catalogue reads, on every card, a plain-words statement of what the service would carry of the community brand — generated from the surface's registered capability set, so card and engine cannot disagree. Lands end-to-end for the six existing surfaces; every later surface registration puts its words on its card for free.

Acceptance criteria

  • A shared derivation turns a surface's closed capability set into the plain-words line (e.g. "Carries your name, logo & colours"; name-only → "Carries your community's name only"); a Downgraded group is qualified in the line, never dropped or overstated
  • The catalogue read API serves the line for installable entries whose surface is registered (Nextcloud and Mattermost today) and the conditional-mood line ("Would carry …") for candidates carrying a curated assessed-ceiling fact
  • Headless ports (e.g. backup copies) and unassessed entries serve no line — absence is the zero value, not an empty string with meaning
  • P4-S2b renders the line per the amended wireframe on both tile faces; no hand-kept class-label vocabulary anywhere
  • Tests at the brandkit compile seam and the catalogue read-API seam (existing prior art) cover derived, conditional, qualified and absent cases

Blocked by

  • None — can start immediately.
## Parent Spec #1253 (brand-reach arc, DDR 0225 + DDR 0220 amendments). ## What to build An operator browsing the catalogue reads, on every card, a plain-words statement of what the service would carry of the community brand — generated from the surface's registered capability set, so card and engine cannot disagree. Lands end-to-end for the six existing surfaces; every later surface registration puts its words on its card for free. ## Acceptance criteria - [ ] A shared derivation turns a surface's closed capability set into the plain-words line (e.g. "Carries your name, logo & colours"; name-only → "Carries your community's name only"); a Downgraded group is qualified in the line, never dropped or overstated - [ ] The catalogue read API serves the line for installable entries whose surface is registered (Nextcloud and Mattermost today) and the conditional-mood line ("Would carry …") for candidates carrying a curated assessed-ceiling fact - [ ] Headless ports (e.g. backup copies) and unassessed entries serve no line — absence is the zero value, not an empty string with meaning - [ ] P4-S2b renders the line per the amended wireframe on both tile faces; no hand-kept class-label vocabulary anywhere - [ ] Tests at the brandkit compile seam and the catalogue read-API seam (existing prior art) cover derived, conditional, qualified and absent cases ## Blocked by - None — can start immediately.

swarm-claim host=elitebook-distributed-server-03 run=18809
(automated multi-host claim — lowest live claim id works this ticket)

swarm-claim host=elitebook-distributed-server-03 run=18809 (automated multi-host claim — lowest live claim id works this ticket)

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

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

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

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

swarm-claim host=elitebook-distributed-server-03 run=18833
(automated multi-host claim — lowest live claim id works this ticket)

swarm-claim host=elitebook-distributed-server-03 run=18833 (automated multi-host claim — lowest live claim id works this ticket)

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

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

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

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

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

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

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

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

swarm-claim host=elitebook-distributed-server-03 run=18878
(automated multi-host claim — lowest live claim id works this ticket)

swarm-claim host=elitebook-distributed-server-03 run=18878 (automated multi-host claim — lowest live claim id works this ticket)

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

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

swarm-claim host=elitebook-distributed-server-03 run=18892
(automated multi-host claim — lowest live claim id works this ticket)

swarm-claim host=elitebook-distributed-server-03 run=18892 (automated multi-host claim — lowest live claim id works this ticket)

Ruled by agent under ADR 0174 — veto anytime.

Decision: which candidate(s) carry a curated AssessedCeiling so the conditional-mood adoption line ("Would carry …") is exercised end-to-end. No research doc rules candidate theming ceilings (the theming-capability research covers the installable ports only), so the seed candidates ship unassessed → no line, which is the honest zero value.

Ruling: give Coa (the community-app candidate, Mātou's own Community Owned App) an assessed ceiling of the full brand (name, logo.full, logo.favicon, the four colour tokens), so its card reads "Would carry your name, logo & colours". Every other candidate stays unassessed (no line).

Why two-way: Coa is the community's OWN branded software — it embodies the full brand by its nature, so the ceiling is a self-evident curated fact, not an external theming-capability finding. It is display-only data, revertible by a later commit, and proven by the catalogue-read seam test TestCatalogueRead_BrandAdoptionLineDerivesFromTheSurface. Not on the one-way-door list (no credential / security-posture / member-trust / data-destruction / spend).

Ruled by agent under ADR 0174 — veto anytime. **Decision:** which candidate(s) carry a curated `AssessedCeiling` so the conditional-mood adoption line ("Would carry …") is exercised end-to-end. No research doc rules candidate theming ceilings (the theming-capability research covers the installable ports only), so the seed candidates ship unassessed → no line, which is the honest zero value. **Ruling:** give **Coa** (the `community-app` candidate, Mātou's own Community Owned App) an assessed ceiling of the full brand (name, logo.full, logo.favicon, the four colour tokens), so its card reads **"Would carry your name, logo & colours"**. Every other candidate stays unassessed (no line). **Why two-way:** Coa is the community's OWN branded software — it embodies the full brand by its nature, so the ceiling is a self-evident curated fact, not an external theming-capability finding. It is display-only data, revertible by a later commit, and proven by the catalogue-read seam test `TestCatalogueRead_BrandAdoptionLineDerivesFromTheSurface`. Not on the one-way-door list (no credential / security-posture / member-trust / data-destruction / spend).

close-report for #1256 — status success

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

envelope
{
  "issue": 1256,
  "status": "success",
  "commits": [
    "b6a3193937e14d75ba89b70cb46af587b5cec60a"
  ],
  "changed_files": [
    "STATUS.md",
    "dashboard/src/components/provisioning/SelectRoleServicesScreen.vue",
    "dashboard/src/lib/catalogue.ts",
    "dashboard/tests/unit/browseCatalogue.test.ts",
    "docs/ux/wireframes/p4-provisioning/p4-s2b-browse-catalogue.html",
    "internal/brandkit/adoption.go",
    "internal/brandkit/adoption_test.go",
    "internal/catalogue/catalogue.go",
    "internal/controlapi/catalogue.go",
    "internal/controlapi/catalogue_read_integration_test.go"
  ],
  "tests": [
    {
      "command": "go test ./internal/brandkit/ ./internal/catalogue/ ./internal/controlapi/",
      "exit_code": 0
    },
    {
      "command": "go test ./internal/clan/ ./internal/provision/ ./internal/servicerequest/",
      "exit_code": 0
    },
    {
      "command": "node node_modules/vue-tsc/bin/vue-tsc.js -p tsconfig.json --noEmit",
      "exit_code": 0
    },
    {
      "command": "node node_modules/vitest/vitest.mjs run",
      "exit_code": 0
    },
    {
      "command": "node node_modules/eslint/bin/eslint.js (changed dashboard files)",
      "exit_code": 0
    }
  ],
  "criteria": {
    "A shared derivation turns a surface's closed capability set into the plain-words line; a Downgraded group is qualified, never dropped or overstated": "internal/brandkit/adoption.go AdoptionLine — 'Carries your name, logo & colours'; name-only → 'Carries your community's name only'; a Downgraded/accent-only colour group → 'a single accent colour'. Proven by TestAdoptionLine_* and TestRegisteredAdoptions_DeriveFromTheEngine (adoption_test.go).",
    "The catalogue read API serves the line for installable entries whose surface is registered (Nextcloud and Mattermost today) and the conditional-mood line for candidates carrying a curated assessed-ceiling fact": "internal/controlapi/catalogue.go — installableEntry derives BrandLine (MoodCarries) via brandkit.RegisteredAdoptions joined by catalogue.Service.Surface (files→svc:nextcloud, chat→svc:mattermost); candidateEntry derives it (MoodWouldCarry) from catalogue.Candidate.AssessedCeiling (Coa). Proven by TestCatalogueRead_BrandAdoptionLineDerivesFromTheSurface.",
    "Headless ports (e.g. backup copies) and unassessed entries serve no line — absence is the zero value, not an empty string with meaning": "brand_line is json:omitempty and only set when a surface is registered / a ceiling is assessed; backup-copy, code, and unassessed candidates carry no line. Asserted in TestCatalogueRead_BrandAdoptionLineDerivesFromTheSurface and TestAdoptionLine_EmptyCapabilityIsTheZeroValueNotAnEmptyClaim.",
    "P4-S2b renders the line per the amended wireframe on both tile faces; no hand-kept class-label vocabulary anywhere": "dashboard SelectRoleServicesScreen.vue renders data-field='brand-line' verbatim from the read on the shared card anatomy (both tile faces); wireframe p4-s2b gains the brand-line element + footer contract. Vocabulary is derived server-side in brandkit, never a class-label map. Proven by the browseCatalogue 'derived brand-adoption line' tests (both faces).",
    "Tests at the brandkit compile seam and the catalogue read-API seam cover derived, conditional, qualified and absent cases": "brandkit adoption_test.go (derived, name-only, qualified/Downgraded, single-accent, conditional, absent + RegisteredAdoptions) and controlapi catalogue_read_integration_test.go TestCatalogueRead_BrandAdoptionLineDerivesFromTheSurface (derived/qualified/conditional/absent on the wire)."
  },
  "summary": "The catalogue read now serves a per-card brand-adoption line derived from each surface's brandkit capability set, rendered on both P4-S2b tile faces, present/conditional/qualified/absent per tier.",
  "reason": "",
  "blockers": [],
  "no_code_change": ""
}
**close-report** for #1256 — status `success` :white_check_mark: **close-report gates passed** — every claim verified against main; issue closed. <details><summary>envelope</summary> ```json { "issue": 1256, "status": "success", "commits": [ "b6a3193937e14d75ba89b70cb46af587b5cec60a" ], "changed_files": [ "STATUS.md", "dashboard/src/components/provisioning/SelectRoleServicesScreen.vue", "dashboard/src/lib/catalogue.ts", "dashboard/tests/unit/browseCatalogue.test.ts", "docs/ux/wireframes/p4-provisioning/p4-s2b-browse-catalogue.html", "internal/brandkit/adoption.go", "internal/brandkit/adoption_test.go", "internal/catalogue/catalogue.go", "internal/controlapi/catalogue.go", "internal/controlapi/catalogue_read_integration_test.go" ], "tests": [ { "command": "go test ./internal/brandkit/ ./internal/catalogue/ ./internal/controlapi/", "exit_code": 0 }, { "command": "go test ./internal/clan/ ./internal/provision/ ./internal/servicerequest/", "exit_code": 0 }, { "command": "node node_modules/vue-tsc/bin/vue-tsc.js -p tsconfig.json --noEmit", "exit_code": 0 }, { "command": "node node_modules/vitest/vitest.mjs run", "exit_code": 0 }, { "command": "node node_modules/eslint/bin/eslint.js (changed dashboard files)", "exit_code": 0 } ], "criteria": { "A shared derivation turns a surface's closed capability set into the plain-words line; a Downgraded group is qualified, never dropped or overstated": "internal/brandkit/adoption.go AdoptionLine — 'Carries your name, logo & colours'; name-only → 'Carries your community's name only'; a Downgraded/accent-only colour group → 'a single accent colour'. Proven by TestAdoptionLine_* and TestRegisteredAdoptions_DeriveFromTheEngine (adoption_test.go).", "The catalogue read API serves the line for installable entries whose surface is registered (Nextcloud and Mattermost today) and the conditional-mood line for candidates carrying a curated assessed-ceiling fact": "internal/controlapi/catalogue.go — installableEntry derives BrandLine (MoodCarries) via brandkit.RegisteredAdoptions joined by catalogue.Service.Surface (files→svc:nextcloud, chat→svc:mattermost); candidateEntry derives it (MoodWouldCarry) from catalogue.Candidate.AssessedCeiling (Coa). Proven by TestCatalogueRead_BrandAdoptionLineDerivesFromTheSurface.", "Headless ports (e.g. backup copies) and unassessed entries serve no line — absence is the zero value, not an empty string with meaning": "brand_line is json:omitempty and only set when a surface is registered / a ceiling is assessed; backup-copy, code, and unassessed candidates carry no line. Asserted in TestCatalogueRead_BrandAdoptionLineDerivesFromTheSurface and TestAdoptionLine_EmptyCapabilityIsTheZeroValueNotAnEmptyClaim.", "P4-S2b renders the line per the amended wireframe on both tile faces; no hand-kept class-label vocabulary anywhere": "dashboard SelectRoleServicesScreen.vue renders data-field='brand-line' verbatim from the read on the shared card anatomy (both tile faces); wireframe p4-s2b gains the brand-line element + footer contract. Vocabulary is derived server-side in brandkit, never a class-label map. Proven by the browseCatalogue 'derived brand-adoption line' tests (both faces).", "Tests at the brandkit compile seam and the catalogue read-API seam cover derived, conditional, qualified and absent cases": "brandkit adoption_test.go (derived, name-only, qualified/Downgraded, single-accent, conditional, absent + RegisteredAdoptions) and controlapi catalogue_read_integration_test.go TestCatalogueRead_BrandAdoptionLineDerivesFromTheSurface (derived/qualified/conditional/absent on the wire)." }, "summary": "The catalogue read now serves a per-card brand-adoption line derived from each surface's brandkit capability set, rendered on both P4-S2b tile faces, present/conditional/qualified/absent per tier.", "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#1256
No description provided.