@design-intelligence/ghost 0.29.0 → 0.30.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.
Files changed (113) hide show
  1. package/README.md +2 -2
  2. package/dist/cli.js +2 -2
  3. package/dist/cli.js.map +1 -1
  4. package/dist/commands/command-discovery.d.ts.map +1 -1
  5. package/dist/commands/command-discovery.js +10 -3
  6. package/dist/commands/command-discovery.js.map +1 -1
  7. package/dist/commands/gather-command.js +5 -5
  8. package/dist/commands/gather-command.js.map +1 -1
  9. package/dist/commands/init-command.d.ts.map +1 -1
  10. package/dist/commands/init-command.js +2 -2
  11. package/dist/commands/init-command.js.map +1 -1
  12. package/dist/commands/pull-command.d.ts.map +1 -1
  13. package/dist/commands/pull-command.js +8 -7
  14. package/dist/commands/pull-command.js.map +1 -1
  15. package/dist/commands/review-command.d.ts.map +1 -1
  16. package/dist/commands/review-command.js +1 -2
  17. package/dist/commands/review-command.js.map +1 -1
  18. package/dist/commands/stats-command.d.ts +3 -0
  19. package/dist/commands/stats-command.d.ts.map +1 -0
  20. package/dist/commands/{pulse-command.js → stats-command.js} +59 -39
  21. package/dist/commands/stats-command.js.map +1 -0
  22. package/dist/commands/stats-observations.d.ts +10 -0
  23. package/dist/commands/stats-observations.d.ts.map +1 -0
  24. package/dist/commands/stats-observations.js +47 -0
  25. package/dist/commands/stats-observations.js.map +1 -0
  26. package/dist/embed/gather.d.ts.map +1 -1
  27. package/dist/embed/gather.js +3 -4
  28. package/dist/embed/gather.js.map +1 -1
  29. package/dist/embed/pull.d.ts.map +1 -1
  30. package/dist/embed/pull.js +1 -3
  31. package/dist/embed/pull.js.map +1 -1
  32. package/dist/embed/types.d.ts +2 -6
  33. package/dist/embed/types.d.ts.map +1 -1
  34. package/dist/ghost-core/catalog/assemble.d.ts.map +1 -1
  35. package/dist/ghost-core/catalog/assemble.js +1 -5
  36. package/dist/ghost-core/catalog/assemble.js.map +1 -1
  37. package/dist/ghost-core/catalog/closest.d.ts +1 -1
  38. package/dist/ghost-core/catalog/closest.js +1 -1
  39. package/dist/ghost-core/catalog/menu.d.ts +7 -9
  40. package/dist/ghost-core/catalog/menu.d.ts.map +1 -1
  41. package/dist/ghost-core/catalog/menu.js +4 -6
  42. package/dist/ghost-core/catalog/menu.js.map +1 -1
  43. package/dist/ghost-core/catalog/types.d.ts +2 -6
  44. package/dist/ghost-core/catalog/types.d.ts.map +1 -1
  45. package/dist/ghost-core/node/schema.d.ts +4 -4
  46. package/dist/ghost-core/node/schema.d.ts.map +1 -1
  47. package/dist/ghost-core/node/schema.js +10 -4
  48. package/dist/ghost-core/node/schema.js.map +1 -1
  49. package/dist/ghost-core/node/serialize.d.ts +5 -7
  50. package/dist/ghost-core/node/serialize.d.ts.map +1 -1
  51. package/dist/ghost-core/node/serialize.js +9 -18
  52. package/dist/ghost-core/node/serialize.js.map +1 -1
  53. package/dist/ghost-core/node/types.d.ts +5 -7
  54. package/dist/ghost-core/node/types.d.ts.map +1 -1
  55. package/dist/init-payloads/median/cliche.median.md +1 -1
  56. package/dist/init-payloads/skeleton/brand.md +1 -1
  57. package/dist/init-payloads/skeleton/context.conversation.md +1 -1
  58. package/dist/init-payloads/skeleton/foundation.color.md +4 -1
  59. package/dist/init-payloads/skeleton/foundation.composition.md +4 -1
  60. package/dist/init-payloads/skeleton/foundation.controls.md +4 -1
  61. package/dist/init-payloads/skeleton/foundation.layout.md +4 -1
  62. package/dist/init-payloads/skeleton/foundation.motion.md +4 -1
  63. package/dist/init-payloads/skeleton/foundation.type.md +4 -1
  64. package/dist/init-payloads/skeleton/foundation.voice.md +4 -1
  65. package/dist/init-payloads/vessel-light/anti-goal.median.md +1 -1
  66. package/dist/init-payloads/vessel-light/anti-goal.tells.md +1 -1
  67. package/dist/init-payloads/vessel-light/grammar.color-roles.md +1 -1
  68. package/dist/init-payloads/vessel-light/grammar.conversation.md +1 -1
  69. package/dist/init-payloads/vessel-light/grammar.deletion.md +1 -1
  70. package/dist/init-payloads/vessel-light/grammar.hierarchy.md +1 -1
  71. package/dist/init-payloads/vessel-light/grammar.job.md +1 -1
  72. package/dist/init-payloads/vessel-light/grammar.motion.md +1 -1
  73. package/dist/init-payloads/vessel-light/grammar.rhythm.md +1 -1
  74. package/dist/init-payloads/vessel-light/grammar.surfaces.md +1 -1
  75. package/dist/init-payloads/vessel-light/index.md +1 -1
  76. package/dist/init-payloads/vessel-light/register.data-density.md +1 -1
  77. package/dist/init-payloads/vessel-light/register.editorial.md +1 -1
  78. package/dist/init-payloads/vessel-light/register.email.md +1 -1
  79. package/dist/init-payloads/vessel-light/signature.palette.md +1 -1
  80. package/dist/init-payloads/vessel-light/signature.shape.md +1 -1
  81. package/dist/init-payloads/vessel-light/signature.temperature.md +1 -1
  82. package/dist/init-payloads/vessel-light/signature.type.md +1 -1
  83. package/dist/observability-events.js +2 -2
  84. package/dist/review/baseline.d.ts +1 -1
  85. package/dist/review/baseline.d.ts.map +1 -1
  86. package/dist/review/baseline.js +2 -2
  87. package/dist/review/baseline.js.map +1 -1
  88. package/dist/review/review-packet.d.ts +2 -1
  89. package/dist/review/review-packet.d.ts.map +1 -1
  90. package/dist/review/review-packet.js +6 -4
  91. package/dist/review/review-packet.js.map +1 -1
  92. package/dist/scan/fingerprint-package-lint.d.ts.map +1 -1
  93. package/dist/scan/fingerprint-package-lint.js +9 -17
  94. package/dist/scan/fingerprint-package-lint.js.map +1 -1
  95. package/dist/skill-bundle/SKILL.md +28 -45
  96. package/dist/skill-bundle/references/authoring.md +7 -7
  97. package/dist/skill-bundle/references/ground.md +57 -0
  98. package/dist/skill-bundle/references/making.md +71 -103
  99. package/dist/skill-bundle/references/{concrete.md → materials.md} +2 -2
  100. package/dist/skill-bundle/references/nodes.md +10 -9
  101. package/dist/skill-bundle/references/schema.md +5 -6
  102. package/dist/skill-bundle/references/steering-audit.md +7 -13
  103. package/dist/untrusted-framing.d.ts +9 -0
  104. package/dist/untrusted-framing.d.ts.map +1 -0
  105. package/dist/untrusted-framing.js +15 -0
  106. package/dist/untrusted-framing.js.map +1 -0
  107. package/package.json +1 -1
  108. package/dist/commands/pulse-command.d.ts +0 -3
  109. package/dist/commands/pulse-command.d.ts.map +0 -1
  110. package/dist/commands/pulse-command.js.map +0 -1
  111. package/dist/skill-bundle/references/brief.md +0 -50
  112. package/dist/skill-bundle/references/recall.md +0 -36
  113. package/dist/skill-bundle/references/self-check.md +0 -64
