@design-intelligence/ghost 0.26.1 → 0.27.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/gather-command.js +5 -5
- package/dist/commands/gather-command.js.map +1 -1
- package/dist/commands/pull-command.js +5 -3
- package/dist/commands/pull-command.js.map +1 -1
- package/dist/commands/review-command.d.ts.map +1 -1
- package/dist/commands/review-command.js +0 -2
- package/dist/commands/review-command.js.map +1 -1
- package/dist/embed/gather.d.ts.map +1 -1
- package/dist/embed/gather.js +4 -2
- package/dist/embed/gather.js.map +1 -1
- package/dist/embed/pull.d.ts.map +1 -1
- package/dist/embed/pull.js +3 -1
- package/dist/embed/pull.js.map +1 -1
- package/dist/embed/types.d.ts +4 -0
- package/dist/embed/types.d.ts.map +1 -1
- package/dist/ghost-core/catalog/assemble.d.ts.map +1 -1
- package/dist/ghost-core/catalog/assemble.js +5 -1
- package/dist/ghost-core/catalog/assemble.js.map +1 -1
- package/dist/ghost-core/catalog/closest.d.ts +1 -1
- package/dist/ghost-core/catalog/closest.js +1 -1
- package/dist/ghost-core/catalog/menu.d.ts +8 -6
- package/dist/ghost-core/catalog/menu.d.ts.map +1 -1
- package/dist/ghost-core/catalog/menu.js +5 -3
- package/dist/ghost-core/catalog/menu.js.map +1 -1
- package/dist/ghost-core/catalog/types.d.ts +5 -1
- package/dist/ghost-core/catalog/types.d.ts.map +1 -1
- package/dist/ghost-core/check/lint.d.ts.map +1 -1
- package/dist/ghost-core/check/lint.js +0 -10
- package/dist/ghost-core/check/lint.js.map +1 -1
- package/dist/ghost-core/check/load.d.ts.map +1 -1
- package/dist/ghost-core/check/load.js +0 -2
- package/dist/ghost-core/check/load.js.map +1 -1
- package/dist/ghost-core/check/types.d.ts +0 -2
- package/dist/ghost-core/check/types.d.ts.map +1 -1
- package/dist/ghost-core/node/schema.d.ts +3 -1
- package/dist/ghost-core/node/schema.d.ts.map +1 -1
- package/dist/ghost-core/node/schema.js +4 -2
- package/dist/ghost-core/node/schema.js.map +1 -1
- package/dist/ghost-core/node/serialize.d.ts +7 -5
- package/dist/ghost-core/node/serialize.d.ts.map +1 -1
- package/dist/ghost-core/node/serialize.js +18 -9
- package/dist/ghost-core/node/serialize.js.map +1 -1
- package/dist/ghost-core/node/types.d.ts +6 -4
- package/dist/ghost-core/node/types.d.ts.map +1 -1
- package/dist/init-payloads/median/cliche.median.md +1 -1
- package/dist/init-payloads/skeleton/brand.md +1 -1
- package/dist/init-payloads/skeleton/context.conversation.md +1 -1
- package/dist/init-payloads/skeleton/foundation.color.md +1 -1
- package/dist/init-payloads/skeleton/foundation.composition.md +1 -1
- package/dist/init-payloads/skeleton/foundation.controls.md +1 -1
- package/dist/init-payloads/skeleton/foundation.layout.md +1 -1
- package/dist/init-payloads/skeleton/foundation.motion.md +1 -1
- package/dist/init-payloads/skeleton/foundation.type.md +1 -1
- package/dist/init-payloads/skeleton/foundation.voice.md +1 -1
- package/dist/init-payloads/vessel-light/anti-goal.median.md +1 -1
- package/dist/init-payloads/vessel-light/anti-goal.tells.md +1 -1
- package/dist/init-payloads/vessel-light/grammar.color-roles.md +1 -1
- package/dist/init-payloads/vessel-light/grammar.conversation.md +1 -1
- package/dist/init-payloads/vessel-light/grammar.deletion.md +1 -1
- package/dist/init-payloads/vessel-light/grammar.hierarchy.md +1 -1
- package/dist/init-payloads/vessel-light/grammar.job.md +1 -1
- package/dist/init-payloads/vessel-light/grammar.motion.md +1 -1
- package/dist/init-payloads/vessel-light/grammar.rhythm.md +1 -1
- package/dist/init-payloads/vessel-light/grammar.surfaces.md +1 -1
- package/dist/init-payloads/vessel-light/index.md +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.palette.md +1 -1
- package/dist/init-payloads/vessel-light/signature.shape.md +1 -1
- package/dist/init-payloads/vessel-light/signature.temperature.md +1 -1
- package/dist/init-payloads/vessel-light/signature.type.md +1 -1
- package/dist/review/baseline.d.ts +1 -1
- package/dist/review/baseline.d.ts.map +1 -1
- package/dist/review/baseline.js +2 -6
- package/dist/review/baseline.js.map +1 -1
- package/dist/review/review-packet.d.ts +2 -6
- package/dist/review/review-packet.d.ts.map +1 -1
- package/dist/review/review-packet.js +6 -20
- package/dist/review/review-packet.js.map +1 -1
- package/dist/scan/fingerprint-package-lint.d.ts.map +1 -1
- package/dist/scan/fingerprint-package-lint.js +17 -10
- package/dist/scan/fingerprint-package-lint.js.map +1 -1
- package/dist/skill-bundle/SKILL.md +7 -9
- package/dist/skill-bundle/references/authoring-scenarios.md +1 -1
- package/dist/skill-bundle/references/blocks.md +10 -10
- package/dist/skill-bundle/references/brief.md +1 -1
- package/dist/skill-bundle/references/capture.md +18 -17
- package/dist/skill-bundle/references/distill.md +1 -1
- package/dist/skill-bundle/references/making.md +7 -7
- package/dist/skill-bundle/references/recall.md +1 -1
- package/dist/skill-bundle/references/schema.md +13 -14
- package/dist/skill-bundle/references/self-check.md +2 -2
- package/dist/skill-bundle/references/steering-audit.md +3 -3
- package/package.json +1 -1
- package/dist/review/probes.d.ts +0 -13
- package/dist/review/probes.d.ts.map +0 -1
- package/dist/review/probes.js +0 -45
- package/dist/review/probes.js.map +0 -1
|
@@ -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,0BAA0B,EAC1B,uBAAuB,EAEvB,wBAAwB,EACxB,eAAe,EACf,yBAAyB,EACzB,aAAa,EACb,cAAc,EACd,gBAAgB,GACjB,MAAM,aAAa,CAAC;AACrB,OAAO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CAAC;AAED,KAAK,UAAU,YAAY,CACzB,IAAY,EACZ,KAAa,EACb,MAAmB;IAEnB,IAAI,CAAC;QACH,OAAO,MAAM,QAAQ,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;IACvC,CAAC;IAAC,MAAM,CAAC;QACP,MAAM,CAAC,IAAI,CAAC;YACV,QAAQ,EAAE,OAAO;YACjB,IAAI,EAAE,0BAA0B;YAChC,OAAO,EAAE,4BAA4B,KAAK,GAAG;YAC7C,IAAI,EAAE,KAAK;SACZ,CAAC,CAAC;QACH,OAAO,SAAS,CAAC;IACnB,CAAC;AACH,CAAC;AAED,0CAA0C;AAC1C,MAAM,CAAC,MAAM,sBAAsB,GAAG,gBAAgB,CAAC;AAEvD,SAAS,QAAQ,CAAC,MAAmB;IACnC,OAAO;QACL,MAAM;QACN,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,QAAQ,KAAK,OAAO,CAAC,CAAC,MAAM;QACnE,QAAQ,EAAE,MAAM,CAAC,MAAM,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,QAAQ,KAAK,SAAS,CAAC,CAAC,MAAM;QACvE,IAAI,EAAE,MAAM,CAAC,MAAM,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,QAAQ,KAAK,MAAM,CAAC,CAAC,MAAM;KACjE,CAAC;AACJ,CAAC"}
|
|
@@ -26,7 +26,7 @@ it applies, and an agent reads the relevant guidance before building.
|
|
|
26
26
|
|
|
27
27
|
## The model in one breath
|
|
28
28
|
|
|
29
|
-
- A **node** is a markdown file: `
|
|
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
31
|
repo-relative paths/globs or supported external locators (see
|
|
32
32
|
[schema.md](references/schema.md)). A bare locator is enough
|
|
@@ -46,9 +46,7 @@ it applies, and an agent reads the relevant guidance before building.
|
|
|
46
46
|
- **Checks** are optional review assertions in a flat `.ghost/checks/*.md`
|
|
47
47
|
directory. Checks are feed-back only; they never leak into generation
|
|
48
48
|
context. Each check declares `references` to node ids and is used by
|
|
49
|
-
`ghost review`.
|
|
50
|
-
include `probe: <command>`; review runs it as evidence unless `--no-probes` is
|
|
51
|
-
set. Checks are never emitted by `ghost gather` or `ghost pull`.
|
|
49
|
+
`ghost review`. Checks are never emitted by `ghost gather` or `ghost pull`.
|
|
52
50
|
|
|
53
51
|
## The loop
|
|
54
52
|
|
|
@@ -64,7 +62,7 @@ ghost pulse # summarize local gather/pull events while tuning
|
|
|
64
62
|
```
|
|
65
63
|
|
|
66
64
|
`gather` does no selection. It emits the complete, unfiltered, unranked menu
|
|
67
|
-
from the ghost package. You read the ask against
|
|
65
|
+
from the ghost package. You read the ask against contexts, then
|
|
68
66
|
pull every applicable node and skip inapplicable nodes. Topic overlap alone is
|
|
69
67
|
not applicability. Its header includes a coverage line: total nodes and nodes
|
|
70
68
|
carrying concrete material. `gather` labels materials, substantial fenced
|
|
@@ -78,8 +76,8 @@ concrete nodes, prose rules), extracts Skeletons dead last, and appends
|
|
|
78
76
|
structured events to `.ghost/.events` for local tuning.
|
|
79
77
|
|
|
80
78
|
`review` does no grading. It assembles an advisory packet: touched files,
|
|
81
|
-
matched material-backed nodes, offered checks,
|
|
82
|
-
|
|
79
|
+
matched material-backed nodes, offered checks, coverage gaps, and the diff. The
|
|
80
|
+
host agent renders findings.
|
|
83
81
|
|
|
84
82
|
For visual work, do not stop at generation. Continue through material inspection,
|
|
85
83
|
compact briefing, rendered verification, bounded repair, and grounded review in
|
|
@@ -94,7 +92,7 @@ this same host-agent session.
|
|
|
94
92
|
| `ghost validate [file-or-dir]` | Validate manifest, nodes, material locators, check references, and glossary kind prefixes. |
|
|
95
93
|
| `ghost gather [ask…] [--format json]` | Emit the complete guidance menu plus coverage line; log exposed ids. |
|
|
96
94
|
| `ghost pull <id> [<id>…]` | Emit selected nodes' full bodies and materials in steering order; log selected/missed ids. |
|
|
97
|
-
| `ghost review [--diff <path|->] [--base <ref>] [--format json]
|
|
95
|
+
| `ghost review [--diff <path|->] [--base <ref>] [--format json]` | Emit an advisory review packet for a diff (requires `.ghost/checks/`). |
|
|
98
96
|
| `ghost export [--out <path>] [--no-checks] [--strict] [--format json]` | Package `.ghost/` as a portable brand artifact and report which material locators will not travel. |
|
|
99
97
|
| `ghost pulse [--format json]` | Summarize local `.ghost/.events`. |
|
|
100
98
|
| `ghost skill install` | Install this skill bundle. |
|
|
@@ -126,7 +124,7 @@ against the unpacked package with `--package <dir>`.
|
|
|
126
124
|
- Gather applicable guidance for a task: follow [references/recall.md](references/recall.md).
|
|
127
125
|
- Make a visual artifact end to end: follow [references/making.md](references/making.md).
|
|
128
126
|
- Shape a pre-generation brief: follow [references/brief.md](references/brief.md).
|
|
129
|
-
-
|
|
127
|
+
- Check readiness before generating: follow [references/self-check.md](references/self-check.md).
|
|
130
128
|
- Audit steering coverage: follow [references/steering-audit.md](references/steering-audit.md).
|
|
131
129
|
- Understand the package shape: see [references/schema.md](references/schema.md).
|
|
132
130
|
|
|
@@ -89,7 +89,7 @@ and enforced in review, not repeated as the model's main example.
|
|
|
89
89
|
## 4. Draft The Nodes
|
|
90
90
|
|
|
91
91
|
Write the smallest useful set of nodes, each carrying purpose-coherent prose guidance with
|
|
92
|
-
a one-line `
|
|
92
|
+
a one-line `context`, named `<kind>.<slug>.md` (or a bare slug when no kind is present). Ask three questions of each node body: why (the stance), with what
|
|
93
93
|
(the materials), and how it is assembled (the patterns). These are drafting
|
|
94
94
|
prompts, not fields.
|
|
95
95
|
|
|
@@ -18,7 +18,7 @@ This is opinionated method, not new schema. **"Block node" is shorthand in this
|
|
|
18
18
|
recipe, not a ghost concept**: it means any node whose guidance is a reusable
|
|
19
19
|
building block, whatever kind the author's glossary declares for it (`block`,
|
|
20
20
|
`asset`, `pattern`, …). A block node is a node like any other: a markdown file
|
|
21
|
-
with a `
|
|
21
|
+
with a `context` and a prose body, named `<kind>.<slug>.md` (or a bare
|
|
22
22
|
slug). See [capture.md](capture.md) for the node shape. Block prose can be one
|
|
23
23
|
paragraph inside a broader node, or split across many nodes, one per block,
|
|
24
24
|
whatever keeps each node purpose-coherent.
|
|
@@ -46,7 +46,7 @@ Neither is correct. A concrete block node is a deliberate trade, not a leak.
|
|
|
46
46
|
|
|
47
47
|
- **Primitives** (button, input, badge, avatar, spinner…) get **no prose body**
|
|
48
48
|
when the generic form serves. They are shared vocabulary, not stance. If you
|
|
49
|
-
record one at all, give it only a `
|
|
49
|
+
record one at all, give it only a `context` so `gather` can surface it;
|
|
50
50
|
the absence of a body is the signal that training priors are acceptable here.
|
|
51
51
|
When a primitive is itself brand-distinctive (a button whose shape, weight, or
|
|
52
52
|
focus treatment is a recognizable brand move), its *divergence from the
|
|
@@ -64,9 +64,9 @@ primitive.
|
|
|
64
64
|
|
|
65
65
|
## The shape of a block node
|
|
66
66
|
|
|
67
|
-
A node like any other. Frontmatter carries `
|
|
68
|
-
write one on every block worth matching
|
|
69
|
-
over.
|
|
67
|
+
A node like any other. Frontmatter carries `context`, the direct applicability
|
|
68
|
+
payload; write one on every block worth matching. The body is prose the agent
|
|
69
|
+
reasons over.
|
|
70
70
|
|
|
71
71
|
**Body:** one short paragraph in a consistent rhythm, *for / reach when / not
|
|
72
72
|
when (use X instead) / never*:
|
|
@@ -90,7 +90,7 @@ not a swappable implementation detail.
|
|
|
90
90
|
## How a match runs
|
|
91
91
|
|
|
92
92
|
The agent reads the package's stance, `gather`s the menu, pulls block nodes
|
|
93
|
-
whose
|
|
93
|
+
whose contexts apply, separates near-neighbors on *not when* and *never*,
|
|
94
94
|
and assembles. The realizing surface authors the chosen blocks in its medium.
|
|
95
95
|
The guidance never named a component; the agent bridged via documented
|
|
96
96
|
purpose.
|
|
@@ -118,7 +118,7 @@ kinds:
|
|
|
118
118
|
|
|
119
119
|
```markdown
|
|
120
120
|
---
|
|
121
|
-
|
|
121
|
+
context: A consequential action needs explicit user approval before it runs.
|
|
122
122
|
---
|
|
123
123
|
Gates a tool action behind explicit user approval. Reach for it when the user's
|
|
124
124
|
first question is "do I allow this?", when a consequential action needs a human
|
|
@@ -131,7 +131,7 @@ with no decision to make, it only manufactures friction.
|
|
|
131
131
|
|
|
132
132
|
```markdown
|
|
133
133
|
---
|
|
134
|
-
|
|
134
|
+
context: Many records need comparison across shared columns.
|
|
135
135
|
---
|
|
136
136
|
Presents many records across shared, comparable columns. Reach for it when the
|
|
137
137
|
user's first question is "how do these compare across the same attributes?" Not
|
|
@@ -144,11 +144,11 @@ record's detail view.
|
|
|
144
144
|
|
|
145
145
|
```markdown
|
|
146
146
|
---
|
|
147
|
-
|
|
147
|
+
context: A person can trigger an action.
|
|
148
148
|
---
|
|
149
149
|
```
|
|
150
150
|
|
|
151
|
-
(A primitive the generic form serves: a `
|
|
151
|
+
(A primitive the generic form serves: a `context` so `gather` can surface
|
|
152
152
|
it, no body. If this brand's button were itself a recognizable brand move, its
|
|
153
153
|
divergence from the generic form would earn a short body.)
|
|
154
154
|
|
|
@@ -8,7 +8,7 @@ description: Build a compact pre-generation packet from pulled ghost guidance.
|
|
|
8
8
|
A brief is an ephemeral steering packet for the generating pass. It is not a new
|
|
9
9
|
schema and is never written back into `.ghost/`.
|
|
10
10
|
|
|
11
|
-
1. Run `ghost gather <ask> --format json` and select against
|
|
11
|
+
1. Run `ghost gather <ask> --format json` and select against contexts.
|
|
12
12
|
2. The cover is already in context and outside selection. Pull every applicable
|
|
13
13
|
node with `ghost pull <id> [<id>…]`; skip nodes whose stated situation does
|
|
14
14
|
not apply. Topic overlap alone is not applicability.
|
|
@@ -23,7 +23,7 @@ ghost treats the `.ghost/` package as canonical.
|
|
|
23
23
|
voice.md # guidance without a kind
|
|
24
24
|
```
|
|
25
25
|
|
|
26
|
-
A **node** is a markdown file: a `
|
|
26
|
+
A **node** is a markdown file: a `context`, optional `materials`, and a
|
|
27
27
|
prose body. The package is **flat** — no hierarchy, no inheritance, no edges. A
|
|
28
28
|
node's kind comes from its filename prefix; the glossary declares the kinds.
|
|
29
29
|
|
|
@@ -37,7 +37,7 @@ should preserve and what is incidental.
|
|
|
37
37
|
|
|
38
38
|
````markdown
|
|
39
39
|
---
|
|
40
|
-
|
|
40
|
+
context: Building or reviewing a status card.
|
|
41
41
|
materials:
|
|
42
42
|
- src/components/status-card.tsx
|
|
43
43
|
---
|
|
@@ -99,7 +99,7 @@ out-steers a paragraph about error-message voice:
|
|
|
99
99
|
|
|
100
100
|
```markdown
|
|
101
101
|
---
|
|
102
|
-
|
|
102
|
+
context: Writing or reviewing an error message.
|
|
103
103
|
---
|
|
104
104
|
|
|
105
105
|
Normative for rhythm and stance at failure moments; match its form, not its words.
|
|
@@ -170,7 +170,7 @@ thing.
|
|
|
170
170
|
|
|
171
171
|
```markdown
|
|
172
172
|
---
|
|
173
|
-
|
|
173
|
+
context: Building or reviewing an AI dashboard.
|
|
174
174
|
---
|
|
175
175
|
|
|
176
176
|
Not: rounded-xl cards on gray-50, indigo primary buttons, gradient hero text,
|
|
@@ -184,8 +184,8 @@ SaaS template, the anti-goal failed even when every token is technically valid.
|
|
|
184
184
|
```
|
|
185
185
|
|
|
186
186
|
The strongest anti-goal is silent: purged from exemplars, absent from starter
|
|
187
|
-
structures, and
|
|
188
|
-
|
|
187
|
+
structures, and reinforced by a check in review. Use anti-goal prose to name the
|
|
188
|
+
replacement; use checks to catch regressions.
|
|
189
189
|
|
|
190
190
|
## The node shape
|
|
191
191
|
|
|
@@ -193,7 +193,7 @@ A node at `principle.trust.md` (id `principle.trust`, kind `principle`):
|
|
|
193
193
|
|
|
194
194
|
```markdown
|
|
195
195
|
---
|
|
196
|
-
|
|
196
|
+
context: A person is about to pay. # the retrieval payload
|
|
197
197
|
# optional: materials, audience, stage, or other free-form keys
|
|
198
198
|
---
|
|
199
199
|
|
|
@@ -201,16 +201,17 @@ Near the moment of payment, reduce felt risk. Proximity of reassurance to the
|
|
|
201
201
|
action beats completeness...
|
|
202
202
|
```
|
|
203
203
|
|
|
204
|
-
- **`
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
204
|
+
- **`context`** tells the agent when to gather the node. Name the observable
|
|
205
|
+
condition under which it applies, and nothing else. Put the guidance and what
|
|
206
|
+
the node contributes in the body. State the condition directly; use “gather
|
|
207
|
+
when” only when the direct condition cannot carry a necessary routing
|
|
208
|
+
constraint. `ghost gather` emits id, kind, context, concrete coverage, payload
|
|
209
|
+
labels, and material count; the agent matches the ask against applicability.
|
|
209
210
|
- **Kind is the filename prefix** and must be a kind the glossary declares. A
|
|
210
211
|
bare name (`voice.md`) has no kind.
|
|
211
212
|
- **Altitude lives in the prose.** State universal guidance plainly; give a
|
|
212
213
|
narrower guidance a **condition** — the situation it applies in — in the prose
|
|
213
|
-
and usually in the
|
|
214
|
+
and usually in the context. Do not use broad universal imperatives unless
|
|
214
215
|
universal retrieval is intended. Never file a node by destination
|
|
215
216
|
(`for-emails.md`).
|
|
216
217
|
- **Concreteness is derived.** A node carries concrete material when it has
|
|
@@ -258,7 +259,7 @@ Everywhere else:
|
|
|
258
259
|
- **No aspirational abstractions.** "We value clarity and trust" steers
|
|
259
260
|
nothing. Name the decision the guidance forces: what gets picked when two goods
|
|
260
261
|
compete, and what gets given up.
|
|
261
|
-
- **
|
|
262
|
+
- **Contexts must discriminate.** Read the context alone. If it also
|
|
262
263
|
fits a competitor's brand, it is retrieval-dead; rewrite it until it could
|
|
263
264
|
belong to no one else.
|
|
264
265
|
- **Cut unratified hedges.** "Generally," "where possible," and "consider" in a
|
|
@@ -279,7 +280,7 @@ dimension:
|
|
|
279
280
|
| Dimension | Question |
|
|
280
281
|
| --- | --- |
|
|
281
282
|
| Testimony | Can you quote the human words or artifact this node came from? |
|
|
282
|
-
| Discrimination | Does the
|
|
283
|
+
| Discrimination | Does the context fit only this brand? |
|
|
283
284
|
| Force | Does the node body decide something, or merely describe something? |
|
|
284
285
|
| Altitude | Is it universal on purpose, or given its condition? |
|
|
285
286
|
| Residue | Is it free of starter-demo prose and brand-deck filler? |
|
|
@@ -295,11 +296,11 @@ strongest form that fixes the observed failure.
|
|
|
295
296
|
|
|
296
297
|
| If the agent keeps... | Author... |
|
|
297
298
|
| --- | --- |
|
|
298
|
-
| missing the guidance | sharper `
|
|
299
|
+
| missing the guidance | sharper `context`; move universal guidance to the cover |
|
|
299
300
|
| inventing values | `asset.*` node with materials and exact names |
|
|
300
301
|
| producing generic output | `anti-goal.*` replacement plus annotated `exemplar.*` |
|
|
301
302
|
| choosing the wrong structure | `pattern.*` with bound/open and a `## Skeleton` |
|
|
302
|
-
| crossing hard lines | invariant prose plus a check
|
|
303
|
+
| crossing hard lines | invariant prose plus a review check |
|
|
303
304
|
| applying guidance too broadly | condition in prose |
|
|
304
305
|
| making bad tradeoffs | `decision.*` trace |
|
|
305
306
|
| producing correct but forgettable work | scoped `concept.*` |
|
|
@@ -51,7 +51,7 @@ ghost pull <potentially-affected-node-ids>
|
|
|
51
51
|
Treat the gathered menu as a reconciliation index. Read affected node bodies
|
|
52
52
|
before proposing edits.
|
|
53
53
|
|
|
54
|
-
Pull nodes whose
|
|
54
|
+
Pull nodes whose contexts or materials touch the evidence, the situation,
|
|
55
55
|
the medium, or the likely contradiction. If no node applies, say so and continue
|
|
56
56
|
with a new-node proposal only after inspection and human ratification.
|
|
57
57
|
|
|
@@ -23,7 +23,7 @@ selects, inspects, makes, renders, judges, and repairs in the same session.
|
|
|
23
23
|
|
|
24
24
|
1. **Gather for the actual ask.** Follow [recall.md](recall.md): run
|
|
25
25
|
`ghost gather <ask>` with the user's real task, not a generic label.
|
|
26
|
-
2. **Select applicable nodes.** Read
|
|
26
|
+
2. **Select applicable nodes.** Read contexts against the situation. Pull
|
|
27
27
|
guidance whose stated condition, material, structure, refusal, or decision
|
|
28
28
|
governs the work. Topic overlap alone is not applicability.
|
|
29
29
|
3. **Pull selected nodes.** Run `ghost pull <id> [<id>…]`. Prefer the pulled
|
|
@@ -38,7 +38,7 @@ selects, inspects, makes, renders, judges, and repairs in the same session.
|
|
|
38
38
|
- read inlined text materials;
|
|
39
39
|
- open referenced source, token, or component files;
|
|
40
40
|
- view image inspect-pointers instead of relying on filenames;
|
|
41
|
-
- inspect rendered exemplars, not just their
|
|
41
|
+
- inspect rendered exemplars, not just their contexts;
|
|
42
42
|
- use an available host connection for an external locator only when inspecting
|
|
43
43
|
it could materially affect the task;
|
|
44
44
|
- let the host run its normal authentication and permission flow;
|
|
@@ -75,14 +75,14 @@ selects, inspects, makes, renders, judges, and repairs in the same session.
|
|
|
75
75
|
completion states, and localization.
|
|
76
76
|
11. **Verify in two lanes.** Keep mechanical evidence and visual read
|
|
77
77
|
separate:
|
|
78
|
-
- **Mechanical evidence:**
|
|
79
|
-
|
|
78
|
+
- **Mechanical evidence:** browser measurements, tests, and computed checks
|
|
79
|
+
own exact claims: overflow, overlap, dimensions, contrast, touch
|
|
80
80
|
targets, focus order, accessibility violations, required content, and
|
|
81
81
|
forbidden implementation patterns. Never estimate what software can
|
|
82
82
|
measure.
|
|
83
83
|
- **Visual read:** inspect screenshots, recordings, or the live render
|
|
84
84
|
for hierarchy, composition, density, rhythm, imagery, motion, brand fit,
|
|
85
|
-
and generic tells. Never treat a passing
|
|
85
|
+
and generic tells. Never treat a passing test as proof that the surface
|
|
86
86
|
feels right.
|
|
87
87
|
12. **Repair within a bounded budget.** Fix visible or mechanical problems with
|
|
88
88
|
coherent changes grounded in the evidence and pulled guidance. Default to two
|
|
@@ -104,7 +104,7 @@ visual success from source code alone. You may still report source-level checks,
|
|
|
104
104
|
local reasoning, and the exact verification gap.
|
|
105
105
|
|
|
106
106
|
If rendering is possible but incomplete, be precise: name the viewports, states,
|
|
107
|
-
fixtures,
|
|
107
|
+
fixtures, measurements, and materials checked, and name what was not checked. A narrow
|
|
108
108
|
verified claim is better than broad confidence without evidence.
|
|
109
109
|
|
|
110
110
|
## What to report back
|
|
@@ -114,7 +114,7 @@ Keep the final report short and evidence-based:
|
|
|
114
114
|
- ghost nodes pulled and the main decisions they forced.
|
|
115
115
|
- Materials inspected and materials unavailable.
|
|
116
116
|
- Render matrix used: viewport, state, fixture, or preview path.
|
|
117
|
-
- Mechanical
|
|
117
|
+
- Mechanical measurements or tests run, with failures fixed or remaining.
|
|
118
118
|
- Visual issues found and repaired.
|
|
119
119
|
- Review result when `ghost review` ran, or why it did not.
|
|
120
120
|
- Residual risks, including any unavailable render or image-inspection capability.
|
|
@@ -8,7 +8,7 @@ description: Gather and pull the applicable ghost brand guidance for a task.
|
|
|
8
8
|
1. Run `ghost gather <ask>` for the actual task. The cover is inlined by gather;
|
|
9
9
|
do not pull it separately. Read the coverage line: all-prose packages are
|
|
10
10
|
weak steering.
|
|
11
|
-
2. Select against `
|
|
11
|
+
2. Select against `context`; ghost never selects for you. Pull every node
|
|
12
12
|
whose stated situation applies and whose guidance, material, structure, or
|
|
13
13
|
refusal governs the work. Skip inapplicable nodes. Topic overlap alone is not
|
|
14
14
|
applicability.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: schema
|
|
3
|
-
description: The ghost package shape: flat nodes, derived concreteness, Skeletons,
|
|
3
|
+
description: The ghost package shape: flat nodes, derived concreteness, Skeletons, and checks.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# ghost Package Reference
|
|
@@ -37,7 +37,7 @@ A node is markdown with frontmatter and a prose body:
|
|
|
37
37
|
|
|
38
38
|
```markdown
|
|
39
39
|
---
|
|
40
|
-
|
|
40
|
+
context: Placing, sizing, or choosing a logo lockup or glyph.
|
|
41
41
|
materials:
|
|
42
42
|
- brand/logo*.svg
|
|
43
43
|
- https://figma.com/file/example?node-id=logo-lockups
|
|
@@ -50,10 +50,13 @@ Use the full lockup when recognition matters.
|
|
|
50
50
|
|
|
51
51
|
- Identity is the filename minus `.md`.
|
|
52
52
|
- Kind is the first dotted segment of the filename.
|
|
53
|
-
- `
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
53
|
+
- `context` is the retrieval payload shown by `ghost gather`. Its only job is
|
|
54
|
+
to tell the agent when to gather the node. Name the observable applicability
|
|
55
|
+
condition directly; put guidance and contribution in the body. Say “gather
|
|
56
|
+
when” only when an explicit routing instruction is necessary. Avoid broad
|
|
57
|
+
universal wording unless universal retrieval is intended. `description`
|
|
58
|
+
remains a deprecated read alias for one release; `ghost validate` warns until
|
|
59
|
+
it is renamed.
|
|
57
60
|
- `materials` accepts repo-relative paths/globs plus supported external locators using `https:`, `mcp:`,
|
|
58
61
|
`figma:`, or `github:`. Items may be bare locator strings or
|
|
59
62
|
`{ locator, note }` objects. Use a short `note` only when an opaque locator
|
|
@@ -97,17 +100,14 @@ description: Logo usage preserves clearspace and lockup integrity.
|
|
|
97
100
|
severity: medium
|
|
98
101
|
references:
|
|
99
102
|
- asset.logo
|
|
100
|
-
probe: pnpm test:logo-clearspace
|
|
101
103
|
---
|
|
102
104
|
|
|
103
105
|
Grade whether the change preserves the logo guidance in `asset.logo`.
|
|
104
106
|
```
|
|
105
107
|
|
|
106
|
-
`references` are node ids with optional heading anchors.
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
ghost pass/fail verdict. Use `ghost review --no-probes` to skip. Trust model:
|
|
110
|
-
probes are the same class as npm scripts; Git review is the boundary.
|
|
108
|
+
`references` are node ids with optional heading anchors. Check bodies contain
|
|
109
|
+
review instructions for the host agent; they are not run by ghost and are never
|
|
110
|
+
part of generation context.
|
|
111
111
|
|
|
112
112
|
## Gather / Pull / Review
|
|
113
113
|
|
|
@@ -117,5 +117,4 @@ probes are the same class as npm scripts; Git review is the boundary.
|
|
|
117
117
|
materials. Binary local materials become inspect-pointers. External materials
|
|
118
118
|
remain locators for the host agent to access only when the task requires them.
|
|
119
119
|
- `ghost review` matches diff files to local node materials, offers relevant
|
|
120
|
-
checks,
|
|
121
|
-
judge.
|
|
120
|
+
checks, and emits a packet for the host agent to judge.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: self-check
|
|
3
|
-
description: A pre-generation
|
|
3
|
+
description: A pre-generation check that reveals whether you have actually gathered and reasoned about the brand guidance before you build.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# Recipe: Self-Check Before Generating
|
|
@@ -55,7 +55,7 @@ Classify readiness:
|
|
|
55
55
|
When you cannot answer the grounding questions:
|
|
56
56
|
|
|
57
57
|
1. Run `ghost gather <ask>` to emit the menu for the actual task, then match the
|
|
58
|
-
work to nodes by their
|
|
58
|
+
work to nodes by their contexts.
|
|
59
59
|
2. Read the selected nodes' bodies and re-ask the questions, citing node ids.
|
|
60
60
|
|
|
61
61
|
A genuinely silent package is an expected state, not a blocker. When it does
|
|
@@ -30,13 +30,13 @@ Report first:
|
|
|
30
30
|
- **Pulse by concreteness:** concrete-material exposure/pull rate vs prose-only
|
|
31
31
|
exposure/pull rate. In markdown this is the `Concrete material` row. This is
|
|
32
32
|
the tuning instrument: if concrete nodes are not pulled when applicable,
|
|
33
|
-
|
|
33
|
+
contexts or task selection are failing.
|
|
34
34
|
|
|
35
35
|
## Corpus-level table
|
|
36
36
|
|
|
37
37
|
| Row | Status | Evidence | Next move |
|
|
38
38
|
| --- | --- | --- | --- |
|
|
39
|
-
| Retrieval | strong / weak |
|
|
39
|
+
| Retrieval | strong / weak | contexts, ids, cover | sharpen contexts or move universal guidance to the cover |
|
|
40
40
|
| Concreteness | strong / thin | materials, fenced examples, Skeletons | add concrete locators, exemplars, or opening structures |
|
|
41
41
|
| Anti-goals | present / missing / vague | `anti-goal.*`, review packet | write not-X-instead-Y replacements and material locators |
|
|
42
42
|
| Consistency | clean / conflicting | concrete bodies vs rules | update stale examples; examples average with rules |
|
|
@@ -44,7 +44,7 @@ Report first:
|
|
|
44
44
|
| Materials | present / missing | `materials`, inspect-pointers | point at real assets/components/tokens |
|
|
45
45
|
| Exemplars | annotated / unannotated / converging / missing | fenced samples, screenshots, repeated runs | say what to copy and what is incidental; tighten applicability when unrelated tasks converge |
|
|
46
46
|
| Patterns | bound-open / loose / missing | `pattern.*`, Skeletons | state applies / bound / open and add a Skeleton when opening structure matters |
|
|
47
|
-
| Checks | covered / partial / missing | checks/,
|
|
47
|
+
| Checks | covered / partial / missing | checks/, review packet | add checks for high-risk invariants |
|
|
48
48
|
| Silence posture | defined / missing | cover | say when to proceed provisionally or ask |
|
|
49
49
|
|
|
50
50
|
## Exemplar convergence
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@design-intelligence/ghost",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.27.0",
|
|
4
4
|
"description": "ghost CLI for portable .ghost/ packages of brand guidance your agent reads before it builds, with advisory review after",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "Block, Inc.",
|
package/dist/review/probes.d.ts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
export interface ProbeEvidence {
|
|
2
|
-
command: string;
|
|
3
|
-
timedOut: boolean;
|
|
4
|
-
exitCode: number | null;
|
|
5
|
-
stdout: string;
|
|
6
|
-
stderr: string;
|
|
7
|
-
}
|
|
8
|
-
export declare function runProbe(command: string, options: {
|
|
9
|
-
cwd: string;
|
|
10
|
-
timeoutMs?: number;
|
|
11
|
-
truncateChars?: number;
|
|
12
|
-
}): Promise<ProbeEvidence>;
|
|
13
|
-
//# sourceMappingURL=probes.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"probes.d.ts","sourceRoot":"","sources":["../../src/review/probes.ts"],"names":[],"mappings":"AAOA,MAAM,WAAW,aAAa;IAC5B,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,OAAO,CAAC;IAClB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,wBAAsB,QAAQ,CAC5B,OAAO,EAAE,MAAM,EACf,OAAO,EAAE;IACP,GAAG,EAAE,MAAM,CAAC;IACZ,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB,GACA,OAAO,CAAC,aAAa,CAAC,CAiCxB"}
|
package/dist/review/probes.js
DELETED
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import { exec } from "node:child_process";
|
|
2
|
-
import { promisify } from "node:util";
|
|
3
|
-
const execAsync = promisify(exec);
|
|
4
|
-
const DEFAULT_PROBE_TIMEOUT_MS = 30_000;
|
|
5
|
-
const DEFAULT_PROBE_TRUNCATE_CHARS = 4_000;
|
|
6
|
-
export async function runProbe(command, options) {
|
|
7
|
-
const timeout = options.timeoutMs ?? DEFAULT_PROBE_TIMEOUT_MS;
|
|
8
|
-
const truncateChars = options.truncateChars ?? DEFAULT_PROBE_TRUNCATE_CHARS;
|
|
9
|
-
try {
|
|
10
|
-
const { stdout, stderr } = await execAsync(command, {
|
|
11
|
-
cwd: options.cwd,
|
|
12
|
-
timeout,
|
|
13
|
-
maxBuffer: 8 * 1024 * 1024,
|
|
14
|
-
});
|
|
15
|
-
return {
|
|
16
|
-
command,
|
|
17
|
-
timedOut: false,
|
|
18
|
-
exitCode: 0,
|
|
19
|
-
stdout: truncate(stdout, truncateChars),
|
|
20
|
-
stderr: truncate(stderr, truncateChars),
|
|
21
|
-
};
|
|
22
|
-
}
|
|
23
|
-
catch (err) {
|
|
24
|
-
const error = err;
|
|
25
|
-
const timedOut = error.signal === "SIGTERM" || error.killed === true;
|
|
26
|
-
return {
|
|
27
|
-
command,
|
|
28
|
-
timedOut,
|
|
29
|
-
exitCode: typeof error.code === "number" ? error.code : null,
|
|
30
|
-
stdout: truncate(streamToString(error.stdout), truncateChars),
|
|
31
|
-
stderr: truncate(streamToString(error.stderr), truncateChars),
|
|
32
|
-
};
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
function streamToString(value) {
|
|
36
|
-
if (value === undefined)
|
|
37
|
-
return "";
|
|
38
|
-
return Buffer.isBuffer(value) ? value.toString("utf8") : value;
|
|
39
|
-
}
|
|
40
|
-
function truncate(value, limit) {
|
|
41
|
-
if (value.length <= limit)
|
|
42
|
-
return value;
|
|
43
|
-
return `${value.slice(0, limit)}\n… truncated to ${limit} characters`;
|
|
44
|
-
}
|
|
45
|
-
//# sourceMappingURL=probes.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"probes.js","sourceRoot":"","sources":["../../src/review/probes.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,oBAAoB,CAAC;AAC1C,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AAEtC,MAAM,SAAS,GAAG,SAAS,CAAC,IAAI,CAAC,CAAC;AAClC,MAAM,wBAAwB,GAAG,MAAM,CAAC;AACxC,MAAM,4BAA4B,GAAG,KAAK,CAAC;AAU3C,MAAM,CAAC,KAAK,UAAU,QAAQ,CAC5B,OAAe,EACf,OAIC;IAED,MAAM,OAAO,GAAG,OAAO,CAAC,SAAS,IAAI,wBAAwB,CAAC;IAC9D,MAAM,aAAa,GAAG,OAAO,CAAC,aAAa,IAAI,4BAA4B,CAAC;IAC5E,IAAI,CAAC;QACH,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,GAAG,MAAM,SAAS,CAAC,OAAO,EAAE;YAClD,GAAG,EAAE,OAAO,CAAC,GAAG;YAChB,OAAO;YACP,SAAS,EAAE,CAAC,GAAG,IAAI,GAAG,IAAI;SAC3B,CAAC,CAAC;QACH,OAAO;YACL,OAAO;YACP,QAAQ,EAAE,KAAK;YACf,QAAQ,EAAE,CAAC;YACX,MAAM,EAAE,QAAQ,CAAC,MAAM,EAAE,aAAa,CAAC;YACvC,MAAM,EAAE,QAAQ,CAAC,MAAM,EAAE,aAAa,CAAC;SACxC,CAAC;IACJ,CAAC;IAAC,OAAO,GAAG,EAAE,CAAC;QACb,MAAM,KAAK,GAAG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