diff --git a/public/promptly/support/index.html b/public/promptly/support/index.html index 6eaa52c3..5c4b84de 100644 --- a/public/promptly/support/index.html +++ b/public/promptly/support/index.html @@ -76,7 +76,7 @@

Promptly support is already public and easy to use.

Email route

-

A support address that is ready now.

+

A support address that is ready now.

Promptly support goes directly to Tiny Studio’s public support inbox using an app-specific subject line for cleaner triage across @@ -86,7 +86,7 @@

A support address that is ready now.

Related pages

-

Support, privacy, and contact stay connected.

+

Support, privacy, and contact stay connected.

Promptly’s support page sits alongside the app privacy page, the studio contact page, and the broader Tiny Studio support hub. @@ -95,7 +95,7 @@

Support, privacy, and contact stay connected.

Public role

-

Useful before launch and after it.

+

Useful before launch and after it.

This page is already stable enough for App Store Connect and will remain useful once Promptly is publicly available. diff --git a/scripts/test-active-operator-surfaces.mjs b/scripts/test-active-operator-surfaces.mjs index 099d2dfe..f727d1a5 100644 --- a/scripts/test-active-operator-surfaces.mjs +++ b/scripts/test-active-operator-surfaces.mjs @@ -15,6 +15,10 @@ const LOOM = "https://www.loom.com/share/1234567890abcdef1234567890abcdef" const {equal: eq, deepEqual: deq, notEqual: neq, match: mat, doesNotMatch: dnm, ok} = assert const trackedArtifactDate = readFileSync(join(C, "growth-brain/ops/proof-library.md"), "utf8").match(/^Generated:\s*(\d{4}-\d{2}-\d{2})$/m)?.[1] if (!trackedArtifactDate) throw new Error("Tracked proof library must contain a Generated YYYY-MM-DD date") +const promptlySupport = readFileSync(join(C, "public/promptly/support/index.html"), "utf8") +const promptlySupportHeadings = [...promptlySupport.matchAll(/ Number(match[1])) +ok(promptlySupportHeadings.indexOf(2) > promptlySupportHeadings.indexOf(1), "Promptly support must introduce H2 content after its H1") +ok(!promptlySupportHeadings.slice(promptlySupportHeadings.indexOf(1) + 1).some((level, index, levels) => level === 3 && (index === 0 || levels[index - 1] < 2)), "Promptly support must not skip H2 before content H3 headings") const fixedClockImport = pathToFileURL(sp("lib/test-fixed-clock.mjs")).href const retiredSurfacePattern = /npm run\s+owned:|npm run\s+(?:retention:checkups|client:weekly-loop|value:stress)|client brain|convert a won prospect|filled weekly report|won sprint\(s\) with close package and won note|(?:weekly|full-stack) growth desk|weekly client value loop|every closed deal becomes a client sprint folder|convert the prospect into a client sprint folder/i