@atelic-action/artifact 6.5.0 → 6.6.0

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 CHANGED
@@ -103,12 +103,12 @@ No environment variables required. Visit [http://localhost:5173](http://localhos
103
103
 
104
104
  A business's artifacts live in one folder of `atelic-action/artifacts`, named by the business's short name and served at `<short>.atelic.me` as its own Vercel project with the folder as its root directory, one path per artifact. That host is the business's one address with the practice: the website build, when one is previewed, sits on it at `/proto`, proxied from its own project ([DEPLOY.md](DEPLOY.md), The Website Build Under /proto). Cut it from this one with `git subtree add --prefix=<short> https://github.com/atelic-action/artifact.git main`, run in `artifacts`. A cut is a site, not the package, so it then takes the package from npm instead of carrying its source: delete `src/documents/` and `tst/documents/`, give `package.json` the folder's own name and drop the package's fields (`version`, `files`, `exports`, `sideEffects`, `peerDependencies`), and run `bun add @atelic-action/artifact`. The routes and content already import the documents by the package's name, so nothing else changes. Nothing is pulled forward from here afterward: a document reaches the folder with `bun update @atelic-action/artifact`, and everything else with logic in it is `@atelic-action/ui`'s and arrives with `bun update @atelic-action/ui` ([CLAUDE.md](CLAUDE.md), What a Cut Takes From Here). Delete the artifacts the engagement does not need (the route, the content module, and the prerender entry), then touch four surfaces:
105
105
 
106
- 1. **Content**, in `src/content/`. One module per artifact: the real read, every number dated and defensible in the room, graded and shaped by the practice's `FOOTPRINT.md` and written to its pitch surface rules (`Brand/VOICE.md`, Pitch Surfaces 15 to 21). In `the-read.tsx`, `access` says whether anything came from the owner's own consoles and the content test holds it to the host's; print flows the page across as many letter pages as it needs, and `theReadStops` names the header's stops.
106
+ 1. **Content**, in `src/content/`. One module per artifact: the real read, every number dated and defensible in the room, graded and shaped by the practice's `FOOTPRINT.md` and written to its pitch surface rules (`Brand/VOICE.md`, Pitch Surfaces 15 to 21). In `the-read.tsx`, `access` says whether any reading came from the owner's own consoles, which picks the caveat over the scorecard and says nothing about the host; print flows the page across as many letter pages as it needs, and `theReadStops` names the header's stops.
107
107
  2. **Images**, split by what they are. Logos are brand marks and go in `public/brand/` (the recipient's logo, e.g. `public/brand/<name>.svg`), which the access wall leaves open so the header and the login page can draw them. The owner's own screens (the full screenshot for the click through and a tight crop for the column) and the QR for the twin, pointing at the bare host (`qr "https://<short>.atelic.me" > public/images/qr.png` with the `qrcode` package), go in `public/images/`, which the wall holds on a private artifact. A cut made before this split moves its recipient logo from `public/images/` to `public/brand/` and repoints `recipient.logo.src`.
108
- 3. **Config**, in `src/site.config.ts`. `url` is the host, `access` is `"public"` or `"private"` (private when anything came from the owner's own consoles), `recipient` is the business it was prepared for (with its `logo` under `/brand/`), `sender` is the practice, and `analytics` is the HubSpot loader so an open reports to the CRM, with `identify` naming who each link identifies so the open lands on that person's contact (`bun run reader <email>` mints a reader, sealed so no address ships in the page's script, and prints their link; a private artifact needs nobody listed, because the wall identifies whoever signs in; [DEPLOY.md](DEPLOY.md), Who Opened It).
108
+ 3. **Config**, in `src/site.config.ts`. `url` is the host, `access` is always `"private"`, since every document sits behind the wall (the depth of the readings is the read's own `access`, not this one), `recipient` is the business it was prepared for (with its `logo` under `/brand/`), `sender` is the practice, and `analytics` is the HubSpot loader so an open reports to the CRM, with `identify` naming who each link identifies so the open lands on that person's contact (`bun run reader <email>` mints a reader, sealed so no address ships in the page's script, and prints their link; a private artifact needs nobody listed, because the wall identifies whoever signs in; [DEPLOY.md](DEPLOY.md), Who Opened It).
109
109
  4. **The printed copy**: `bun build`, then `bun run print dist/client public/the-read.pdf`, which prints with every collapsible open and reports the sheet count, or `bun run print dist/client <out.pdf> 1 /report` for the monthly page, which fails if it misses its one sheet. Commit the read's PDF beside the page, and file a dated copy in the client's folder of the practice repo.
110
110
 
111
- A private artifact deploys only behind the armed wall, which holds the screenshots, the PDF, and the built content chunks as well as the pages, and `bun run check:wall <short>.atelic.me` must pass before any link goes out ([ACCESS-GATE.md](ACCESS-GATE.md)).
111
+ Every artifact deploys only behind the armed wall, which holds the screenshots, the PDF, and the built content chunks as well as the pages, and `bun run check:wall <short>.atelic.me` must pass before any link goes out ([ACCESS-GATE.md](ACCESS-GATE.md)).
112
112
 
113
113
  The theme stays the practice's (Geist, ink, the orange) unless the artifact should wear the client's brand, in which case `src/styles/theme.css` and the two font files swap and nothing else moves. Check the phone at 390 wide in a real browser before deploying.
114
114
 
@@ -122,7 +122,7 @@ The theme stays the practice's (Geist, ink, the orange) unless the artifact shou
122
122
  | [src/content/README.md](src/content/README.md) | Authoring the content modules |
123
123
  | [src/styles/README.md](src/styles/README.md) | The theming system and how to derive a new palette |
124
124
  | [GATE.md](GATE.md) | The sealed document gate: opens with the reader's own email, with HubSpot open tracking |
125
- | [ACCESS-GATE.md](ACCESS-GATE.md) | The email tied sign in wall over the whole host, required for a private artifact, with the build guard and the wall check |
125
+ | [ACCESS-GATE.md](ACCESS-GATE.md) | The email tied sign in wall over the whole host, always on, with the build guard and the wall check |
126
126
  | [DEPLOY.md](DEPLOY.md) | The deploy motion: Vercel, the subdomain, the wall for a private artifact, the observability layers |
127
127
  | [LAUNCH.md](LAUNCH.md) | The per artifact send checklist template, stamped into a Linear ticket |
128
128
  | [TEARDOWN.md](TEARDOWN.md) | The reverse motion: retiring a subdomain and its Vercel project |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atelic-action/artifact",
3
- "version": "6.5.0",
3
+ "version": "6.6.0",
4
4
  "description": "The composed documents the Atelic practice hands or sends a business (the read, the monthly page, the note, the discovery sheet, the first call sheet, and the sealed document), built from the pieces in @atelic-action/ui",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -60,12 +60,13 @@ import { isRuns, type ReadTopic, Topic } from "./Topic";
60
60
  * is never graded; then one closing line and the sign off. A beat with
61
61
  * nothing in it is left out.
62
62
  *
63
- * The same page at two depths, and `access` says which. A public read is
64
- * built from public readings alone and may be hosted open; a private one
65
- * adds what the owner's own consoles show and deploys only behind the wall.
66
- * The component draws whatever beats the content carries, so the depth
67
- * lives in the content and `access` is the declaration the host is checked
68
- * against (the content test, and `access` in site.config.ts).
63
+ * The same page at two depths, and `access` says which: "public" when every
64
+ * reading came from public sources, "private" when any came from the
65
+ * owner's own consoles. It is the depth of the readings and nothing about
66
+ * the host, which is always behind the wall (`access` in site.config.ts).
67
+ * The component draws whatever beats the content carries; `access` picks
68
+ * the caveat, so a public read with no note of its own gets the standing
69
+ * one over its scorecard.
69
70
  *
70
71
  * Every prop but a finding's body, a why line, and the sign off person's
71
72
  * `role` is plain data, and all three are equally happy with a string, so a
@@ -93,7 +94,7 @@ import { isRuns, type ReadTopic, Topic } from "./Topic";
93
94
  * name. With no document the page is the one it always was.
94
95
  */
95
96
 
96
- /** Whether anything on the page came from the owner's own consoles. */
97
+ /** The depth of the readings: whether any came from the owner's own consoles. */
97
98
  export type ReadAccess = "public" | "private";
98
99
 
99
100
  /** A link inside running text: the words the reader clicks and where they go. */
@@ -369,7 +370,7 @@ export interface ReadLabels {
369
370
  sources: string;
370
371
  /** The plan's heading when it names none. */
371
372
  plan: string;
372
- /** The note over the scorecard on a public read that sets none: what the read leaves out. */
373
+ /** The note over the scorecard on a read of public depth that sets none: what the read leaves out. */
373
374
  publicNote: string;
374
375
  /** The words before the business in the title the read sets when the content gives none, e.g. "Overview of". */
375
376
  overviewTitle?: string;
@@ -409,7 +410,7 @@ export const readLabels: Required<ReadLabels> = {
409
410
  sources: "See it yourself",
410
411
  plan: "The Plan",
411
412
  publicNote:
412
- "This page is read from the outside, through what anyone can open. A customer's read adds what the owner's own consoles show.",
413
+ "We built this read from what anyone can see from the outside. Your own accounts, like Search Console, your Business Profile, and your analytics, would sharpen the read once we have access.",
413
414
  overviewTitle: "Overview of",
414
415
  overviewLede:
415
416
  "An overview of {business} prepared by Atelic. It holds a read of the current state of the site, in Health, Visibility, and Conversion, and a proposed plan for improvement.",
@@ -443,7 +444,7 @@ function defaultTabsLabel(state: boolean, plan: boolean, proposal: boolean): str
443
444
  }
444
445
 
445
446
  export interface TheReadProps {
446
- /** Whether anything on the page came from the owner's own consoles; a private read deploys only behind the wall. */
447
+ /** The depth of the readings: "public" when every one came from public sources, "private" when any came from the owner's consoles. It picks the caveat over the scorecard and says nothing about the host. */
447
448
  access: ReadAccess;
448
449
  /** The title; left out, the `overviewTitle` label and the business ("Overview of Summit Movement Studio"). */
449
450
  title?: string;
@@ -463,7 +464,7 @@ export interface TheReadProps {
463
464
  gistLead?: string;
464
465
  /** The anchor a header stop points at for the scorecard, e.g. "scorecard": on the heading with a `gistTitle`, on the card itself without one. */
465
466
  gistId?: string;
466
- /** A callout over the scorecard, under its heading, e.g. what the read leaves out and when it follows. A public read that sets none gets the `publicNote` label. */
467
+ /** A callout over the scorecard, under its heading, e.g. what the read leaves out and when it follows. A read of public depth that sets none gets the `publicNote` label. */
467
468
  note?: ReadParagraph;
468
469
  /** The key: what each letter means, in a few words each. */
469
470
  gradeKey?: Array<{ grade: WriteupGrade; label: string }>;