@hippo-digital/hippocampus 2.5.0 → 2.7.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 +77 -0
- package/README.md +7 -0
- package/bin/hippocampus.js +1 -1
- package/docs/add-project-context.md +225 -0
- package/docs/check-for-unintended-consequences.md +191 -0
- package/docs/data-and-governance.md +212 -0
- package/docs/hippocampus-for-designers-and-researchers.md +2 -2
- package/docs/import-a-research-round.md +11 -7
- package/docs/link-insights-to-needs.md +225 -0
- package/docs/repeatable-research-round-ingestion.md +3 -2
- package/docs/research-knowledge-graph.md +5 -3
- package/docs/research-source-file-conventions.md +1 -1
- package/docs/review-and-promote-a-draft.md +15 -6
- package/docs/start-here.md +19 -1
- package/docs/turn-personas-into-users-and-needs.md +206 -0
- package/lib/research-in-git.js +69 -0
- package/lib/templates.js +1 -1
- package/package.json +1 -1
- package/scripts/consequences.js +7 -5
- package/scripts/doctor.js +55 -1
- package/scripts/import-project-context.js +17 -5
- package/scripts/init.js +56 -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 +23 -6
- 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/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,82 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 2.7.0
|
|
4
|
+
|
|
5
|
+
The guide's advice to keep research files and import drafts out of git, made
|
|
6
|
+
the default. `init` writes the `.gitignore` lines, and `doctor` says when
|
|
7
|
+
research files or drafts are committed. No schema change. `init` now writes
|
|
8
|
+
`.gitignore` without being asked, so this is a minor release rather than a
|
|
9
|
+
patch.
|
|
10
|
+
|
|
11
|
+
- **`init` keeps research files and import drafts out of git.** It adds
|
|
12
|
+
`.gitignore` lines for `hippocampus/inbox` and `hippocampus/imports`, which
|
|
13
|
+
keep the folders' `.gitkeep` files so the empty folders still clone. The
|
|
14
|
+
guide already advised this, but a paragraph is easy to miss before a first
|
|
15
|
+
commit. A folder is left alone when `.gitignore` already names it (a rule,
|
|
16
|
+
or a comment recording that a team commits it on purpose), or when files in
|
|
17
|
+
it are already committed, in which case `init` says how to stop tracking
|
|
18
|
+
them. Running `init` again in an existing project applies the same rules.
|
|
19
|
+
- **`doctor` reports committed research files.** It warns when files under
|
|
20
|
+
`hippocampus/inbox` or `hippocampus/imports` are committed, and says how to
|
|
21
|
+
untrack ones a `.gitignore` rule now excludes. When `.gitignore` names the
|
|
22
|
+
folder but nothing excludes the files, the team has decided, so it says so
|
|
23
|
+
as a note instead. A warning does not fail `doctor`; the last line becomes
|
|
24
|
+
"Working, with 1 warning to look at."
|
|
25
|
+
|
|
26
|
+
## 2.6.0
|
|
27
|
+
|
|
28
|
+
The user guide's data and governance page and four more task recipes, and the
|
|
29
|
+
fixes found by running every command in them against a fresh project.
|
|
30
|
+
`import project-context` now does what the documentation always said it did,
|
|
31
|
+
and `link insight-needs` works on a knowledge base the size a new project has.
|
|
32
|
+
No schema change.
|
|
33
|
+
|
|
34
|
+
- **Data and governance**, the user guide's phase 3 page: what to agree with
|
|
35
|
+
your information governance lead before the first import; where research
|
|
36
|
+
data lives and what to commit; the `.gitignore` lines that keep research
|
|
37
|
+
files and import drafts out of git, and how to stop tracking them if they
|
|
38
|
+
are already committed; personal data in promoted records; who can see the
|
|
39
|
+
knowledge base, including anyone with the published prototype's password;
|
|
40
|
+
and exactly when anything leaves the machine. Start here and the recipes
|
|
41
|
+
link to it, and the review checklist now asks whether anything in a draft
|
|
42
|
+
could identify a participant.
|
|
43
|
+
- **A later file from the same round keeps the round's date.** When a round
|
|
44
|
+
folder has no date, each file is dated from its own name, and fieldwork runs
|
|
45
|
+
over days, so the files of one round routinely disagree. `promote research`
|
|
46
|
+
refused the second file outright. The round now keeps the date it was first
|
|
47
|
+
promoted with, and the run says so. A different title under the same round
|
|
48
|
+
id still refuses, with a message saying two rounds have been given the same
|
|
49
|
+
number.
|
|
50
|
+
- **Four more recipes**: Add project context, Turn personas into users and
|
|
51
|
+
needs, Link insights to needs, and Check for unintended consequences. The
|
|
52
|
+
data and governance page now names the two things that write to
|
|
53
|
+
`hippocampus/source/` without a draft, the `ingest-user-personas` skill and
|
|
54
|
+
`link insight-needs`, and says to review both with `git diff`.
|
|
55
|
+
- **`import project-context` works as documented.** It ran the single-file
|
|
56
|
+
importer, which needs `--document`, `--context-id` and `--title`, so every
|
|
57
|
+
documented way of running it stopped at a usage message. It now imports
|
|
58
|
+
every new file in `hippocampus/inbox/project`, or the files you name. A
|
|
59
|
+
filled-in copy of `templates/project-context.xlsx` is read (only decks and
|
|
60
|
+
PDFs were), a flag before a file name no longer swallows it, `--help`
|
|
61
|
+
prints the usage, a file whose import failed is tried again, and a run that
|
|
62
|
+
does not promote prints the command that would.
|
|
63
|
+
- **`promote project-context`** takes the draft path the import prints from
|
|
64
|
+
any folder in the project, lists the drafts there are when the path is
|
|
65
|
+
missing or wrong, reports errors without a stack trace, says how many
|
|
66
|
+
records a corrected draft updates, and records the promotion so the next
|
|
67
|
+
import does not offer it again. The template card on the docs page names
|
|
68
|
+
the `--draft` it needs.
|
|
69
|
+
- **`link insight-needs` links on a small knowledge base.** A term counted as
|
|
70
|
+
distinctive at a weight of 2, which no term could reach with fewer than six
|
|
71
|
+
needs, so a new project's first run linked nothing. It is now a term in at
|
|
72
|
+
most about a third of the needs.
|
|
73
|
+
- **`link insight-needs --round` keeps the other rounds' links.** It replaced
|
|
74
|
+
every insight's links with the matched round's, deleting the rest.
|
|
75
|
+
- The PDF parser loads only for PDFs, so a spreadsheet or deck imports on a
|
|
76
|
+
Node version the parser dislikes. `consequences` no longer says "1 roles"
|
|
77
|
+
or "participant(s)", and the template's summary guidance no longer says
|
|
78
|
+
REQUIRED twice.
|
|
79
|
+
|
|
3
80
|
## 2.5.0
|
|
4
81
|
|
|
5
82
|
The start of a user guide for people outside the team that built Hippocampus:
|
package/README.md
CHANGED
|
@@ -32,6 +32,13 @@ you have since edited is reported and left alone rather than overwritten.
|
|
|
32
32
|
prints the edits for you to paste, and `npx hippocampus eject` takes the edits
|
|
33
33
|
back out and leaves every byte of your knowledge base where it is.
|
|
34
34
|
|
|
35
|
+
It also adds `.gitignore` lines that keep `hippocampus/inbox` and
|
|
36
|
+
`hippocampus/imports` out of git: research files and import drafts hold
|
|
37
|
+
participants' words. A folder that `.gitignore` already names, or whose files
|
|
38
|
+
are already committed, is left alone, with a message saying why. `doctor`
|
|
39
|
+
warns when research files or drafts are committed. The guide's Data and
|
|
40
|
+
governance page has the detail.
|
|
41
|
+
|
|
35
42
|
```bash
|
|
36
43
|
npx hippocampus doctor # what is wired, what is not, and where it looked
|
|
37
44
|
npx hippocampus skills install # copy the skills, agents and instructions in
|
package/bin/hippocampus.js
CHANGED
|
@@ -26,7 +26,7 @@ const COMMANDS = {
|
|
|
26
26
|
'research batch': 'import-research-batch.js',
|
|
27
27
|
'import research-deck': 'import-research-deck.js',
|
|
28
28
|
'import blueprint': 'import-blueprint-spreadsheet.js',
|
|
29
|
-
'import project-context': '
|
|
29
|
+
'import project-context': 'sync-project-context.js',
|
|
30
30
|
'import design-actions': 'import-design-actions.js',
|
|
31
31
|
'promote research': 'promote-research-draft.js',
|
|
32
32
|
'promote project-context': 'promote-project-context-draft.js',
|
|
@@ -0,0 +1,225 @@
|
|
|
1
|
+
---
|
|
2
|
+
section: recipes
|
|
3
|
+
order: 40
|
|
4
|
+
audience: [viewer, cli]
|
|
5
|
+
summary: Record why the service exists, who it serves, and the policies, constraints, risks and milestones around it, from a filled-in spreadsheet.
|
|
6
|
+
---
|
|
7
|
+
# Add project context
|
|
8
|
+
|
|
9
|
+
Project context is the briefing material around the research: why the service
|
|
10
|
+
exists, who it is for, how people reach it, the policies and constraints it
|
|
11
|
+
works within, its risks and milestones, and facts such as volumes and dates.
|
|
12
|
+
It is not research, so it does not go into a research round. It has its own
|
|
13
|
+
page in the viewer.
|
|
14
|
+
|
|
15
|
+
Like research, it comes in as a draft. Someone checks the draft, then promotes
|
|
16
|
+
it into the record.
|
|
17
|
+
|
|
18
|
+
## Who this is for
|
|
19
|
+
|
|
20
|
+
Delivery managers, product managers and designers who hold the project's
|
|
21
|
+
briefing material, and whoever runs commands in the prototype. Anyone can read
|
|
22
|
+
the result in the viewer.
|
|
23
|
+
|
|
24
|
+
## Before you start
|
|
25
|
+
|
|
26
|
+
### Use the template
|
|
27
|
+
|
|
28
|
+
The reliable way in is the project context spreadsheet. Its columns are the
|
|
29
|
+
fields the record has, so nothing has to be guessed. Download it from the
|
|
30
|
+
guide's home page, `/hippocampus/docs`, under **Templates to fill in**, or copy
|
|
31
|
+
`node_modules/@hippo-digital/hippocampus/templates/project-context.xlsx`.
|
|
32
|
+
|
|
33
|
+
You can import a PowerPoint deck (`.pptx`) or a PDF instead, but expect a
|
|
34
|
+
partial draft. The importer guesses which lines are risks, milestones and
|
|
35
|
+
constraints, misses most of the rest, and can turn a heading such as "Risks"
|
|
36
|
+
into a record of its own. Filling in the template from the deck is usually
|
|
37
|
+
quicker than correcting that draft.
|
|
38
|
+
|
|
39
|
+
### Fill it in
|
|
40
|
+
|
|
41
|
+
- **Overview**: fill in the **value** column. `id`, `title` and `summary` are
|
|
42
|
+
required. Leave the others blank if nobody has written them down. A blank
|
|
43
|
+
cell is honest; an invented one reads as fact.
|
|
44
|
+
- **Every other tab**: one row per record, starting with an `id` in lowercase
|
|
45
|
+
words joined by hyphens, such as `fasting-instructions-by-letter`. Each id
|
|
46
|
+
must be different from the others on that tab.
|
|
47
|
+
- Leave the guidance row (in brackets) and the example row (its id starts
|
|
48
|
+
`example-`) where they are. The importer skips them.
|
|
49
|
+
|
|
50
|
+
The **Users** tab lists the groups the project serves, as background. It does
|
|
51
|
+
not add users to the knowledge base. Those come from personas: see
|
|
52
|
+
[Turn personas into users and needs](turn-personas-into-users-and-needs.md).
|
|
53
|
+
|
|
54
|
+
Project context is committed to git and published with the prototype, like the
|
|
55
|
+
rest of the record, so keep personal data out of it. See
|
|
56
|
+
[Data and governance](data-and-governance.md).
|
|
57
|
+
|
|
58
|
+
## At the command line
|
|
59
|
+
|
|
60
|
+
1. Save the filled-in spreadsheet in `hippocampus/inbox/project/`.
|
|
61
|
+
|
|
62
|
+
2. From your prototype's folder, run:
|
|
63
|
+
|
|
64
|
+
```bash
|
|
65
|
+
npx hippocampus import project-context --no-promote
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
With no file named, it imports every new file in `hippocampus/inbox/project/`.
|
|
69
|
+
To import one file from anywhere, name it:
|
|
70
|
+
|
|
71
|
+
```bash
|
|
72
|
+
npx hippocampus import project-context --no-promote "path/to/Project context.xlsx"
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
If you leave off `--no-promote`, it asks whether to promote straight away,
|
|
76
|
+
and the answer defaults to no. Say no until someone has read the draft.
|
|
77
|
+
|
|
78
|
+
3. Open the review file it names:
|
|
79
|
+
`hippocampus/imports/project/<name>.review.md`. It lists the warnings, how
|
|
80
|
+
many records of each kind were found, and the text that was read from each
|
|
81
|
+
tab.
|
|
82
|
+
|
|
83
|
+
4. Check the draft, `hippocampus/imports/project/<name>.json`, against the
|
|
84
|
+
spreadsheet. Fix anything wrong in the spreadsheet and import it again, or
|
|
85
|
+
correct the draft itself.
|
|
86
|
+
|
|
87
|
+
5. Try the promotion without writing anything:
|
|
88
|
+
|
|
89
|
+
```bash
|
|
90
|
+
npx hippocampus promote project-context --draft hippocampus/imports/project/<name>.json --dry-run
|
|
91
|
+
```
|
|
92
|
+
|
|
93
|
+
6. Promote it:
|
|
94
|
+
|
|
95
|
+
```bash
|
|
96
|
+
npx hippocampus promote project-context --draft hippocampus/imports/project/<name>.json
|
|
97
|
+
```
|
|
98
|
+
|
|
99
|
+
This writes `hippocampus/source/project-context.json`, then checks the whole
|
|
100
|
+
knowledge base.
|
|
101
|
+
|
|
102
|
+
7. Commit `hippocampus/source/project-context.json` and
|
|
103
|
+
`hippocampus/manifests/`.
|
|
104
|
+
|
|
105
|
+
### Changing it later
|
|
106
|
+
|
|
107
|
+
Edit the same spreadsheet and import it again. Because its contents have
|
|
108
|
+
changed, it is imported as a new draft whose name ends in `-2`. Promote that
|
|
109
|
+
one.
|
|
110
|
+
|
|
111
|
+
Promotion merges by id:
|
|
112
|
+
|
|
113
|
+
- a row whose id is already in the record replaces it
|
|
114
|
+
- a row with a new id is added
|
|
115
|
+
- an Overview field filled in on the draft replaces the one in the record
|
|
116
|
+
- **a row you deleted from the spreadsheet stays in the record**. Remove it
|
|
117
|
+
from `hippocampus/source/project-context.json` by hand.
|
|
118
|
+
|
|
119
|
+
## What it looks like
|
|
120
|
+
|
|
121
|
+
This example is made up.
|
|
122
|
+
|
|
123
|
+
```text
|
|
124
|
+
$ npx hippocampus import project-context --no-promote
|
|
125
|
+
Read 9 tabs
|
|
126
|
+
Import fit: needs review
|
|
127
|
+
Import warnings:
|
|
128
|
+
- Overview left blank: problemStatement, serviceProposition. Blank is fine if nobody has written it down - say so rather than inventing it.
|
|
129
|
+
- Policies is empty.
|
|
130
|
+
Draft written to hippocampus/imports/project/project-context-2026-10.json
|
|
131
|
+
Review written to hippocampus/imports/project/project-context-2026-10.review.md
|
|
132
|
+
Project context inbox: hippocampus/inbox/project
|
|
133
|
+
Files found: 1
|
|
134
|
+
Supported files: 1
|
|
135
|
+
New imports created: 1
|
|
136
|
+
Already known: 0
|
|
137
|
+
Unsupported files: 0
|
|
138
|
+
Unpromoted drafts: 1
|
|
139
|
+
New project context drafts:
|
|
140
|
+
- project-context-2026-10: hippocampus/imports/project/project-context-2026-10.review.md
|
|
141
|
+
Promotable drafts:
|
|
142
|
+
- project-context-2026-10: hippocampus/imports/project/project-context-2026-10.json
|
|
143
|
+
|
|
144
|
+
Next: read each review file, correct the draft if it needs it, then promote it:
|
|
145
|
+
npx hippocampus promote project-context --draft hippocampus/imports/project/project-context-2026-10.json
|
|
146
|
+
```
|
|
147
|
+
|
|
148
|
+
`needs review` here only means some tabs were left empty. Read the warnings:
|
|
149
|
+
each one is either something to fill in or something nobody has written down.
|
|
150
|
+
|
|
151
|
+
Promoting it:
|
|
152
|
+
|
|
153
|
+
```text
|
|
154
|
+
$ npx hippocampus promote project-context --draft hippocampus/imports/project/project-context-2026-10.json
|
|
155
|
+
users: +3, channels: +2, policies: +0, constraints: +1, risks: +2, milestones: +2, facts: +1, sourceArtefacts: +1
|
|
156
|
+
hippocampus: knowledge data is valid
|
|
157
|
+
Project context draft promoted and knowledge validation passed.
|
|
158
|
+
```
|
|
159
|
+
|
|
160
|
+
On a later promotion, `+0 (2 updated)` means two records already in the
|
|
161
|
+
record were replaced by the draft's versions.
|
|
162
|
+
|
|
163
|
+
## In the viewer
|
|
164
|
+
|
|
165
|
+
Open **Project** in the viewer's menu, or `/hippocampus/project`. The page
|
|
166
|
+
shows the overview, then a section for each tab: users, channels, policies,
|
|
167
|
+
constraints, risks, milestones, facts and sources. An empty section says
|
|
168
|
+
nothing has been added yet.
|
|
169
|
+
|
|
170
|
+
Nothing shows until a draft is promoted.
|
|
171
|
+
|
|
172
|
+
## How to check it worked
|
|
173
|
+
|
|
174
|
+
- The promotion ends with `Project context draft promoted and knowledge
|
|
175
|
+
validation passed.`
|
|
176
|
+
- The Project page shows what you filled in.
|
|
177
|
+
- Running `npx hippocampus import project-context` again says
|
|
178
|
+
`Unpromoted drafts: 0`.
|
|
179
|
+
|
|
180
|
+
## If it goes wrong
|
|
181
|
+
|
|
182
|
+
- **"No file at ..."**: check the path. A path is read from the folder you are
|
|
183
|
+
in, then from the prototype's folder.
|
|
184
|
+
- **"... is not a file project context can be imported from"**: only `.xlsx`,
|
|
185
|
+
`.pptx` and `.pdf` are read. Older formats such as `.xls` and `.ppt` are not.
|
|
186
|
+
- **"The Users tab has no "id" column header"**: a tab's header row has been
|
|
187
|
+
changed or deleted. Copy that tab's header from a fresh template.
|
|
188
|
+
- **"The Risks tab uses the id ... more than once"**: two rows on that tab share
|
|
189
|
+
an id. Give one of them a different id.
|
|
190
|
+
- **"Imported draft does not match ProjectContextImportDraftSchema"**, then a
|
|
191
|
+
list, then **"Import failed for ..."**: each line of the list names a cell
|
|
192
|
+
that is missing or in the wrong form. `projectContext.risks.0.severity` is
|
|
193
|
+
the severity in the first risk row, which must be `high`, `medium` or `low`;
|
|
194
|
+
`milestones.0.date` must be a date written `2026-12-18`. Fix the spreadsheet
|
|
195
|
+
and import it again. A file that failed is tried again; it is not skipped as
|
|
196
|
+
already imported.
|
|
197
|
+
- **"Project context draft does not match ProjectContextImportDraftSchema"**
|
|
198
|
+
when promoting: the same check, on a draft that has been edited by hand.
|
|
199
|
+
Fix the field it names in the draft.
|
|
200
|
+
- **"was imported before, as ..."**: that exact file has been imported already.
|
|
201
|
+
Files are recognised by their contents, so renaming one does not make it new.
|
|
202
|
+
- **"No draft at ..."**: the message lists the drafts there are. Copy the path
|
|
203
|
+
from that list.
|
|
204
|
+
- **The promotion says "No users yet"**: that is about the knowledge base's
|
|
205
|
+
users, which come from personas, not about the Users tab. See
|
|
206
|
+
[Turn personas into users and needs](turn-personas-into-users-and-needs.md).
|
|
207
|
+
- **"Promotion wrote project context, but knowledge validation failed"**: the
|
|
208
|
+
record was written, but something in the knowledge base breaks the rules.
|
|
209
|
+
The lines above the message say what. If the problem is in what you just
|
|
210
|
+
promoted, fix it in `hippocampus/source/project-context.json`, or undo the
|
|
211
|
+
promotion: `git checkout -- hippocampus/source/project-context.json` puts
|
|
212
|
+
back the last committed version, and if this was the first promotion,
|
|
213
|
+
delete the file.
|
|
214
|
+
|
|
215
|
+
## Related skills
|
|
216
|
+
|
|
217
|
+
- `ingest-project-context`: an AI agent imports the inbox without promoting,
|
|
218
|
+
structures the draft from the text it extracted, and checks it with a dry
|
|
219
|
+
run. It never promotes.
|
|
220
|
+
- `structure-project-context-draft`: an agent improves a draft, usually one
|
|
221
|
+
from a deck or PDF, using only the extracted text, and leaves out any policy,
|
|
222
|
+
risk or milestone the source does not name.
|
|
223
|
+
|
|
224
|
+
Whatever an agent reads is sent to the agent's service. See
|
|
225
|
+
[When anything leaves your machine](data-and-governance.md#when-anything-leaves-your-machine).
|
|
@@ -0,0 +1,191 @@
|
|
|
1
|
+
---
|
|
2
|
+
section: recipes
|
|
3
|
+
order: 70
|
|
4
|
+
audience: [viewer, cli]
|
|
5
|
+
summary: Before designing a journey for a new kind of user, or changing one other people rely on, find what it could break for the users you already know.
|
|
6
|
+
---
|
|
7
|
+
# Check for unintended consequences
|
|
8
|
+
|
|
9
|
+
A new journey rarely stands on its own. It rests on the same evidence as other
|
|
10
|
+
users' needs, it runs into decisions the team has already taken, and a new
|
|
11
|
+
kind of user raises questions nobody may have asked. This check finds those in
|
|
12
|
+
the knowledge base, before they turn up in testing or in live service.
|
|
13
|
+
|
|
14
|
+
`npx hippocampus consequences` starts from a scenario and follows the record
|
|
15
|
+
outwards: from the scenario's needs to the evidence and insights under them,
|
|
16
|
+
then to the other users whose needs rest on the same ground. It lists what it
|
|
17
|
+
finds. It does not decide what matters. That is a judgement for the team, and
|
|
18
|
+
the `find-unintended-consequences` skill can help an agent make it with you.
|
|
19
|
+
|
|
20
|
+
## Who this is for
|
|
21
|
+
|
|
22
|
+
Designers and researchers about to design a journey, and product managers
|
|
23
|
+
deciding whether a change is safe. You need to run one command, or ask someone
|
|
24
|
+
who can.
|
|
25
|
+
|
|
26
|
+
## Before you start
|
|
27
|
+
|
|
28
|
+
### Put the journey in as a scenario
|
|
29
|
+
|
|
30
|
+
The check reads a scenario: who it is for, what triggers it, and the needs it
|
|
31
|
+
serves. If the journey is new, add it first with the `add-scenario` skill, or
|
|
32
|
+
by hand in `hippocampus/source/scenarios.json`; see
|
|
33
|
+
[Source model](source-model.md#scenarios). The `needIds` matter most: they are
|
|
34
|
+
where the check starts.
|
|
35
|
+
|
|
36
|
+
If the journey is for a new kind of user, add the user and their needs first:
|
|
37
|
+
see [Turn personas into users and needs](turn-personas-into-users-and-needs.md).
|
|
38
|
+
If no research has included this kind of user, do not borrow another user's
|
|
39
|
+
evidence to support their needs. Record an assumption instead. The check will
|
|
40
|
+
say that nobody has researched them, and that is the first thing to know.
|
|
41
|
+
|
|
42
|
+
### The more is linked, the more it finds
|
|
43
|
+
|
|
44
|
+
The check only follows links that are in the record:
|
|
45
|
+
|
|
46
|
+
- needs cite their evidence
|
|
47
|
+
- insights are linked to the needs they test: see
|
|
48
|
+
[Link insights to needs](link-insights-to-needs.md)
|
|
49
|
+
- design actions and the decisions that resolve them have been imported: see
|
|
50
|
+
[Design actions and decisions](design-actions-and-decisions.md)
|
|
51
|
+
|
|
52
|
+
A thin record gives a short list. That is not the same as a safe journey.
|
|
53
|
+
|
|
54
|
+
## At the command line
|
|
55
|
+
|
|
56
|
+
1. List the scenarios, by running it with no scenario id:
|
|
57
|
+
|
|
58
|
+
```bash
|
|
59
|
+
npx hippocampus consequences
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
2. Run it for yours:
|
|
63
|
+
|
|
64
|
+
```bash
|
|
65
|
+
npx hippocampus consequences scenario-carer-books-for-parent
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
3. Read **This user in the research** first. If no round has included this
|
|
69
|
+
kind of user, everything after it rests on evidence from other people.
|
|
70
|
+
|
|
71
|
+
4. Go through every item in the other sections and sort it into one of four
|
|
72
|
+
kinds:
|
|
73
|
+
|
|
74
|
+
- **Collides with a decision**: the journey runs into something already
|
|
75
|
+
decided. Check the decision's status: `accepted` is settled, `proposed`
|
|
76
|
+
is not, and `rejected` means the journey may be asking for something the
|
|
77
|
+
team already turned down.
|
|
78
|
+
- **Rests on weak ground**: an assumption, or a finding not held at high
|
|
79
|
+
confidence.
|
|
80
|
+
- **Already handled**: a design action or decision covers it. Say so: a
|
|
81
|
+
review that flags everything gets ignored.
|
|
82
|
+
- **Nobody asked**: one of the standing questions no record answers. That
|
|
83
|
+
is a research question, or a decision someone has to own, not something
|
|
84
|
+
to guess.
|
|
85
|
+
|
|
86
|
+
5. Write the review down where the team will see it, naming for each item the
|
|
87
|
+
user, the need and the record id behind it. The `find-unintended-consequences`
|
|
88
|
+
skill writes one to `artefacts/consequence-reviews/`.
|
|
89
|
+
|
|
90
|
+
Lists stop at 25 items. Add `--all` to see every item, or `--json` for a
|
|
91
|
+
version another tool can read.
|
|
92
|
+
|
|
93
|
+
## What it looks like
|
|
94
|
+
|
|
95
|
+
This example is made up. A carer is booking a fasting blood test for their
|
|
96
|
+
parent:
|
|
97
|
+
|
|
98
|
+
```text
|
|
99
|
+
$ npx hippocampus consequences scenario-carer-books-for-parent
|
|
100
|
+
Checking a journey against the users we already know
|
|
101
|
+
A carer books a fasting blood test for their parent
|
|
102
|
+
scenario-carer-books-for-parent · Carer (carer)
|
|
103
|
+
(/Users/sam/blood-test-prototype, 2 research rounds)
|
|
104
|
+
|
|
105
|
+
This user in the research
|
|
106
|
+
1 participant whose role matches "carer", in 1 round: Round 1 – Booking a blood test 2026-09-12 (2026-09-12)
|
|
107
|
+
|
|
108
|
+
Users we already know who stand on the same ground (1 role, 2 needs)
|
|
109
|
+
Patient (patient)
|
|
110
|
+
need-fasting-guidance [high]
|
|
111
|
+
I need to know before the day whether I must stop eating before my blood test, so that I do not hav…
|
|
112
|
+
via evidence-patient-persona, notes-insight-1, playback-insight-4
|
|
113
|
+
|
|
114
|
+
Decisions already taken on this ground (1) - check the journey against each one
|
|
115
|
+
[accepted] decision-fasting-in-confirmation
|
|
116
|
+
Fasting instructions go in the confirmation message
|
|
117
|
+
via playback-action-2
|
|
118
|
+
|
|
119
|
+
Questions every new kind of user raises
|
|
120
|
+
disclosure What this user may see, and what they must not
|
|
121
|
+
Nobody has asked. No record in 2 rounds names it. That is the finding.
|
|
122
|
+
writes Whether this user writes to the record, and how it is attributed
|
|
123
|
+
Nobody has asked. No record in 2 rounds names it. That is the finding.
|
|
124
|
+
bulk-access Whether this user looks at one record or at many
|
|
125
|
+
Nobody has asked. No record in 2 rounds names it. That is the finding.
|
|
126
|
+
```
|
|
127
|
+
|
|
128
|
+
The real output has more sections: what the journey stands on, the design
|
|
129
|
+
actions already responding to it, and weak ground. They are left out here.
|
|
130
|
+
|
|
131
|
+
Reading it:
|
|
132
|
+
|
|
133
|
+
- **A collision.** The accepted decision sends fasting instructions to whoever
|
|
134
|
+
booked. In this journey that is the carer, not the parent who has to fast.
|
|
135
|
+
The patient's need to know about fasting is now at risk. Someone needs to
|
|
136
|
+
own a new decision, or revisit this one.
|
|
137
|
+
- **Nobody asked.** No round has asked what a carer may see of their parent's
|
|
138
|
+
bookings. That is a research question for the next round, not something to
|
|
139
|
+
settle in the design.
|
|
140
|
+
|
|
141
|
+
## In the viewer
|
|
142
|
+
|
|
143
|
+
No viewer page runs this check, but you can walk the same ground by hand:
|
|
144
|
+
|
|
145
|
+
1. **Scenarios** (`/hippocampus/scenarios`): find the scenario and its needs.
|
|
146
|
+
2. Open each need. Its page lists the evidence it rests on, and the insights
|
|
147
|
+
that test it under **Tested by**.
|
|
148
|
+
3. Open each piece of evidence's impact page. **What cites this** and **What
|
|
149
|
+
was built on those** show which other users' needs rest on it.
|
|
150
|
+
4. A journey's handover page lists the decisions taken for it, with the
|
|
151
|
+
consequence the team recorded for each.
|
|
152
|
+
|
|
153
|
+
This is slower than the command, and easy to stop early. Use it to check a
|
|
154
|
+
review someone else wrote.
|
|
155
|
+
|
|
156
|
+
## How to check it worked
|
|
157
|
+
|
|
158
|
+
- The output names your scenario and its user at the top.
|
|
159
|
+
- **This user in the research** says either how many participants matched,
|
|
160
|
+
or plainly that none did.
|
|
161
|
+
- Every item in the output appears in the review, sorted into one of the four
|
|
162
|
+
kinds.
|
|
163
|
+
|
|
164
|
+
## If it goes wrong
|
|
165
|
+
|
|
166
|
+
- **"Usage: hippocampus consequences <scenario-id>"** followed by a list:
|
|
167
|
+
you ran it without a scenario id, or with more than one. Pick one from the
|
|
168
|
+
list.
|
|
169
|
+
- **"No scenario with id ..."**: check the spelling against the scenario ids
|
|
170
|
+
the message lists.
|
|
171
|
+
- **"No participant's role matches ..."**: no research round has included this
|
|
172
|
+
kind of user. Every need under the journey rests on evidence from other
|
|
173
|
+
people. Put that at the top of the review.
|
|
174
|
+
- **Hardly anything listed**: the record is thin rather than the journey safe.
|
|
175
|
+
Check its needs cite evidence and that insights are linked to needs; see
|
|
176
|
+
[The more is linked, the more it finds](#the-more-is-linked-the-more-it-finds).
|
|
177
|
+
- **"Unknown option: ..."**: only `--all`, `--json` and `--root` are accepted.
|
|
178
|
+
|
|
179
|
+
## Related skills
|
|
180
|
+
|
|
181
|
+
- `find-unintended-consequences`: an agent runs the check, sorts every item
|
|
182
|
+
into the four kinds, names the user, need and record behind each, and writes
|
|
183
|
+
the review. It does not guess answers to questions nobody has asked.
|
|
184
|
+
- `add-scenario`: puts a new journey in as a scenario.
|
|
185
|
+
- `record-design-decision`: records a decision someone has taken in response.
|
|
186
|
+
- `whats-known-about`: what the team already knows about a topic. See
|
|
187
|
+
[Ask what's already known](ask-whats-already-known.md).
|
|
188
|
+
|
|
189
|
+
An agent connected through `npx hippocampus mcp` can run the same check.
|
|
190
|
+
Whatever an agent reads is sent to the agent's service. See
|
|
191
|
+
[When anything leaves your machine](data-and-governance.md#when-anything-leaves-your-machine).
|