@hippo-digital/hippocampus 2.3.0 → 2.5.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 (40) hide show
  1. package/CHANGELOG.md +115 -0
  2. package/README.md +19 -0
  3. package/assets/dist/hippocampus.css +1 -1
  4. package/assets/hippocampus.scss +34 -1
  5. package/docs/agent-roadmap.md +6 -1
  6. package/docs/agent-workflow.md +6 -1
  7. package/docs/ask-whats-already-known.md +159 -0
  8. package/docs/colour-pairings.md +6 -0
  9. package/docs/components.md +7 -1
  10. package/docs/custom-agents-usage.md +6 -1
  11. package/docs/design-actions-and-decisions.md +5 -0
  12. package/docs/diagrams/README.md +44 -0
  13. package/docs/diagrams/evidence-flow.mmd +56 -0
  14. package/docs/diagrams/mermaid.config.json +20 -0
  15. package/docs/hippocampus-for-designers-and-researchers.md +7 -1
  16. package/docs/hippocampus-technical.md +7 -1
  17. package/docs/images/evidence-flow.svg +1 -0
  18. package/docs/import-a-research-round.md +229 -0
  19. package/docs/prompt-architecture-guardrails.md +6 -1
  20. package/docs/repeatable-research-round-ingestion.md +6 -1
  21. package/docs/research-knowledge-graph.md +7 -1
  22. package/docs/research-source-file-conventions.md +7 -2
  23. package/docs/review-and-promote-a-draft.md +203 -0
  24. package/docs/source-model.md +28 -1
  25. package/docs/start-here.md +206 -0
  26. package/lib/create-router.js +41 -7
  27. package/lib/docs.js +288 -30
  28. package/lib/lint-knowledge.js +22 -1
  29. package/lib/schema.js +58 -12
  30. package/package.json +1 -1
  31. package/scripts/import-research-deck.js +31 -6
  32. package/scripts/known.js +2 -2
  33. package/scripts/promote-research-draft.js +76 -6
  34. package/scripts/smoke-routes.js +8 -1
  35. package/skills/ingest-user-personas/SKILL.md +1 -1
  36. package/views/hippocampus/doc.html +15 -0
  37. package/views/hippocampus/docs.html +42 -13
  38. package/views/hippocampus/evidence-impact.html +4 -0
  39. package/views/hippocampus/record.html +10 -2
  40. package/views/hippocampus/research.html +9 -4
@@ -1,4 +1,10 @@
1
- # Hippocampus for Designers and Researchers
1
+ ---
2
+ section: start
3
+ order: 20
4
+ audience: [viewer, cli]
5
+ summary: What Hippocampus keeps, how the pieces link up, and the viewer pages that answer the questions a team keeps asking.
6
+ ---
7
+ # Hippocampus for designers and researchers
2
8
 
3
9
  Hippocampus is a place to keep design knowledge in a structured way.
4
10
 
@@ -1,4 +1,10 @@
1
- # Hippocampus Technical Model
1
+ ---
2
+ section: contributors
3
+ order: 20
4
+ audience: [cli]
5
+ summary: How the viewer loads the source, builds its indexes and two graph models, and where its current limits are.
6
+ ---
7
+ # Hippocampus technical model
2
8
 
3
9
  Hippocampus is a structured design knowledge store for NHS Prototype Kit projects.
4
10
 
