@hippo-digital/hippocampus 2.0.1 → 2.2.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.
@@ -94,6 +94,65 @@
94
94
  "The output stays review-first unless fixes are requested."
95
95
  ]
96
96
  },
97
+ {
98
+ "id": "whats-known-about",
99
+ "title": "Report what is known about a topic",
100
+ "purpose": "Answer \"what do we already know about this\" from the knowledge base before anyone finds it out for a second time, and be explicit about what nobody has ever asked.",
101
+ "file": "whats-known-about/SKILL.md",
102
+ "owners": [
103
+ "knowledge-builder",
104
+ "workflow-orchestrator"
105
+ ],
106
+ "runs": [
107
+ "npx hippocampus known \"<topic>\"",
108
+ "npx hippocampus validate"
109
+ ],
110
+ "outputs": [
111
+ "What is known on the topic, each claim traced to its record and research round, with the round's date",
112
+ "What already exists because of it - the needs, screens and design actions downstream of those records",
113
+ "A plain statement of what nobody has asked, and the nearest round that came close",
114
+ "A dated answer under `artefacts/knowledge-answers/` when one is asked for, readable without an agent"
115
+ ],
116
+ "acceptance": [
117
+ "Every claim in the answer names its record id and the research round behind it, with the round's date.",
118
+ "Assumptions are reported separately from evidence and are labelled as assumptions.",
119
+ "The answer states what nobody has asked, or says explicitly that coverage was not checked.",
120
+ "Nothing is asserted that cannot be pointed at in `hippocampus/source/`."
121
+ ]
122
+ },
123
+ {
124
+ "id": "find-unintended-consequences",
125
+ "title": "Find unintended consequences of a journey",
126
+ "purpose": "Before a new or changed journey is designed, find which users we already know it could hurt, which decisions it runs into, and which questions nobody has asked - so the consequences are found in the knowledge base instead of in production.",
127
+ "file": "find-unintended-consequences/SKILL.md",
128
+ "owners": [
129
+ "knowledge-builder",
130
+ "workflow-orchestrator"
131
+ ],
132
+ "composes": [
133
+ "whats-known-about",
134
+ "record-design-decision"
135
+ ],
136
+ "runs": [
137
+ "npx hippocampus consequences <scenario-id>",
138
+ "npx hippocampus known \"<topic>\"",
139
+ "npx hippocampus validate"
140
+ ],
141
+ "outputs": [
142
+ "A review sorting every candidate into collides with a decision, rests on weak ground, already handled, or nobody asked",
143
+ "For each finding, the existing user and need it affects and the record behind it",
144
+ "A plain statement of whether this kind of user has ever been in a research round",
145
+ "Proposed fixes, naming the existing decision each one reuses or saying that a new decision is needed",
146
+ "A dated review under `artefacts/consequence-reviews/`"
147
+ ],
148
+ "acceptance": [
149
+ "Every candidate is classified into one of the four kinds, naming the existing user, the need and the record id behind it.",
150
+ "The review says whether this kind of user has ever been in a research round.",
151
+ "Every standing concern is reported, including any that nobody has asked.",
152
+ "Each proposed fix names the existing decision it reuses, or says a new decision is needed.",
153
+ "Nothing is asserted that cannot be pointed at in `hippocampus/source/`."
154
+ ]
155
+ },
97
156
  {
98
157
  "id": "capture-route-review-pack",
99
158
  "title": "Capture route review pack",
@@ -0,0 +1,113 @@
1
+ ---
2
+ name: whats-known-about
3
+ description: "Answers what the knowledge base already holds on a topic, with the evidence and the date behind each claim, and names what nobody has asked. Use before researching, designing or specifying anything, and whenever someone asks whether this has been looked at before."
4
+ id: whats-known-about
5
+ title: Report what is known about a topic
6
+ purpose: Answer "what do we already know about this" from the knowledge base before anyone finds it out for a second time, and be explicit about what nobody has ever asked.
7
+ owners:
8
+ - knowledge-builder
9
+ - workflow-orchestrator
10
+ reads:
11
+ - hippocampus/source/evidence.json
12
+ - hippocampus/source/insights.json
13
+ - hippocampus/source/needs.json
14
+ - hippocampus/source/assumptions.json
15
+ - hippocampus/source/research-rounds.json
16
+ - hippocampus/source/relationships.json
17
+ - hippocampus/source/screens.json
18
+ - hippocampus/source/design-actions.json
19
+ edits:
20
+ - artefacts/knowledge-answers/
21
+ runs:
22
+ - npx hippocampus known "<topic>"
23
+ - npx hippocampus validate
24
+ outputs:
25
+ - What is known on the topic, each claim traced to its record and research round, with the round's date
26
+ - What already exists because of it - the needs, screens and design actions downstream of those records
27
+ - A plain statement of what nobody has asked, and the nearest round that came close
28
+ - A dated answer under `artefacts/knowledge-answers/` when one is asked for, readable without an agent
29
+ guardrails:
30
+ - Finding nothing is an answer, not a failure. Say that no round covered the topic, name the nearest one, and stop - an empty result reported as an error sends somebody off to research it again, which is the thing this skill exists to prevent.
31
+ - Never merge records from different rounds into one claim. Two rounds agreeing is a stronger finding than one sentence that conceals both.
32
+ - Carry confidence and the round date into every claim. A low-confidence insight from an old round is not the same fact as a recent high-confidence one, and a summary that flattens them is how a wrong thing gets rebuilt.
33
+ - An assumption is never reported as research. Check `assumptions.json`, and check `sourceType` on evidence - some projects record assumptions there instead. Either way it is a belief the team is relying on, and saying so is the point.
34
+ - Search summaries and statements, not just titles. The topic is usually named in the body of a record and not in its heading.
35
+ - Report what was already built on the records you found. "We know this" without "and here is the screen that already does it" still leaves somebody free to build it twice.
36
+ - Do not follow provenance backwards. A round is not relevant because something drawn from it was.
37
+ acceptance:
38
+ - Every claim in the answer names its record id and the research round behind it, with the round's date.
39
+ - Assumptions are reported separately from evidence and are labelled as assumptions.
40
+ - The answer states what nobody has asked, or says explicitly that coverage was not checked.
41
+ - Nothing is asserted that cannot be pointed at in `hippocampus/source/`.
42
+ ---
43
+ # Report what is known about a topic
44
+
45
+ ## Use when
46
+
47
+ Somebody is about to research, design or specify something and wants to know
48
+ whether it has been looked at before. Also when a question arrives that sounds
49
+ familiar, or when a team picks up an area an earlier one already worked in.
50
+
51
+ ## Workflow
52
+
53
+ 1. **Ask the knowledge base.**
54
+
55
+ ```bash
56
+ npx hippocampus known "the topic"
57
+ ```
58
+
59
+ Run it once for the words the team would say and once for the words the
60
+ records use - a miss on one wording is not coverage. The command exits 0 even
61
+ when nothing matches, because nothing found is an answer.
62
+
63
+ 2. **Read what it gives you, in its own shape.** Findings come oldest round
64
+ first, each a separate claim carrying its confidence and its round's date.
65
+ Assumptions are listed apart from findings. Then the needs that name the
66
+ topic, then `Already built on these`, then `Coverage`.
67
+
68
+ 3. **Start the answer with the Coverage line, not the findings.** `0 of N` means
69
+ no ingested round has a finding on this, and that is the more useful half of
70
+ the answer. It is also the case that looks like a hit when records exist: a
71
+ topic can have needs and screens hanging off an assumption that no research
72
+ ever tested.
73
+
74
+ Before calling a topic unresearched, read the two lines under it. `Rounds
75
+ that produced no insights here` are rounds whose material may cover the topic
76
+ without any of it having been ingested, and `Held files never ingested` are
77
+ files whose names match. Either one means "not in the knowledge base", which
78
+ is not the same as "nobody asked". Say which it is.
79
+
80
+ 4. **Take `Already built on these` seriously.** Those are the journeys and
81
+ screens that already serve the topic. Naming them is what stops the rebuild,
82
+ and it is the part a summary usually drops.
83
+
84
+ 5. **If lists were cut at 25**, rerun with `--all`, or `--json` when you need to
85
+ work with the result rather than read it. Do not answer from a truncated list
86
+ without saying it was truncated.
87
+
88
+ 6. **Run the linter** and report its `info` tier for the records you named:
89
+ insights with no need, rounds that produced nothing. An insight nobody turned
90
+ into a need is a discovery already half-lost.
91
+
92
+ ```bash
93
+ npx hippocampus validate
94
+ ```
95
+
96
+ ## Guardrails
97
+
98
+ - Nothing found is a result. Report it as one and name the nearest round.
99
+ - An assumption is never reported as research.
100
+ - Confidence and round date travel with the claim, or the claim does not go out.
101
+ - Records from different rounds stay as separate claims - do not paraphrase the
102
+ findings list into a single sentence.
103
+ - Every answer says what already exists downstream, not only what is known.
104
+
105
+ ## Finish
106
+
107
+ When the answer is worth keeping, write it to `artefacts/knowledge-answers/` with
108
+ today's date, so the next person can read it without running an agent. An answer
109
+ that only ever existed in a chat window is the next repeated discovery.
110
+
111
+ End with the one question somebody would have to ask to close the gap, and who
112
+ would have to be asked. A topic nobody has researched is a piece of work, and
113
+ naming it here is what stops it being discovered from scratch a third time.