Spaces:
Running
Running
AI model line, copy test, plainword.ai links (PR #74)
Browse files- DEPLOY.md +47 -1
- README.md +1 -1
- copy-test.sh +31 -0
- index.html +6 -6
- privacy.html +2 -2
- terms.html +2 -2
DEPLOY.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
| 1 |
-
# Deploying plainword.health
|
| 2 |
|
| 3 |
The site is a Hugging Face Space with the static SDK: `cloudronin/privacynote-site`
|
| 4 |
(public, on the PRO account). The Space keeps its original name; only the domain changes.
|
|
@@ -189,6 +189,52 @@ folder down but has not been checked.
|
|
| 189 |
Whether Formspree can also send it by email (its autoresponse feature, which may need a
|
| 190 |
paid plan) is not checked. Until then, any reply by email is sent by hand.
|
| 191 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 192 |
## What worked
|
| 193 |
|
| 194 |
Fill in once the steps above have been done and checked:
|
|
|
|
| 1 |
+
# Deploying plainword.ai (formerly plainword.health)
|
| 2 |
|
| 3 |
The site is a Hugging Face Space with the static SDK: `cloudronin/privacynote-site`
|
| 4 |
(public, on the PRO account). The Space keeps its original name; only the domain changes.
|
|
|
|
| 189 |
Whether Formspree can also send it by email (its autoresponse feature, which may need a
|
| 190 |
paid plan) is not checked. Until then, any reply by email is sent by hand.
|
| 191 |
|
| 192 |
+
## 6. Moving to plainword.ai
|
| 193 |
+
|
| 194 |
+
Decided 18 Oct: the site moves to plainword.ai, and plainword.health redirects permanently,
|
| 195 |
+
every path. The site lives at **www.plainword.ai**, with the bare domain forwarded, for the
|
| 196 |
+
same reason as section 2. Sections 2 and 3 describe the plainword.health setup this replaces.
|
| 197 |
+
|
| 198 |
+
In this order:
|
| 199 |
+
|
| 200 |
+
1. **Register plainword.ai.** Done 18 Oct at GoDaddy (nameservers ns01/ns02.domaincontrol.com).
|
| 201 |
+
2. **DNS for plainword.ai**, the same steps as 2b and 2c with the new name: in GoDaddy, under
|
| 202 |
+
DNS for `plainword.ai`, add **Type** `CNAME`, **Name** `www`, **Value** `hf.space`. Then
|
| 203 |
+
**Forwarding**, **Domain**: forward to `https://` and `www.plainword.ai`, **Permanent
|
| 204 |
+
(301)**, **Forward only**.
|
| 205 |
+
3. **Mail.** The site keeps vishnu@plainword.health until mail to vishnu@plainword.ai is
|
| 206 |
+
proven: add plainword.ai to Google Workspace, add its MX records, send a test.
|
| 207 |
+
4. **Switch the site.** Done in the pages: canonical, og and twitter URLs, the og image
|
| 208 |
+
URL and the footer say `www.plainword.ai`. The email stays vishnu@plainword.health until
|
| 209 |
+
step 3 passes. Deploy it.
|
| 210 |
+
**Check:** if the Formspree form limits which sites may post to it, add
|
| 211 |
+
`www.plainword.ai` there, then send one test from the new address.
|
| 212 |
+
5. **Hugging Face.** In the Space's settings, set **Custom domain** to `www.plainword.ai`.
|
| 213 |
+
From then on the Space no longer serves www.plainword.health, so do step 6 at the same
|
| 214 |
+
time.
|
| 215 |
+
6. **Redirect plainword.health, every path.** GoDaddy forwarding cannot do this: it drops
|
| 216 |
+
the path (on 18 Oct, `http://plainword.health/privacy` answered 404). Move the DNS for
|
| 217 |
+
plainword.health to Cloudflare (free plan). Copy every record first, the mail (MX)
|
| 218 |
+
records above all. Then add one Redirect Rule:
|
| 219 |
+
- when the hostname is `plainword.health` or `www.plainword.health`,
|
| 220 |
+
- redirect to `concat("https://www.plainword.ai", http.request.uri.path)`,
|
| 221 |
+
- status 301, keep the query string.
|
| 222 |
+
|
| 223 |
+
Cloudflare answers the redirect itself, so both hostnames need a proxied DNS record
|
| 224 |
+
(the orange cloud). **Check first** against Cloudflare's current docs for redirect
|
| 225 |
+
rules; this step has not been tried.
|
| 226 |
+
7. **privacynote.health.** Point its forwards (section 3) at `https://www.plainword.ai`, or
|
| 227 |
+
add it to the same Cloudflare rule.
|
| 228 |
+
8. **Check.** Each of these should answer 301 and land on the same path at
|
| 229 |
+
www.plainword.ai:
|
| 230 |
+
|
| 231 |
+
```bash
|
| 232 |
+
for u in https://plainword.health/privacy https://www.plainword.health/terms \
|
| 233 |
+
http://plainword.health/ https://www.plainword.health/index.html; do
|
| 234 |
+
echo "$u -> $(curl -sS -o /dev/null -w '%{http_code} %{redirect_url}' "$u")"
|
| 235 |
+
done
|
| 236 |
+
```
|
| 237 |
+
|
| 238 |
## What worked
|
| 239 |
|
| 240 |
Fill in once the steps above have been done and checked:
|
README.md
CHANGED
|
@@ -7,7 +7,7 @@ pinned: false
|
|
| 7 |
short_description: Practice for the NCMHCE with a client who talks back.
|
| 8 |
---
|
| 9 |
|
| 10 |
-
The public site for Plainword, served at https://www.plainword.
|
| 11 |
beta sign-up: three static pages (`index.html`, `privacy.html`, `terms.html`), one
|
| 12 |
stylesheet, one small script for the beta form, and self-hosted fonts and images. No
|
| 13 |
framework, no build step, no cookies, no analytics, and no requests to any other site except
|
|
|
|
| 7 |
short_description: Practice for the NCMHCE with a client who talks back.
|
| 8 |
---
|
| 9 |
|
| 10 |
+
The public site for Plainword, served at https://www.plainword.ai. Today it is the Mac
|
| 11 |
beta sign-up: three static pages (`index.html`, `privacy.html`, `terms.html`), one
|
| 12 |
stylesheet, one small script for the beta form, and self-hosted fonts and images. No
|
| 13 |
framework, no build step, no cookies, no analytics, and no requests to any other site except
|
copy-test.sh
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env bash
|
| 2 |
+
# Copy test for the site. Run from the repo root: privacynote-site/copy-test.sh
|
| 3 |
+
# Exits 1 if any page breaks a copy rule.
|
| 4 |
+
#
|
| 5 |
+
# The rules (Vishnu, 18 Oct 2026):
|
| 6 |
+
# - "scribe", "listen" (any form), "always on" and "cloud" are banned everywhere.
|
| 7 |
+
# - "AI" is allowed in Prep, PsychTerms and site copy. It stays banned in Session and Desk
|
| 8 |
+
# copy, so no line that names Plainword Session or Plainword Desk may say "AI".
|
| 9 |
+
# - No em or en dashes. No promise about "the room". No old product name.
|
| 10 |
+
# - No pass-rate claims, no "only prep you need", no guarantees, no testimonials.
|
| 11 |
+
# - Prep's promise sentence appears verbatim on the Privacy page.
|
| 12 |
+
|
| 13 |
+
cd "$(dirname "$0")/.." || exit 2
|
| 14 |
+
PAGES=$(ls privacynote-site/*.html privacynote-site-held/*.html privacynote-site-held/prep/*.html 2>/dev/null)
|
| 15 |
+
fail=0
|
| 16 |
+
check() { # $1 label, $2 rg args...
|
| 17 |
+
local label=$1; shift
|
| 18 |
+
if out=$(rg -n "$@" $PAGES privacynote-site/site.js); then
|
| 19 |
+
echo "FAIL: $label"; echo "$out"; fail=1
|
| 20 |
+
fi
|
| 21 |
+
}
|
| 22 |
+
check "banned word" -iw 'scribe|scribes|listen\w*|always on|cloud'
|
| 23 |
+
check "AI in a Session or Desk line" -i '(Plainword Session|Plainword Desk)[^<]*\bAI\b|\bAI\b[^<]*(Plainword Session|Plainword Desk)'
|
| 24 |
+
check "dash" '—|–'
|
| 25 |
+
check "room promise" -i 'this room|the room'
|
| 26 |
+
check "old name" -i 'privacynote'
|
| 27 |
+
check "claim" -i 'pass rate|pass-rate|only prep you need|guarantee|testimonial'
|
| 28 |
+
PROMISE='Your practice sessions are processed for the session only and never stored, unless you choose to share them, and <a href="[^"]*">here is exactly what that means</a>\.'
|
| 29 |
+
if ! rg -q "$PROMISE" privacynote-site/privacy.html; then echo "FAIL: promise sentence missing from privacy.html"; fail=1; fi
|
| 30 |
+
[ $fail = 0 ] && echo "copy test passed"
|
| 31 |
+
exit $fail
|
index.html
CHANGED
|
@@ -6,18 +6,18 @@
|
|
| 6 |
<meta http-equiv="Content-Security-Policy" content="default-src 'none'; script-src 'self'; style-src 'self'; font-src 'self'; img-src 'self'; connect-src https://formspree.io; form-action https://formspree.io; base-uri 'none'">
|
| 7 |
<title>Plainword Prep · Mac beta</title>
|
| 8 |
<meta name="description" content="Practice for the NCMHCE with a client who talks back. Join the Mac beta.">
|
| 9 |
-
<link rel="canonical" href="https://www.plainword.
|
| 10 |
<meta property="og:type" content="website">
|
| 11 |
<meta property="og:title" content="Plainword Prep · Mac beta">
|
| 12 |
<meta property="og:description" content="Practice for the NCMHCE with a client who talks back. Join the Mac beta.">
|
| 13 |
-
<meta property="og:url" content="https://www.plainword.
|
| 14 |
-
<meta property="og:image" content="https://www.plainword.
|
| 15 |
<meta property="og:image:width" content="1200">
|
| 16 |
<meta property="og:image:height" content="630">
|
| 17 |
<meta name="twitter:card" content="summary_large_image">
|
| 18 |
<meta name="twitter:title" content="Plainword Prep · Mac beta">
|
| 19 |
<meta name="twitter:description" content="Practice for the NCMHCE with a client who talks back. Join the Mac beta.">
|
| 20 |
-
<meta name="twitter:image" content="https://www.plainword.
|
| 21 |
<link rel="icon" href="assets/mark.svg" type="image/svg+xml">
|
| 22 |
<link rel="preload" href="assets/fonts/ibm-plex-sans-latin.woff2" as="font" type="font/woff2" crossorigin>
|
| 23 |
<link rel="preload" href="assets/fonts/source-serif-4-core.woff2" as="font" type="font/woff2" crossorigin>
|
|
@@ -93,7 +93,7 @@
|
|
| 93 |
<p class="eyebrow">The beta is free</p>
|
| 94 |
<h2 id="beta-title">Join the Mac beta</h2>
|
| 95 |
<p>Leave your email and a few answers. We will email you the beta build when it is ready.</p>
|
| 96 |
-
<p>You practice with a simulated client: a fictional persona with a history, stated goals and a way of talking. The client settles when you reflect, shuts down when you lecture, and comes back changed next session.</p>
|
| 97 |
<figure class="screen talk">
|
| 98 |
<p class="screen-label">Talking to the client</p>
|
| 99 |
<div class="talk-head">
|
|
@@ -234,7 +234,7 @@
|
|
| 234 |
<rect x="46" y="31" width="8" height="38" rx="2" fill="#8EC3E6"/>
|
| 235 |
<rect x="60" y="25" width="12" height="50" rx="2" fill="currentColor"/>
|
| 236 |
</svg>
|
| 237 |
-
<span class="footer-name">plainword.
|
| 238 |
<span aria-hidden="true">·</span>
|
| 239 |
<a href="privacy.html">Privacy</a>
|
| 240 |
<span aria-hidden="true">·</span>
|
|
|
|
| 6 |
<meta http-equiv="Content-Security-Policy" content="default-src 'none'; script-src 'self'; style-src 'self'; font-src 'self'; img-src 'self'; connect-src https://formspree.io; form-action https://formspree.io; base-uri 'none'">
|
| 7 |
<title>Plainword Prep · Mac beta</title>
|
| 8 |
<meta name="description" content="Practice for the NCMHCE with a client who talks back. Join the Mac beta.">
|
| 9 |
+
<link rel="canonical" href="https://www.plainword.ai/">
|
| 10 |
<meta property="og:type" content="website">
|
| 11 |
<meta property="og:title" content="Plainword Prep · Mac beta">
|
| 12 |
<meta property="og:description" content="Practice for the NCMHCE with a client who talks back. Join the Mac beta.">
|
| 13 |
+
<meta property="og:url" content="https://www.plainword.ai/">
|
| 14 |
+
<meta property="og:image" content="https://www.plainword.ai/assets/og.png">
|
| 15 |
<meta property="og:image:width" content="1200">
|
| 16 |
<meta property="og:image:height" content="630">
|
| 17 |
<meta name="twitter:card" content="summary_large_image">
|
| 18 |
<meta name="twitter:title" content="Plainword Prep · Mac beta">
|
| 19 |
<meta name="twitter:description" content="Practice for the NCMHCE with a client who talks back. Join the Mac beta.">
|
| 20 |
+
<meta name="twitter:image" content="https://www.plainword.ai/assets/og.png">
|
| 21 |
<link rel="icon" href="assets/mark.svg" type="image/svg+xml">
|
| 22 |
<link rel="preload" href="assets/fonts/ibm-plex-sans-latin.woff2" as="font" type="font/woff2" crossorigin>
|
| 23 |
<link rel="preload" href="assets/fonts/source-serif-4-core.woff2" as="font" type="font/woff2" crossorigin>
|
|
|
|
| 93 |
<p class="eyebrow">The beta is free</p>
|
| 94 |
<h2 id="beta-title">Join the Mac beta</h2>
|
| 95 |
<p>Leave your email and a few answers. We will email you the beta build when it is ready.</p>
|
| 96 |
+
<p>You practice with a simulated client: a fictional persona with a history, stated goals and a way of talking, played by an AI model through our server. The client settles when you reflect, shuts down when you lecture, and comes back changed next session. In the debrief, the tutor cites the line you said.</p>
|
| 97 |
<figure class="screen talk">
|
| 98 |
<p class="screen-label">Talking to the client</p>
|
| 99 |
<div class="talk-head">
|
|
|
|
| 234 |
<rect x="46" y="31" width="8" height="38" rx="2" fill="#8EC3E6"/>
|
| 235 |
<rect x="60" y="25" width="12" height="50" rx="2" fill="currentColor"/>
|
| 236 |
</svg>
|
| 237 |
+
<span class="footer-name">plainword.ai</span>
|
| 238 |
<span aria-hidden="true">·</span>
|
| 239 |
<a href="privacy.html">Privacy</a>
|
| 240 |
<span aria-hidden="true">·</span>
|
privacy.html
CHANGED
|
@@ -6,7 +6,7 @@
|
|
| 6 |
<meta http-equiv="Content-Security-Policy" content="default-src 'none'; script-src 'self'; style-src 'self'; font-src 'self'; img-src 'self'; base-uri 'none'">
|
| 7 |
<title>Privacy · Plainword</title>
|
| 8 |
<meta name="description" content="What Plainword Prep and this site collect, what leaves your Mac, and what is kept.">
|
| 9 |
-
<link rel="canonical" href="https://www.plainword.
|
| 10 |
<link rel="icon" href="assets/mark.svg" type="image/svg+xml">
|
| 11 |
<link rel="preload" href="assets/fonts/ibm-plex-sans-latin.woff2" as="font" type="font/woff2" crossorigin>
|
| 12 |
<link rel="preload" href="assets/fonts/source-serif-4-core.woff2" as="font" type="font/woff2" crossorigin>
|
|
@@ -172,7 +172,7 @@
|
|
| 172 |
<footer class="site-footer">
|
| 173 |
<div class="wrap">
|
| 174 |
<div class="footer-row">
|
| 175 |
-
<span class="footer-name">plainword.
|
| 176 |
<span aria-hidden="true">·</span>
|
| 177 |
<a href="privacy.html">Privacy</a>
|
| 178 |
<span aria-hidden="true">·</span>
|
|
|
|
| 6 |
<meta http-equiv="Content-Security-Policy" content="default-src 'none'; script-src 'self'; style-src 'self'; font-src 'self'; img-src 'self'; base-uri 'none'">
|
| 7 |
<title>Privacy · Plainword</title>
|
| 8 |
<meta name="description" content="What Plainword Prep and this site collect, what leaves your Mac, and what is kept.">
|
| 9 |
+
<link rel="canonical" href="https://www.plainword.ai/privacy.html">
|
| 10 |
<link rel="icon" href="assets/mark.svg" type="image/svg+xml">
|
| 11 |
<link rel="preload" href="assets/fonts/ibm-plex-sans-latin.woff2" as="font" type="font/woff2" crossorigin>
|
| 12 |
<link rel="preload" href="assets/fonts/source-serif-4-core.woff2" as="font" type="font/woff2" crossorigin>
|
|
|
|
| 172 |
<footer class="site-footer">
|
| 173 |
<div class="wrap">
|
| 174 |
<div class="footer-row">
|
| 175 |
+
<span class="footer-name">plainword.ai</span>
|
| 176 |
<span aria-hidden="true">·</span>
|
| 177 |
<a href="privacy.html">Privacy</a>
|
| 178 |
<span aria-hidden="true">·</span>
|
terms.html
CHANGED
|
@@ -6,7 +6,7 @@
|
|
| 6 |
<meta http-equiv="Content-Security-Policy" content="default-src 'none'; script-src 'self'; style-src 'self'; font-src 'self'; img-src 'self'; base-uri 'none'">
|
| 7 |
<title>Terms · Plainword</title>
|
| 8 |
<meta name="description" content="The terms for this site and the Mac beta list, in plain words.">
|
| 9 |
-
<link rel="canonical" href="https://www.plainword.
|
| 10 |
<link rel="icon" href="assets/mark.svg" type="image/svg+xml">
|
| 11 |
<link rel="preload" href="assets/fonts/ibm-plex-sans-latin.woff2" as="font" type="font/woff2" crossorigin>
|
| 12 |
<link rel="preload" href="assets/fonts/source-serif-4-core.woff2" as="font" type="font/woff2" crossorigin>
|
|
@@ -50,7 +50,7 @@
|
|
| 50 |
<footer class="site-footer">
|
| 51 |
<div class="wrap">
|
| 52 |
<div class="footer-row">
|
| 53 |
-
<span class="footer-name">plainword.
|
| 54 |
<span aria-hidden="true">·</span>
|
| 55 |
<a href="privacy.html">Privacy</a>
|
| 56 |
<span aria-hidden="true">·</span>
|
|
|
|
| 6 |
<meta http-equiv="Content-Security-Policy" content="default-src 'none'; script-src 'self'; style-src 'self'; font-src 'self'; img-src 'self'; base-uri 'none'">
|
| 7 |
<title>Terms · Plainword</title>
|
| 8 |
<meta name="description" content="The terms for this site and the Mac beta list, in plain words.">
|
| 9 |
+
<link rel="canonical" href="https://www.plainword.ai/terms.html">
|
| 10 |
<link rel="icon" href="assets/mark.svg" type="image/svg+xml">
|
| 11 |
<link rel="preload" href="assets/fonts/ibm-plex-sans-latin.woff2" as="font" type="font/woff2" crossorigin>
|
| 12 |
<link rel="preload" href="assets/fonts/source-serif-4-core.woff2" as="font" type="font/woff2" crossorigin>
|
|
|
|
| 50 |
<footer class="site-footer">
|
| 51 |
<div class="wrap">
|
| 52 |
<div class="footer-row">
|
| 53 |
+
<span class="footer-name">plainword.ai</span>
|
| 54 |
<span aria-hidden="true">·</span>
|
| 55 |
<a href="privacy.html">Privacy</a>
|
| 56 |
<span aria-hidden="true">·</span>
|