@su-sws/synthetic-web-team 0.2.7 → 0.2.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (38) hide show
  1. package/AGENTS.md +6 -0
  2. package/README.md +113 -11
  3. package/package.json +3 -2
  4. package/packages/cli/bin/sws.mjs +162 -14
  5. package/packages/cli/src/acknowledged.mjs +6 -1
  6. package/packages/cli/src/brief.mjs +393 -0
  7. package/packages/cli/src/preflight.mjs +1 -1
  8. package/packages/cli/src/prior-art.mjs +329 -0
  9. package/packages/cli/src/report.mjs +21 -2
  10. package/packages/wizard/bin/wizard.mjs +299 -12
  11. package/packages/wizard/src/detect.mjs +111 -1
  12. package/packages/wizard/src/emit.mjs +130 -9
  13. package/skills/role-api-architect/SKILL.md +119 -61
  14. package/skills/role-backend-developer/SKILL.md +145 -55
  15. package/skills/role-compliance-officer/SKILL.md +133 -57
  16. package/skills/role-devops/SKILL.md +9 -6
  17. package/skills/role-fullstack-developer/SKILL.md +104 -37
  18. package/skills/role-identity-engineer/SKILL.md +126 -60
  19. package/skills/role-information-architect/SKILL.md +1 -1
  20. package/skills/role-infrastructure-architect/SKILL.md +105 -32
  21. package/skills/role-qa-engineer/SKILL.md +128 -57
  22. package/skills/role-security-operations/SKILL.md +137 -33
  23. package/skills/role-software-architect/SKILL.md +133 -63
  24. package/skills/role-staff-technical-architect/SKILL.md +112 -50
  25. package/skills/role-user-researcher/SKILL.md +119 -45
  26. package/skills/role-ux-designer/SKILL.md +1 -1
  27. package/skills/sws-compliance-check/SKILL.md +1 -1
  28. package/skills/sws-diverge/SKILL.md +2 -2
  29. package/skills/sws-github/SKILL.md +2 -0
  30. package/skills/sws-install/SKILL.md +1 -1
  31. package/skills/sws-netlify/SKILL.md +2 -0
  32. package/skills/sws-preflight/SKILL.md +5 -0
  33. package/skills/sws-vercel/SKILL.md +2 -0
  34. package/standards/hosting/github-pages.yml +1 -0
  35. package/standards/hosting/netlify.yml +1 -0
  36. package/standards/hosting/vercel.yml +1 -0
  37. package/standards/patterns/bolt-ons.md +1 -1
  38. package/standards/policy/identity.md +1 -1
@@ -41,6 +41,8 @@ manager. Use the `sws-preflight` skill, or just:
41
41
  npx sws preflight # then install what it names, then run it again
42
42
  ```
43
43
 
44
+ Run `npm install` first: unscoped `sws` on the registry is an unrelated package.
45
+
44
46
  It reports what is missing and why it matters, and deliberately does not say how
45
47
  to install it — that is yours, because you know the platform. **Re-run it after
46
48
  installing.** An installer that exited 0 without putting the binary on `PATH` is
@@ -20,7 +20,7 @@ npx @su-sws/synthetic-web-team add . # a project that already exists
20
20
  Run it in the repository root. **Pick deliberately:** `init` hands back a recipe
21
21
  to follow afterwards, `add` assumes there is already a site and leaves the source
22
22
  alone. There is no default — running with no command prints help and writes
23
- nothing, so a wrong guess cannot put 46 files in the wrong directory.
23
+ nothing, so a wrong guess cannot put dozens of files in the wrong directory.
24
24
 
25
25
  Every flag is optional. With a terminal attached each one interviews the person;
26
26
  without one it runs to completion and reports.
@@ -40,6 +40,8 @@ the order, the questions, and the judgment.
40
40
  npx sws preflight # then install what it names, then run it again
41
41
  ```
42
42
 
