@design-intelligence/ghost 0.27.0 → 0.29.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/dist/commands/skill-command.d.ts.map +1 -1
- package/dist/commands/skill-command.js +8 -1
- package/dist/commands/skill-command.js.map +1 -1
- package/dist/embed/inspect.d.ts.map +1 -1
- package/dist/embed/inspect.js +21 -28
- package/dist/embed/inspect.js.map +1 -1
- package/dist/embed/pull.d.ts.map +1 -1
- package/dist/embed/pull.js +29 -0
- package/dist/embed/pull.js.map +1 -1
- package/dist/ghost-core/index.d.ts +1 -2
- package/dist/ghost-core/index.d.ts.map +1 -1
- package/dist/ghost-core/index.js +1 -3
- package/dist/ghost-core/index.js.map +1 -1
- package/dist/ghost-core/material-transport.d.ts +4 -8
- package/dist/ghost-core/material-transport.d.ts.map +1 -1
- package/dist/ghost-core/material-transport.js +39 -91
- package/dist/ghost-core/material-transport.js.map +1 -1
- package/dist/ghost-core/materials.d.ts +1 -1
- package/dist/ghost-core/materials.d.ts.map +1 -1
- package/dist/ghost-core/materials.js +4 -1
- package/dist/ghost-core/materials.js.map +1 -1
- package/dist/ghost-core/node/types.d.ts +3 -2
- package/dist/ghost-core/node/types.d.ts.map +1 -1
- package/dist/init-payloads/skeleton/glossary.md +3 -3
- package/dist/init-payloads/vessel-light/checks/shape-matches-job.md +2 -2
- package/dist/init-payloads/vessel-light/glossary.md +3 -3
- package/dist/init-payloads/vessel-light/grammar.color-roles.md +0 -2
- package/dist/init-payloads/vessel-light/grammar.conversation.md +1 -2
- package/dist/init-payloads/vessel-light/grammar.hierarchy.md +1 -3
- package/dist/init-payloads/vessel-light/grammar.job.md +13 -13
- package/dist/init-payloads/vessel-light/grammar.motion.md +0 -2
- package/dist/init-payloads/vessel-light/grammar.rhythm.md +0 -2
- package/dist/init-payloads/vessel-light/grammar.surfaces.md +1 -3
- package/dist/init-payloads/vessel-light/index.md +6 -11
- package/dist/init-payloads/vessel-light/materials/{ref → examples}/composition.conversation.html +3 -3
- package/dist/init-payloads/vessel-light/materials/{ref → examples}/composition.editorial.html +3 -3
- package/dist/init-payloads/vessel-light/materials/{ref → examples}/composition.form.html +3 -3
- package/dist/init-payloads/vessel-light/materials/{ref → examples}/composition.overlay.html +3 -3
- package/dist/init-payloads/vessel-light/materials/{ref → examples}/composition.table.html +3 -3
- package/dist/init-payloads/vessel-light/materials/{ref → examples}/email.html +3 -3
- package/dist/init-payloads/vessel-light/materials/tokens.css +1 -1
- package/dist/init-payloads/vessel-light/register.data-density.md +1 -1
- package/dist/init-payloads/vessel-light/register.editorial.md +1 -1
- package/dist/init-payloads/vessel-light/register.email.md +1 -1
- package/dist/init-payloads/vessel-light/signature.type.md +7 -1
- package/dist/scan/fingerprint-package-lint.d.ts.map +1 -1
- package/dist/scan/fingerprint-package-lint.js +3 -5
- package/dist/scan/fingerprint-package-lint.js.map +1 -1
- package/dist/scan/templates.d.ts +1 -1
- package/dist/scan/templates.js +1 -1
- package/dist/scan/templates.js.map +1 -1
- package/dist/skill-bundle/SKILL.md +9 -11
- package/dist/skill-bundle/references/authoring.md +145 -0
- package/dist/skill-bundle/references/concrete.md +131 -0
- package/dist/skill-bundle/references/making.md +4 -5
- package/dist/skill-bundle/references/nodes.md +138 -0
- package/dist/skill-bundle/references/schema.md +50 -55
- package/dist/skill-bundle/references/self-check.md +0 -1
- package/dist/skill-bundle/references/steering-audit.md +2 -11
- package/package.json +1 -1
- package/dist/ghost-core/glob.d.ts +0 -5
- package/dist/ghost-core/glob.d.ts.map +0 -1
- package/dist/ghost-core/glob.js +0 -68
- package/dist/ghost-core/glob.js.map +0 -1
- package/dist/review/glob.d.ts +0 -2
- package/dist/review/glob.d.ts.map +0 -1
- package/dist/review/glob.js +0 -2
- package/dist/review/glob.js.map +0 -1
- package/dist/skill-bundle/references/adapting-a-starter.md +0 -104
- package/dist/skill-bundle/references/authoring-scenarios.md +0 -187
- package/dist/skill-bundle/references/blocks.md +0 -179
- package/dist/skill-bundle/references/capture.md +0 -420
- package/dist/skill-bundle/references/concrete-tiers.md +0 -95
- package/dist/skill-bundle/references/distill.md +0 -205
|
@@ -27,7 +27,7 @@ export declare function externalLocatorScheme(value: string): string | undefined
|
|
|
27
27
|
* Classify a material locator after `validateMaterialLocator`. `url` is the
|
|
28
28
|
* legacy public kind for an external locator; `access` distinguishes HTTPS from
|
|
29
29
|
* connection-dependent locators. ghost never resolves or connects to them.
|
|
30
|
-
* Everything else is
|
|
30
|
+
* Everything else is an explicit repo-relative file path.
|
|
31
31
|
*/
|
|
32
32
|
export declare function classifyMaterialLocator(value: string): ClassifiedGhostMaterialLocator;
|
|
33
33
|
/** Return a human-readable validation error, or null when the locator is valid. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"materials.d.ts","sourceRoot":"","sources":["../../src/ghost-core/materials.ts"],"names":[],"mappings":"AAAA,sDAAsD;AACtD,MAAM,MAAM,wBAAwB,GAAG,OAAO,GAAG,KAAK,CAAC;AAEvD,0DAA0D;AAC1D,MAAM,WAAW,sBAAsB;IACrC,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,0EAA0E;AAC1E,MAAM,MAAM,aAAa,GAAG,MAAM,GAAG,sBAAsB,CAAC;AAE5D,MAAM,WAAW,8BAA8B;IAC7C,IAAI,EAAE,wBAAwB,CAAC;IAC/B,KAAK,EAAE,MAAM,CAAC;IACd,2EAA2E;IAC3E,MAAM,CAAC,EAAE,OAAO,GAAG,WAAW,CAAC;CAChC;AAYD,6DAA6D;AAC7D,wBAAgB,iBAAiB,CAC/B,QAAQ,EAAE,aAAa,GACtB,sBAAsB,CAExB;AAED,2EAA2E;AAC3E,wBAAgB,eAAe,CAAC,QAAQ,EAAE,aAAa,GAAG,MAAM,CAE/D;AAED;;;;GAIG;AACH,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAKvE;AAED;;;;;GAKG;AACH,wBAAgB,uBAAuB,CACrC,KAAK,EAAE,MAAM,GACZ,8BAA8B,CAYhC;AAED,mFAAmF;AACnF,wBAAgB,uBAAuB,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,
|
|
1
|
+
{"version":3,"file":"materials.d.ts","sourceRoot":"","sources":["../../src/ghost-core/materials.ts"],"names":[],"mappings":"AAAA,sDAAsD;AACtD,MAAM,MAAM,wBAAwB,GAAG,OAAO,GAAG,KAAK,CAAC;AAEvD,0DAA0D;AAC1D,MAAM,WAAW,sBAAsB;IACrC,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,0EAA0E;AAC1E,MAAM,MAAM,aAAa,GAAG,MAAM,GAAG,sBAAsB,CAAC;AAE5D,MAAM,WAAW,8BAA8B;IAC7C,IAAI,EAAE,wBAAwB,CAAC;IAC/B,KAAK,EAAE,MAAM,CAAC;IACd,2EAA2E;IAC3E,MAAM,CAAC,EAAE,OAAO,GAAG,WAAW,CAAC;CAChC;AAYD,6DAA6D;AAC7D,wBAAgB,iBAAiB,CAC/B,QAAQ,EAAE,aAAa,GACtB,sBAAsB,CAExB;AAED,2EAA2E;AAC3E,wBAAgB,eAAe,CAAC,QAAQ,EAAE,aAAa,GAAG,MAAM,CAE/D;AAED;;;;GAIG;AACH,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAKvE;AAED;;;;;GAKG;AACH,wBAAgB,uBAAuB,CACrC,KAAK,EAAE,MAAM,GACZ,8BAA8B,CAYhC;AAED,mFAAmF;AACnF,wBAAgB,uBAAuB,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAyDpE"}
|
|
@@ -30,7 +30,7 @@ export function externalLocatorScheme(value) {
|
|
|
30
30
|
* Classify a material locator after `validateMaterialLocator`. `url` is the
|
|
31
31
|
* legacy public kind for an external locator; `access` distinguishes HTTPS from
|
|
32
32
|
* connection-dependent locators. ghost never resolves or connects to them.
|
|
33
|
-
* Everything else is
|
|
33
|
+
* Everything else is an explicit repo-relative file path.
|
|
34
34
|
*/
|
|
35
35
|
export function classifyMaterialLocator(value) {
|
|
36
36
|
if (!URI_SCHEME.test(value) || WINDOWS_ABSOLUTE_PATH.test(value)) {
|
|
@@ -91,6 +91,9 @@ export function validateMaterialLocator(value) {
|
|
|
91
91
|
if (normalized.startsWith("~/")) {
|
|
92
92
|
return "local material locators must be repo-relative, not home-relative paths";
|
|
93
93
|
}
|
|
94
|
+
if (/[*?{]/.test(normalized)) {
|
|
95
|
+
return "local material locators must name each file explicitly; glob patterns are not supported";
|
|
96
|
+
}
|
|
94
97
|
return null;
|
|
95
98
|
}
|
|
96
99
|
//# sourceMappingURL=materials.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"materials.js","sourceRoot":"","sources":["../../src/ghost-core/materials.ts"],"names":[],"mappings":"AAmBA,MAAM,UAAU,GAAG,sBAAsB,CAAC;AAC1C,MAAM,qBAAqB,GAAG,iBAAiB,CAAC;AAChD,MAAM,+BAA+B,GAAG,iCAAiC,CAAC;AAC1E,MAAM,0BAA0B,GAAG,IAAI,GAAG,CAAC;IACzC,QAAQ;IACR,SAAS;IACT,QAAQ;IACR,MAAM;CACP,CAAC,CAAC;AAEH,6DAA6D;AAC7D,MAAM,UAAU,iBAAiB,CAC/B,QAAuB;IAEvB,OAAO,OAAO,QAAQ,KAAK,QAAQ,CAAC,CAAC,CAAC,EAAE,OAAO,EAAE,QAAQ,EAAE,CAAC,CAAC,CAAC,QAAQ,CAAC;AACzE,CAAC;AAED,2EAA2E;AAC3E,MAAM,UAAU,eAAe,CAAC,QAAuB;IACrD,OAAO,iBAAiB,CAAC,QAAQ,CAAC,CAAC,OAAO,CAAC;AAC7C,CAAC;AAED;;;;GAIG;AACH,MAAM,UAAU,qBAAqB,CAAC,KAAa;IACjD,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,K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D,CAAC;QACtE,CAAC;QACD,OAAO,IAAI,CAAC;IACd,CAAC;IAED,IAAI,KAAK,CAAC,UAAU,CAAC,GAAG,CAAC,IAAI,KAAK,CAAC,UAAU,CAAC,IAAI,CAAC,EAAE,CAAC;QACpD,OAAO,mEAAmE,CAAC;IAC7E,CAAC;IACD,MAAM,UAAU,GAAG,KAAK,CAAC,OAAO,CAAC,KAAK,EAAE,GAAG,CAAC,CAAC;IAC7C,IACE,UAAU,KAAK,IAAI;QACnB,UAAU,CAAC,UAAU,CAAC,KAAK,CAAC;QAC5B,UAAU,CAAC,QAAQ,CAAC,KAAK,CAAC;QAC1B,UAAU,CAAC,QAAQ,CAAC,MAAM,CAAC,EAC3B,CAAC;QACD,OAAO,4DAA4D,CAAC;IACtE,CAAC;IACD,IAAI,UAAU,CAAC,UAAU,CAAC,IAAI,CAAC,EAAE,CAAC;QAChC,OAAO,wEAAwE,CAAC;IAClF,CAAC;IACD,IAAI,OAAO,CAAC,IAAI,CAAC,UAAU,CAAC,EAAE,CAAC;QAC7B,OAAO,yFAAyF,CAAC;IACnG,CAAC;IACD,OAAO,IAAI,CAAC;AACd,CAAC"}
|
|
@@ -20,8 +20,9 @@ export interface GhostNodeFrontmatter {
|
|
|
20
20
|
description?: string;
|
|
21
21
|
/**
|
|
22
22
|
* Optional locators for the concrete materials this guidance is about:
|
|
23
|
-
* repo-relative paths
|
|
24
|
-
*
|
|
23
|
+
* explicit repo-relative file paths and supported external locators. Glob
|
|
24
|
+
* patterns are not supported and fail validation. A locator may be a bare
|
|
25
|
+
* string or an object with a short retrieval note. Guidance stays in
|
|
25
26
|
* prose; this list only says where the material can be found.
|
|
26
27
|
*/
|
|
27
28
|
materials?: GhostMaterial[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/ghost-core/node/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAEr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+33,7 @@ checks at review.
|
|
|
33
33
|
|
|
34
34
|
The cover node (`brand.md`, declared in the manifest) is the one page always
|
|
35
35
|
in context: what the brand is, its temperature, and the refusals only it
|
|
36
|
-
makes. The ghost skill's `
|
|
37
|
-
|
|
36
|
+
makes. The ghost skill's `authoring` recipe explains how to grow this skeleton
|
|
37
|
+
into a real ghost package: write the cover, answer each
|
|
38
38
|
chapter's open question, prune the cliches your chapters absorb, then add
|
|
39
|
-
materials and
|
|
39
|
+
materials and examples.
|
|
@@ -10,11 +10,11 @@ references:
|
|
|
10
10
|
|
|
11
11
|
Apply this check to diffs that add or restructure a view. Classify the
|
|
12
12
|
reader's job first — what they do next with the view — then judge the
|
|
13
|
-
composition against the
|
|
13
|
+
composition against the example that job routes to. These flags catch the
|
|
14
14
|
template-convergence failure: a plausible layout applied to a job it does
|
|
15
15
|
not fit.
|
|
16
16
|
|
|
17
|
-
Flag a view whose job routes to one
|
|
17
|
+
Flag a view whose job routes to one example but whose composition imitates
|
|
18
18
|
another — a submit-and-done task laid out as a dashboard of cards, a
|
|
19
19
|
records-scanning task rendered as prose sections, a stop-and-decide moment
|
|
20
20
|
inlined into the page instead of interrupting it. (`grammar.job`)
|
|
@@ -38,7 +38,7 @@ anti-goals before styling anything greenfield.
|
|
|
38
38
|
|
|
39
39
|
---
|
|
40
40
|
|
|
41
|
-
To adapt this package to another brand, follow the
|
|
42
|
-
recipe in the ghost skill bundle. In short: new manifest id, prune the
|
|
41
|
+
To adapt this package to another brand, follow the starter section of the
|
|
42
|
+
`authoring` recipe in the ghost skill bundle. In short: new manifest id, prune the
|
|
43
43
|
median rules your brand legitimately violates, answer each signature node,
|
|
44
|
-
edit `materials/tokens.css`, regenerate the
|
|
44
|
+
edit `materials/tokens.css`, regenerate the examples, rewrite the tells.
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
context: Any AI thread, agent console, review assistant, or prompt composer.
|
|
3
3
|
materials:
|
|
4
|
-
- materials/
|
|
5
|
-
- "**/*.html"
|
|
4
|
+
- materials/examples/composition.conversation.html
|
|
6
5
|
---
|
|
7
6
|
|
|
8
7
|
Conversation UI is not chat cosplay. The assistant speaks on the page surface
|
|
@@ -2,9 +2,7 @@
|
|
|
2
2
|
context: Any view containing text or actions.
|
|
3
3
|
materials:
|
|
4
4
|
- materials/primitives.css
|
|
5
|
-
- materials/
|
|
6
|
-
- "**/*.html"
|
|
7
|
-
- "**/*.css"
|
|
5
|
+
- materials/examples/composition.form.html
|
|
8
6
|
---
|
|
9
7
|
|
|
10
8
|
Hierarchy is a closed vocabulary, not a size slider. Every piece of text and
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
---
|
|
2
2
|
context: Any new view before its structure or register is chosen.
|
|
3
3
|
materials:
|
|
4
|
-
- materials/
|
|
5
|
-
- materials/
|
|
6
|
-
- materials/
|
|
7
|
-
- materials/
|
|
8
|
-
- materials/
|
|
9
|
-
- materials/
|
|
4
|
+
- materials/examples/composition.form.html
|
|
5
|
+
- materials/examples/composition.table.html
|
|
6
|
+
- materials/examples/composition.editorial.html
|
|
7
|
+
- materials/examples/composition.overlay.html
|
|
8
|
+
- materials/examples/composition.conversation.html
|
|
9
|
+
- materials/examples/email.html
|
|
10
10
|
---
|
|
11
11
|
|
|
12
12
|
Before any structure exists, name what the reader does next with the view.
|
|
@@ -19,17 +19,17 @@ misleads.
|
|
|
19
19
|
The jobs and where they route:
|
|
20
20
|
|
|
21
21
|
- **Fill something in** — settings, signup, any submit-and-done task → the
|
|
22
|
-
form
|
|
22
|
+
form example. Stacked labels and fields, one submit, secondary escape.
|
|
23
23
|
- **Scan and compare records** — lists, audits, anything with rows and
|
|
24
|
-
figures → the table
|
|
24
|
+
figures → the table example, in the data-density register.
|
|
25
25
|
- **Read a narrative** — a landing page, an announcement, a story → the
|
|
26
|
-
editorial
|
|
26
|
+
editorial example, in the editorial register.
|
|
27
27
|
- **Stop and decide** — a confirmation, a destructive act, a choice that
|
|
28
|
-
interrupts the task → the overlay
|
|
28
|
+
interrupts the task → the overlay example. The decision is the view.
|
|
29
29
|
- **Converse with the system** — an AI thread, an agent console, a prompt
|
|
30
|
-
composer → the conversation
|
|
30
|
+
composer → the conversation example.
|
|
31
31
|
- **Be notified elsewhere** — receipts, alerts, anything that lands in an
|
|
32
|
-
inbox → the email
|
|
32
|
+
inbox → the email example, in the email register.
|
|
33
33
|
|
|
34
34
|
Read the request's verbs, not its nouns: "edit / set up / submit" routes to
|
|
35
35
|
form; "compare / list / review the records" to table; "announce / tell the
|
|
@@ -37,7 +37,7 @@ story" to editorial; "confirm / are you sure" to overlay; "ask / draft with
|
|
|
37
37
|
me" to conversation. When two jobs fold into one request, build for the job
|
|
38
38
|
the reader performs on this view, now — the other job is the next view. When
|
|
39
39
|
a job fits none of these, compose from the grammar and say so; do not force
|
|
40
|
-
the nearest
|
|
40
|
+
the nearest example.
|
|
41
41
|
|
|
42
42
|
Three shapes lie about the job, and we refuse them everywhere:
|
|
43
43
|
|
|
@@ -2,9 +2,7 @@
|
|
|
2
2
|
context: Any card, popover, modal, dialog, scrim, or bordered container.
|
|
3
3
|
materials:
|
|
4
4
|
- materials/primitives.css
|
|
5
|
-
- materials/
|
|
6
|
-
- "**/*.html"
|
|
7
|
-
- "**/*.css"
|
|
5
|
+
- materials/examples/composition.overlay.html
|
|
8
6
|
---
|
|
9
7
|
|
|
10
8
|
Surface is the only way an element gets a background, border, radius, or
|
|
@@ -7,9 +7,8 @@ materials:
|
|
|
7
7
|
vessel-light is Vessel without the React package: the design language as a
|
|
8
8
|
steering packet for agents writing raw HTML and CSS.
|
|
9
9
|
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
worked examples to copy from, not a framework to import.
|
|
10
|
+
Style only with the tokens. Compose only with the closed sets the grammar
|
|
11
|
+
enumerates. Use the examples when the task matches; they are not a framework.
|
|
13
12
|
|
|
14
13
|
Grammar and the median floor are safe verbatim, unchanged by any adaptation.
|
|
15
14
|
Signature nodes state Vessel's current answer and stand until you replace
|
|
@@ -23,11 +22,7 @@ success, warning, information — never atmosphere. Atmosphere is catered: a
|
|
|
23
22
|
five-hue expression palette whose volume rises with the register, from
|
|
24
23
|
charts-only in product to two hues in editorial, and never on controls.
|
|
25
24
|
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
the register, never the topic. When a requested UI is not covered by a ref,
|
|
31
|
-
compose from the grammar; do not invent a new styling system. Before
|
|
32
|
-
anything ships, run the deletion pass: every element names what breaks if
|
|
33
|
-
it goes, and the view arrives settled.
|
|
25
|
+
Name the reader's job before composing anything. The job picks the example and
|
|
26
|
+
the register, never the topic. When no example fits, compose from the grammar;
|
|
27
|
+
do not invent a new styling system. Before anything ships, run the deletion
|
|
28
|
+
pass: every element names what breaks if it goes, and the view arrives settled.
|
package/dist/init-payloads/vessel-light/materials/{ref → examples}/composition.conversation.html
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
<!--
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
<!-- How to use this example
|
|
2
|
+
Keep: grammar.conversation — the whole grammar: assistant turns as plain text on the page surface (no bubble, border, or fill), user turns as compact muted surfaces aligned right, tool calls collapsed to a one-line labeled summary with status (mono detail only after expansion), one bordered prompt surface with an empty writing region and a single control row below, exactly one primary send. grammar.surfaces — no borders as decoration around assistant text. signature.shape — surface radius on the prompt surface and user turns.
|
|
3
|
+
Change: all copy; the 720px thread width and turn max-widths; the specific attach/mention controls; the billing subject matter.
|
|
4
4
|
-->
|
|
5
5
|
<!doctype html>
|
|
6
6
|
<html lang="en">
|
package/dist/init-payloads/vessel-light/materials/{ref → examples}/composition.editorial.html
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
<!--
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
<!-- How to use this example
|
|
2
|
+
Keep: register.editorial — display-scale hero with the single sanctioned kicker (one per page — repeating it on every section is the median tell), --section-padding-vertical rhythm, the sanctioned full-bleed dark band via --surface-dark-*, the pull quote as visual punctuation, one primary action per page at button--size-lg. signature.type — the editorial heading scale (text--display for the hero, --heading-section-* and --heading-sub-* composed locally) used where the words are the composition, product text variants (title, label, body) inside the features. grammar.rhythm — the hero takes the largest gap step (stack--gap-xl) because display scale earns it. grammar.motion — the sanctioned editorial entrance: one staged reveal at --duration-slow with the one ease, opacity and small transform only. grammar.hierarchy — the inverse tone on the dark surface. signature.palette — the editorial volume: exactly two expression hues per page (periwinkle tinting the dark band, amber accenting the pull quote), controls monochrome.
|
|
3
|
+
Change: all copy; the specific hue assignments (any two of the five expression hues satisfy the budget); the three-feature grid count; content max-widths.
|
|
4
4
|
-->
|
|
5
5
|
<!doctype html>
|
|
6
6
|
<html lang="en">
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
<!--
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
<!-- How to use this example
|
|
2
|
+
Keep: grammar.hierarchy — the complete control emphasis ladder (primary, secondary, outline, ghost, link) working one coherent view with one primary; destructive as a meaning, not a rung; field/label/error anatomy; the product text variants headline, title, body, label, mono; the warning and destructive tones. grammar.rhythm — column stacks with named gap steps, rows only for controls and paired label/value moments. grammar.surfaces — card tier with structural border. signature.shape — --radius-control on every control, --radius-surface on the card.
|
|
3
|
+
Change: all copy, field values, and key strings; the 560px column width; which specific action occupies each ladder rung; the settings domain itself.
|
|
4
4
|
-->
|
|
5
5
|
<!doctype html>
|
|
6
6
|
<html lang="en">
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
<!--
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
<!-- How to use this example
|
|
2
|
+
Keep: grammar.surfaces — the interrupting end of the elevation set: the modal tier (scrim, --shadow-modal, --radius-surface, compact header, clear footer) and the popover tier (an anchored menu floating above the flow with --shadow-popover). The card tier's home is composition.form.html and composition.table.html; together the three examples cover the closed elevation set. grammar.motion — the dialog reveal at --duration-normal with the one ease, opacity and small transform only. grammar.hierarchy — one primary confirm, ghost escape as button--icon close plus a cancel, menu items as ghost-weight actions; the info tone carrying a state-meaning note. signature.shape — surface radius on both overlay surfaces, the pill (--radius-control) on the icon close.
|
|
3
|
+
Change: showing the popover and the modal in the same frame (a demonstration convenience — in a live UI the menu closes when the dialog interrupts); all copy and counts; the 512px dialog width; the specific menu items.
|
|
4
4
|
-->
|
|
5
5
|
<!doctype html>
|
|
6
6
|
<html lang="en">
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
<!--
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
<!-- How to use this example
|
|
2
|
+
Keep: register.data-density — the two smallest gap steps (--gap-xs, --gap-sm) as cell padding, mono tabular numerals right-aligned, muted-first hierarchy, hairline row borders with no zebra striping, small radius on the data surface (surface--radius-sm), status as a text label in one functional color family, hover confirmation at --duration-fast. grammar.hierarchy — label + title header pairing, secondary export action stepping down the ladder.
|
|
3
|
+
Change: all customer names, emails, invoice ids, and amounts; the four-row count; the billing domain; the max content width.
|
|
4
4
|
-->
|
|
5
5
|
<!doctype html>
|
|
6
6
|
<html lang="en">
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<!doctype html>
|
|
2
|
-
<!--
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
<!-- How to use this example
|
|
3
|
+
Keep: register.email — the inverted material contract: table layout, 600px wrapper, inline styles, system font stack, hardcoded hex hand-transcribed from tokens.css (each annotated below with its source token), bulletproof pill button, surface radius on the card, exactly one expressive moment in one hue (the amber header band). signature.shape — the radius values (20px surface, 999px control) surviving without token names. signature.palette — monochrome spine, one hue, quiet factual copy, no celebration.
|
|
4
|
+
Change: all copy, amounts, dates, and receipt numbers; the choice of amber for the one expressive moment (any single expression hue qualifies); the receipt subject matter.
|
|
5
5
|
|
|
6
6
|
hex transcription map (single source: materials/tokens.css — re-transcribe if a token changes):
|
|
7
7
|
#ffffff = --color-white (background)
|
|
@@ -181,7 +181,7 @@
|
|
|
181
181
|
Product: charts only. Data-density: one hue family for status.
|
|
182
182
|
Email: exactly one expressive moment. Editorial: atmosphere, max two
|
|
183
183
|
hues per page. Never on interactive controls in any register.
|
|
184
|
-
The
|
|
184
|
+
The examples demonstrate hues 1 and 2; hues 3-5 are declared inventory —
|
|
185
185
|
no register renders all five at once (see signature.palette). */
|
|
186
186
|
--expression-1: #f6b44a; /* amber */
|
|
187
187
|
--expression-2: #7585ff; /* periwinkle */
|
|
@@ -2,7 +2,13 @@
|
|
|
2
2
|
context: Any text, hero, landing page, or editorial moment.
|
|
3
3
|
materials:
|
|
4
4
|
- materials/tokens.css
|
|
5
|
-
- materials/fonts
|
|
5
|
+
- materials/fonts/HKGrotesk-Black.woff2
|
|
6
|
+
- materials/fonts/HKGrotesk-Bold.woff2
|
|
7
|
+
- materials/fonts/HKGrotesk-ExtraBold.woff2
|
|
8
|
+
- materials/fonts/HKGrotesk-Light.woff2
|
|
9
|
+
- materials/fonts/HKGrotesk-Medium.woff2
|
|
10
|
+
- materials/fonts/HKGrotesk-Regular.woff2
|
|
11
|
+
- materials/fonts/HKGrotesk-SemiBold.woff2
|
|
6
12
|
---
|
|
7
13
|
|
|
8
14
|
This is Vessel's answer to type — it stands until you replace it.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fingerprint-package-lint.d.ts","sourceRoot":"","sources":["../../src/scan/fingerprint-package-lint.ts"],"names":[],"mappings":"AA0BA,OAAO,KAAK,EAAa,UAAU,EAAE,MAAM,WAAW,CAAC;AAGvD;;;;GAIG;AACH,wBAAsB,gBAAgB,CACpC,MAAM,EAAE,MAAM,GAAG,SAAS,EAC1B,GAAG,SAAgB,GAClB,OAAO,CAAC,UAAU,CAAC,CA4DrB;
|
|
1
|
+
{"version":3,"file":"fingerprint-package-lint.d.ts","sourceRoot":"","sources":["../../src/scan/fingerprint-package-lint.ts"],"names":[],"mappings":"AA0BA,OAAO,KAAK,EAAa,UAAU,EAAE,MAAM,WAAW,CAAC;AAGvD;;;;GAIG;AACH,wBAAsB,gBAAgB,CACpC,MAAM,EAAE,MAAM,GAAG,SAAS,EAC1B,GAAG,SAAgB,GAClB,OAAO,CAAC,UAAU,CAAC,CA4DrB;AAkRD,0CAA0C;AAC1C,eAAO,MAAM,sBAAsB,yBAAmB,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { readFile } from "node:fs/promises";
|
|
2
2
|
import { relative, resolve } from "node:path";
|
|
3
|
-
import { classifyMaterialLocator, closestIds,
|
|
3
|
+
import { classifyMaterialLocator, closestIds, extractSkeletonSections, listBundledMaterialFiles, materialLocator, materialLocatorClaimsPath, parseGlossary, parseSourceRef, resolveLocalMaterialFile, sliceNodeSection, } from "#ghost-core";
|
|
4
4
|
import { isMissingPathError } from "../internal/fs.js";
|
|
5
5
|
import { GHOST_GLOSSARY_FILENAME, GHOST_MATERIALS_DIR } from "./constants.js";
|
|
6
6
|
import { resolveGhostPackage, } from "./fingerprint-package.js";
|
|
@@ -185,10 +185,8 @@ async function lintMaterialLocators(paths, catalog, issues, cwd) {
|
|
|
185
185
|
if (classifyMaterialLocator(locator).kind === "url")
|
|
186
186
|
continue;
|
|
187
187
|
claimedLocators.push(locator);
|
|
188
|
-
const
|
|
189
|
-
|
|
190
|
-
});
|
|
191
|
-
if (expanded.matches.length > 0)
|
|
188
|
+
const resolved = await resolveLocalMaterialFile(locator, options);
|
|
189
|
+
if (resolved.match !== undefined)
|
|
192
190
|
continue;
|
|
193
191
|
issues.push({
|
|
194
192
|
severity: "warning",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fingerprint-package-lint.js","sourceRoot":"","sources":["../../src/scan/fingerprint-package-lint.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAC5C,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAC9C,OAAO,EACL,uBAAuB,EACvB,UAAU,EACV,
|
|
1
|
+
{"version":3,"file":"fingerprint-package-lint.js","sourceRoot":"","sources":["../../src/scan/fingerprint-package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E,CAAC;AACJ,CAAC"}
|
package/dist/scan/templates.d.ts
CHANGED
|
@@ -19,7 +19,7 @@ export interface GhostInitTemplate {
|
|
|
19
19
|
}
|
|
20
20
|
/**
|
|
21
21
|
* An init body: a full inhabited ghost package — answered signature
|
|
22
|
-
* dials, materials,
|
|
22
|
+
* dials, materials, examples, and its own checks. Templates are shapes of
|
|
23
23
|
* emptiness awaiting the owner's truths; a body is the same anatomy with a
|
|
24
24
|
* real brand's values plugged in. Bodies keep their own manifest id (e.g.
|
|
25
25
|
* `vessel-light`) so an unadapted install stays honestly labeled — changing
|
package/dist/scan/templates.js
CHANGED
|
@@ -57,7 +57,7 @@ const TEMPLATES = new Map([
|
|
|
57
57
|
]);
|
|
58
58
|
const VESSEL_LIGHT_BODY = {
|
|
59
59
|
name: "vessel-light",
|
|
60
|
-
description: "Vessel's design language at full strength: corpus, tokens, fonts,
|
|
60
|
+
description: "Vessel's design language at full strength: corpus, tokens, fonts, examples, and checks.",
|
|
61
61
|
includesChecks: true,
|
|
62
62
|
async files() {
|
|
63
63
|
const payload = await loadPackedPayload("vessel-light");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"templates.js","sourceRoot":"","sources":["../../src/scan/templates.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAC;AACnD,OAAO,EACL,qBAAqB,EACrB,4BAA4B,GAC7B,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,iBAAiB,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAoB1E,SAAS,YAAY,CAAC,KAAc;IAClC,OAAO;QACL,YAAY,EAAE,cAAc;QAC5B,OAAO,EAAE,WAAW,oBAAoB,gBAAgB,KAAK,CAAC,CAAC,CAAC,UAAU,KAAK,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE;KAC3F,CAAC;AACJ,CAAC;AAED;;;;GAIG;AACH,SAAS,aAAa;IACpB,OAAO;QACL,YAAY,EAAE,YA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C;AAE5D,kDAAkD;AAClD,MAAM,UAAU,eAAe,CAAC,IAAY;IAC1C,OAAO,SAAS,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;AAC7B,CAAC;AAED,MAAM,UAAU,iBAAiB;IAC/B,OAAO,CAAC,GAAG,SAAS,CAAC,IAAI,EAAE,CAAC,CAAC;AAC/B,CAAC"}
|
|
@@ -28,8 +28,9 @@ it applies, and an agent reads the relevant guidance before building.
|
|
|
28
28
|
|
|
29
29
|
- A **node** is a markdown file: `context`, optional `materials`, and prose brand guidance. `description` is a deprecated compatibility alias for one release.
|
|
30
30
|
- `materials` is one list of locators for the concrete stuff the guidance is about:
|
|
31
|
-
repo-relative paths
|
|
32
|
-
[schema.md](references/schema.md))
|
|
31
|
+
explicit repo-relative file paths or supported external locators (see
|
|
32
|
+
[schema.md](references/schema.md)); name each file rather than
|
|
33
|
+
reaching for a glob. A bare locator is enough
|
|
33
34
|
when it explains itself. An opaque locator may use `{ locator, note }` to say
|
|
34
35
|
what it contains. `materials/` is reserved for bundled materials; reference
|
|
35
36
|
living implementations where they already live. Guidance stays in prose.
|
|
@@ -51,7 +52,7 @@ it applies, and an agent reads the relevant guidance before building.
|
|
|
51
52
|
## The loop
|
|
52
53
|
|
|
53
54
|
```bash
|
|
54
|
-
ghost init # scaffold .ghost/ with the
|
|
55
|
+
ghost init # scaffold .ghost/ with the skeleton starter
|
|
55
56
|
ghost checks init # opt in to review assertions
|
|
56
57
|
ghost validate # artifact shape + node/material/check validation
|
|
57
58
|
ghost gather <ask> # emit Available guidance for this task
|
|
@@ -115,12 +116,9 @@ against the unpacked package with `--package <dir>`.
|
|
|
115
116
|
|
|
116
117
|
## Workflows
|
|
117
118
|
|
|
118
|
-
-
|
|
119
|
-
-
|
|
120
|
-
-
|
|
121
|
-
- Choose which concrete code tiers the package carries: follow [references/concrete-tiers.md](references/concrete-tiers.md).
|
|
122
|
-
- Choose the right human-agent authoring workflow: follow [references/authoring-scenarios.md](references/authoring-scenarios.md).
|
|
123
|
-
- Adapt a starter (a body or the skeleton) to your brand: follow [references/adapting-a-starter.md](references/adapting-a-starter.md).
|
|
119
|
+
- Create or update a package: follow [references/authoring.md](references/authoring.md).
|
|
120
|
+
- Write or revise guidance nodes: follow [references/nodes.md](references/nodes.md).
|
|
121
|
+
- Bind guidance to concrete materials: follow [references/concrete.md](references/concrete.md).
|
|
124
122
|
- Gather applicable guidance for a task: follow [references/recall.md](references/recall.md).
|
|
125
123
|
- Make a visual artifact end to end: follow [references/making.md](references/making.md).
|
|
126
124
|
- Shape a pre-generation brief: follow [references/brief.md](references/brief.md).
|
|
@@ -129,8 +127,8 @@ against the unpacked package with `--package <dir>`.
|
|
|
129
127
|
- Understand the package shape: see [references/schema.md](references/schema.md).
|
|
130
128
|
|
|
131
129
|
ghost package authoring is **elicitation, not scanning**. The raw material is what
|
|
132
|
-
the human brings and points at: words, images, links,
|
|
133
|
-
|
|
130
|
+
the human brings and points at: words, images, links, products, brand docs, copy
|
|
131
|
+
they love or hate. Repo code can supply material locators and local
|
|
134
132
|
conventions, but durable brand guidance should be curated by the human.
|
|
135
133
|
|
|
136
134
|
## When the package is silent
|