@hippo-digital/hippocampus 2.4.0 → 2.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/CHANGELOG.md +128 -0
- package/README.md +19 -0
- package/assets/dist/hippocampus.css +1 -1
- package/assets/hippocampus.scss +34 -1
- package/bin/hippocampus.js +1 -1
- package/docs/add-project-context.md +225 -0
- package/docs/agent-roadmap.md +6 -1
- package/docs/agent-workflow.md +6 -1
- package/docs/ask-whats-already-known.md +159 -0
- package/docs/check-for-unintended-consequences.md +191 -0
- package/docs/colour-pairings.md +6 -0
- package/docs/components.md +7 -1
- package/docs/custom-agents-usage.md +6 -1
- package/docs/data-and-governance.md +188 -0
- package/docs/design-actions-and-decisions.md +5 -0
- package/docs/diagrams/README.md +44 -0
- package/docs/diagrams/evidence-flow.mmd +56 -0
- package/docs/diagrams/mermaid.config.json +20 -0
- package/docs/hippocampus-for-designers-and-researchers.md +9 -3
- package/docs/hippocampus-technical.md +7 -1
- package/docs/images/evidence-flow.svg +1 -0
- package/docs/import-a-research-round.md +233 -0
- package/docs/link-insights-to-needs.md +225 -0
- package/docs/prompt-architecture-guardrails.md +6 -1
- package/docs/repeatable-research-round-ingestion.md +9 -3
- package/docs/research-knowledge-graph.md +12 -4
- package/docs/research-source-file-conventions.md +7 -2
- package/docs/review-and-promote-a-draft.md +212 -0
- package/docs/source-model.md +7 -1
- package/docs/start-here.md +223 -0
- package/docs/turn-personas-into-users-and-needs.md +207 -0
- package/lib/create-router.js +26 -3
- package/lib/docs.js +288 -30
- package/lib/templates.js +1 -1
- package/package.json +1 -1
- package/scripts/consequences.js +7 -5
- package/scripts/import-project-context.js +17 -5
- package/scripts/import-research-deck.js +31 -6
- package/scripts/known.js +2 -2
- package/scripts/link-insights-to-needs.js +38 -13
- package/scripts/promote-project-context-draft.js +66 -15
- package/scripts/promote-research-draft.js +99 -12
- package/scripts/smoke-routes.js +8 -1
- package/scripts/sync-project-context.js +90 -12
- package/skills/ingest-project-context/SKILL.md +1 -1
- package/skills/skills.json +2 -2
- package/skills/structure-project-context-draft/SKILL.md +1 -1
- package/templates/project-context.xlsx +0 -0
- package/views/hippocampus/doc.html +15 -0
- package/views/hippocampus/docs.html +42 -13
- package/views/hippocampus/research.html +9 -4
|
@@ -4,20 +4,49 @@
|
|
|
4
4
|
|
|
5
5
|
{% block content %}
|
|
6
6
|
<h1>Documentation</h1>
|
|
7
|
-
<p class="nhsuk-lede-text">
|
|
7
|
+
<p class="nhsuk-lede-text">This guide ships with the package, so it always describes the version you have installed.</p>
|
|
8
8
|
<p class="knowledge-muted">@hippo-digital/hippocampus {{ packageVersion }}</p>
|
|
9
9
|
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
10
|
+
{#
|
|
11
|
+
Grouped by what the reader is trying to do, in reading order. Each guide
|
|
12
|
+
says where it belongs in front matter; one that does not lands in
|
|
13
|
+
Reference rather than disappearing.
|
|
14
|
+
|
|
15
|
+
The tags say who a page is written for - somebody looking at the viewer,
|
|
16
|
+
somebody running commands, or both. They label and never filter: a
|
|
17
|
+
reviewer who only uses the viewer still needs to be able to find the page
|
|
18
|
+
about where research data goes.
|
|
19
|
+
#}
|
|
20
|
+
{% if sections.length > 1 %}
|
|
21
|
+
<nav class="knowledge-doc-contents" aria-label="Parts of the guide">
|
|
22
|
+
<h2 class="nhsuk-heading-s nhsuk-u-margin-bottom-2">In this guide</h2>
|
|
23
|
+
<ul class="nhsuk-list">
|
|
24
|
+
{% for section in sections %}
|
|
25
|
+
<li class="nhsuk-u-margin-bottom-1"><a href="#section-{{ section.id }}">{{ section.title }}</a></li>
|
|
26
|
+
{% endfor %}
|
|
27
|
+
{% if templates.length %}<li class="nhsuk-u-margin-bottom-1"><a href="#templates">Templates to fill in</a></li>{% endif %}
|
|
28
|
+
</ul>
|
|
29
|
+
</nav>
|
|
30
|
+
{% endif %}
|
|
31
|
+
|
|
32
|
+
{% for section in sections %}
|
|
33
|
+
<h2 class="nhsuk-heading-m" id="section-{{ section.id }}">{{ section.title }}</h2>
|
|
34
|
+
<p class="knowledge-note">{{ section.description }}</p>
|
|
35
|
+
<div class="knowledge-card-grid knowledge-card-grid--wide knowledge-card-grid--fill nhsuk-u-margin-bottom-5">
|
|
36
|
+
{% for doc in section.docs %}
|
|
37
|
+
<article class="knowledge-card knowledge-card--compact">
|
|
38
|
+
<h3 class="nhsuk-heading-s nhsuk-u-margin-bottom-1">
|
|
39
|
+
<a href="{{ basePath }}/docs/{{ doc.slug }}">{{ doc.title }}</a>
|
|
40
|
+
</h3>
|
|
41
|
+
{% if doc.summary %}<p class="nhsuk-body-s nhsuk-u-margin-bottom-2">{{ doc.summary }}</p>{% endif %}
|
|
42
|
+
<p class="knowledge-doc-audience nhsuk-u-margin-bottom-0">
|
|
43
|
+
<span class="nhsuk-u-visually-hidden">Written for: </span>
|
|
44
|
+
{% for label in doc.audienceLabels %}<strong class="nhsuk-tag nhsuk-tag--white">{{ label }}</strong> {% endfor %}
|
|
45
|
+
</p>
|
|
46
|
+
</article>
|
|
47
|
+
{% endfor %}
|
|
48
|
+
</div>
|
|
49
|
+
{% endfor %}
|
|
21
50
|
|
|
22
51
|
{#
|
|
23
52
|
The blank workbooks, where somebody might find them.
|
|
@@ -29,7 +58,7 @@
|
|
|
29
58
|
thing it would have prevented.
|
|
30
59
|
#}
|
|
31
60
|
{% if templates.length %}
|
|
32
|
-
<h2 class="nhsuk-heading-m">Templates to fill in</h2>
|
|
61
|
+
<h2 class="nhsuk-heading-m" id="templates">Templates to fill in</h2>
|
|
33
62
|
<p class="knowledge-note">
|
|
34
63
|
Workbooks with the columns each importer expects. Fill one in, run the
|
|
35
64
|
command underneath it, then check the draft before promoting it.
|
|
@@ -70,11 +70,16 @@
|
|
|
70
70
|
</section>
|
|
71
71
|
{% endfor %}
|
|
72
72
|
{% else %}
|
|
73
|
+
{#
|
|
74
|
+
The first page a team sees after installing, so the commands here have to
|
|
75
|
+
be ones that exist in their prototype. This used to name `npm run`
|
|
76
|
+
scripts that only this repository and its demo ever had.
|
|
77
|
+
#}
|
|
73
78
|
<section class="knowledge-section">
|
|
74
|
-
<h2>No research rounds
|
|
75
|
-
<p>
|
|
76
|
-
<p>
|
|
77
|
-
<p
|
|
79
|
+
<h2>No research rounds yet</h2>
|
|
80
|
+
<p>Put research files in <code>hippocampus/inbox/research/</code> - decks, PDFs, Word documents, spreadsheets or text notes - then run <code>npx hippocampus research sync</code>. Each file becomes a draft in <code>hippocampus/imports/research/</code>, and nothing appears on this page until a person has reviewed a draft and promoted it.</p>
|
|
81
|
+
<p>Check a reviewed draft with <code>npx hippocampus promote research --draft hippocampus/imports/research/<draft>.json --dry-run</code>, then run it again without <code>--dry-run</code>.</p>
|
|
82
|
+
<p><a href="{{ basePath }}/docs/import-a-research-round">How to import a research round</a></p>
|
|
78
83
|
</section>
|
|
79
84
|
{% endif %}
|
|
80
85
|
{% endblock %}
|