diff --git a/.github/workflows/docs-dispatch.yml b/.github/workflows/docs-dispatch.yml
index 1b7fc85..cef9ad0 100644
--- a/.github/workflows/docs-dispatch.yml
+++ b/.github/workflows/docs-dispatch.yml
@@ -1,11 +1,11 @@
name: Update the help center
-# The Hub help center (CompositeCode/substratalapps-applications-specs → /help/) is the one documentation reference
+# The Hub help center (CompositeCode/substratal-hub-interface-specs → https://specs.substratalapps.com/help/) is the one documentation reference
# for every Hub app. When this app's code, screen registry or docs change on main, ask the help center to rebuild,
# so its Windows pages, screen pages and "What's new" reflect what shipped. See help/README.md → Automation there.
#
# Needs the secret SPECS_DOCS_TOKEN: a fine-grained token with Contents: read and write on
-# CompositeCode/substratalapps-applications-specs. Without it, this job says so and succeeds.
+# CompositeCode/substratal-hub-interface-specs. Without it, this job says so and succeeds.
on:
push:
branches: [main]
@@ -35,7 +35,7 @@ jobs:
fi
version=$(sed -n 's:.*\(.*\).*:\1:p' Directory.Build.props)
contract=$(grep -m1 -E '^\s+version:' api/openapi.yaml | awk '{print $2}' | tr -d '"')
- gh api repos/CompositeCode/substratalapps-applications-specs/dispatches \
+ gh api repos/CompositeCode/substratal-hub-interface-specs/dispatches \
-f event_type=app-docs-updated \
-F 'client_payload[app]=windows' \
-F "client_payload[sha]=$GITHUB_SHA" \
diff --git a/README.md b/README.md
index b40922a..6aad156 100644
--- a/README.md
+++ b/README.md
@@ -6,8 +6,8 @@ The Windows edition of the **Substratal Hub**, the client for the [Substratal Ap
|---|---|
| Stack | WinUI 3 on the Windows App SDK 2.x, C# / .NET 10, MVVM (CommunityToolkit.Mvvm), MSIX |
| API | `https://api.substratalapps.com` with `Substratal-Version: 1` (see [API versioning](#api-versioning)) |
-| Specs | [Hub application specs](https://compositecode.github.io/substratalapps-applications-specs/platforms/windows.html): `windows/PLATFORM-SPEC.md`, `windows/SCREENS.md`, `shared/*` |
-| Help center | [Substratal Hub help](https://compositecode.github.io/substratalapps-applications-specs/help/), the documentation every Hub app links to |
+| Specs | [Hub interface specifications](https://specs.substratalapps.com/platforms/windows.html): `windows/PLATFORM-SPEC.md`, `windows/SCREENS.md`, `00-shared/*` |
+| Help center | [Substratal Hub help](https://specs.substratalapps.com/help/), the documentation every Hub app links to |
| Plans | [docs/PLAN.md](docs/PLAN.md) (the app) · [docs/API-GAPS.md](docs/API-GAPS.md) (what the API still needs) |
## Status
diff --git a/docs/PLAN.md b/docs/PLAN.md
index eab4402..8c2998f 100644
--- a/docs/PLAN.md
+++ b/docs/PLAN.md
@@ -17,7 +17,7 @@ Three things changed between 2026-10-21 and 2026-10-23. Where this page and the
Sources this plan is built on (read 2026-10-21):
- API spec: (`openapi.yaml` 1.0.0-draft.3, 118 operations) and the API repo (`CompositeCode/substratalapps.com`, branch `main`, including `plan-remaining.md`, `infra/README.md`, and the Go source).
-- UI specs: (`windows/PLATFORM-SPEC.md`, `windows/SCREENS.md`, `00-shared/*`).
+- UI specs: (`windows/PLATFORM-SPEC.md`, `windows/SCREENS.md`, `00-shared/*`).
- Production: `GET https://api.substratalapps.com/health` returns `200 {"status":"ok"}`; JWKS is published.
---
diff --git a/scripts/gen-from-spec.py b/scripts/gen-from-spec.py
index f074fe7..9f750da 100755
--- a/scripts/gen-from-spec.py
+++ b/scripts/gen-from-spec.py
@@ -2,10 +2,12 @@
"""Generate C# from the Hub specs, so the app can't drift from them.
windows/SCREENS.md -> src/Substratal.Hub.Core/Navigation/ScreenCatalog.g.cs (all 75 screens)
- windows/shared/COPY-AND-STATES -> src/Substratal.Hub.Core/Api/ErrorCopy.g.cs (error code -> message)
+ 00-shared/COPY-AND-STATES -> src/Substratal.Hub.Core/Api/ErrorCopy.g.cs (error code -> message)
-Source of truth: CompositeCode/substratalapps-applications-specs. By default the files are read from GitHub (main).
-Set SPECS_DIR to a local checkout of that repository to read them from disk.
+Source of truth: the Hub specs, published at https://specs.substratalapps.com/spec/ (the same paths as specs/ in
+CompositeCode/substratal-hub-interface-specs, which is private). By default the files are read from the published
+site, which needs no token. Set SPECS_URL to read another build of the site, or SPECS_DIR to a local checkout of the
+specs repository to read them from disk.
python3 scripts/gen-from-spec.py
SPECS_DIR=../substratalapps-applications-specs python3 scripts/gen-from-spec.py
@@ -17,7 +19,9 @@
import sys
import urllib.request
-RAW = "https://raw.githubusercontent.com/CompositeCode/substratalapps-applications-specs/main/substratal-application-specs/"
+SPECS_URL = os.environ.get("SPECS_URL", "https://specs.substratalapps.com/spec/").rstrip("/") + "/"
+# The package directory in a checkout of the specs repository: specs/ (substratal-application-specs/ before 2.0.0).
+PACKAGE_DIRS = ("specs", "substratal-application-specs")
CORE = os.path.join(os.path.dirname(__file__), "..", "src", "Substratal.Hub.Core")
SCREENS_OUT = os.path.join(CORE, "Navigation", "ScreenCatalog.g.cs")
COPY_OUT = os.path.join(CORE, "Api", "ErrorCopy.g.cs")
@@ -26,9 +30,12 @@
def load(rel: str) -> str:
specs = os.environ.get("SPECS_DIR")
if specs:
- with open(os.path.join(specs, "substratal-application-specs", *rel.split("/")), encoding="utf-8") as f:
+ package = next((d for d in PACKAGE_DIRS if os.path.isdir(os.path.join(specs, d))), None)
+ if package is None:
+ raise SystemExit(f"SPECS_DIR={specs} has no {' or '.join(d + '/' for d in PACKAGE_DIRS)}")
+ with open(os.path.join(specs, package, *rel.split("/")), encoding="utf-8") as f:
return f.read()
- with urllib.request.urlopen(RAW + rel, timeout=30) as r:
+ with urllib.request.urlopen(SPECS_URL + rel, timeout=30) as r:
return r.read().decode("utf-8")
@@ -69,7 +76,7 @@ def screens() -> str:
lines = [
"// ",
- "// Generated by scripts/gen-screens.py from substratal-application-specs/windows/SCREENS.md.",
+ "// Generated by scripts/gen-from-spec.py from the Hub specs' windows/SCREENS.md.",
"// Don't edit by hand: change the spec, then regenerate.",
"// ",
"#nullable enable",
@@ -89,7 +96,7 @@ def screens() -> str:
def errors() -> str:
- md = load("windows/shared/COPY-AND-STATES.md")
+ md = load("00-shared/COPY-AND-STATES.md")
section = md.split("## Error code → message", 1)[1].split("\n## ", 1)[0]
rows = []
for line in section.splitlines():
@@ -100,7 +107,7 @@ def errors() -> str:
raise SystemExit(f"Only parsed {len(rows)} error codes; COPY-AND-STATES.md format changed?")
lines = [
"// ",
- "// Generated by scripts/gen-from-spec.py from substratal-application-specs/windows/shared/COPY-AND-STATES.md",
+ "// Generated by scripts/gen-from-spec.py from the Hub specs' 00-shared/COPY-AND-STATES.md",
"// (\"Error code → message\"). Don't edit by hand: change the spec, then regenerate.",
"// ",
"#nullable enable",
diff --git a/scripts/gen-msix-assets.mjs b/scripts/gen-msix-assets.mjs
index 4b66aaa..8fef160 100644
--- a/scripts/gen-msix-assets.mjs
+++ b/scripts/gen-msix-assets.mjs
@@ -1,5 +1,5 @@
// Generates the MSIX visual assets (src/Substratal.Hub/Assets/*.png) from the brand SVG masters in
-// substratal-application-specs/windows/brand-assets/svg, following PLATFORM-SPEC §4b:
+// the specs package's windows/brand-assets/svg, following PLATFORM-SPEC §4b:
// - plated tiles use the tint surface #E8E8F7 so they read on light and dark Start;
// - unplated taskbar icons switch palette by theme (altform-unplated = dark taskbar, altform-lightunplated = light);
// - 16–24 px use the small mark.
@@ -11,7 +11,9 @@ import path from 'node:path';
import sharp from 'sharp';
const SPECS = process.env.SPECS_DIR ?? '../substratalapps-applications-specs';
-const SVG = path.join(SPECS, 'substratal-application-specs/windows/brand-assets/svg');
+// The package directory in a checkout of the specs repository: specs/ (substratal-application-specs/ before 2.0.0).
+const PACKAGE = ['specs', 'substratal-application-specs'].find((d) => fs.existsSync(path.join(SPECS, d))) ?? 'specs';
+const SVG = path.join(SPECS, PACKAGE, 'windows/brand-assets/svg');
const OUT = path.join(import.meta.dirname, '../src/Substratal.Hub/Assets');
const TINT = '#E8E8F7';
const svg = (name) => fs.readFileSync(path.join(SVG, `${name}.svg`));
diff --git a/src/Substratal.Hub.Core/Api/ErrorCopy.g.cs b/src/Substratal.Hub.Core/Api/ErrorCopy.g.cs
index 983e956..84a4a16 100644
--- a/src/Substratal.Hub.Core/Api/ErrorCopy.g.cs
+++ b/src/Substratal.Hub.Core/Api/ErrorCopy.g.cs
@@ -1,5 +1,5 @@
//
-// Generated by scripts/gen-from-spec.py from substratal-application-specs/windows/shared/COPY-AND-STATES.md
+// Generated by scripts/gen-from-spec.py from the Hub specs' 00-shared/COPY-AND-STATES.md
// ("Error code → message"). Don't edit by hand: change the spec, then regenerate.
//
#nullable enable
@@ -50,6 +50,22 @@ public static partial class ErrorCopy
["method_not_allowed"] = (405, "Something went wrong on our side. Request ID {id} (client bug: log `details.allowed`)"),
["api_version_required"] = (400, "Something went wrong on our side. Request ID {id} (client bug: the request skipped the version header)"),
["unsupported_api_version"] = (400, "This version of Substratal is no longer supported. Update to keep going. Update (GLB-03 Update required)"),
+ ["application_retired"] = (409, "{app} is retired, so nothing new can be added to it."),
+ ["invalid_review_transition"] = (409, "Only approved or suspended applications can be retired."),
+ ["live_mode_required"] = (403, "Retiring a live application needs a live-mode sign-in."),
+ ["application_not_deletable"] = (409, "Only test-mode applications can be deleted. Retire it instead."),
+ ["application_in_use"] = (409, "This application is still used by {references}. Remove those first."),
+ ["invalid_image"] = (422, "That image can't be used: {reason}. Use a PNG, JPEG or WebP under {max} MB."),
+ ["upload_not_found"] = (404, "That upload expired. Choose the image again."),
+ ["passkey_not_registered"] = (404, "That passkey isn't set up for your account."),
+ ["passkey_already_registered"] = (409, "This passkey is already on your account."),
+ ["passkey_limit_reached"] = (409, "You have 10 passkeys, the most allowed. Remove one first."),
+ ["passkey_not_found"] = (404, "This passkey was already removed."),
+ ["recent_sign_in_required"] = (403, "Sign in again to turn on two-step verification."),
+ ["access_tier_reserved"] = (422, "Standard is only for Substratal's own apps. Choose Free or Invite only."),
+ ["application_not_available"] = (409, "You can change who gets in only while the app is approved or in review."),
+ ["delivery_not_found"] = (404, "This delivery is older than 30 days, or isn't on this webhook."),
+ ["unknown_permission"] = (422, "{key} isn't one of this application's permissions."),
["scim_token_not_found"] = (404, "(not an error: ORG-08 shows the \"Not set up\" state below)"),
["not_implemented"] = (501, "(never shown — the feature is hidden behind its flag)"),
["service_unavailable"] = (503, "Substratal is briefly unavailable. Retrying in {n}s."),
diff --git a/src/Substratal.Hub.Core/Help/HelpLinks.cs b/src/Substratal.Hub.Core/Help/HelpLinks.cs
index ad1a966..0d3f620 100644
--- a/src/Substratal.Hub.Core/Help/HelpLinks.cs
+++ b/src/Substratal.Hub.Core/Help/HelpLinks.cs
@@ -2,12 +2,12 @@ namespace Substratal.Hub.Core.Help;
///
/// Links into the Substratal Hub help center, the one documentation reference every Hub app shares. It's built from
-/// CompositeCode/substratalapps-applications-specs (help/ and site/help.mjs) and rebuilt whenever this
+/// CompositeCode/substratal-hub-interface-specs (help/ and site/help.mjs) and rebuilt whenever this
/// repository merges to main (.github/workflows/docs-dispatch.yml).
///
public static class HelpLinks
{
- public static Uri Root { get; } = new("https://compositecode.github.io/substratalapps-applications-specs/help/");
+ public static Uri Root { get; } = new("https://specs.substratalapps.com/help/");
/// The page behind each screen's ? button: generated per screen, IDs lower-cased.
public static Uri ForScreen(string screenId) => new(Root, $"screens/{screenId.ToLowerInvariant()}.html");
diff --git a/src/Substratal.Hub.Core/Navigation/ScreenCatalog.g.cs b/src/Substratal.Hub.Core/Navigation/ScreenCatalog.g.cs
index 0ebe861..af364f8 100644
--- a/src/Substratal.Hub.Core/Navigation/ScreenCatalog.g.cs
+++ b/src/Substratal.Hub.Core/Navigation/ScreenCatalog.g.cs
@@ -1,5 +1,5 @@
//
-// Generated by scripts/gen-screens.py from substratal-application-specs/windows/SCREENS.md.
+// Generated by scripts/gen-from-spec.py from the Hub specs' windows/SCREENS.md.
// Don't edit by hand: change the spec, then regenerate.
//
#nullable enable
@@ -11,7 +11,7 @@ public static partial class ScreenCatalog
public static readonly IReadOnlyList All =
[
new("AUTH-01", "Sign in", "D1", "Sign-in & Identity", "/sign-in", "auth", "MVP", "Unauthenticated", "Exchange email + password for a session, or start an MFA challenge.", "Full-window page before the shell (no NavigationView)"),
- new("AUTH-02", "Two-factor challenge", "D1", "Sign-in & Identity", "/sign-in/mfa", "auth", "MVP", "Holder of mfa_token", "Complete sign-in with a TOTP code or a recovery code.", "Full-window page before the shell (no NavigationView)"),
+ new("AUTH-02", "Two-factor challenge", "D1", "Sign-in & Identity", "/sign-in/mfa", "auth", "MVP", "Holder of mfa_token", "Complete sign-in with a passkey, a TOTP code or a recovery code.", "Full-window page before the shell (no NavigationView)"),
new("AUTH-03", "Create account", "D1", "Sign-in & Identity", "/sign-up", "auth", "MVP", "Unauthenticated", "Self-service signup with email and password.", "Full-window page before the shell (no NavigationView)"),
new("AUTH-04", "Verify your email", "D1", "Sign-in & Identity", "/verify-email", "auth", "MVP", "Signed in (unverified) or token holder", "Tell the user to check email; complete verification from the emailed link.", "Full-window page before the shell (no NavigationView)"),
new("AUTH-05", "Forgot password", "D1", "Sign-in & Identity", "/forgot-password", "auth", "MVP", "Unauthenticated", "Request a password-reset email.", "Full-window page before the shell (no NavigationView)"),
@@ -21,7 +21,7 @@ public static partial class ScreenCatalog
new("ACC-02", "Change email", "D2", "Account & Security", "/account/email", "form", "MVP", "Self", "Start an email change; the new address must be verified.", "`ContentDialog` (≤ 5 fields) or drill-in page"),
new("ACC-03", "Change password", "D2", "Account & Security", "/account/security/password", "form", "MVP", "Self", "Change password knowing the current one.", "`ContentDialog` (≤ 5 fields) or drill-in page"),
new("ACC-04", "Security", "D2", "Account & Security", "/account/security", "settings", "MVP", "Self", "Password, two-factor and active sessions in one place.", "Page of `SettingsCard`s"),
- new("ACC-05", "Turn on two-factor", "D2", "Account & Security", "/account/security/2fa/enable", "wizard", "MVP", "Self", "Enroll an authenticator app (TOTP) and save recovery codes.", "`ContentDialog` steps or page with `BreadcrumbBar`"),
+ new("ACC-05", "Turn on two-factor", "D2", "Account & Security", "/account/security/2fa/enable", "wizard", "MVP", "Self", "Turn on two-step verification with a passkey (recommended) or an authenticator app (TOTP), and save recovery codes.", "`ContentDialog` steps or page with `BreadcrumbBar`"),
new("ACC-06", "Turn off two-factor", "D2", "Account & Security", "/account/security/2fa/disable", "confirm", "MVP", "Self", "Disable TOTP with a current code or a recovery code.", "`ContentDialog`, DefaultButton = Close"),
new("ACC-07", "Privacy", "D2", "Account & Security", "/account/privacy", "settings", "MVP", "Self", "Export personal data and delete the account.", "Page of `SettingsCard`s"),
new("ACC-08", "Delete account", "D2", "Account & Security", "/account/privacy/delete", "confirm", "MVP", "Self", "Request erasure: deactivate now, erase after 7 days.", "`ContentDialog`, DefaultButton = Close"),
@@ -51,13 +51,13 @@ public static partial class ScreenCatalog
new("ACX-03", "Turn off / edit access", "D7", "Access", "/admin/entitlements/:entId", "confirm", "MVP", "entitlements.manage or app owner", "Confirm turning off access, or edit term/source.", "`ContentDialog`, DefaultButton = Close"),
new("ACX-04", "Access check (Why?)", "D7", "Access", "/admin/users/:userId/apps/:appId/why", "popover", "MVP", "users.list or app owner", "Explain exactly why a person can or can't use an app.", "`TeachingTip` / right pane"),
new("ACX-05", "Access (all)", "D7", "Access", "/admin/access", "table", "MVP", "entitlements.manage or app owner (confined to own apps)", "Every grant across users: audit expirations, trials, revocations.", "Page with table (`ListView` + header grid / DataTable)"),
- new("ROL-01", "Roles", "D8", "Roles & Permissions", "/admin/roles", "list", "MVP", "users.list (read), roles.manage (write)", "Platform and app roles.", "Page with list pane (`ListView`) + detail (list-detail)"),
- new("ROL-02", "Role detail", "D8", "Roles & Permissions", "/admin/roles/:roleId", "detail", "MVP", "users.list (read), roles.manage (write)", "View or edit a role's permissions.", "Detail pane / drill-in page; `SelectorBar` tabs; CommandBar actions"),
+ new("ROL-01", "Roles", "D8", "Roles & Permissions", "/admin/roles", "list", "MVP", "users.list (read), roles.manage (write); an Application's owner reads and edits that Application's roles without a platform permission", "Platform and app roles.", "Page with list pane (`ListView`) + detail (list-detail)"),
+ new("ROL-02", "Role detail", "D8", "Roles & Permissions", "/admin/roles/:roleId", "detail", "MVP", "users.list (read), roles.manage (write); an Application's owner, for that Application's roles", "View or edit a role's permissions.", "Detail pane / drill-in page; `SelectorBar` tabs; CommandBar actions"),
new("ROL-03", "New role", "D8", "Roles & Permissions", "/admin/roles/new", "form", "MVP", "roles.manage", "Define a custom role.", "`ContentDialog` (≤ 5 fields) or drill-in page"),
new("ROL-04", "User — Roles", "D8", "Roles & Permissions", "/admin/users/:userId/roles", "tab", "MVP", "users.list (read), roles.manage (write)", "Assign and remove roles for a user.", "`SelectorBar` item content"),
- new("APL-01", "Applications", "D9", "Applications", "/dev/apps", "list", "MVP", "Any (catalog), owner/applications.manage (manage)", "Applications you own or administer.", "Page with list pane (`ListView`) + detail (list-detail)"),
+ new("APL-01", "Applications", "D9", "Applications", "/dev/apps", "list", "MVP", "Any (catalog), owner/applications.manage (manage)", "Applications you own or administer, and (staff) the review queue.", "Page with list pane (`ListView`) + detail (list-detail)"),
new("APL-02", "Register application", "D9", "Applications", "/dev/apps/new", "wizard", "MVP", "applications.manage, or anyone with a verified email (self-service)", "Register a new application.", "`ContentDialog` steps or page with `BreadcrumbBar`"),
- new("APL-03", "Application — Overview", "D9", "Applications", "/dev/apps/:appId", "detail", "MVP", "Owner (configure), applications.manage (anything)", "Configure an application.", "Detail pane / drill-in page; `SelectorBar` tabs; CommandBar actions"),
+ new("APL-03", "Application — Overview", "D9", "Applications", "/dev/apps/:appId", "detail", "MVP", "Owner (configure), applications.manage (anything, including retire and delete)", "Configure an application, and (staff) review, retire or delete it.", "Detail pane / drill-in page; `SelectorBar` tabs; CommandBar actions"),
new("APL-04", "Settings schema", "D9", "Applications", "/dev/apps/:appId/schema", "tab", "Phase 2", "Owner / applications.manage", "Declare per-user settings the app stores in Substratal.", "`SelectorBar` item content"),
new("APL-05", "Permissions & roles", "D9", "Applications", "/dev/apps/:appId/roles", "tab", "Phase 2", "Owner / applications.manage", "Declare app permissions, available app roles and the default role.", "`SelectorBar` item content"),
new("APL-06", "Review", "D9", "Applications", "/dev/apps/:appId/review", "form", "Phase 3", "applications.manage", "Staff moderation of an application.", "`ContentDialog` (≤ 5 fields) or drill-in page"),
@@ -66,13 +66,13 @@ public static partial class ScreenCatalog
new("KEY-02", "Create API key", "D10", "Developer Credentials", "/dev/keys/new", "form", "MVP", "api_keys.manage or app owner (app-scoped)", "Create a key with least-privilege permissions.", "`ContentDialog` (≤ 5 fields) or drill-in page"),
new("KEY-03", "Secret reveal", "D10", "Developer Credentials", "(modal)", "secret", "MVP", "Creator", "Show a new API key secret, webhook signing secret, or recovery codes exactly once.", "`ContentDialog`, primary disabled until acknowledged"),
new("KEY-04", "API key detail", "D10", "Developer Credentials", "/dev/keys/:keyId", "detail", "MVP", "api_keys.manage or app owner", "Edit, rotate or revoke a key.", "Detail pane / drill-in page; `SelectorBar` tabs; CommandBar actions"),
- new("WHK-01", "Webhooks", "D10", "Developer Credentials", "/dev/webhooks", "list", "Phase 2", "webhooks.manage or app owner", "Endpoints that receive access-change events.", "Page with list pane (`ListView`) + detail (list-detail)"),
+ new("WHK-01", "Webhooks", "D10", "Developer Credentials", "/dev/webhooks", "list", "Phase 2", "webhooks.manage or app owner", "Endpoints that receive access-change events, and failed deliveries across all of them.", "Page with list pane (`ListView`) + detail (list-detail)"),
new("WHK-02", "Add / edit webhook", "D10", "Developer Credentials", "/dev/webhooks/new", "form", "Phase 2", "webhooks.manage or app owner", "Subscribe a URL to events.", "`ContentDialog` (≤ 5 fields) or drill-in page"),
new("WHK-03", "Webhook — Deliveries", "D10", "Developer Credentials", "/dev/webhooks/:hookId", "detail", "Phase 2", "webhooks.manage or app owner", "Delivery history, testing and secret rotation.", "Detail pane / drill-in page; `SelectorBar` tabs; CommandBar actions"),
new("WHK-04", "Delivery detail", "D10", "Developer Credentials", "/dev/webhooks/:hookId/deliveries/:deliveryId", "popover", "Phase 2", "webhooks.manage or app owner", "One delivery attempt in detail.", "`TeachingTip` / right pane"),
new("BIL-01", "My plan", "D11", "Plan & Billing", "/billing", "settings", "Phase 2", "Self; billing.manage can view any User's (read-only)", "Free or Standard: what covers you, your own subscription, upgrade and manage billing.", "Page of `SettingsCard`s"),
new("BIL-02", "Organization subscription", "D11", "Plan & Billing", "/orgs/:orgId/subscription", "tab", "Phase 2", "org_admin (manage); billing.manage (read + portal)", "An organization's Standard subscription and which members it covers.", "`SelectorBar` item content"),
- new("BIL-03", "Checkout / billing portal", "D11", "Plan & Billing", "/billing/return", "handoff", "Phase 2", "Self (individual); org_admin (org checkout); org_admin or billing.manage (org portal)", "Hand off to Stripe in the browser and confirm the result on return.", "`Launcher.LaunchUriAsync`"),
+ new("BIL-03", "Checkout / billing portal", "D11", "Plan & Billing", "/billing/return", "handoff", "Phase 2", "Self (individual); org_admin (org checkout); org_admin or billing.manage (org portal)", "Hand off to the payment page or billing portal in the browser and confirm the result on return.", "`Launcher.LaunchUriAsync`"),
new("BIL-04", "Tenant & infrastructure", "D11", "Plan & Billing", "/dev/tenant", "detail", "Phase 2", "Tenant owner (read), tenants.manage (write)", "Where an Application owner's data lives, and support-run tier changes. Tenants aren't billed.", "Detail pane / drill-in page; `SelectorBar` tabs; CommandBar actions"),
new("AUD-01", "Audit log", "D12", "Audit Log", "/admin/audit", "table", "MVP", "audit.view", "Who changed what, when.", "Page with table (`ListView` + header grid / DataTable)"),
new("AUD-02", "Audit event", "D12", "Audit Log", "/admin/audit/:eventId", "popover", "MVP", "audit.view", "One event with before/after diff.", "`TeachingTip` / right pane"),
diff --git a/src/Substratal.Hub/Theming/ThemeService.cs b/src/Substratal.Hub/Theming/ThemeService.cs
index 504d3b0..909a588 100644
--- a/src/Substratal.Hub/Theming/ThemeService.cs
+++ b/src/Substratal.Hub/Theming/ThemeService.cs
@@ -1,4 +1,4 @@
-// ThemeService.cs (from substratal-application-specs/windows/theme; local change: Themes() finds the dictionary by Source) — applies Settings.theme + the user's light/dark theme choice (generated ids match shared/themes/themes.json)
+// ThemeService.cs (from the Hub specs' windows/theme; local change: Themes() finds the dictionary by Source) — applies Settings.theme + the user's light/dark theme choice (generated ids match shared/themes/themes.json)
using Microsoft.UI.Xaml;
using Microsoft.UI.Composition.SystemBackdrops;
diff --git a/src/Substratal.Hub/Theming/Themes/Dark/DeepTeal.xaml b/src/Substratal.Hub/Theming/Themes/Dark/DeepTeal.xaml
index e491157..bcdc354 100644
--- a/src/Substratal.Hub/Theming/Themes/Dark/DeepTeal.xaml
+++ b/src/Substratal.Hub/Theming/Themes/Dark/DeepTeal.xaml
@@ -1,4 +1,4 @@
-
+
#55CFC9
#70D9D4
diff --git a/src/Substratal.Hub/Theming/Themes/Dark/EmberClay.xaml b/src/Substratal.Hub/Theming/Themes/Dark/EmberClay.xaml
index b6cc68c..71ef869 100644
--- a/src/Substratal.Hub/Theming/Themes/Dark/EmberClay.xaml
+++ b/src/Substratal.Hub/Theming/Themes/Dark/EmberClay.xaml
@@ -1,4 +1,4 @@
-
+
#FF9A80
#FFAB94
diff --git a/src/Substratal.Hub/Theming/Themes/Dark/ForestFloor.xaml b/src/Substratal.Hub/Theming/Themes/Dark/ForestFloor.xaml
index ff53f4b..c8d5ccf 100644
--- a/src/Substratal.Hub/Theming/Themes/Dark/ForestFloor.xaml
+++ b/src/Substratal.Hub/Theming/Themes/Dark/ForestFloor.xaml
@@ -1,4 +1,4 @@
-
+
#B8E26A
#C6E982
diff --git a/src/Substratal.Hub/Theming/Themes/Dark/GraphiteSpore.xaml b/src/Substratal.Hub/Theming/Themes/Dark/GraphiteSpore.xaml
index fca5452..6fa6c12 100644
--- a/src/Substratal.Hub/Theming/Themes/Dark/GraphiteSpore.xaml
+++ b/src/Substratal.Hub/Theming/Themes/Dark/GraphiteSpore.xaml
@@ -1,4 +1,4 @@
-
+
#FF86AE
#FF9BBC
diff --git a/src/Substratal.Hub/Theming/Themes/Dark/NightSoil.xaml b/src/Substratal.Hub/Theming/Themes/Dark/NightSoil.xaml
index 13c357e..6452bcd 100644
--- a/src/Substratal.Hub/Theming/Themes/Dark/NightSoil.xaml
+++ b/src/Substratal.Hub/Theming/Themes/Dark/NightSoil.xaml
@@ -1,4 +1,4 @@
-
+
#8E8CFF
#A1A0FF
diff --git a/src/Substratal.Hub/Theming/Themes/Light/CoralClay.xaml b/src/Substratal.Hub/Theming/Themes/Light/CoralClay.xaml
index e1bf5fd..e75c53e 100644
--- a/src/Substratal.Hub/Theming/Themes/Light/CoralClay.xaml
+++ b/src/Substratal.Hub/Theming/Themes/Light/CoralClay.xaml
@@ -1,4 +1,4 @@
-
+
#B44529
#C7745E
diff --git a/src/Substratal.Hub/Theming/Themes/Light/IndigoRoot.xaml b/src/Substratal.Hub/Theming/Themes/Light/IndigoRoot.xaml
index aec141a..6878347 100644
--- a/src/Substratal.Hub/Theming/Themes/Light/IndigoRoot.xaml
+++ b/src/Substratal.Hub/Theming/Themes/Light/IndigoRoot.xaml
@@ -1,4 +1,4 @@
-
+
#3D3BB8
#6E6CCA
diff --git a/src/Substratal.Hub/Theming/Themes/Light/MossPaper.xaml b/src/Substratal.Hub/Theming/Themes/Light/MossPaper.xaml
index cdcc3b1..438b9b1 100644
--- a/src/Substratal.Hub/Theming/Themes/Light/MossPaper.xaml
+++ b/src/Substratal.Hub/Theming/Themes/Light/MossPaper.xaml
@@ -1,4 +1,4 @@
-
+
#4A7322
#779659
diff --git a/src/Substratal.Hub/Theming/Themes/Light/SporePink.xaml b/src/Substratal.Hub/Theming/Themes/Light/SporePink.xaml
index fcb66a6..bc3e36f 100644
--- a/src/Substratal.Hub/Theming/Themes/Light/SporePink.xaml
+++ b/src/Substratal.Hub/Theming/Themes/Light/SporePink.xaml
@@ -1,4 +1,4 @@
-
+
#B3285B
#C65E84
diff --git a/src/Substratal.Hub/Theming/Themes/Light/TealLedger.xaml b/src/Substratal.Hub/Theming/Themes/Light/TealLedger.xaml
index 408cb5a..670a8e0 100644
--- a/src/Substratal.Hub/Theming/Themes/Light/TealLedger.xaml
+++ b/src/Substratal.Hub/Theming/Themes/Light/TealLedger.xaml
@@ -1,4 +1,4 @@
-
+
#137C7A
#4E9D9B
diff --git a/src/Substratal.Hub/Views/ScreenPage.xaml.cs b/src/Substratal.Hub/Views/ScreenPage.xaml.cs
index 7cec47c..b909ad8 100644
--- a/src/Substratal.Hub/Views/ScreenPage.xaml.cs
+++ b/src/Substratal.Hub/Views/ScreenPage.xaml.cs
@@ -56,6 +56,6 @@ async void OnSpec(object sender, RoutedEventArgs e)
{
if (Target is null) return;
await Launcher.LaunchUriAsync(new Uri(
- "https://github.com/CompositeCode/substratalapps-applications-specs/blob/main/substratal-application-specs/windows/SCREENS.md"));
+ "https://specs.substratalapps.com/spec/windows/SCREENS.html"));
}
}
diff --git a/tests/Substratal.Hub.Core.Tests/CoreTests.cs b/tests/Substratal.Hub.Core.Tests/CoreTests.cs
index a821d23..5f39501 100644
--- a/tests/Substratal.Hub.Core.Tests/CoreTests.cs
+++ b/tests/Substratal.Hub.Core.Tests/CoreTests.cs
@@ -210,7 +210,7 @@ public void Support_sees_users_access_and_audit_but_not_roles_management_or_keys
[Fact]
public void Help_links_point_at_generated_screen_pages() =>
- Assert.Equal("https://compositecode.github.io/substratalapps-applications-specs/help/screens/usr-01.html", HelpLinks.ForScreen("USR-01").ToString());
+ Assert.Equal("https://specs.substratalapps.com/help/screens/usr-01.html", HelpLinks.ForScreen("USR-01").ToString());
}
public class ErrorCopyTests