@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.
- package/AGENTS.md +6 -0
- package/README.md +113 -11
- package/package.json +3 -2
- package/packages/cli/bin/sws.mjs +162 -14
- package/packages/cli/src/acknowledged.mjs +6 -1
- package/packages/cli/src/brief.mjs +393 -0
- package/packages/cli/src/preflight.mjs +1 -1
- package/packages/cli/src/prior-art.mjs +329 -0
- package/packages/cli/src/report.mjs +21 -2
- package/packages/wizard/bin/wizard.mjs +299 -12
- package/packages/wizard/src/detect.mjs +111 -1
- package/packages/wizard/src/emit.mjs +130 -9
- package/skills/role-api-architect/SKILL.md +119 -61
- package/skills/role-backend-developer/SKILL.md +145 -55
- package/skills/role-compliance-officer/SKILL.md +133 -57
- package/skills/role-devops/SKILL.md +9 -6
- package/skills/role-fullstack-developer/SKILL.md +104 -37
- package/skills/role-identity-engineer/SKILL.md +126 -60
- package/skills/role-information-architect/SKILL.md +1 -1
- package/skills/role-infrastructure-architect/SKILL.md +105 -32
- package/skills/role-qa-engineer/SKILL.md +128 -57
- package/skills/role-security-operations/SKILL.md +137 -33
- package/skills/role-software-architect/SKILL.md +133 -63
- package/skills/role-staff-technical-architect/SKILL.md +112 -50
- package/skills/role-user-researcher/SKILL.md +119 -45
- package/skills/role-ux-designer/SKILL.md +1 -1
- package/skills/sws-compliance-check/SKILL.md +1 -1
- package/skills/sws-diverge/SKILL.md +2 -2
- package/skills/sws-github/SKILL.md +2 -0
- package/skills/sws-install/SKILL.md +1 -1
- package/skills/sws-netlify/SKILL.md +2 -0
- package/skills/sws-preflight/SKILL.md +5 -0
- package/skills/sws-vercel/SKILL.md +2 -0
- package/standards/hosting/github-pages.yml +1 -0
- package/standards/hosting/netlify.yml +1 -0
- package/standards/hosting/vercel.yml +1 -0
- package/standards/patterns/bolt-ons.md +1 -1
- 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
|
|
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
|
|
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
|
-
|
|
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
|
|