Skip to content

Commit dfdc2b6

Browse files
committed
docs: fix flow.svg label overflow and swap mermaid for SVG in README
1 parent a7da40f commit dfdc2b6

2 files changed

Lines changed: 126 additions & 17 deletions

File tree

README.md

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -12,23 +12,7 @@ Inspired by [everything-claude-code/continuous-learning-v2](https://github.com/n
1212

1313
## How it works
1414

15-
```mermaid
16-
flowchart LR
17-
subgraph session ["Pi Session (extension)"]
18-
A[Session events] --> B[Observation collector]
19-
B -->|writes observations.jsonl| C[System prompt injection]
20-
C --> D[Feedback loop]
21-
D -->|confirms / contradicts / ignores| C
22-
end
23-
24-
subgraph analyzer ["Background analyzer (pi-cl-analyze)"]
25-
E[Reads observations.jsonl] --> F[Haiku LLM\nanalyses patterns]
26-
F -->|creates / updates| G[Instinct files\n.md + YAML frontmatter]
27-
end
28-
29-
G -->|high-confidence instincts injected| C
30-
B -.->|scheduled cron / launchd| E
31-
```
15+
![Flow diagram](docs/images/flow.svg)
3216

3317
**The key idea:** the extension watches what you do, learns patterns, injects relevant instincts into future sessions, then validates whether those instincts actually helped — adjusting confidence based on real outcomes rather than observation count alone.
3418

docs/images/flow.svg

Lines changed: 125 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)