43
+ Run `npm install` first: unscoped `sws` on the registry is an unrelated package.
44
+
43
45
  **The Netlify CLI is optional here**, unlike `gh` for GitHub Pages —
44
46
  `standards/stack/requirements.yml` marks it `optional: true` because Netlify
45
47
  deploys from its git integration, not from the CLI. Install it anyway for local
@@ -13,6 +13,11 @@ One command. It reads `standards/stack/requirements.yml`, probes for each tool,
13
13
  and tells you what is missing and why it matters. Use `--format json` if you are
14
14
  acting on the result programmatically.
15
15
 
16
+ **`npx sws` is this CLI only once the project's dependencies are installed.**
17
+ Unscoped `sws` on the public registry is an unrelated package, so run
18
+ `npm install` first. With no project on the machine yet, name the package:
19
+ `npx -p @su-sws/synthetic-web-team sws preflight`.
20
+
16
21
  **It does not install anything, and it deliberately does not tell you how to.**
17
22
  That part is yours: you know what platform you are on and what package manager
18
23
  exists, and a hardcoded install matrix would be a guess about someone else's
@@ -39,6 +39,8 @@ the order, the questions, and the judgment.
39
39
  npx sws preflight # then install what it names, then run it again
40
40
  ```
41
41
 
42
+ Run `npm install` first: unscoped `sws` on the registry is an unrelated package.
43
+
42
44
  **The Vercel CLI is optional here**, same as Netlify's —
43
45
  `standards/stack/requirements.yml` marks `vercel-cli` `optional: true` because
44
46
  Vercel deploys from its git integration, not from the CLI. Install it anyway
@@ -130,6 +130,7 @@ provisioning:
130
130
  # ---------------------------------------------------------------------------
131
131
  prerequisite:
132
132
  run: |
133
+ npm install # first: unscoped `sws` on the registry is an unrelated package
133
134
  npx sws preflight # then install what it names, then run it again
134
135
  needs: >
135
136
  git and the gh CLI. Both appear in requirements.yml with their detection
@@ -138,6 +138,7 @@ gotchas:
138
138
  provisioning:
139
139
  prerequisite:
140
140
  run: |
141
+ npm install # first: unscoped `sws` on the registry is an unrelated package
141
142
  npx sws preflight # then install what it names, then run it again
142
143
  needs: >
143
144
  git, mandatory regardless of host (same reasoning as github-pages.yml).
@@ -172,6 +172,7 @@ gotchas:
172
172
  provisioning:
173
173
  prerequisite:
174
174
  run: |
175
+ npm install # first: unscoped `sws` on the registry is an unrelated package
175
176
  npx sws preflight # then install what it names, then run it again
176
177
  needs: >
177
178
  git, mandatory regardless of host. The Vercel CLI (`vercel-cli`, binary
@@ -24,7 +24,7 @@ office, stop.
24
24
  | **Scheduled data pulls** | Credentials live in Actions secrets, never in the repo. This is the one blocking check | TBD |
25
25
  | **Analytics** | **Siteimprove registration is required. Google Analytics is not.** Analytics is a privacy choice | Siteimprove (required, not a bolt-on choice) |
26
26
  | **Maps** | Third-party content: ask for a VPAT per `standards/policy/procurement.md` | TBD |
27
- | **Access control** | A tier change. See the `role-identity-engineer` stub and `standards/policy/identity.md` | TBD |
27
+ | **Access control** | A tier change. See `role-identity-engineer` and `standards/policy/identity.md` | TBD |
28
28
 
29
29
  ## A scope collision to settle first
30
30
 
@@ -10,7 +10,7 @@ reviewed: 2026-09-01
10
10
  because improvising Stanford authentication is one of the few places where
11
11
  getting it wrong has consequences beyond a bad website.
12
12
 
13
- The full role lands in v2. Read this before writing any auth code.
13
+ `role-identity-engineer` is how to apply it. Read this before writing any auth code.
14
14
 
15
15
  ## "Add a login" is a tier change, not a feature
16
16