@@ -0,0 +1 @@
1
+ <svg id="my-svg" width="100%" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" class="flowchart" style="max-width: 704.845px; background-color: white;" viewBox="0 0 704.8447265625 928.800048828125" role="graphics-document document" aria-roledescription="flowchart-v2" aria-describedby="chart-desc-my-svg" aria-labelledby="chart-title-my-svg" xmlns:c2pa="http://c2pa.org/manifest"><metadata><c2pa:manifest>AAAWgmp1bWIAAAAeanVtZGMycGEAEQAQgAAAqgA4m3EDYzJwYQAAABZcanVtYgAAAEdqdW1kYzJtYQARABCAAACqADibcQN1cm46YzJwYTozZWJlNjJjNC1mOTcwLTRmODEtYTY1OC01YTU3ZDQ1YWNmMTcAAAADl2p1bWIAAAApanVtZGMyYXMAEQAQgAAAqgA4m3EDYzJwYS5hc3NlcnRpb25zAAAAALxqdW1iAAAARGp1bWRjYm9yABEAEIAAAKoAOJtxE2MycGEuaW5ncmVkaWVudC52MwAAAAAYYzJzaKYnNMdAToKELDwSApz0rnYAAABwY2JvcqNpZGM6Zm9ybWF0bWltYWdlL3N2Zyt4bWxqaW5zdGFuY2VJRHgseG1wOmlpZDo4ZDdjZDEzMi05OGY4LTQ5YzktODI2My1hMDFlM2YxOWQyMzhscmVsYXRpb25z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">Research files go into the inbox. The import command reads each one on your machine and writes a draft into imports. An AI agent can tidy the draft, and what it reads is sent to the agent's service. A person reviews the draft and sends it back if it is not ready. Only a person running promote moves it into source, the record everything else is built from. The viewer shows source as pages. Reviews and handovers built on it are written to artefacts, which is safe to delete.</desc><style>#my-svg{font-family:Arial,Helvetica,sans-serif;font-size:17px;fill:#212b32;}@keyframes edge-animation-frame{from{stroke-dashoffset:0;}}@keyframes dash{to{stroke-dashoffset:0;}}#my-svg .edge-animation-slow{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 50s linear infinite;stroke-linecap:round;}#my-svg .edge-animation-fast{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 20s linear infinite;stroke-linecap:round;}#my-svg .error-icon{fill:hsl(220.5882352941, 100%, 98.3333333333%);}#my-svg .error-text{fill:rgb(8.5000000002, 5.7500000001, 0);stroke:rgb(8.5000000002, 5.7500000001, 0);}#my-svg .edge-thickness-normal{stroke-width:1px;}#my-svg .edge-thickness-thick{stroke-width:3.5px;}#my-svg .edge-pattern-solid{stroke-dasharray:0;}#my-svg .edge-thickness-invisible{stroke-width:0;fill:none;}#my-svg .edge-pattern-dashed{stroke-dasharray:3;}#my-svg .edge-pattern-dotted{stroke-dasharray:2;}#my-svg .marker{fill:#4c6272;stroke:#4c6272;}#my-svg .marker.cross{stroke:#4c6272;}#my-svg svg{font-family:Arial,Helvetica,sans-serif;font-size:17px;}#my-svg p{margin:0;}#my-svg .label{font-family:Arial,Helvetica,sans-serif;color:#212b32;}#my-svg .cluster-label text{fill:rgb(8.5000000002, 5.7500000001, 0);}#my-svg .cluster-label span{color:rgb(8.5000000002, 5.7500000001, 0);}#my-svg .cluster-label span p{background-color:transparent;}#my-svg .label text,#my-svg span{fill:#212b32;color:#212b32;}#my-svg .node rect,#my-svg .node circle,#my-svg .node ellipse,#my-svg .node polygon,#my-svg .node path{fill:#fff4dd;stroke:hsl(40.5882352941, 60%, 83.3333333333%);stroke-width:1px;}#my-svg .rough-node .label text,#my-svg .node .label text,#my-svg .image-shape .label,#my-svg .icon-shape .label{text-anchor:middle;}#my-svg .node .katex path{fill:#000;stroke:#000;stroke-width:1px;}#my-svg .rough-node .label,#my-svg .node .label,#my-svg .image-shape .label,#my-svg .icon-shape .label{text-align:center;}#my-svg .node.clickable{cursor:pointer;}#my-svg .root .anchor path{fill:#4c6272!important;stroke-width:0;stroke:#4c6272;}#my-svg .arrowheadPath{fill:#0b0b0b;}#my-svg .edgePaths .path{stroke:#4c6272;stroke-width:1px;}#my-svg .flowchart-link{stroke:#4c6272;fill:none;}#my-svg .edgeLabel{background-color:#ffffff;text-align:center;}#my-svg .edgeLabel p{background-color:#ffffff;}#my-svg .edgeLabel rect{opacity:0.5;background-color:#ffffff;fill:#ffffff;}#my-svg .labelBkg{background-color:rgba(255, 255, 255, 0.5);}#my-svg .cluster rect{fill:hsl(220.5882352941, 100%, 98.3333333333%);stroke:hsl(220.5882352941, 60%, 88.3333333333%);stroke-width:1px;}#my-svg .cluster text{fill:rgb(8.5000000002, 5.7500000001, 0);}#my-svg .cluster span{color:rgb(8.5000000002, 5.7500000001, 0);}#my-svg .node .collapsed-indicator{fill:hsl(220.5882352941, 60%, 88.3333333333%);stroke:none;opacity:0.6;}#my-svg .node .collapsed-separator{stroke:hsl(220.5882352941, 60%, 88.3333333333%);stroke-width:0.75px;}#my-svg div.mermaidTooltip{position:absolute;text-align:center;max-width:200px;padding:2px;font-family:Arial,Helvetica,sans-serif;font-size:12px;background:hsl(220.5882352941, 100%, 98.3333333333%);border:1px solid hsl(220.5882352941, 60%, 88.3333333333%);border-radius:2px;pointer-events:none;z-index:100;}#my-svg .flowchartTitleText{text-anchor:middle;font-size:18px;fill:#212b32;}#my-svg rect.text{fill:none;stroke-width:0;}#my-svg .icon-shape,#my-svg .image-shape{background-color:#ffffff;text-align:center;}#my-svg .icon-shape p,#my-svg .image-shape p{background-color:#ffffff;padding:2px;}#my-svg .icon-shape .label rect,#my-svg .image-shape .label rect{opacity:0.5;background-color:#ffffff;fill:#ffffff;}#my-svg .label-icon{display:inline-block;height:1em;overflow:visible;vertical-align:-0.125em;}#my-svg .node .label-icon path{fill:currentColor;stroke:revert;stroke-width:revert;}#my-svg .node .neo-node{stroke:hsl(40.5882352941, 60%, 83.3333333333%);}#my-svg [data-look="neo"].node rect,#my-svg [data-look="neo"].cluster rect,#my-svg [data-look="neo"].node polygon{stroke:url(#my-svg-gradient);filter:drop-shadow( 1px 2px 2px rgba(185,185,185,1));}#my-svg [data-look="neo"].swimlane.cluster rect{filter:none;}#my-svg [data-look="neo"].node path{stroke:url(#my-svg-gradient);stroke-width:1px;}#my-svg [data-look="neo"].node .outer-path{filter:drop-shadow( 1px 2px 2px rgba(185,185,185,1));}#my-svg [data-look="neo"].node .neo-line path{stroke:hsl(40.5882352941, 60%, 83.3333333333%);filter:none;}#my-svg [data-look="neo"].node circle{stroke:url(#my-svg-gradient);filter:drop-shadow( 1px 2px 2px rgba(185,185,185,1));}#my-svg [data-look="neo"].node circle .state-start{fill:#000000;}#my-svg [data-look="neo"].icon-shape .icon{fill:url(#my-svg-gradient);filter:drop-shadow( 1px 2px 2px rgba(185,185,185,1));}#my-svg [data-look="neo"].icon-shape .icon-neo path{stroke:url(#my-svg-gradient);filter:drop-shadow( 1px 2px 2px rgba(185,185,185,1));}#my-svg :root{--mermaid-font-family:"trebuchet ms",verdana,arial,sans-serif;}#my-svg .neutral rect{fill:rgb(255, 255, 255)!important;stroke:rgb(76, 98, 114)!important;stroke-width:2px!important;color:rgb(33, 43, 50)!important;}#my-svg .neutral polygon{fill:rgb(255, 255, 255)!important;stroke:rgb(76, 98, 114)!important;stroke-width:2px!important;color:rgb(33, 43, 50)!important;}#my-svg .neutral ellipse{fill:rgb(255, 255, 255)!important;stroke:rgb(76, 98, 114)!important;stroke-width:2px!important;color:rgb(33, 43, 50)!important;}#my-svg .neutral circle{fill:rgb(255, 255, 255)!important;stroke:rgb(76, 98, 114)!important;stroke-width:2px!important;color:rgb(33, 43, 50)!important;}#my-svg .neutral path{fill:rgb(255, 255, 255)!important;stroke:rgb(76, 98, 114)!important;stroke-width:2px!important;color:rgb(33, 43, 50)!important;}#my-svg .neutral tspan{fill:rgb(33, 43, 50)!important;}#my-svg .machine rect{fill:rgb(230, 246, 250)!important;stroke:rgb(0, 117, 143)!important;stroke-width:2px!important;color:rgb(33, 43, 50)!important;}#my-svg .machine polygon{fill:rgb(230, 246, 250)!important;stroke:rgb(0, 117, 143)!important;stroke-width:2px!important;color:rgb(33, 43, 50)!important;}#my-svg .machine ellipse{fill:rgb(230, 246, 250)!important;stroke:rgb(0, 117, 143)!important;stroke-width:2px!important;color:rgb(33, 43, 50)!important;}#my-svg .machine circle{fill:rgb(230, 246, 250)!important;stroke:rgb(0, 117, 143)!important;stroke-width:2px!important;color:rgb(33, 43, 50)!important;}#my-svg .machine path{fill:rgb(230, 246, 250)!important;stroke:rgb(0, 117, 143)!important;stroke-width:2px!important;color:rgb(33, 43, 50)!important;}#my-svg .machine tspan{fill:rgb(33, 43, 50)!important;}#my-svg .human rect{fill:rgb(230, 239, 248)!important;stroke:rgb(0, 94, 184)!important;stroke-width:2px!important;color:rgb(33, 43, 50)!important;}#my-svg .human polygon{fill:rgb(230, 239, 248)!important;stroke:rgb(0, 94, 184)!important;stroke-width:2px!important;color:rgb(33, 43, 50)!important;}#my-svg .human ellipse{fill:rgb(230, 239, 248)!important;stroke:rgb(0, 94, 184)!important;stroke-width:2px!important;color:rgb(33, 43, 50)!important;}#my-svg .human circle{fill:rgb(230, 239, 248)!important;stroke:rgb(0, 94, 184)!important;stroke-width:2px!important;color:rgb(33, 43, 50)!important;}#my-svg .human path{fill:rgb(230, 239, 248)!important;stroke:rgb(0, 94, 184)!important;stroke-width:2px!important;color:rgb(33, 43, 50)!important;}#my-svg .human tspan{fill:rgb(33, 43, 50)!important;}#my-svg .record rect{fill:rgb(230, 246, 245)!important;stroke:rgb(0, 114, 107)!important;stroke-width:4px!important;color:rgb(33, 43, 50)!important;}#my-svg .record polygon{fill:rgb(230, 246, 245)!important;stroke:rgb(0, 114, 107)!important;stroke-width:4px!important;color:rgb(33, 43, 50)!important;}#my-svg .record ellipse{fill:rgb(230, 246, 245)!important;stroke:rgb(0, 114, 107)!important;stroke-width:4px!important;color:rgb(33, 43, 50)!important;}#my-svg .record circle{fill:rgb(230, 246, 245)!important;stroke:rgb(0, 114, 107)!important;stroke-width:4px!important;color:rgb(33, 43, 50)!important;}#my-svg .record path{fill:rgb(230, 246, 245)!important;stroke:rgb(0, 114, 107)!important;stroke-width:4px!important;color:rgb(33, 43, 50)!important;}#my-svg .record tspan{fill:rgb(33, 43, 50)!important;}#my-svg .leaves rect{fill:rgb(253, 243, 230)!important;stroke:rgb(142, 83, 0)!important;stroke-width:2px!important;stroke-dasharray:6,4!important;color:rgb(33, 43, 50)!important;}#my-svg .leaves polygon{fill:rgb(253, 243, 230)!important;stroke:rgb(142, 83, 0)!important;stroke-width:2px!important;stroke-dasharray:6,4!important;color:rgb(33, 43, 50)!important;}#my-svg .leaves ellipse{fill:rgb(253, 243, 230)!important;stroke:rgb(142, 83, 0)!important;stroke-width:2px!important;stroke-dasharray:6,4!important;color:rgb(33, 43, 50)!important;}#my-svg .leaves circle{fill:rgb(253, 243, 230)!important;stroke:rgb(142, 83, 0)!important;stroke-width:2px!important;stroke-dasharray:6,4!important;color:rgb(33, 43, 50)!important;}#my-svg .leaves path{fill:rgb(253, 243, 230)!important;stroke:rgb(142, 83, 0)!important;stroke-width:2px!important;stroke-dasharray:6,4!important;color:rgb(33, 43, 50)!important;}#my-svg .leaves tspan{fill:rgb(33, 43, 50)!important;}#my-svg .generated rect{fill:rgb(255, 255, 255)!important;stroke:rgb(118, 134, 146)!important;stroke-width:2px!important;stroke-dasharray:6,4!important;color:rgb(33, 43, 50)!important;}#my-svg .generated polygon{fill:rgb(255, 255, 255)!important;stroke:rgb(118, 134, 146)!important;stroke-width:2px!important;stroke-dasharray:6,4!important;color:rgb(33, 43, 50)!important;}#my-svg .generated ellipse{fill:rgb(255, 255, 255)!important;stroke:rgb(118, 134, 146)!important;stroke-width:2px!important;stroke-dasharray:6,4!important;color:rgb(33, 43, 50)!important;}#my-svg .generated circle{fill:rgb(255, 255, 255)!important;stroke:rgb(118, 134, 146)!important;stroke-width:2px!important;stroke-dasharray:6,4!important;color:rgb(33, 43, 50)!important;}#my-svg .generated path{fill:rgb(255, 255, 255)!important;stroke:rgb(118, 134, 146)!important;stroke-width:2px!important;stroke-dasharray:6,4!important;color:rgb(33, 43, 50)!important;}#my-svg .generated tspan{fill:rgb(33, 43, 50)!important;}</style><g><marker id="my-svg_flowchart-v2-pointEnd" class="marker flowchart-v2" viewBox="0 0 10 10" refX="5" refY="5" markerUnits="userSpaceOnUse" markerWidth="8" markerHeight="8" orient="auto"><path d="M 0 0 L 10 5 L 0 10 z" class="arrowMarkerPath" style="stroke-width: 1; stroke-dasharray: 1, 0;"/></marker><marker id="my-svg_flowchart-v2-pointStart" class="marker flowchart-v2" viewBox="0 0 10 10" refX="4.5" refY="5" markerUnits="userSpaceOnUse" markerWidth="8" markerHeight="8" orient="auto"><path d="M 0 5 L 10 10 L 10 0 z" class="arrowMarkerPath" style="stroke-width: 1; stroke-dasharray: 1, 0;"/></marker><marker id="my-svg_flowchart-v2-pointEnd-margin" class="marker flowchart-v2" viewBox="0 0 11.5 14" refX="11.5" refY="7" markerUnits="userSpaceOnUse" markerWidth="10.5" markerHeight="14" orient="auto"><path d="M 0 0 L 11.5 7 L 0 14 z" class="arrowMarkerPath" style="stroke-width: 0; stroke-dasharray: 1, 0;"/></marker><marker id="my-svg_flowchart-v2-pointStart-margin" class="marker flowchart-v2" viewBox="0 0 11.5 14" refX="1" refY="7" markerUnits="userSpaceOnUse" markerWidth="11.5" markerHeight="14" orient="auto"><polygon points="0,7 11.5,14 11.5,0" class="arrowMarkerPath" style="stroke-width: 0; stroke-dasharray: 1, 0;"/></marker><marker id="my-svg_flowchart-v2-circleEnd" class="marker flowchart-v2" viewBox="0 0 10 10" refX="11" refY="5" markerUnits="userSpaceOnUse" markerWidth="11" markerHeight="11" orient="auto"><circle cx="5" cy="5" r="5" class="arrowMarkerPath" style="stroke-width: 1; stroke-dasharray: 1, 0;"/></marker><marker id="my-svg_flowchart-v2-circleStart" class="marker flowchart-v2" viewBox="0 0 10 10" refX="-1" refY="5" markerUnits="userSpaceOnUse" markerWidth="11" markerHeight="11" orient="auto"><circle cx="5" cy="5" r="5" class="arrowMarkerPath" style="stroke-width: 1; stroke-dasharray: 1, 0;"/></marker><marker id="my-svg_flowchart-v2-circleEnd-margin" class="marker flowchart-v2" viewBox="0 0 10 10" refY="5" refX="12.25" markerUnits="userSpaceOnUse" markerWidth="14" markerHeight="14" orient="auto"><circle cx="5" cy="5" r="5" class="arrowMarkerPath" style="stroke-width: 0; stroke-dasharray: 1, 0;"/></marker><marker id="my-svg_flowchart-v2-circleStart-margin" class="marker flowchart-v2" viewBox="0 0 10 10" refX="-2" refY="5" markerUnits="userSpaceOnUse" markerWidth="14" markerHeight="14" orient="auto"><circle cx="5" cy="5" r="5" class="arrowMarkerPath" style="stroke-width: 0; stroke-dasharray: 1, 0;"/></marker><marker id="my-svg_flowchart-v2-crossEnd" class="marker cross flowchart-v2" viewBox="0 0 11 11" refX="12" refY="5.2" markerUnits="userSpaceOnUse" markerWidth="11" markerHeight="11" orient="auto"><path d="M 1,1 l 9,9 M 10,1 l -9,9" class="arrowMarkerPath" style="stroke-width: 2; stroke-dasharray: 1, 0;"/></marker><marker id="my-svg_flowchart-v2-crossStart" class="marker cross flowchart-v2" viewBox="0 0 11 11" refX="-1" refY="5.2" markerUnits="userSpaceOnUse" markerWidth="11" markerHeight="11" orient="auto"><path d="M 1,1 l 9,9 M 10,1 l -9,9" class="arrowMarkerPath" style="stroke-width: 2; stroke-dasharray: 1, 0;"/></marker><marker id="my-svg_flowchart-v2-crossEnd-margin" class="marker cross flowchart-v2" viewBox="0 0 15 15" refX="17.7" refY="7.5" markerUnits="userSpaceOnUse" markerWidth="12" markerHeight="12" orient="auto"><path d="M 1,1 L 14,14 M 1,14 L 14,1" class="arrowMarkerPath" style="stroke-width: 2.5;"/></marker><marker id="my-svg_flowchart-v2-crossStart-margin" class="marker cross flowchart-v2" viewBox="0 0 15 15" refX="-3.5" refY="7.5" markerUnits="userSpaceOnUse" markerWidth="12" markerHeight="12" orient="auto"><path d="M 1,1 L 14,14 M 1,14 L 14,1" class="arrowMarkerPath" style="stroke-width: 2.5; stroke-dasharray: 1, 0;"/></marker><g class="root"><g class="clusters"/><g class="edgePaths"><path d="M158.159,92.4L158.159,96.233C158.159,100.067,158.159,107.733,158.159,114.733C158.159,121.733,158.159,128.067,158.159,131.233L158.159,134.4" id="my-svg-L_inbox_import_0" class="edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link" style=";" data-edge="true" data-et="edge" data-id="L_inbox_import_0" data-points="W3sieCI6MTU4LjE1OTE3OTY4NzUsInkiOjkyLjM5OTk5Mzg5NjQ4NDM4fSx7IngiOjE1OC4xNTkxNzk2ODc1LCJ5IjoxMTUuMzk5OTkzODk2NDg0Mzh9LHsieCI6MTU4LjE1OTE3OTY4NzUsInkiOjEzOC4zOTk5OTM4OTY0ODQzOH1d" data-look="classic" marker-end="url(#my-svg_flowchart-v2-pointEnd)"/><path d="M158.159,222.8L158.159,226.633C158.159,230.467,158.159,238.133,169.352,245.972C180.545,253.81,202.931,261.821,214.124,265.826L225.317,269.831" id="my-svg-L_import_draft_0" class="edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link" style=";" data-edge="true" data-et="edge" data-id="L_import_draft_0" data-points="W3sieCI6MTU4LjE1OTE3OTY4NzUsInkiOjIyMi43OTk5ODc3OTI5Njg3NX0seyJ4IjoxNTguMTU5MTc5Njg3NSwieSI6MjQ1Ljc5OTk4Nzc5Mjk2ODc1fSx7IngiOjIyOS4wODMwMDc4MTI1LCJ5IjoyNzEuMTc4NDE1OTIwNTQ2N31d" data-look="classic" marker-end="url(#my-svg_flowchart-v2-pointEnd)"/><path d="M324.11,353.2L321.894,358.95C319.679,364.7,315.247,376.2,315.287,387.09C315.327,397.979,319.837,408.258,322.093,413.398L324.348,418.537" id="my-svg-L_draft_review_0" class="edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link" style=";" data-edge="true" data-et="edge" data-id="L_draft_review_0" data-points="W3sieCI6MzI0LjEwOTc3MjQ1NjM4NjE3LCJ5IjozNTMuMTk5OTgxNjg5NDUzMX0seyJ4IjozMTAuODE2MTYyMTA5Mzc1LCJ5IjozODcuNjk5OTgxNjg5NDUzMX0seyJ4IjozMjUuOTU1Mjg0NTQ2NjAzNTQsInkiOjQyMi4xOTk5ODE2ODk0NTMxfV0=" data-look="classic" marker-end="url(#my-svg_flowchart-v2-pointEnd)"/><path d="M522.582,222.8L522.582,226.633C522.582,230.467,522.582,238.133,511.389,245.972C500.196,253.81,477.81,261.821,466.617,265.826L455.424,269.831" id="my-svg-L_agent_draft_0" class="edge-thickness-normal edge-pattern-dotted edge-thickness-normal edge-pattern-solid flowchart-link" style=";" data-edge="true" data-et="edge" data-id="L_agent_draft_0" data-points="W3sieCI6NTIyLjU4MTU0Mjk2ODc1LCJ5IjoyMjIuNzk5OTg3NzkyOTY4NzV9LHsieCI6NTIyLjU4MTU0Mjk2ODc1LCJ5IjoyNDUuNzk5OTg3NzkyOTY4NzV9LHsieCI6NDUxLjY1NzcxNDg0Mzc1LCJ5IjoyNzEuMTc4NDE1OTIwNTQ2N31d" data-look="classic" marker-end="url(#my-svg_flowchart-v2-pointEnd)"/><path d="M340.37,487.9L340.37,493.65C340.37,499.4,340.37,510.9,340.37,521.733C340.37,532.567,340.37,542.733,340.37,547.817L340.37,552.9" id="my-svg-L_review_promote_0" class="edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link" style=";" data-edge="true" data-et="edge" data-id="L_review_promote_0" data-points="W3sieCI6MzQwLjM3MDM2MTMyODEyNSwieSI6NDg3Ljg5OTk3ODYzNzY5NTN9LHsieCI6MzQwLjM3MDM2MTMyODEyNSwieSI6NTIyLjM5OTk3ODYzNzY5NTN9LHsieCI6MzQwLjM3MDM2MTMyODEyNSwieSI6NTU2Ljg5OTk3ODYzNzY5NTN9XQ==" data-look="classic" marker-end="url(#my-svg_flowchart-v2-pointEnd)"/><path d="M354.785,422.2L357.309,416.45C359.832,410.7,364.878,399.2,365.425,388.322C365.973,377.444,362.021,367.188,360.045,362.06L358.069,356.932" id="my-svg-L_review_draft_0" class="edge-thickness-normal edge-pattern-dotted edge-thickness-normal edge-pattern-solid flowchart-link" style=";" data-edge="true" data-et="edge" data-id="L_review_draft_0" data-points="W3sieCI6MzU0Ljc4NTQzODEwOTY0NjQ2LCJ5Ijo0MjIuMTk5OTgxNjg5NDUzMX0seyJ4IjozNjkuOTI0NTYwNTQ2ODc1LCJ5IjozODcuNjk5OTgxNjg5NDUzMX0seyJ4IjozNTYuNjMwOTUwMTk5ODYzODMsInkiOjM1My4xOTk5ODE2ODk0NTMxfV0=" data-look="classic" marker-end="url(#my-svg_flowchart-v2-pointEnd)"/><path d="M340.37,641.3L340.37,645.133C340.37,648.967,340.37,656.633,340.37,663.633C340.37,670.633,340.37,676.967,340.37,680.133L340.37,683.3" id="my-svg-L_promote_source_0" class="edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link" style=";" data-edge="true" data-et="edge" data-id="L_promote_source_0" data-points="W3sieCI6MzQwLjM3MDM2MTMyODEyNSwieSI6NjQxLjI5OTk3MjUzNDE3OTd9LHsieCI6MzQwLjM3MDM2MTMyODEyNSwieSI6NjY0LjI5OTk3MjUzNDE3OTd9LHsieCI6MzQwLjM3MDM2MTMyODEyNSwieSI6Njg3LjI5OTk3MjUzNDE3OTd9XQ==" data-look="classic" marker-end="url(#my-svg_flowchart-v2-pointEnd)"/><path d="M250.275,771.7L242.091,775.533C233.907,779.367,217.539,787.033,209.355,795.592C201.171,804.15,201.171,813.6,201.171,818.325L201.171,823.05" id="my-svg-L_source_viewer_0" class="edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link" style=";" data-edge="true" data-et="edge" data-id="L_source_viewer_0" data-points="W3sieCI6MjUwLjI3NTE2Mzc2MDY5NTI1LCJ5Ijo3NzEuNjk5OTY2NDMwNjY0MX0seyJ4IjoyMDEuMTcxMTQyNTc4MTI1LCJ5Ijo3OTQuNjk5OTY2NDMwNjY0MX0seyJ4IjoyMDEuMTcxMTQyNTc4MTI1LCJ5Ijo4MjcuMDQ5OTcyNTM0MTc5N31d" data-look="classic" marker-end="url(#my-svg_flowchart-v2-pointEnd)"/><path d="M430.466,771.7L438.65,775.533C446.834,779.367,463.202,787.033,471.386,794.033C479.57,801.033,479.57,807.367,479.57,810.533L479.57,813.7" id="my-svg-L_source_artefacts_0" class="edge-thickness-normal edge-pattern-dotted edge-thickness-normal edge-pattern-solid flowchart-link" style=";" data-edge="true" data-et="edge" data-id="L_source_artefacts_0" data-points="W3sieCI6NDMwLjQ2NTU1ODg5NTU1NDc1LCJ5Ijo3NzEuNjk5OTY2NDMwNjY0MX0seyJ4Ijo0NzkuNTY5NTgwMDc4MTI1LCJ5Ijo3OTQuNjk5OTY2NDMwNjY0MX0seyJ4Ijo0NzkuNTY5NTgwMDc4MTI1LCJ5Ijo4MTcuNjk5OTY2NDMwNjY0MX1d" data-look="classic" marker-end="url(#my-svg_flowchart-v2-pointEnd)"/></g><g class="edgeLabels"><g class="edgeLabel"><g class="label" data-id="L_inbox_import_0" transform="translate(0, 0)"><text y="-10.1" text-anchor="middle"><tspan class="text-outer-tspan row" x="0" y="-0.1em" dy="1.1em" text-anchor="middle"/></text></g></g><g><rect class="background" style="stroke: none"/></g><g class="edgeLabel"><g class="label" data-id="L_import_draft_0" transform="translate(0, 0)"><text y="-10.1" text-anchor="middle"><tspan class="text-outer-tspan row" x="0" y="-0.1em" dy="1.1em" text-anchor="middle"/></text></g></g><g><rect class="background" style="stroke: none"/></g><g class="edgeLabel"><g class="label" data-id="L_draft_review_0" transform="translate(0, 0)"><text y="-10.1" text-anchor="middle"><tspan class="text-outer-tspan row" x="0" y="-0.1em" dy="1.1em" text-anchor="middle"/></text></g></g><g><rect class="background" style="stroke: none"/></g><g class="edgeLabel"><g class="label" data-id="L_agent_draft_0" transform="translate(0, 0)"><text y="-10.1" text-anchor="middle"><tspan class="text-outer-tspan row" x="0" y="-0.1em" dy="1.1em" text-anchor="middle"/></text></g></g><g><rect class="background" style="stroke: none"/></g><g class="edgeLabel" transform="translate(340.370361328125, 522.3999786376953)"><g class="label" data-id="L_review_promote_0" transform="translate(-0.25, -11.5)"><g><rect class="background" style="" x="-26.5703125" y="0" width="53.640625" height="23"/><text y="-10.1" text-anchor="middle" style=""><tspan class="text-outer-tspan row" x="0" y="-0.1em" dy="1.1em" text-anchor="middle"><tspan font-style="normal" class="text-inner-tspan" font-weight="normal">Ready</tspan></tspan></text></g></g></g><g class="edgeLabel" transform="translate(369.924560546875, 387.6999816894531)"><g class="label" data-id="L_review_draft_0" transform="translate(-0.2490234375, -11.5)"><g><rect class="background" style="" x="-38.859375" y="0" width="78.216796875" height="23"/><text y="-10.1" text-anchor="middle" style=""><tspan class="text-outer-tspan row" x="0" y="-0.1em" dy="1.1em" text-anchor="middle"><tspan font-style="normal" class="text-inner-tspan" font-weight="normal">Not</tspan><tspan font-style="normal" class="text-inner-tspan" font-weight="normal"> ready</tspan></tspan></text></g></g></g><g class="edgeLabel"><g class="label" data-id="L_promote_source_0" transform="translate(0, 0)"><text y="-10.1" text-anchor="middle"><tspan class="text-outer-tspan row" x="0" y="-0.1em" dy="1.1em" text-anchor="middle"/></text></g></g><g><rect class="background" style="stroke: none"/></g><g class="edgeLabel"><g class="label" data-id="L_source_viewer_0" transform="translate(0, 0)"><text y="-10.1" text-anchor="middle"><tspan class="text-outer-tspan row" x="0" y="-0.1em" dy="1.1em" text-anchor="middle"/></text></g></g><g><rect class="background" style="stroke: none"/></g><g class="edgeLabel"><g class="label" data-id="L_source_artefacts_0" transform="translate(0, 0)"><text y="-10.1" text-anchor="middle"><tspan class="text-outer-tspan row" x="0" y="-0.1em" dy="1.1em" text-anchor="middle"/></text></g></g><g><rect class="background" style="stroke: none"/></g></g><g class="nodes"><g class="node default neutral" id="my-svg-flowchart-inbox-0" data-look="classic" transform="translate(158.1591796875, 50.19999694824219)"><rect class="basic label-container" style="fill:#ffffff !important;stroke:#4c6272 !important;stroke-width:2px !important" x="-123.625" y="-42.19999885559082" width="247.25" height="84.39999771118164"/><g class="label" style="color:#212b32 !important" transform="translate(0, -28.19999885559082)"><rect/><g><rect class="background" style="stroke: none"/><text y="-10.1" style="fill:#212b32 !important"><tspan class="text-outer-tspan row" x="0" y="-0.1em" dy="1.1em"><tspan font-style="normal" class="text-inner-tspan" font-weight="bold">1.</tspan><tspan font-style="normal" class="text-inner-tspan" font-weight="bold"> Inbox</tspan></tspan><tspan class="text-outer-tspan row" x="0" y="1em" dy="1.1em"><tspan font-style="normal" class="text-inner-tspan" font-weight="normal">hippocampus/inbox/</tspan></tspan><tspan class="text-outer-tspan row" x="0" y="2.1em" dy="1.1em"><tspan font-style="normal" class="text-inner-tspan" font-weight="normal">You</tspan><tspan font-style="normal" class="text-inner-tspan" font-weight="normal"> drop</tspan><tspan font-style="normal" class="text-inner-tspan" font-weight="normal"> research</tspan><tspan font-style="normal" class="text-inner-tspan" font-weight="normal"> files</tspan><tspan font-style="normal" class="text-inner-tspan" font-weight="normal"> in</tspan></tspan></text></g></g></g><g class="node default machine" id="my-svg-flowchart-import-1" data-look="classic" transform="translate(158.1591796875, 180.59999084472656)"><rect class="basic label-container" style="fill:#e6f6fa !important;stroke:#00758f !important;stroke-width:2px !important" x="-150.1591796875" y="-42.19999885559082" width="300.318359375" height="84.39999771118164"/><g class="label" style="color:#212b32 !important" transform="translate(0, -28.19999885559082)"><rect/><g><rect class="background" style="stroke: none"/><text y="-10.1" style="fill:#212b32 !important"><tspan class="text-outer-tspan row" x="0" y="-0.1em" dy="1.1em"><tspan font-style="normal" class="text-inner-tspan" font-weight="bold">2.</tspan><tspan font-style="normal" class="text-inner-tspan" font-weight="bold"> Import</tspan></tspan><tspan class="text-outer-tspan row" x="0" y="1em" dy="1.1em"><tspan font-style="normal" class="text-inner-tspan" font-weight="normal">Automatic,</tspan><tspan font-style="normal" class="text-inner-tspan" font-weight="normal"> on</tspan><tspan font-style="normal" class="text-inner-tspan" font-weight="normal"> your</tspan><tspan font-style="normal" class="text-inner-tspan" font-weight="normal"> machine</tspan></tspan><tspan class="text-outer-tspan row" x="0" y="2.1em" dy="1.1em"><tspan font-style="normal" class="text-inner-tspan" font-weight="normal">npx</tspan><tspan font-style="normal" class="text-inner-tspan" font-weight="normal"> hippocampus</tspan><tspan font-style="normal" class="text-inner-tspan" font-weight="normal"> research</tspan><tspan font-style="normal" class="text-inner-tspan" font-weight="normal"> sync</tspan></tspan></text></g></g></g><g class="node default machine" id="my-svg-flowchart-draft-2" data-look="classic" transform="translate(340.370361328125, 310.99998474121094)"><rect class="basic label-container" style="fill:#e6f6fa !important;stroke:#00758f !important;stroke-width:2px !important" x="-111.287353515625" y="-42.19999885559082" width="222.57470703125" height="84.39999771118164"/><g class="label" style="color:#212b32 !important" transform="translate(0, -28.19999885559082)"><rect/><g><rect class="background" style="stroke: none"/><text y="-10.1" style="fill:#212b32 !important"><tspan class="text-outer-tspan row" x="0" y="-0.1em" dy="1.1em"><tspan font-style="normal" class="text-inner-tspan" font-weight="bold">3.</tspan><tspan font-style="normal" class="text-inner-tspan" font-weight="bold"> Draft</tspan></tspan><tspan class="text-outer-tspan row" x="0" y="1em" dy="1.1em"><tspan font-style="normal" class="text-inner-tspan" font-weight="normal">hippocampus/imports/</tspan></tspan><tspan class="text-outer-tspan row" x="0" y="2.1em" dy="1.1em"><tspan font-style="normal" class="text-inner-tspan" font-weight="normal">Not</tspan><tspan font-style="normal" class="text-inner-tspan" font-weight="normal"> trusted</tspan><tspan font-style="normal" class="text-inner-tspan" font-weight="normal"> yet</tspan></tspan></text></g></g></g><g class="node default leaves" id="my-svg-flowchart-agent-3" data-look="classic" transform="translate(522.58154296875, 180.59999084472656)"><rect class="basic label-container" style="fill:#fdf3e6 !important;stroke:#8e5300 !important;stroke-width:2px !important;stroke-dasharray:6 4 !important" x="-174.26318359375" y="-42.19999885559082" width="348.5263671875" height="84.39999771118164"/><g class="label" style="color:#212b32 !important" transform="translate(0, -28.19999885559082)"><rect/><g><rect class="background" style="stroke: none"/><text y="-10.1" style="fill:#212b32 !important"><tspan class="text-outer-tspan row" x="0" y="-0.1em" dy="1.1em"><tspan font-style="normal" class="text-inner-tspan" font-weight="bold">Optional:</tspan><tspan font-style="normal" class="text-inner-tspan" font-weight="bold"> an</tspan><tspan font-style="normal" class="text-inner-tspan" font-weight="bold"> AI</tspan><tspan font-style="normal" class="text-inner-tspan" font-weight="bold"> agent</tspan><tspan font-style="normal" class="text-inner-tspan" font-weight="bold"> tidies</tspan><tspan font-style="normal" class="text-inner-tspan" font-weight="bold"> the</tspan><tspan font-style="normal" class="text-inner-tspan" font-weight="bold"> draft</tspan></tspan><tspan class="text-outer-tspan row" x="0" y="1em" dy="1.1em"><tspan font-style="normal" class="text-inner-tspan" font-weight="normal">What</tspan><tspan font-style="normal" class="text-inner-tspan" font-weight="normal"> it</tspan><tspan font-style="normal" class="text-inner-tspan" font-weight="normal"> reads</tspan><tspan font-style="normal" class="text-inner-tspan" font-weight="normal"> is</tspan><tspan font-style="normal" class="text-inner-tspan" font-weight="normal"> sent</tspan></tspan><tspan class="text-outer-tspan row" x="0" y="2.1em" dy="1.1em"><tspan font-style="normal" class="text-inner-tspan" font-weight="normal">to</tspan><tspan font-style="normal" class="text-inner-tspan" font-weight="normal"> the</tspan><tspan font-style="normal" class="text-inner-tspan" font-weight="normal"> agent's</tspan><tspan font-style="normal" class="text-inner-tspan" font-weight="normal"> service</tspan></tspan></text></g></g></g><g class="node default human" id="my-svg-flowchart-review-4" data-look="classic" transform="translate(340.370361328125, 455.0499801635742)"><rect class="basic label-container" style="fill:#e6eff8 !important;stroke:#005eb8 !important;stroke-width:2px !important" x="-118.86767578125" y="-32.85000038146973" width="237.7353515625" height="65.70000076293945"/><g class="label" style="color:#212b32 !important" transform="translate(0, -18.850000381469727)"><rect/><g><rect class="background" style="stroke: none"/><text y="-10.1" style="fill:#212b32 !important"><tspan class="text-outer-tspan row" x="0" y="-0.1em" dy="1.1em"><tspan font-style="normal" class="text-inner-tspan" font-weight="bold">4.</tspan><tspan font-style="normal" class="text-inner-tspan" font-weight="bold"> Review</tspan></tspan><tspan class="text-outer-tspan row" x="0" y="1em" dy="1.1em"><tspan font-style="normal" class="text-inner-tspan" font-weight="normal">A</tspan><tspan font-style="normal" class="text-inner-tspan" font-weight="normal"> person</tspan><tspan font-style="normal" class="text-inner-tspan" font-weight="normal"> reads</tspan><tspan font-style="normal" class="text-inner-tspan" font-weight="normal"> the</tspan><tspan font-style="normal" class="text-inner-tspan" font-weight="normal"> draft</tspan></tspan></text></g></g></g><g class="node default human" id="my-svg-flowchart-promote-5" data-look="classic" transform="translate(340.370361328125, 599.0999755859375)"><rect class="basic label-container" style="fill:#e6eff8 !important;stroke:#005eb8 !important;stroke-width:2px !important" x="-163.6171875" y="-42.19999885559082" width="327.234375" height="84.39999771118164"/><g class="label" style="color:#212b32 !important" transform="translate(0, -28.19999885559082)"><rect/><g><rect class="background" style="stroke: none"/><text y="-10.1" style="fill:#212b32 !important"><tspan class="text-outer-tspan row" x="0" y="-0.1em" dy="1.1em"><tspan font-style="normal" class="text-inner-tspan" font-weight="bold">5.</tspan><tspan font-style="normal" class="text-inner-tspan" font-weight="bold"> Promote</tspan></tspan><tspan class="text-outer-tspan row" x="0" y="1em" dy="1.1em"><tspan font-style="normal" class="text-inner-tspan" font-weight="normal">A</tspan><tspan font-style="normal" class="text-inner-tspan" font-weight="normal"> person</tspan><tspan font-style="normal" class="text-inner-tspan" font-weight="normal"> runs</tspan></tspan><tspan class="text-outer-tspan row" x="0" y="2.1em" dy="1.1em"><tspan font-style="normal" class="text-inner-tspan" font-weight="normal">npx</tspan><tspan font-style="normal" class="text-inner-tspan" font-weight="normal"> hippocampus</tspan><tspan font-style="normal" class="text-inner-tspan" font-weight="normal"> promote</tspan><tspan font-style="normal" class="text-inner-tspan" font-weight="normal"> research</tspan></tspan></text></g></g></g><g class="node default record" id="my-svg-flowchart-source-6" data-look="classic" transform="translate(340.370361328125, 729.4999694824219)"><rect class="basic label-container" style="fill:#e6f6f5 !important;stroke:#00726b !important;stroke-width:4px !important" x="-156.5234375" y="-42.19999885559082" width="313.046875" height="84.39999771118164"/><g class="label" style="color:#212b32 !important" transform="translate(0, -28.19999885559082)"><rect/><g><rect class="background" style="stroke: none"/><text y="-10.1" style="fill:#212b32 !important"><tspan class="text-outer-tspan row" x="0" y="-0.1em" dy="1.1em"><tspan font-style="normal" class="text-inner-tspan" font-weight="bold">6.</tspan><tspan font-style="normal" class="text-inner-tspan" font-weight="bold"> Source</tspan></tspan><tspan class="text-outer-tspan row" x="0" y="1em" dy="1.1em"><tspan font-style="normal" class="text-inner-tspan" font-weight="normal">hippocampus/source/</tspan></tspan><tspan class="text-outer-tspan row" x="0" y="2.1em" dy="1.1em"><tspan font-style="normal" class="text-inner-tspan" font-weight="normal">The</tspan><tspan font-style="normal" class="text-inner-tspan" font-weight="normal"> record</tspan><tspan font-style="normal" class="text-inner-tspan" font-weight="normal"> everything</tspan><tspan font-style="normal" class="text-inner-tspan" font-weight="normal"> is</tspan><tspan font-style="normal" class="text-inner-tspan" font-weight="normal"> built</tspan><tspan font-style="normal" class="text-inner-tspan" font-weight="normal"> from</tspan></tspan></text></g></g></g><g class="node default neutral" id="my-svg-flowchart-viewer-7" data-look="classic" transform="translate(201.171142578125, 869.2499694824219)"><rect class="basic label-container" style="fill:#ffffff !important;stroke:#4c6272 !important;stroke-width:2px !important" x="-117.3046875" y="-42.19999885559082" width="234.609375" height="84.39999771118164"/><g class="label" style="color:#212b32 !important" transform="translate(0, -28.19999885559082)"><rect/><g><rect class="background" style="stroke: none"/><text y="-10.1" style="fill:#212b32 !important"><tspan class="text-outer-tspan row" x="0" y="-0.1em" dy="1.1em"><tspan font-style="normal" class="text-inner-tspan" font-weight="bold">7.</tspan><tspan font-style="normal" class="text-inner-tspan" font-weight="bold"> Viewer</tspan></tspan><tspan class="text-outer-tspan row" x="0" y="1em" dy="1.1em"><tspan font-style="normal" class="text-inner-tspan" font-weight="normal">/hippocampus</tspan></tspan><tspan class="text-outer-tspan row" x="0" y="2.1em" dy="1.1em"><tspan font-style="normal" class="text-inner-tspan" font-weight="normal">Pages</tspan><tspan font-style="normal" class="text-inner-tspan" font-weight="normal"> built</tspan><tspan font-style="normal" class="text-inner-tspan" font-weight="normal"> from</tspan><tspan font-style="normal" class="text-inner-tspan" font-weight="normal"> source</tspan></tspan></text></g></g></g><g class="node default generated" id="my-svg-flowchart-artefacts-8" data-look="classic" transform="translate(479.569580078125, 869.2499694824219)"><rect class="basic label-container" style="fill:#ffffff !important;stroke:#768692 !important;stroke-width:2px !important;stroke-dasharray:6 4 !important" x="-121.09375" y="-51.55000305175781" width="242.1875" height="103.10000610351562"/><g class="label" style="color:#212b32 !important" transform="translate(0, -37.55000305175781)"><rect/><g><rect class="background" style="stroke: none"/><text y="-10.1" style="fill:#212b32 !important"><tspan class="text-outer-tspan row" x="0" y="-0.1em" dy="1.1em"><tspan font-style="normal" class="text-inner-tspan" font-weight="bold">Artefacts</tspan></tspan><tspan class="text-outer-tspan row" x="0" y="1em" dy="1.1em"><tspan font-style="normal" class="text-inner-tspan" font-weight="normal">artefacts/</tspan></tspan><tspan class="text-outer-tspan row" x="0" y="2.1em" dy="1.1em"><tspan font-style="normal" class="text-inner-tspan" font-weight="normal">Reviews</tspan><tspan font-style="normal" class="text-inner-tspan" font-weight="normal"> and</tspan><tspan font-style="normal" class="text-inner-tspan" font-weight="normal"> handovers,</tspan></tspan><tspan class="text-outer-tspan row" x="0" y="3.2em" dy="1.1em"><tspan font-style="normal" class="text-inner-tspan" font-weight="normal">safe</tspan><tspan font-style="normal" class="text-inner-tspan" font-weight="normal"> to</tspan><tspan font-style="normal" class="text-inner-tspan" font-weight="normal"> delete</tspan></tspan></text></g></g></g></g></g></g><defs><filter id="my-svg-drop-shadow" height="130%" width="130%"><feDropShadow dx="4" dy="4" stdDeviation="0" flood-opacity="0.06" flood-color="#000000"/></filter></defs><defs><filter id="my-svg-drop-shadow-small" height="150%" width="150%"><feDropShadow dx="2" dy="2" stdDeviation="0" flood-opacity="0.06" flood-color="#000000"/></filter></defs><linearGradient id="my-svg-gradient" gradientUnits="objectBoundingBox" x1="0%" y1="0%" x2="100%" y2="0%"><stop offset="0%" stop-color="hsl(40.5882352941, 60%, 83.3333333333%)" stop-opacity="1"/><stop offset="100%" stop-color="hsl(-79.4117647059, 60%, 83.3333333333%)" stop-opacity="1"/></linearGradient></svg>
@@ -0,0 +1,229 @@
1
+ ---
2
+ section: recipes
3
+ order: 20
4
+ audience: [cli]
5
+ summary: Turn a round of research files into drafts someone can review. Nothing changes in the knowledge base until a person promotes a draft.
6
+ ---
7
+ # Import a research round
8
+
9
+ Importing reads your research files and turns each one into a draft: the
10
+ participants, insights and design actions it found, and the text it read. A
11
+ draft is not part of the knowledge base. Someone reviews it first, then
12
+ promotes it, which is covered in
13
+ [Review a draft and promote it](review-and-promote-a-draft.md).
14
+
15
+ ## Who this is for
16
+
17
+ Researchers and designers who can run commands in the prototype. Importing
18
+ happens on your machine and sends nothing anywhere.
19
+
20
+ ## Before you start
21
+
22
+ ### Agree what can go in
23
+
24
+ Research files hold personal data: transcripts, quotes and descriptions of
25
+ participants. Before the first file goes in, agree with your information
26
+ governance lead:
27
+
28
+ - which research material can be stored in the prototype's repository
29
+ - which AI agents, if any, may read it
30
+
31
+ Importing itself sends nothing anywhere, but the skills that tidy and review
32
+ drafts are carried out by an AI agent, and what the agent reads goes to its
33
+ service. See [When anything leaves your machine](start-here.md#when-anything-leaves-your-machine).
34
+
35
+ ### Check your files can be read
36
+
37
+ The importer reads:
38
+
39
+ - PowerPoint (`.pptx`), including speaker notes
40
+ - PDF, if it has real text in it rather than a scanned image
41
+ - Word (`.docx`)
42
+ - Excel (`.xlsx`) and CSV
43
+ - plain text (`.txt`) and Markdown (`.md`)
44
+ - internet shortcuts (`.url`)
45
+
46
+ Older formats (`.ppt`, `.doc`, `.xls`) are not read. Open them and save them in
47
+ the newer format.
48
+
49
+ ### Check your files say what is what
50
+
51
+ The importer finds participants, insights and design actions from the headings
52
+ they sit under. Lines under a short heading like these become records:
53
+
54
+ | Heading | What the lines under it become |
55
+ | --- | --- |
56
+ | Participants, Who we spoke to | participants |
57
+ | Insights, Findings, What we learned, Themes, Pain points | insights |
58
+ | Design actions, Recommendations, Next steps, Opportunities | design actions |
59
+
60
+ Findings under a heading such as "Slide 12" or "Round 1 playback" are not
61
+ found at all. So also check that:
62
+
63
+ - headings in Word documents use real heading styles (Heading 1, Heading 2),
64
+ not bold text
65
+ - participants are identified by codes such as `P1`, never by name, with their
66
+ role after a dash: `P1 - Practice receptionist`
67
+ - quotes say who said them: `P2 - “I had to come back the next week.”`
68
+ - each finding is its own bullet or paragraph, at least six words long,
69
+ starting with a capital letter
70
+ - in plain text and Markdown files, each line starts with `Participant:`,
71
+ `Insight:` or `Action:` (a bullet before it is fine), because headings in
72
+ those files are not recognised
73
+ - design actions come after the insights they respond to
74
+
75
+ [Research source file conventions](research-source-file-conventions.md) has
76
+ more detail for each file type.
77
+
78
+ ### Name the round and its date
79
+
80
+ Put each round's files in one folder named after the round, and put the date
81
+ the research started in that folder's name as a full date:
82
+
83
+ ```text
84
+ hippocampus/inbox/research/
85
+ Round 1 - Booking a blood test 2026-09-12/
86
+ Interview notes P1-P4.docx
87
+ Playback.docx
88
+ ```
89
+
90
+ Every file in the folder joins `round-1` and takes the folder's date. If the
91
+ folder has no date, each file takes the date in its own name, or today's date
92
+ if it has none. Two files in one round with different dates cannot both be
93
+ promoted, so date the folder.
94
+
95
+ ## At the command line
96
+
97
+ 1. Copy the round's folder into `hippocampus/inbox/research/`.
98
+
99
+ 2. From your prototype's folder, run:
100
+
101
+ ```bash
102
+ npx hippocampus research sync --no-promote
103
+ ```
104
+
105
+ `--no-promote` stops it offering to promote the drafts straight away. If
106
+ you leave it off, it asks, and the answer defaults to no. Say no until
107
+ someone has reviewed the drafts, and never use `--yes`, which promotes
108
+ without asking.
109
+
110
+ 3. Read what it prints. For each file you will see an **Import fit** line:
111
+ `good`, or `needs review` with a list of warnings. Then a summary of how
112
+ many files were found, imported and already known, and where each draft
113
+ was written.
114
+
115
+ 4. Open the review file for each draft:
116
+ `hippocampus/imports/research/<name>.review.md`. It lists every participant,
117
+ insight and design action the importer found, then the text it read from
118
+ each section of your file. This is what the reviewer will check.
119
+
120
+ 5. If a draft has warnings you can fix in the file itself, such as a missing
121
+ heading or participant codes, fix the file and import it again. First
122
+ delete the old draft's `.json` and `.review.md`, or both versions will be
123
+ offered for promotion. The new draft's name ends in `-2`.
124
+
125
+ 6. Tell whoever is reviewing that the drafts are ready.
126
+
127
+ ### If you have a lot of files
128
+
129
+ If you are starting from a shared drive with far more than one round in it,
130
+ rank it first:
131
+
132
+ ```bash
133
+ npx hippocampus research triage --source "/path/to/the/folder" --topic blood-tests
134
+ ```
135
+
136
+ It reads every file and writes a ranked list to `artefacts/research-triage/`.
137
+ It copies nothing and imports nothing. Import the files at the top of the
138
+ list, one round at a time.
139
+
140
+ ## What it looks like
141
+
142
+ This example is made up.
143
+
144
+ ```text
145
+ $ npx hippocampus research sync --no-promote
146
+ Imported 4 document sections
147
+ Import fit: good
148
+ Draft written to /Users/sam/blood-test-prototype/hippocampus/imports/research/playback.json
149
+ Review written to /Users/sam/blood-test-prototype/hippocampus/imports/research/playback.review.md
150
+ Research inbox: hippocampus/inbox/research
151
+ Files found: 1
152
+ Supported files: 1
153
+ New imports created: 1
154
+ Already known: 0
155
+ Unsupported files: 0
156
+ Unpromoted drafts: 1
157
+ New research drafts:
158
+ - playback: hippocampus/imports/research/playback.review.md
159
+ Promotable drafts:
160
+ - playback: hippocampus/imports/research/playback.json
161
+ ```
162
+
163
+ A file that needs work looks like this:
164
+
165
+ ```text
166
+ Imported 2 document sections
167
+ Import fit: needs review
168
+ Import warnings:
169
+ - No design actions were detected. Put them under a section titled "Design actions" or "Recommendations", or prefix lines with "Action:".
170
+ ```
171
+
172
+ ## In the viewer
173
+
174
+ Nothing changes in the viewer when you import. Drafts are not part of the
175
+ knowledge base, so the research page shows the round only once a draft has
176
+ been promoted.
177
+
178
+ ## How to check it worked
179
+
180
+ - The summary says `New imports created:` followed by the number of files you
181
+ added, and lists a draft for each.
182
+ - Each draft has a `.json` file and a `.review.md` file in
183
+ `hippocampus/imports/research/`.
184
+ - `hippocampus/source/` has not changed. If you use git,
185
+ `git status hippocampus/source` shows nothing.
186
+
187
+ ## If it goes wrong
188
+
189
+ - **"New imports created: 0" and "Already known: 1"**: that exact file has been
190
+ imported before. Files are recognised by their contents, so renaming one
191
+ does not make it new.
192
+ - **"Unsupported files"** is more than 0: some files are in a format the
193
+ importer does not read. Check the list in
194
+ [Check your files can be read](#check-your-files-can-be-read).
195
+ - **"No participants were detected"**, **"No insights were detected"** or
196
+ **"No design actions were detected"**: the file does not use headings the
197
+ importer recognises. See
198
+ [Check your files say what is what](#check-your-files-say-what-is-what).
199
+ - **"The round date ... is today's date"**: no date was found in the folder or
200
+ file name. Add one and import again, or correct the date in the draft before
201
+ it is promoted.
202
+ - **"... design action was found before any insight and left out"**: every
203
+ design action has to respond to an insight, and this one came first in the
204
+ file. Its text is in the review file; the reviewer can add it back, linked to
205
+ the right insight.
206
+ - **"More than 60 insights were detected"**: the importer is picking up
207
+ narrative text as findings. The reviewer will need to cut it back.
208
+ - **A PDF imports with almost nothing in it**: it is probably a scan. Use the
209
+ original document instead.
210
+ - **"Import failed for ..."**: the file could not be opened. Sync stops at that
211
+ file, so files after it were not imported. It also remembers the file as
212
+ failed and will not try that exact file again, so save a fresh copy, or move
213
+ it out of the inbox, and run sync again.
214
+ - **"No Hippocampus knowledge base found in ..."**: run the command from your
215
+ prototype's folder.
216
+
217
+ ## Related skills
218
+
219
+ - `ingest-research-round`: an AI agent runs the import without promoting,
220
+ tidies the draft, reviews it, adds supported links to existing records, and
221
+ checks it with a dry run. It never promotes.
222
+ - `structure-research-draft`: an agent improves a draft using only the text the
223
+ importer extracted. It keeps the warnings until the problem behind them is
224
+ fixed.
225
+ - `triage-research-corpus`: an agent runs the triage above and recommends the
226
+ order to import rounds in.
227
+
228
+ Whatever an agent reads is sent to the agent's service. See
229
+ [Start here](start-here.md#when-anything-leaves-your-machine).
@@ -1,4 +1,9 @@
1
- # Prompt Architecture Guardrails
1
+ ---
2
+ section: contributors
3
+ order: 50
4
+ audience: [cli]
5
+ ---
6
+ # Prompt architecture guardrails
2
7
 
3
8
  The prompt pack is for repeatable source-model and prototype maintenance. Prompts should make agents safer, not more verbose.
4
9
 
@@ -1,4 +1,9 @@
1
- # Repeatable Research Round Ingestion
1
+ ---
2
+ section: reference
3
+ order: 40
4
+ audience: [cli]
5
+ ---
6
+ # Repeatable research round ingestion
2
7
 
3
8
  This playbook describes how a team can turn research artefacts into Hippocampus source data without relying on a single opaque AI step.
4
9
 
@@ -1,4 +1,10 @@
1
- # Research Knowledge Graph and Import Process
1
+ ---
2
+ section: contributors
3
+ order: 10
4
+ audience: [cli]
5
+ summary: How research becomes linked records: the source files, the relationship graph, and each import and promotion step in detail.
6
+ ---
7
+ # Research knowledge graph and import process
2
8
 
3
9
  This project treats design knowledge as linked source data. The frontend renders users, scenarios, journeys, blueprints, prototype screens, evidence impact and research artefacts from JSON in `hippocampus/source`.
4
10
 
@@ -1,3 +1,8 @@
1
+ ---
2
+ section: reference
3
+ order: 30
4
+ audience: [viewer, cli]
5
+ ---
1
6
  # Research source file conventions
2
7
 
3
8
  How to write and store research artefacts so they ingest cleanly into Hippocampus.
@@ -31,7 +36,7 @@ findings under generic headings imports as nothing at all.
31
36
  | --- | --- |
32
37
  | Keep the `01 Planning / 02 Doing / 03 Analysing / 04 Sharing / 05 Design Actions` folder pattern | It is read as research-stage provenance. It already works well across rounds 4 to 16 — keep it. |
33
38
  | Put the round number in the folder name (`Round 12 - ...`) | The round is derived from the path, so every artefact inherits the right `roundId`. |
34
- | Put the fieldwork date in the file name as `YYYY-MM` or `YYYY-MM-DD` | Copying files off SharePoint resets every modification date. On this corpus, all 599 files carried the copy date, so file dates cannot be trusted as evidence dates. The name is the only surviving provenance. |
39
+ | Put the date the round started in the round folder's name, as a full `YYYY-MM-DD` | Copying files off SharePoint resets every modification date. On this corpus, all 599 files carried the copy date, so file dates cannot be trusted as evidence dates. The name is the only surviving provenance. A full date on the folder is used for every file in it; without one, each file takes the date in its own name, and two files in one round with different dates cannot both be promoted. |
35
40
  | Keep one canonical version, not `- Copy`, `(1)`, `OLD`, `Archive` siblings | Near-identical duplicates each generate their own draft and their own IDs. |
36
41
  | Use participant codes (`P27`, `P104`) rather than names | Codes are safe to store, and they are what links a quote to a participant record. |
37
42
 
@@ -97,7 +102,7 @@ findings under generic headings imports as nothing at all.
97
102
  A round folder that ingests cleanly:
98
103
 
99
104
  ```text
100
- Round 17 - <topic>/
105
+ Round 17 - <topic> 2026-10-06/ <- the date the round started
101
106
  01 Planning research/
102
107
  Round 17 Research Plan 2026-10.docx <- Heading styles
103
108
  02 Doing the research/
@@ -0,0 +1,203 @@
1
+ ---
2
+ section: recipes
3
+ order: 30
4
+ audience: [viewer, cli]
5
+ summary: Check an imported draft against the research it came from, then add it to the knowledge base. This is the only step that changes the record.
6
+ ---
7
+ # Review a draft and promote it
8
+
9
+ Promoting a draft adds its research round, participants, insights and design
10
+ actions to the knowledge base, in `hippocampus/source/`. It is the only step in
11
+ bringing research in that changes the record, and it only happens when a person
12
+ runs it. Review the draft first.
13
+
14
+ ## Who this is for
15
+
16
+ - **The reviewer**, usually the researcher who ran the round. You read the
17
+ draft against the original research. You do not need to run anything.
18
+ - **The person who promotes**, who runs two commands once the reviewer is
19
+ happy. This can be the same person.
20
+
21
+ If you only use the viewer, you can check the result once it is promoted: see
22
+ [In the viewer](#in-the-viewer).
23
+
24
+ ## Before you start
25
+
26
+ - You have a draft from [Import a research round](import-a-research-round.md):
27
+ a `.json` file and a `.review.md` file in `hippocampus/imports/research/`.
28
+ - Commit or put aside any other changes, so that afterwards
29
+ `git diff hippocampus/source` shows exactly what promotion changed.
30
+
31
+ ## Review the draft
32
+
33
+ Open the review file, `hippocampus/imports/research/<name>.review.md`, next to
34
+ the original research. It is Markdown, so it reads as an ordinary page in most
35
+ editors' preview.
36
+
37
+ The importer offers candidates. It does not judge whether they are true. Check
38
+ that:
39
+
40
+ - **The round is right.** Its title and date match the research. A warning
41
+ saying the date is today's date means no date was found.
42
+ - **Participants are people.** Each one is a participant code with a role. A
43
+ role of "Research participant" means the file did not give one; add it if you
44
+ know it.
45
+ - **Insights are findings.** Each is something the team learned, in a sentence.
46
+ Remove headings, agenda items and narrative that were picked up by mistake.
47
+ - **Quotes are not insights.** A quote can be picked up as an insight of its
48
+ own. A quote supports a finding: fold it into the insight it supports, or
49
+ remove it.
50
+ - **Each insight names the right participants.** Participant codes in the line
51
+ are linked automatically. Check they are the people the finding came from.
52
+ - **Each design action points at the right insight.** The importer links every
53
+ design action to the last insight above it in the file, which is often not
54
+ the one it responds to.
55
+ - **Confidence is honest.** Every imported insight starts at `medium`. Make it
56
+ `high` where several participants or sources agree, and `low` where it rests
57
+ on one person saying it once.
58
+ - **Every warning at the top has been dealt with**, or deliberately accepted.
59
+ - **The numbers are believable.** A short playback that produced 70 insights is
60
+ picking up narrative text.
61
+
62
+ ### Making changes
63
+
64
+ The review file is for reading. It is written once, when the file is imported,
65
+ and does not change. What gets promoted is the draft's `.json` file, so
66
+ corrections go there:
67
+
68
+ - in a text editor, if you are comfortable editing JSON, or
69
+ - by asking an AI agent to use the `structure-research-draft` skill, then
70
+ checking what it changed
71
+
72
+ Each insight has `title`, `summary`, `confidence` and `participantIds`. Each
73
+ design action has `title`, `action` and `insightIds`, the insights it responds
74
+ to. [Source model](source-model.md) describes every field.
75
+
76
+ ## Promote it
77
+
78
+ From your prototype's folder:
79
+
80
+ 1. Check it first:
81
+
82
+ ```bash
83
+ npx hippocampus promote research --draft hippocampus/imports/research/<name>.json --dry-run
84
+ ```
85
+
86
+ It says how many of each record it would add, and that nothing was changed.
87
+ Check the numbers match what the reviewer approved.
88
+
89
+ 2. Promote it:
90
+
91
+ ```bash
92
+ npx hippocampus promote research --draft hippocampus/imports/research/<name>.json
93
+ ```
94
+
95
+ It adds the records to `hippocampus/source/`, checks the whole knowledge
96
+ base still holds together, and marks the draft as promoted.
97
+
98
+ 3. See what changed and commit it, naming the round:
99
+
100
+ ```bash
101
+ git diff hippocampus/source
102
+ ```
103
+
104
+ If a round has several files, promote each draft in turn. The second and later
105
+ drafts reuse the round and any participants the earlier ones added, and say so.
106
+
107
+ ## What it looks like
108
+
109
+ This example is made up.
110
+
111
+ ```text
112
+ $ npx hippocampus promote research --draft hippocampus/imports/research/playback.json --dry-run
113
+ Promotion checked: researchRounds: +1, participants: +4, insights: +3, designActions: +2, relationships: +9
114
+ Dry run only. Source files were not changed.
115
+
116
+ $ npx hippocampus promote research --draft hippocampus/imports/research/playback.json
117
+ Promotion checked: researchRounds: +1, participants: +4, insights: +3, designActions: +2, relationships: +9
118
+ hippocampus: knowledge data is valid
119
+ info 3 of 3 insights link to no user need - usually a gap in the needs layer rather than a bad insight
120
+ Research draft promoted and knowledge validation passed.
121
+ ```
122
+
123
+ Promoting a second file from the same round:
124
+
125
+ ```text
126
+ Reusing existing records from earlier artefacts in this round: round round-1, participant participant-p2, relationship round-1-has-participant-participant-p2
127
+ Promotion checked: researchRounds: +0, participants: +1, insights: +1, designActions: +0, relationships: +2
128
+ ```
129
+
130
+ ## In the viewer
131
+
132
+ Refresh the viewer once the draft is promoted.
133
+
134
+ - `/hippocampus/research` shows the round, newest first, with its
135
+ participants, insights and design actions. A tag says where the round has got
136
+ to: **No insights yet**, **No design actions**, **2 actions outstanding** or
137
+ **All actions resolved**. A design action stays outstanding until a decision
138
+ resolves it.
139
+ - Select an insight to see the round it came from and its participants.
140
+ - The front page, `/hippocampus`, shows **Most recent research**,
141
+ **Design actions open** and **Insights not linked to a need**. New insights
142
+ count towards the last one until someone links them to a user need.
143
+
144
+ If you reviewed the draft, this is where to check that what was promoted is
145
+ what you approved.
146
+
147
+ ## How to check it worked
148
+
149
+ - The command ends with "Research draft promoted and knowledge validation
150
+ passed."
151
+ - The round is on the research page.
152
+ - `npx hippocampus research sync` shows `Unpromoted drafts: 0`, or no longer
153
+ lists this draft.
154
+ - `npx hippocampus known` finds a word from one of the new insights. See
155
+ [Ask what's already known](ask-whats-already-known.md).
156
+
157
+ ## If it goes wrong
158
+
159
+ - **"No draft at ..."**: the path is wrong. The message lists the drafts there
160
+ are.
161
+ - **"Already promoted"**: every insight and design action in this draft is
162
+ already in the knowledge base. Nothing was written.
163
+ - **"research round round-1 already exists with a different title or date"**:
164
+ another file in this round was promoted with a different date or title,
165
+ usually because the round folder has no date and the files' own dates
166
+ differ. Make the round's `title` and `date` in this draft match
167
+ `hippocampus/source/research-rounds.json`, then promote again. Date the
168
+ folder next time; see [Import a research round](import-a-research-round.md#name-the-round-and-its-date).
169
+ - **"insights: ... already exists in source data"**: part of this draft has been
170
+ promoted before, often because a changed file was imported a second time.
171
+ Remove the records that are already there from the draft, or delete the
172
+ draft.
173
+ - **"... references missing id ..."**: something in the draft links to a record
174
+ that does not exist. Correct the link or remove it.
175
+ - **"Promotion wrote source files, but knowledge validation failed"**: the
176
+ records were written, but the knowledge base no longer holds together. The
177
+ lines above the message say what is wrong. Fix it, or undo the promotion.
178
+
179
+ ### Undo a promotion
180
+
181
+ Before you commit, put the files back as they were:
182
+
183
+ ```bash
184
+ git checkout -- hippocampus/source hippocampus/manifests
185
+ ```
186
+
187
+ After you have committed, use `git revert` on that commit. Either way, the
188
+ draft is still in `hippocampus/imports/research/` to correct and promote again.
189
+
190
+ ## Related skills
191
+
192
+ - `review-research-import-draft`: an AI agent checks the draft against the
193
+ extracted text, runs the dry run, and reports what is unsupported, thin or
194
+ wrongly linked. It does not edit the draft unless you ask, and never
195
+ promotes.
196
+ - `structure-research-draft`: an agent corrects the draft using only the text
197
+ the importer extracted.
198
+ - `map-research-to-graph`: an agent adds links from the draft to records you
199
+ already have, such as needs, screens and evidence, but only where the
200
+ research supports them. Links it is unsure of are suggested, not written.
201
+
202
+ Whatever an agent reads is sent to the agent's service. See
203
+ [Start here](start-here.md#when-anything-leaves-your-machine).