@@ -1,64 +0,0 @@
1
- ---
2
- name: self-check
3
- description: A pre-generation check that reveals whether you have actually gathered and reasoned about the brand guidance before you build.
4
- ---
5
-
6
- # Recipe: Self-Check Before Generating
7
-
8
- Before writing UI, copy, email, or any output, check whether you are grounded in
9
- the guidance or about to fall back on generic instincts. These questions test
10
- your **grounding and provenance**, not the package's contents, so they hold
11
- for any ghost package, however sparse, whatever the medium, whoever authored it.
12
-
13
- Ask yourself:
14
-
15
- 1. **What did you gather?** Which ghost nodes did you pull for this task (from
16
- `ghost gather`), and can you cite them by id? If you have not gathered, you
17
- are not grounded. Gather first.
18
- 2. **What is ghost-backed vs. provisional?** For each claim you are about to
19
- encode, is it backed by a gathered node (cite the id), or is it your own
20
- provisional local reasoning? You must be able to label every claim as one or
21
- the other.
22
- 3. **Do the conditions apply?** For each conditional node you pulled, does its
23
- stated situation actually hold for this task? For each kind with conditional
24
- or scoped meaning **per the glossary**, apply it only when its stated
25
- situation holds; do not apply it where it does not, and do not ignore it
26
- where it does.
27
- 4. **Where is the package silent?** What does the package not cover for
28
- your task, and what will carry the reasoning in those gaps? Naming the silence
29
- is part of being grounded; pretending coverage you do not have is not.
30
-
31
- ## Steering readiness
32
-
33
- Before generating, can you cite:
34
-
35
- - the governing principle, stance, or tradeoff?
36
- - the concrete materials, if exactness matters?
37
- - the applicable pattern, if structure matters?
38
- - the anti-goal that blocks the generic version?
39
- - the hard invariants?
40
- - the conditions that apply or do not apply?
41
- - any decision trace for ambiguous tradeoffs?
42
- - where the package is silent?
43
-
44
- Classify readiness:
45
-
46
- - **Green:** enough ghost-backed guidance and concrete material for this surface
47
- to generate.
48
- - **Yellow:** generation is safe, but some reasoning must be labeled
49
- provisional; if there is no concrete material for this surface, readiness is
50
- at most Yellow.
51
- - **Red:** missing brand-defining, high-risk, or irreversible guidance; ask a
52
- human or author a node first.
53
-
54
- When you cannot answer the grounding questions:
55
-
56
- 1. Run `ghost gather <ask>` to emit the menu for the actual task, then match the
57
- work to nodes by their contexts.
58
- 2. Read the selected nodes' bodies and re-ask the questions, citing node ids.
59
-
60
- A genuinely silent package is an expected state, not a blocker. When it does
61
- not cover the task, say so plainly and proceed with provisional local reasoning
62
- when safe; label it non-ghost-backed. If the package's cover declares a stricter
63
- silence posture, honor it over this default. Ask a human before
64
- high-risk or brand-defining choices.