@su-sws/synthetic-web-team 0.1.0 → 0.1.2
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/README.md +15 -4
- package/package.json +1 -1
- package/standards/connectors/README.md +56 -0
- package/standards/connectors/events/CONNECTOR.md +62 -0
- package/standards/connectors/news/CONNECTOR.md +51 -0
- package/standards/connectors/profiles/CONNECTOR.md +58 -0
- package/standards/patterns/bolt-ons.md +45 -0
- package/standards/recipes/add-to-existing/RECIPE.md +76 -0
- package/standards/recipes/html-static/RECIPE.md +137 -0
- package/standards/recipes/jekyll-static/RECIPE.md +88 -0
- package/standards/recipes/quarto-static/RECIPE.md +81 -0
- package/standards/scope.md +10 -0
package/README.md
CHANGED
|
@@ -294,10 +294,21 @@ Two rules with teeth:
|
|
|
294
294
|
| Publish the current version without bumping | Run it by hand with `none` |
|
|
295
295
|
|
|
296
296
|
[`.github/workflows/release.yml`](.github/workflows/release.yml) validates,
|
|
297
|
-
versions, tags, publishes and drafts release notes, in that order.
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
297
|
+
versions, tags, publishes and drafts release notes, in that order.
|
|
298
|
+
|
|
299
|
+
**There is no npm token in this repository, and nothing to rotate.** Publishing
|
|
300
|
+
uses npm **trusted publishing** over OIDC: npm authenticates the workflow by its
|
|
301
|
+
own short-lived identity, which is why the job asks for `id-token: write`. npm
|
|
302
|
+
caps granular tokens at 90 days and has been retiring the old non-expiring
|
|
303
|
+
automation tokens, so a stored secret would have been a recurring chore and a
|
|
304
|
+
standing liability. This has neither, and provenance comes free.
|
|
305
|
+
|
|
306
|
+
The trust is configured **per package on npmjs.com**, for
|
|
307
|
+
`@su-sws/synthetic-web-team` and `@su-sws/synthetic-web-team-mcp` separately, and
|
|
308
|
+
it names this repository **and this workflow's filename**. Renaming
|
|
309
|
+
`release.yml` or moving the publish steps elsewhere breaks publishing with an
|
|
310
|
+
authentication error that looks nothing like the cause — change the trusted
|
|
311
|
+
publisher settings first.
|
|
301
312
|
|
|
302
313
|
**Both packages move together.** `@su-sws/synthetic-web-team-mcp` depends on the root package, and
|
|
303
314
|
a caret range survives a patch bump but not a minor one — `^0.1.0` does not
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@su-sws/synthetic-web-team",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "Stanford Web Services standards and agent team: policy, patterns, recipes, fragments, prior art, 30 skills, the two-part install wizard, and the advisory compliance CLI.",
|
|
5
5
|
"license": "GPL-3.0-or-later",
|
|
6
6
|
"repository": {
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
# Connectors
|
|
2
|
+
|
|
3
|
+
**Stub, 2026-09-30.** A connector pulls content from a canonical Stanford source,
|
|
4
|
+
such as events, news, or profiles, into a site, so nobody retypes or scrapes what
|
|
5
|
+
the university already publishes. See `PROJECT-PLAN.md` section 13a.
|
|
6
|
+
|
|
7
|
+
| Connector | Source | Platform | Status |
|
|
8
|
+
|---|---|---|---|
|
|
9
|
+
| [Events](events/CONNECTOR.md) | events.stanford.edu | Localist | Stub. Public API confirmed reachable |
|
|
10
|
+
| [News](news/CONNECTOR.md) | news.stanford.edu | Squiz Matrix | Stub. API not yet located |
|
|
11
|
+
| [Profiles](profiles/CONNECTOR.md) | cap.stanford.edu | CAP | Stub. Access not yet confirmed |
|
|
12
|
+
|
|
13
|
+
**None of these is a tested integration.** Each file says what has been checked
|
|
14
|
+
and what has not. An agent asked to wire one up should say that it is a stub,
|
|
15
|
+
use what is known, and not invent endpoints, fields, or credentials.
|
|
16
|
+
|
|
17
|
+
## The shape every connector takes
|
|
18
|
+
|
|
19
|
+
A proposal to be tested in the first real build, not a settled standard.
|
|
20
|
+
|
|
21
|
+
1. **Fetch at build time or on a schedule, never from the visitor's browser.**
|
|
22
|
+
The site stays static, no key ever reaches the browser, a source outage does
|
|
23
|
+
not break a page, and the accessibility checks see the content, because it is
|
|
24
|
+
in the built HTML.
|
|
25
|
+
2. **Snapshot into the repository.** A scheduled GitHub Actions job fetches the
|
|
26
|
+
source, writes a data file such as `src/data/events.json`, and commits it to
|
|
27
|
+
`main`. Push to `main` deploys, so every content change is a commit that runs
|
|
28
|
+
`sws a11y`. That is the same control `standards/scope.md` relies on for
|
|
29
|
+
content authored in the repo. The cost is a commit from a bot on every change.
|
|
30
|
+
Fetching at build time without committing is the alternative: fewer commits,
|
|
31
|
+
but the content never appears in git history.
|
|
32
|
+
3. **Credentials live in Actions secrets.** Never in the repository and never in
|
|
33
|
+
the build output. Committed credentials are the one check that blocks.
|
|
34
|
+
4. **Link back to the source.** Each item links to its canonical page on the
|
|
35
|
+
source site. Republishing full text as if it were yours creates duplicate
|
|
36
|
+
content and a second copy to keep current. The source stays authoritative.
|
|
37
|
+
5. **Permission belongs to the system owner.** Being able to reach an API is not
|
|
38
|
+
the same as being allowed to depend on it. Confirm with whoever runs the
|
|
39
|
+
source before a site relies on it. Where that owner is not known, use the
|
|
40
|
+
general UIT contact and say that is what you are doing, per
|
|
41
|
+
`standards/policy/escalation.md`.
|
|
42
|
+
|
|
43
|
+
## A scope question this raises
|
|
44
|
+
|
|
45
|
+
`standards/scope.md` says content comes from the repository. The snapshot
|
|
46
|
+
pattern keeps that true where it matters, because the content goes through git
|
|
47
|
+
and the checks. Whether it counts as content from the repo is a call for SWS to
|
|
48
|
+
make, and it should be made before the first connector moves out of stub.
|
|
49
|
+
|
|
50
|
+
## What a connector is not
|
|
51
|
+
|
|
52
|
+
- **Not an embed.** Localist and others offer JavaScript widgets that render in
|
|
53
|
+
the browser. Those are third-party content whose accessibility is not yours to
|
|
54
|
+
control. See `standards/patterns/bolt-ons.md`.
|
|
55
|
+
- **Not a CMS.** A connector reads someone else's published content. It gives
|
|
56
|
+
the site no editing interface.
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: events
|
|
3
|
+
name: Stanford Events
|
|
4
|
+
source: https://events.stanford.edu
|
|
5
|
+
platform: Localist
|
|
6
|
+
summary: Upcoming events from the university calendar, filtered for your unit, series, or topic.
|
|
7
|
+
provides: Event title, dates, location, description, and a link to the canonical event page.
|
|
8
|
+
auth: None for public events. Verified 2026-09-30.
|
|
9
|
+
status: stub
|
|
10
|
+
reviewed: 2026-09-30
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
# Connector: Stanford Events
|
|
14
|
+
|
|
15
|
+
**Stub. Not built, not tested in a site.** The university calendar at
|
|
16
|
+
events.stanford.edu runs on Localist. A unit that already posts its events there
|
|
17
|
+
should not type them again into its own site.
|
|
18
|
+
|
|
19
|
+
## Verified
|
|
20
|
+
|
|
21
|
+
Checked on 2026-09-30 with a plain HTTPS request:
|
|
22
|
+
|
|
23
|
+
- `https://events.stanford.edu/api/2/events` returns JSON with **no
|
|
24
|
+
authentication**.
|
|
25
|
+
- The response has three top-level keys: `events`, `page`, and `date`. Each item
|
|
26
|
+
in `events` is wrapped in an `event` object with fields that include `id`,
|
|
27
|
+
`title`, `url`, `first_date`, `last_date`, `location_name`, `room_number`,
|
|
28
|
+
`status`, and `experience` (for example `inperson`).
|
|
29
|
+
- `pp` sets the page size. `page` reports `current`, `size`, `total`,
|
|
30
|
+
`total_items`, `next_page`, and `previous_page`.
|
|
31
|
+
- The request accepted `days` and `keyword` parameters with a 200. **Whether
|
|
32
|
+
they filter as expected was not checked.**
|
|
33
|
+
|
|
34
|
+
## Not yet known
|
|
35
|
+
|
|
36
|
+
- **How to select one unit's events.** Localist instances usually filter by
|
|
37
|
+
group, department, or type. Which of those Stanford's instance uses, and the
|
|
38
|
+
IDs, need confirming.
|
|
39
|
+
- **Who owns the calendar, and whether sites may depend on the API.** Ask
|
|
40
|
+
before relying on it. If the owner is not known, use the general UIT contact.
|
|
41
|
+
- **Rate limits and terms of use.**
|
|
42
|
+
- **Whether descriptions are HTML, and how clean it is.** Imported HTML can
|
|
43
|
+
bring headings out of order, missing alt text, or inline styles. Those would
|
|
44
|
+
then fail the site's own checks.
|
|
45
|
+
|
|
46
|
+
## Likely shape
|
|
47
|
+
|
|
48
|
+
Per `standards/connectors/README.md`: a scheduled Action fetches upcoming events
|
|
49
|
+
for the unit, writes `src/data/events.json`, and commits it. Pages render from
|
|
50
|
+
that file and link every event to its `url` on events.stanford.edu.
|
|
51
|
+
|
|
52
|
+
This pairs with the **seminar series** starter prompt. A unit that posts talks
|
|
53
|
+
to the calendar could feed the site from it, instead of keeping one file per
|
|
54
|
+
talk.
|
|
55
|
+
|
|
56
|
+
## What to do now
|
|
57
|
+
|
|
58
|
+
1. Say this connector is a stub.
|
|
59
|
+
2. Use only the verified facts above. Do not invent filter parameters.
|
|
60
|
+
3. Fetch at build time or on a schedule, not in the browser, and do not use the
|
|
61
|
+
Localist embed widget as a shortcut.
|
|
62
|
+
4. Record the dependency under `divergences:` in `.sws/manifest.yml`.
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: news
|
|
3
|
+
name: Stanford News
|
|
4
|
+
source: https://news.stanford.edu
|
|
5
|
+
platform: Squiz Matrix
|
|
6
|
+
summary: Stanford Report stories about your unit, school, or topic, linked back to the original.
|
|
7
|
+
provides: Headline, summary, date, image, and a link to the canonical story.
|
|
8
|
+
auth: Unknown. To confirm with the site's owner.
|
|
9
|
+
status: stub
|
|
10
|
+
reviewed: 2026-09-30
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
# Connector: Stanford News
|
|
14
|
+
|
|
15
|
+
**Stub. Not built, not tested.** news.stanford.edu is built on Squiz Matrix and
|
|
16
|
+
exposes an API through the site itself. A unit that wants an "in the news"
|
|
17
|
+
section should pull from it rather than copying stories by hand.
|
|
18
|
+
|
|
19
|
+
## Verified
|
|
20
|
+
|
|
21
|
+
Nothing yet beyond what SWS has reported: the site runs on Squiz Matrix and has
|
|
22
|
+
an API built in.
|
|
23
|
+
|
|
24
|
+
## Not yet known
|
|
25
|
+
|
|
26
|
+
- **The endpoint, its parameters, and its response shape.** Do not guess them.
|
|
27
|
+
Squiz Matrix builds APIs per site rather than offering one standard API, so
|
|
28
|
+
general knowledge of Squiz will not tell you what this one does.
|
|
29
|
+
- **Whether it needs credentials.** If it does, they go in Actions secrets,
|
|
30
|
+
never in the repository or the build.
|
|
31
|
+
- **How stories are tagged**, and so how a unit selects its own: by school,
|
|
32
|
+
department, topic, or something else.
|
|
33
|
+
- **Image rights and alt text.** Whether a story's image may be reused on
|
|
34
|
+
another site, and whether the API returns alt text with it. Without alt text,
|
|
35
|
+
the image fails the site's accessibility checks.
|
|
36
|
+
- **Who owns the API, and whether sites may depend on it.**
|
|
37
|
+
|
|
38
|
+
## Likely shape
|
|
39
|
+
|
|
40
|
+
Per `standards/connectors/README.md`: a scheduled Action fetches recent stories
|
|
41
|
+
for the unit, writes `src/data/news.json`, and commits it. Show the headline, the
|
|
42
|
+
summary, and the date, and link every item to its story on news.stanford.edu.
|
|
43
|
+
Do not republish the full text.
|
|
44
|
+
|
|
45
|
+
## What to do now
|
|
46
|
+
|
|
47
|
+
1. Say this connector is a stub and the API has not been located.
|
|
48
|
+
2. Do not scrape the news site's HTML as a substitute. A scraper breaks without
|
|
49
|
+
warning when the site's markup changes.
|
|
50
|
+
3. Until the API is confirmed, a short hand-maintained list of links in the
|
|
51
|
+
repository is the honest fallback.
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: profiles
|
|
3
|
+
name: Stanford Profiles
|
|
4
|
+
source: https://cap.stanford.edu
|
|
5
|
+
platform: CAP
|
|
6
|
+
summary: Faculty and staff profiles from CAP, so people pages stay current without retyping.
|
|
7
|
+
provides: Name, title, photo, bio, appointments, and a link to the person's Stanford Profiles page.
|
|
8
|
+
auth: Expected to need issued credentials. Not yet confirmed.
|
|
9
|
+
status: stub
|
|
10
|
+
reviewed: 2026-09-30
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
# Connector: Stanford Profiles
|
|
14
|
+
|
|
15
|
+
**Stub. Not built, not tested.** Stanford Profiles is backed by CAP
|
|
16
|
+
(cap.stanford.edu), which has an API. A lab or department people page is the
|
|
17
|
+
most common thing on a Stanford site, and the most often out of date. Pulling
|
|
18
|
+
from Profiles keeps it current from the source people already maintain.
|
|
19
|
+
|
|
20
|
+
## Verified
|
|
21
|
+
|
|
22
|
+
Nothing yet beyond what SWS has reported: CAP has an API and Stanford sites
|
|
23
|
+
connect to it.
|
|
24
|
+
|
|
25
|
+
## Not yet known
|
|
26
|
+
|
|
27
|
+
- **How access is granted.** Expect issued credentials, requested from CAP's
|
|
28
|
+
owners. **This is unconfirmed.** If credentials are needed, they go in Actions
|
|
29
|
+
secrets, never in the repository or the build. A static site **cannot** call
|
|
30
|
+
an authenticated API from the browser without publishing the credential,
|
|
31
|
+
which is why the fetch has to happen at build time.
|
|
32
|
+
- **The endpoints, the fields, and how to select a group's members.**
|
|
33
|
+
- **Which fields are public.** Profiles content is about people. Publish only
|
|
34
|
+
what the person has already made public on their Stanford Profile. If a field
|
|
35
|
+
is not public there, it does not go on the site. If a site would show more
|
|
36
|
+
than that, it is a privacy question, and the door is the University Privacy
|
|
37
|
+
Office.
|
|
38
|
+
- **Photo alt text.** Whether the API supplies any. The person's name alone is
|
|
39
|
+
usually not enough, and the checks will flag a missing alt.
|
|
40
|
+
- **Who owns the API, and the terms for depending on it.**
|
|
41
|
+
|
|
42
|
+
## Likely shape
|
|
43
|
+
|
|
44
|
+
Per `standards/connectors/README.md`: a scheduled Action authenticates with
|
|
45
|
+
secrets, fetches the group's profiles, writes `src/data/people.json` with the
|
|
46
|
+
public fields only, and commits it. Each person links to their Stanford
|
|
47
|
+
Profiles page.
|
|
48
|
+
|
|
49
|
+
This pairs with the **lab or research group** starter prompt. People pages
|
|
50
|
+
could come from Profiles instead of one hand-written file per person. Students
|
|
51
|
+
and visitors often have no profile, so expect to mix the two.
|
|
52
|
+
|
|
53
|
+
## What to do now
|
|
54
|
+
|
|
55
|
+
1. Say this connector is a stub and access has not been confirmed.
|
|
56
|
+
2. Do not scrape profile pages as a substitute.
|
|
57
|
+
3. Until access is confirmed, keep people as files in the repository and link
|
|
58
|
+
each person to their Stanford Profile.
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
# Bolt-on services
|
|
2
|
+
|
|
3
|
+
**Stub, 2026-09-30.** A placeholder for the dynamic features a static site gets
|
|
4
|
+
from outside: forms, data, search, AI, scheduled data pulls, analytics, maps, and
|
|
5
|
+
access control. See `PROJECT-PLAN.md` section 13a.
|
|
6
|
+
|
|
7
|
+
## There is no approved list
|
|
8
|
+
|
|
9
|
+
**Nothing in this file is approved, recommended, or ranked.** An approved list,
|
|
10
|
+
and the data risk level each entry may handle, is for **UIT Security** and the
|
|
11
|
+
**University Privacy Office** to set. It is not ours to set. Until they publish
|
|
12
|
+
one, the house rule from `AGENTS.md` applies: state the obligation, name the
|
|
13
|
+
office, stop.
|
|
14
|
+
|
|
15
|
+
## Categories
|
|
16
|
+
|
|
17
|
+
| Need | Obligation that applies today | Approved option |
|
|
18
|
+
|---|---|---|
|
|
19
|
+
| **Forms** | Collecting personal data moves the site out of the `low` tier. A transparency notice comes before collection. See `standards/patterns/forms.md` and MinPriv | TBD |
|
|
20
|
+
| **Data, lightweight database** | A new third-party service handling personal data triggers a DRA. Any key in a static build is public | TBD |
|
|
21
|
+
| **Media** | Third-party content is outside the build, so its accessibility is not yours to control | TBD |
|
|
22
|
+
| **Search** | An index built from the repo at build time adds no third party. A hosted search service does | TBD |
|
|
23
|
+
| **AI features** | A new third-party service, usually receiving visitor input. DRA likely | TBD |
|
|
24
|
+
| **Scheduled data pulls** | Credentials live in Actions secrets, never in the repo. This is the one blocking check | TBD |
|
|
25
|
+
| **Analytics** | **Siteimprove registration is required. Google Analytics is not.** Analytics is a privacy choice | Siteimprove (required, not a bolt-on choice) |
|
|
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 |
|
|
28
|
+
|
|
29
|
+
## A scope collision to settle first
|
|
30
|
+
|
|
31
|
+
`standards/scope.md` says content comes from the repository. Some of these
|
|
32
|
+
services are a **content source** rather than a feature: a Google Sheet that
|
|
33
|
+
feeds the people page, or a database that feeds the resource list. That is a CMS
|
|
34
|
+
by another name, and the manifest records it under `content.source`. Decide
|
|
35
|
+
which bolt-ons are features and which are content backends **before** writing
|
|
36
|
+
recipes for them, or this file will widen the scope by the back door.
|
|
37
|
+
|
|
38
|
+
## What to do now, if a site needs one of these
|
|
39
|
+
|
|
40
|
+
1. Name the obligation from the table, in plain language.
|
|
41
|
+
2. If personal data or a new third-party service is involved, route to the DRA
|
|
42
|
+
process through UIT Security, per `standards/policy/escalation.md`. One door.
|
|
43
|
+
3. Do not pick a vendor for them, and do not describe anything here as approved.
|
|
44
|
+
4. If they go ahead, record the service under `divergences:` in
|
|
45
|
+
`.sws/manifest.yml` with what it handles.
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
# Recipe: add-to-existing
|
|
2
|
+
|
|
3
|
+
**Stub. Not written, not executed.** The retrofit recipe: bring an existing
|
|
4
|
+
Stanford site up to standard without rebuilding it. It is the agent-facing half of
|
|
5
|
+
the wizard's `add .` job. `add .` installs the contract, the standards, and the
|
|
6
|
+
manifest; this recipe is what the agent follows next.
|
|
7
|
+
|
|
8
|
+
| | |
|
|
9
|
+
|---|---|
|
|
10
|
+
| Recipe ID | `add-to-existing`, the retrofit recipe |
|
|
11
|
+
| Status | **Stub, 2026-09-30.** Never run end to end. Reserved in the section 5 layout of `PROJECT-PLAN.md` since the first draft |
|
|
12
|
+
| Origin | `PROJECT-PLAN.md` section 13a |
|
|
13
|
+
| Acceptance | **None, and possibly never in the usual form.** A retrofit inherits whatever generator the site already uses, so its criteria are the generator's recipe plus a before-and-after score |
|
|
14
|
+
|
|
15
|
+
## Why this recipe is coming
|
|
16
|
+
|
|
17
|
+
Plenty of Stanford sites already exist that were built outside a web team, often
|
|
18
|
+
with an AI coding tool. Many are static, many are on GitHub Pages, and many are
|
|
19
|
+
missing the policy furniture: no Global Footer, or a hand-built one, and no
|
|
20
|
+
Decanter. Getting those sites to standard reaches more people than any new-site
|
|
21
|
+
recipe, because the sites are already live.
|
|
22
|
+
|
|
23
|
+
## The principle the recipe has to keep
|
|
24
|
+
|
|
25
|
+
**The owner keeps their site.** A retrofit that rewrites someone's site into our
|
|
26
|
+
preferred stack is a rebuild, and they will rightly refuse it. So:
|
|
27
|
+
|
|
28
|
+
- **Never convert the generator, the package manager, or the host.** Jekyll stays
|
|
29
|
+
Jekyll, yarn stays yarn, Netlify stays Netlify.
|
|
30
|
+
- **Policy furniture first, design system second.** Only a sliver of a site is
|
|
31
|
+
governed by policy (`standards/policy/brand.md`). Decanter is the easiest
|
|
32
|
+
compliant path, not a requirement. A Bootstrap site that gets the exact Global
|
|
33
|
+
Footer and an Identity Bar is a success, not a partial one.
|
|
34
|
+
- **Record divergences, do not fix them.** Anything kept on purpose goes in
|
|
35
|
+
`divergences:` with a reason.
|
|
36
|
+
|
|
37
|
+
## Likely order of work
|
|
38
|
+
|
|
39
|
+
A sketch to be tested in a pilot, not a procedure yet.
|
|
40
|
+
|
|
41
|
+
1. **Run `add .`** and fill in what the manifest lists in `incomplete[]`. Ask the
|
|
42
|
+
user for the owner names and emails. Never invent an owner email.
|
|
43
|
+
2. **Baseline.** Run `sws check` before changing anything, so the owner can see
|
|
44
|
+
the improvement.
|
|
45
|
+
3. **Global Footer and Identity Bar** from `standards/fragments/`, replacing any
|
|
46
|
+
hand-built version. Unit links move to a local footer above it.
|
|
47
|
+
4. **Named business owner and technical administrator** visible on the site.
|
|
48
|
+
5. **Checks in CI**, push to `main`, never a required pull request.
|
|
49
|
+
6. **Then, optionally, Decanter**, using the matching generator recipe once one
|
|
50
|
+
exists (`jekyll-static`, `quarto-static`, `html-static`, `astro-static`).
|
|
51
|
+
|
|
52
|
+
## Things a retrofit is likely to meet
|
|
53
|
+
|
|
54
|
+
Listed so the recipe covers them.
|
|
55
|
+
|
|
56
|
+
- **A repository on a personal GitHub account.** It disappears when the person
|
|
57
|
+
leaves. Moving it to a Stanford org is an access request to that org's owners,
|
|
58
|
+
per `standards/policy/escalation.md`. The agent does not do the move.
|
|
59
|
+
- **Tailwind's Play CDN in production.** Tailwind does not intend it for
|
|
60
|
+
production use. A thing to avoid, in the house style.
|
|
61
|
+
- **Keys in browser code** for a hosted database. Any value in a static build is
|
|
62
|
+
public, as `standards/hosting/github-pages.yml` already says. If that value
|
|
63
|
+
matters, it is a secrets finding; route to UIT Security for anything beyond
|
|
64
|
+
that.
|
|
65
|
+
- **Third-party services already live** with no review (forms, data, AI,
|
|
66
|
+
analytics). See `standards/patterns/bolt-ons.md`. A retrofit surfaces them; it
|
|
67
|
+
does not approve or remove them.
|
|
68
|
+
- **A hand-built footer that is close but not exact.** The footer check will say
|
|
69
|
+
where it differs.
|
|
70
|
+
|
|
71
|
+
## What to do now
|
|
72
|
+
|
|
73
|
+
1. Say that this recipe is a stub.
|
|
74
|
+
2. Run `add .`, then follow steps 2 to 5 above, which need nothing new.
|
|
75
|
+
3. Run `sws check` with the recipe closest to the site's generator, and
|
|
76
|
+
acknowledge criteria that do not apply in `.sws/acknowledged.yml`.
|
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
# Recipe: html-static
|
|
2
|
+
|
|
3
|
+
**Stub. Not written, not executed.** The plain HTML option: hand-written pages, no
|
|
4
|
+
generator, often no `package.json`. A common shape of Stanford site, and the one
|
|
5
|
+
with no recipe at all.
|
|
6
|
+
|
|
7
|
+
| | |
|
|
8
|
+
|---|---|
|
|
9
|
+
| Recipe ID | `html-static`, following the `<generator>-<mode>` naming the other recipes use |
|
|
10
|
+
| Status | **Stub, 2026-09-30.** Never run end to end |
|
|
11
|
+
| Origin | Already on the roadmap as a v2 item; see `PROJECT-PLAN.md` sections 13 and 13a |
|
|
12
|
+
| Acceptance | **None yet.** There is no `acceptance.yml`, so `sws check --recipe html-static` exits with "No acceptance.yml" |
|
|
13
|
+
| Versions | None specified, as with every recipe |
|
|
14
|
+
|
|
15
|
+
## Why this recipe is coming
|
|
16
|
+
|
|
17
|
+
An AI agent with no generator in front of it writes plain HTML happily, so
|
|
18
|
+
this population will grow.
|
|
19
|
+
|
|
20
|
+
It is also the honest answer for someone who will never run `npm`. The person
|
|
21
|
+
editing the site may be fine with HTML and lost with a build step.
|
|
22
|
+
|
|
23
|
+
## What the recipe will have to settle
|
|
24
|
+
|
|
25
|
+
Open questions. Anything stated as fact is labelled.
|
|
26
|
+
|
|
27
|
+
1. **How Decanter gets in without Node.** Decanter 8 is CSS-first on
|
|
28
|
+
Tailwind 4, and Tailwind generates classes on demand from the markup it
|
|
29
|
+
scans. **There is no precompiled file, and there will not be one**: a file
|
|
30
|
+
holding every combination would be far too large to serve. Confirmed with
|
|
31
|
+
SWS 2026-09-30. So a compile step that scans the site's HTML is always
|
|
32
|
+
needed, and **it has to run on the author's machine**, so they can preview
|
|
33
|
+
work in progress before it ships. Direction from SWS, 2026-09-30. See
|
|
34
|
+
"Compiling Decanter on the author's machine" below. Not the Tailwind Play
|
|
35
|
+
CDN, which Tailwind says is not for production.
|
|
36
|
+
2. **Full entry point, not `minimal`.** Already decided in section 3 of the
|
|
37
|
+
plan: `decanter/minimal` is a lighter base reset for when something else
|
|
38
|
+
owns base styles. On a plain HTML site nothing else does, so use the full
|
|
39
|
+
entry point.
|
|
40
|
+
3. **Fragments on every page.** With no layout system, the Identity Bar and
|
|
41
|
+
Global Footer are copied into every file, and copies drift. The footer check
|
|
42
|
+
runs per page, which catches drift once it has happened. Whether the recipe
|
|
43
|
+
should also suggest a tiny include step is open.
|
|
44
|
+
4. **Where the checks run.** The author may never install Node, but CI can.
|
|
45
|
+
`sws check`, `sws a11y`, and the secrets gate run in GitHub Actions against
|
|
46
|
+
the repository root. That is how the recipe keeps "no build step" for the
|
|
47
|
+
author without giving up the checks.
|
|
48
|
+
|
|
49
|
+
## Compiling Decanter on the author's machine
|
|
50
|
+
|
|
51
|
+
**Primary path: Tailwind's standalone CLI.** It is a single executable with
|
|
52
|
+
Tailwind and its first-party plugins built in, so it needs no Node and no npm.
|
|
53
|
+
|
|
54
|
+
**Verified 2026-09-30** with the standalone `tailwindcss` v4.3.3 on macOS arm64
|
|
55
|
+
and `decanter@8.0.0-beta.2`, in a folder with no `package.json`:
|
|
56
|
+
|
|
57
|
+
| Test | Result |
|
|
58
|
+
|---|---|
|
|
59
|
+
| `@import 'decanter';` with Decanter unpacked into `node_modules/decanter/` | Resolves. No Node involved |
|
|
60
|
+
| `@import` of a copy in `vendor/decanter/` by relative path | Resolves |
|
|
61
|
+
| `decanter/forms`, which declares `@plugin '@tailwindcss/forms'` | Works. The plugin comes from the CLI itself, with nothing else installed |
|
|
62
|
+
| Classes in `.html`, Jekyll `.liquid`, and Quarto `.qmd` files | All detected, with no `@source` line |
|
|
63
|
+
| Arbitrary values, opacity modifiers, `md:` and `hover:` variants, `.button`, `type-2` | All generated |
|
|
64
|
+
| `--watch=always`: edit a page, then add a new file | Rebuilt in about 5 ms, both times |
|
|
65
|
+
| A `vendor/decanter/` folder without exclusion | **Scanned as markup.** 52 KB of CSS instead of 23 KB, from classes in Decanter's own docs. Fixed by `@source not` |
|
|
66
|
+
|
|
67
|
+
Published for macOS (arm64, x64), Linux (x64, arm64, and musl builds), and
|
|
68
|
+
Windows x64, with `sha256sums.txt` on each release. **Only macOS arm64 was run.**
|
|
69
|
+
Homebrew also packages `tailwindcss`. Whether that build includes the forms
|
|
70
|
+
plugin was not checked, and Homebrew is never worth installing just for this,
|
|
71
|
+
per `standards/stack/requirements.yml`.
|
|
72
|
+
|
|
73
|
+
### The shape it suggests
|
|
74
|
+
|
|
75
|
+
To be confirmed when the recipe is run:
|
|
76
|
+
|
|
77
|
+
1. **Get the CLI** from the latest Tailwind release for the platform, and check
|
|
78
|
+
it against `sha256sums.txt`.
|
|
79
|
+
2. **Get Decanter 8 onto disk without npm.** Unpack the registry tarball for the
|
|
80
|
+
current `decanter@beta` (later `latest`, once 8 is final) into
|
|
81
|
+
`vendor/decanter/` and commit it, so a fresh clone needs only the CLI. If
|
|
82
|
+
the author has Node anyway, `npm install decanter@beta` and a bare
|
|
83
|
+
`@import 'decanter';` is simpler and is not a divergence.
|
|
84
|
+
3. **The entry CSS**, with paths relative to the CSS file:
|
|
85
|
+
|
|
86
|
+
```css
|
|
87
|
+
@import '../vendor/decanter/src/css/index.css';
|
|
88
|
+
/* Only if the site has forms. Form styles are opt-in in Decanter 8. */
|
|
89
|
+
@import '../vendor/decanter/src/css/forms.css';
|
|
90
|
+
/* Otherwise Decanter's own docs are scanned as if they were the site. */
|
|
91
|
+
@source not '../vendor';
|
|
92
|
+
```
|
|
93
|
+
|
|
94
|
+
4. **Preview.** Run `tailwindcss -i css/site.css -o css/site.out.css --watch`
|
|
95
|
+
and open the pages. Plain `--watch` stops when its terminal input closes,
|
|
96
|
+
which is what happens when an agent runs it in the background, so an agent
|
|
97
|
+
should use `--watch=always`.
|
|
98
|
+
5. **Ship.** CI runs the same command before deploying, so the CSS that ships
|
|
99
|
+
always matches the HTML that ships. The output file can then be
|
|
100
|
+
gitignored.
|
|
101
|
+
|
|
102
|
+
**The cost to name: a vendored Decanter is a frozen copy.** That cuts against
|
|
103
|
+
"install latest, pin nothing". Record the vendored version under `resolved:` in
|
|
104
|
+
`.sws/manifest.yml`, and re-fetch it to update. Whether `sws doctor` should
|
|
105
|
+
flag a vendored copy that has fallen behind is open.
|
|
106
|
+
|
|
107
|
+
**Fallback: compile in GitHub Actions only.** For a machine where the CLI cannot
|
|
108
|
+
be installed (locked down, or a platform with no published binary), CI compiles
|
|
109
|
+
on every push to `main`. The site still ships correctly. What the author loses
|
|
110
|
+
is the preview: a class used for the first time shows up only after pushing, and
|
|
111
|
+
GitHub Pages has no per-push preview URL. Say so rather than letting someone find
|
|
112
|
+
out.
|
|
113
|
+
|
|
114
|
+
## What already works, for a site built today
|
|
115
|
+
|
|
116
|
+
- **The built-HTML checks apply as they are.** Point `sws check --dist .` at
|
|
117
|
+
the folder that holds the HTML. Footer, Identity Bar, a11y, and SEO checks
|
|
118
|
+
read HTML and do not care how it was made.
|
|
119
|
+
- **Acceptance will probably `extends: astro-static`** with every `decanter.*`
|
|
120
|
+
and `build.*` criterion that inspects a Node project overridden or reworked.
|
|
121
|
+
With no `package.json`, more of the parent will need overriding than for
|
|
122
|
+
Jekyll or Quarto.
|
|
123
|
+
|
|
124
|
+
## What to do now, if someone asks for a plain HTML site
|
|
125
|
+
|
|
126
|
+
1. Say plainly that this recipe is a stub and has not been tested.
|
|
127
|
+
2. Plain HTML is a legitimate choice, not a lesser one. Do not argue someone
|
|
128
|
+
into Astro who has said they do not want a build step.
|
|
129
|
+
3. The policy furniture applies in full: Identity Bar, the exact Global Footer,
|
|
130
|
+
a named business owner and technical administrator, WCAG 2.1 AA. Paste the
|
|
131
|
+
fragments from `standards/fragments/` or `sws_footer_html`. Never type them
|
|
132
|
+
from memory.
|
|
133
|
+
4. Run `sws check --recipe astro-static --dist .` and acknowledge the
|
|
134
|
+
Node-specific criteria in `.sws/acknowledged.yml` with the reason
|
|
135
|
+
"html-static recipe not yet written".
|
|
136
|
+
5. Record the choice under `divergences:` in `.sws/manifest.yml`. **Do not set
|
|
137
|
+
`recipe: html-static` yet.** `sws check` reads that field and exits.
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
# Recipe: jekyll-static
|
|
2
|
+
|
|
3
|
+
**Stub. Not written, not executed.** This placeholder exists because Jekyll is
|
|
4
|
+
already how a lot of Stanford sites get built, and an agent asked to work on one
|
|
5
|
+
should find an honest "not yet" here instead of inventing a recipe on the spot.
|
|
6
|
+
|
|
7
|
+
| | |
|
|
8
|
+
|---|---|
|
|
9
|
+
| Recipe ID | `jekyll-static` |
|
|
10
|
+
| Status | **Stub, 2026-09-30.** Never run end to end |
|
|
11
|
+
| Origin | `PROJECT-PLAN.md` section 13a |
|
|
12
|
+
| Acceptance | **None yet.** There is no `acceptance.yml`, so `sws check --recipe jekyll-static` exits with "No acceptance.yml" |
|
|
13
|
+
| Versions | None specified, as with every recipe |
|
|
14
|
+
|
|
15
|
+
## Why this recipe is coming
|
|
16
|
+
|
|
17
|
+
Jekyll is the generator GitHub Pages has always built natively, so it is what
|
|
18
|
+
people reach for when they want a site to "just work on Pages". Many Stanford
|
|
19
|
+
sites are already built this way, often from a theme, and often without the
|
|
20
|
+
Global Footer or Decanter.
|
|
21
|
+
|
|
22
|
+
## What the recipe will have to settle
|
|
23
|
+
|
|
24
|
+
These are open questions, not decisions. Anything stated here as fact is labelled.
|
|
25
|
+
|
|
26
|
+
1. **How Decanter gets in.** Decanter 8 is CSS-first on Tailwind 4, so it needs a
|
|
27
|
+
CSS compile step that scans the site's templates, and Jekyll has none of its
|
|
28
|
+
own. **There is no precompiled Decanter file and there will not be one.**
|
|
29
|
+
Tailwind generates classes on demand, so a file holding every combination
|
|
30
|
+
would be far too large. Confirmed with SWS 2026-09-30. The compile runs **on
|
|
31
|
+
the author's machine**, so they can preview before shipping, using
|
|
32
|
+
**Tailwind's standalone CLI**, which needs no Node. CI runs the same command
|
|
33
|
+
to deploy. If the CLI cannot be installed, CI alone is the fallback, and the
|
|
34
|
+
author loses the preview of new classes. Verified 2026-09-30: the standalone
|
|
35
|
+
CLI resolves Decanter 8 and detects classes in `.liquid` files with no
|
|
36
|
+
`@source` line. The full test table, the entry CSS, and the vendoring cost
|
|
37
|
+
are in `html-static/RECIPE.md`, under "Compiling Decanter on the author's
|
|
38
|
+
machine". For Jekyll specifically:
|
|
39
|
+
- Run `tailwindcss --watch` alongside `jekyll serve`, writing into a folder
|
|
40
|
+
Jekyll copies, such as `assets/css/`. Whether `jekyll serve --livereload`
|
|
41
|
+
then reloads on the CSS change is **unverified**.
|
|
42
|
+
- Tailwind skips gitignored paths, so keep `_site/` gitignored, which Jekyll
|
|
43
|
+
projects normally do. Otherwise the built output is scanned as markup.
|
|
44
|
+
- Ruby is still needed, for Jekyll. Node no longer is, for the CSS.
|
|
45
|
+
|
|
46
|
+
**Not the Tailwind Play CDN**, which Tailwind says is not for production.
|
|
47
|
+
2. **Classic Pages build or Actions build.** Fact: Pages builds Jekyll
|
|
48
|
+
natively with no workflow file. But that path runs no `sws a11y`, no
|
|
49
|
+
`sws check`, and no secrets gate. The Actions path gives you all three. Our
|
|
50
|
+
expectation is that this recipe uses Actions, as `astro-static` does, and
|
|
51
|
+
says why.
|
|
52
|
+
3. **Fragments as includes.** The Identity Bar and Global Footer would become
|
|
53
|
+
`_includes/identity-bar.html` and `_includes/global-footer.html`, rendered
|
|
54
|
+
from `standards/fragments/*.yml`. **Do not type them from memory.** Read the
|
|
55
|
+
fragment, or call `sws_footer_html` through the MCP server.
|
|
56
|
+
4. **Themes.** Most Jekyll sites start from a gem theme that ships its own CSS
|
|
57
|
+
and footer. Taking Decanter alongside a theme is a swap point to document,
|
|
58
|
+
not a failure.
|
|
59
|
+
5. **Toolchain.** Jekyll needs Ruby and Bundler, which `standards/stack/requirements.yml`
|
|
60
|
+
does not cover today. The checks still need Node to run in CI.
|
|
61
|
+
|
|
62
|
+
## What already works, for a site built today
|
|
63
|
+
|
|
64
|
+
- **`sws check` already finds Jekyll output.** It auto-detects `_site/` along
|
|
65
|
+
with `dist/`, `build/` and `out/`. The footer, Identity Bar, a11y, and SEO
|
|
66
|
+
checks read built HTML, so they apply as they are.
|
|
67
|
+
- **Acceptance will probably `extends: astro-static`**, as `astro-ssr` and
|
|
68
|
+
`next-ssr` do, with overrides for the `decanter.*` and `build.*` criteria,
|
|
69
|
+
because those inspect a Node project. Which ones need overriding gets decided
|
|
70
|
+
when the recipe is run, not before.
|
|
71
|
+
|
|
72
|
+
## What to do now, if someone asks for a Jekyll site
|
|
73
|
+
|
|
74
|
+
1. Say plainly that this recipe is a stub and has not been tested.
|
|
75
|
+
2. If they have no reason to prefer Jekyll, offer `astro-static`, which is
|
|
76
|
+
tested and also deploys to GitHub Pages. Do not push: if they already know
|
|
77
|
+
Jekyll, that is a good reason.
|
|
78
|
+
3. If they keep Jekyll, the policy furniture still applies in full: Identity
|
|
79
|
+
Bar, the exact Global Footer, a named business owner and technical
|
|
80
|
+
administrator, WCAG 2.1 AA. Take those from `standards/fragments/` and
|
|
81
|
+
`standards/policy/`.
|
|
82
|
+
4. Run `sws check --recipe astro-static --dist _site` and expect the
|
|
83
|
+
Node-specific criteria to fail or report `unknown`. Acknowledge them in
|
|
84
|
+
`.sws/acknowledged.yml` with the reason "jekyll-static recipe not yet written".
|
|
85
|
+
That is a supported action.
|
|
86
|
+
5. Record the choice under `divergences:` in `.sws/manifest.yml`: Jekyll, not
|
|
87
|
+
a tested recipe. **Do not set `recipe: jekyll-static` yet.** `sws check`
|
|
88
|
+
reads that field and exits, because there is no acceptance file to load.
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
# Recipe: quarto-static
|
|
2
|
+
|
|
3
|
+
**Stub. Not written, not executed.** A placeholder for research groups who already
|
|
4
|
+
write in Quarto and want the site to be another output of the same work.
|
|
5
|
+
|
|
6
|
+
| | |
|
|
7
|
+
|---|---|
|
|
8
|
+
| Recipe ID | `quarto-static` |
|
|
9
|
+
| Status | **Stub, 2026-09-30.** Never run end to end |
|
|
10
|
+
| Origin | `PROJECT-PLAN.md` section 13a |
|
|
11
|
+
| Acceptance | **None yet.** There is no `acceptance.yml`, so `sws check --recipe quarto-static` exits with "No acceptance.yml" |
|
|
12
|
+
| Versions | None specified, as with every recipe |
|
|
13
|
+
|
|
14
|
+
## Why this recipe is coming
|
|
15
|
+
|
|
16
|
+
Quarto is a scientific publishing system: Markdown and notebooks go in, a
|
|
17
|
+
website comes out. The audience is people who already have the content in
|
|
18
|
+
`.qmd` or `.ipynb` and would not otherwise build a website.
|
|
19
|
+
|
|
20
|
+
## What the recipe will have to settle
|
|
21
|
+
|
|
22
|
+
Open questions. Anything stated as fact is labelled.
|
|
23
|
+
|
|
24
|
+
1. **Quarto's own theme.** Fact: Quarto websites ship with Bootstrap-based
|
|
25
|
+
themes by default. Decanter on top of Bootstrap means two resets and two
|
|
26
|
+
type scales fighting each other. Whether Quarto's minimal or no-theme mode
|
|
27
|
+
removes enough of that is **unverified**.
|
|
28
|
+
2. **How Decanter gets in.** Same problem as `jekyll-static`: Decanter 8 needs a
|
|
29
|
+
Tailwind 4 compile that scans the site's markup, and Quarto does not run
|
|
30
|
+
one. **There is no precompiled Decanter file and there will not be one**
|
|
31
|
+
(confirmed with SWS 2026-09-30). The compile runs **on the author's
|
|
32
|
+
machine**, so they can preview, using **Tailwind's standalone CLI**, which
|
|
33
|
+
needs no Node. CI runs the same command to deploy, and is the fallback if
|
|
34
|
+
the CLI cannot be installed. Verified 2026-09-30: the standalone CLI
|
|
35
|
+
resolves Decanter 8 and picks up a class written as a fenced-div attribute
|
|
36
|
+
in a `.qmd` file. Full detail in `html-static/RECIPE.md`, under "Compiling
|
|
37
|
+
Decanter on the author's machine". Still open for Quarto:
|
|
38
|
+
- Run `tailwindcss --watch` alongside `quarto preview`, and point `css:` in
|
|
39
|
+
`_quarto.yml` at the output. Whether `quarto preview` reloads when that
|
|
40
|
+
file changes is **unverified**.
|
|
41
|
+
- Classes that Quarto adds itself appear only in the rendered HTML in
|
|
42
|
+
`_site/`, not in the `.qmd` sources. Styling those means scanning
|
|
43
|
+
`_site/`, which in turn means compiling after Quarto renders.
|
|
44
|
+
|
|
45
|
+
Not the Tailwind Play CDN.
|
|
46
|
+
3. **Where the fragments go.** Quarto has its own page-footer option, but the
|
|
47
|
+
Global Footer must match the fragment exactly and nothing else may go inside
|
|
48
|
+
it. The likely route is an HTML include injected after the body, rendered
|
|
49
|
+
from `standards/fragments/global-footer.yml`. **Unverified.** Unit links go
|
|
50
|
+
in a local footer above it, never in Quarto's footer slot next to the
|
|
51
|
+
Global Footer.
|
|
52
|
+
4. **Computed content.** Notebooks that run at render time can pull data from
|
|
53
|
+
outside the repo. That collides with `standards/scope.md` the moment the
|
|
54
|
+
data is page content rather than an analysis output. Settle where that line
|
|
55
|
+
is before writing guidance that blurs it.
|
|
56
|
+
5. **Toolchain.** Quarto is its own binary, often with Python or R behind it.
|
|
57
|
+
`standards/stack/requirements.yml` covers none of that today.
|
|
58
|
+
|
|
59
|
+
## What already works, for a site built today
|
|
60
|
+
|
|
61
|
+
- **`sws check` already finds Quarto output**, as long as it is written to
|
|
62
|
+
`_site/`, which is the default for a Quarto website. The checks read built
|
|
63
|
+
HTML, so the footer, Identity Bar, a11y, and SEO checks apply as they are.
|
|
64
|
+
- **Acceptance will probably `extends: astro-static`**, with overrides for the
|
|
65
|
+
`decanter.*` and `build.*` criteria that inspect a Node project. That gets
|
|
66
|
+
decided when the recipe is run.
|
|
67
|
+
|
|
68
|
+
## What to do now, if someone asks for a Quarto site
|
|
69
|
+
|
|
70
|
+
1. Say plainly that this recipe is a stub and has not been tested.
|
|
71
|
+
2. If the content is already in Quarto, staying in Quarto is reasonable. Do not
|
|
72
|
+
steer them to Astro just because Astro has a recipe.
|
|
73
|
+
3. The policy furniture applies in full: Identity Bar, the exact Global Footer,
|
|
74
|
+
a named business owner and technical administrator, WCAG 2.1 AA. Take those
|
|
75
|
+
from `standards/fragments/` and `standards/policy/`, and do not type the
|
|
76
|
+
footer from memory.
|
|
77
|
+
4. Run `sws check --recipe astro-static --dist _site` and acknowledge the
|
|
78
|
+
Node-specific criteria in `.sws/acknowledged.yml` with the reason
|
|
79
|
+
"quarto-static recipe not yet written".
|
|
80
|
+
5. Record the choice under `divergences:` in `.sws/manifest.yml`. **Do not set
|
|
81
|
+
`recipe: quarto-static` yet.** `sws check` reads that field and exits.
|
package/standards/scope.md
CHANGED
|
@@ -21,6 +21,16 @@ cannot see.
|
|
|
21
21
|
Content still comes from the repo.
|
|
22
22
|
- **All hosts in `standards/hosting/`.** GitHub Pages, Netlify, Vercel.
|
|
23
23
|
|
|
24
|
+
**Stubs are not in scope yet.** `jekyll-static`, `quarto-static`, `html-static`,
|
|
25
|
+
and `add-to-existing` exist as placeholders with no acceptance criteria and no
|
|
26
|
+
end-to-end run. They are static and content-in-the-repo, so they fit this scope
|
|
27
|
+
in shape; they move into it once they have been executed. Each stub says what to
|
|
28
|
+
do in the meantime. The same goes for `standards/patterns/bolt-ons.md` and the
|
|
29
|
+
connectors in `standards/connectors/`. A connector brings content from outside
|
|
30
|
+
the repo, so whether its proposed shape (snapshot into the repo at build time)
|
|
31
|
+
counts as in scope is an open question for SWS, recorded in
|
|
32
|
+
`standards/connectors/README.md`.
|
|
33
|
+
|
|
24
34
|
**Note that "static content" is about the content SOURCE, not the build output.**
|
|
25
35
|
`astro-ssr` and `next-ssr` render at request time and are fully in scope. What is
|
|
26
36
|
out of scope is content that arrives from somewhere other than the repo.
|