Skip to content

Commit dca9b65

Browse files
auge2uclaude
andcommitted
docs(reed): voice rewrite + README gateway + legacy deprecation
gt-va002, gt-va004 / convoy-032 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent e50facc commit dca9b65

15 files changed

Lines changed: 63 additions & 60 deletions

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,18 @@ All notable changes to Platform4Sync will be documented in this file.
44

55
This project adheres to [Semantic Versioning](https://semver.org/).
66

7+
## [0.5.1] - 2026-02-22
8+
9+
### Voice Alignment (convoy-032)
10+
11+
- **gt-va002: Command voice rewrite** — applied voice guidelines across all command files:
12+
- `ha.md`: Reframed cultural tokens as the baseline (Shu level), not a Ha deviation. Ha is choosing which culture and whether to deviate from a pre-built identity. Updated from 10 to 12 curated identities with full list. Added `ha:domain` section for T1 partner domain routing decisions.
13+
- `finish.md`: Updated from 10 to 12 curated identities with full list. Reframed to "integrate your chosen identity" instead of "build a token system."
14+
- `shu.md`: Replaced "scaffold a new project" with "adopt the platform structure." Reframed language around adoption of proven patterns rather than creation.
15+
- `site.md`: Replaced "scaffold a new project" with "initialize your project to the platform structure."
16+
- **gt-va004: README gateway rewrite** — replaced essay-style README with gateway format: one-line description, install block, three bullet points (12 identities, multi-tenant isolation, graduated auth), docs link, and anti-positioning line.
17+
- **gt-va004: Legacy deprecation cleanup** — added `(DEPRECATED)` to title of all 9 legacy `wp4s*` commands. Forwarding notices to frame equivalents already present and verified correct.
18+
719
## [0.5.0] - 2026-02-22
820

921
### Security Hardening

README.md

Lines changed: 12 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
11
# Platform4Sync
22

3-
Platform standards, skills, and scaffold templates for building multi-tenant SaaS applications on Cloudflare Workers + Neon PostgreSQL.
4-
5-
## Install as Claude Code Marketplace
6-
7-
Add to your project's `.claude/settings.json`:
3+
Production multi-tenant infrastructure for Claude Code. Greenfield or brownfield.
84

95
```json
106
{
7+
"permissions": {
8+
"allow": ["WebFetch"],
9+
"deny": []
10+
},
11+
"mcpServers": {},
12+
"customInstructions": "",
1113
"extraKnownMarketplaces": {
1214
"webplatform4sync": {
1315
"source": {
@@ -19,37 +21,13 @@ Add to your project's `.claude/settings.json`:
1921
}
2022
```
2123

22-
## What's Inside
23-
24-
- **Skills** — Claude Code skills for multi-tenant architecture, graduated auth, Neon isolation, and design tokens
25-
- **Scaffolds** — Project templates for greenfield, brownfield, and overlay adoption
26-
- **Contracts** — Shared type definitions ensuring cross-skill compatibility
27-
- **Validators** — Token and tenant configuration validators
28-
29-
## Documentation
30-
31-
- [What is Platform4Sync?](docs/what-is-platform4sync.md) — Overview and technical architecture
32-
- [Architecture Rationale](docs/rationale.md) — Design decisions and review history
33-
- [Contributing](docs/contributing.md) — How to add skills and templates
34-
35-
## Skills
36-
37-
Each skill has a `skill.md` entry point. Point Claude Code at the skill directory and describe your task:
38-
39-
| Skill | Purpose |
40-
|-------|---------|
41-
| `skills/multi-tenant-platform/` | 3-tier tenant architecture (Platform/Partner/Customer) |
42-
| `skills/graduated-auth/` | Anonymous → Preview → OAuth → Full Account |
43-
| `skills/neon-multi-tenant/` | Neon branches, Hyperdrive, Drizzle ORM |
44-
| `skills/theme-inspired-tokens/` | Culturally-grounded design tokens (W3C DTCG) |
24+
- **12 cultural identities** — Swiss International, Nihon Traditional, Nordic Modern, Tang Imperial, Shuimo Modern, Nihon Minimal, Renaissance, Art Deco, Wiener Werkstaette, Milanese Design, De Stijl, Swiss Modernist
25+
- **Multi-tenant isolation** — 3-tier architecture (Platform / Partner / Customer) with RLS, Neon PostgreSQL, and Drizzle ORM
26+
- **Graduated auth** — Anonymous to Preview to OAuth to Full Account, with Better Auth sessions and Firebase identity
4527

46-
## Scaffolds
28+
[Documentation](https://docs.syncupsuite.com)
4729

48-
| Template | When to Use |
49-
|----------|-------------|
50-
| `scaffold/greenfield/` | New project from scratch |
51-
| `scaffold/brownfield/` | Migrating existing project to standards |
52-
| `scaffold/overlay/` | Adding design token system only |
30+
Not a template. The same patterns shipping in brandsyncup.com and legalsyncup.com.
5331

5432
## License
5533

commands/finish.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ If no subcommand, present this menu grouped by concern.
4848
| Subcommand | What it does |
4949
|-----------|-------------|
5050
| `tokens` | Culturally-grounded design token system — DTCG JSON + Tailwind 4 output + React artifact |
51-
| `theme` | Full theme: token system + identity picker (10 curated designs) + live preview |
51+
| `theme` | Full theme: identity picker (12 curated identities) + live preview |
5252
| `ui` | Web components and pages requiring distinctive visual design |
5353

5454
### Accessibility
@@ -99,10 +99,12 @@ If no subcommand, present this menu grouped by concern.
9999
## Key decisions at this stage
100100

101101
**Design identity selection**
102-
> *"Ten curated identities are available — Swiss International, Nihon Traditional,
103-
> Nordic Modern, and seven others. Admin picks one; it propagates to all tenant
104-
> instances. This is the Mac wallpaper model: you commit to an identity, not
105-
> to arbitrary tokens. Run `finish:theme` to preview before committing."*
102+
> *"Twelve curated identities are available — Swiss International, Nihon
103+
> Traditional, Nordic Modern, Tang Imperial, Shuimo Modern, Nihon Minimal,
104+
> Renaissance, Art Deco, Wiener Werkstaette, Milanese Design, De Stijl,
105+
> and Swiss Modernist. Admin picks one; it propagates to all tenant instances.
106+
> This is the Mac wallpaper model: you integrate your chosen identity, not
107+
> arbitrary tokens. Run `finish:theme` to preview before committing."*
106108
107109
**Accessibility scope**
108110
> *"WCAG 2.2 Level AA is the minimum. Level AAA for public-facing forms.

commands/ha.md

Lines changed: 17 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ If no subcommand, present this menu grouped by concern.
5555
| Subcommand | What it does |
5656
|-----------|-------------|
5757
| `tokens` | Culturally-grounded design token system — every color, font, and spacing has a source |
58-
| `theme` | Full theme: token system + identity picker (10 curated designs) + live preview |
58+
| `theme` | Full theme: identity picker (12 curated identities) + live preview |
5959

6060
---
6161

@@ -106,17 +106,28 @@ happen implicitly inside a tool invocation.
106106
> permanently. Name your spectrum before building the scaffold."*
107107
108108
`ha:tokens`
109-
> *"The token system traces every design decision to a cultural or aesthetic source.
110-
> 'This blue is Hanada blue from Japanese indigo dyeing' — not 'I liked this hex.'
111-
> What is the cultural frame for this product? That question is the starting point,
112-
> not the color picker."*
109+
> *"Cultural tokens are the baseline — every identity in the system traces its
110+
> colors, typography, and spacing to a documented cultural source. That is Shu.
111+
> The Ha decision is which culture to adopt, and whether to deviate from one
112+
> of the 12 pre-built identities. You are not choosing whether to use cultural
113+
> theming. You are choosing which cultural foundation fits your product."*
113114
114115
`ha:theme`
115-
> *"Ten curated identities are available. You pick one; it propagates everywhere.
116+
> *"Twelve curated identities are available: Swiss International, Nihon
117+
> Traditional, Nordic Modern, Tang Imperial, Shuimo Modern, Nihon Minimal,
118+
> Renaissance, Art Deco, Wiener Werkstaette, Milanese Design, De Stijl,
119+
> and Swiss Modernist. You pick one; it propagates everywhere.
116120
> This is the Mac wallpaper model — not a color scheme, an identity. Swiss
117121
> International carries precision and neutrality. Nihon Traditional carries
118122
> restraint and depth. Which one fits the product's voice?"*
119123
124+
`ha:domain`
125+
> *"Does each T1 partner resolve to one domain or many? Primary, alias, vanity —
126+
> this is a Ha decision. The standard model assumes one canonical domain per
127+
> partner. If your partners need vanity domains or locale-specific subdomains,
128+
> name the routing model before implementing. Domain mapping shapes tenant
129+
> resolution and SSL provisioning."*
130+
120131
---
121132

122133
## Document the deviation

commands/shu.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ If no subcommand, present this menu and ask which to run.
3535
| `envrc` | Create or update `.envrc` with standardized environment config (auto-detects stack) |
3636
| `tune` | Analyze and optimize Claude Code configuration for this project's stack |
3737
| `clean` | Find and safely remove space-wasting artifacts from repos |
38-
| `scaffold` | Scaffold a new project — greenfield (new), brownfield (existing), or overlay (tokens only) |
38+
| `scaffold` | Adopt the platform structure — greenfield (new), brownfield (existing), or overlay (tokens only) |
3939

4040
**Recommended order**: `scaffold` or `init` first, then `envrc`, then `tune`.
4141

@@ -56,17 +56,17 @@ If no subcommand, present this menu and ask which to run.
5656
## How to run a Shu command
5757

5858
Do not ask for customizations at the Shu stage. The purpose of Shu is to
59-
establish the standard pattern first, then diverge in Ha with understanding.
59+
adopt the proven pattern first, then diverge in Ha with understanding.
6060

6161
If the user requests customization during a Shu command:
6262

6363
> *"That customization makes sense — note it down and we will apply it when
64-
> we reach Ha on this concern. For now, let the standard scaffold establish
65-
> the baseline so you have something concrete to deviate from."*
64+
> we reach Ha on this concern. For now, adopt the platform standard to
65+
> establish the baseline so you have something concrete to deviate from."*
6666
6767
If the user resists and insists on customizing now, proceed — but name it:
6868

69-
> *"We are jumping to Ha on [concern] before the standard is established.
69+
> *"We are jumping to Ha on [concern] before the standard is adopted.
7070
> That is a valid choice if you already know why the standard does not fit.
7171
> Let us document the reason so the deviation is intentional, not accidental."*
7272

commands/site.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ If no subcommand, present this menu and ask which to run.
3131
| `envrc` | Create or update `.envrc` with standardized environment config (auto-detects stack) |
3232
| `tune` | Analyze and optimize Claude Code configuration for this project's stack |
3333
| `clear` | Find and safely remove space-wasting artifacts from repos |
34-
| `scaffold` | Scaffold a new project — greenfield (new), brownfield (existing), or overlay (tokens only) |
34+
| `scaffold` | Initialize your project to the platform structure — greenfield (new), brownfield (existing), or overlay (tokens only) |
3535

3636
---
3737

commands/wp4s1_discover.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
---
77

8-
# wp4s1_discover
8+
# wp4s1_discover (DEPRECATED)
99

1010
> Step 1 of 9 — Scan project against the Platform4Sync standard
1111
> Previous: none | Next: `wp4s2_scaffold`

commands/wp4s2_scaffold.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
---
77

8-
# wp4s2_scaffold
8+
# wp4s2_scaffold (DEPRECATED)
99

1010
> Step 2 of 9 — Generate project structure
1111
> Previous: `wp4s1_discover` | Next: `wp4s3_tenant`

commands/wp4s3_tenant.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
---
77

8-
# wp4s3_tenant
8+
# wp4s3_tenant (DEPRECATED)
99

1010
> Step 3 of 9 — Set up 3-tier tenant model
1111
> Previous: `wp4s2_scaffold` | Next: `wp4s4_database`

commands/wp4s4_database.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
---
77

8-
# wp4s4_database
8+
# wp4s4_database (DEPRECATED)
99

1010
> Step 4 of 9 — Configure Neon database with tenant-scoped queries
1111
> Previous: `wp4s3_tenant` | Next: `wp4s5_auth`

0 commit comments

Comments
 (0)