Skip to content

Commit fb169ee

Browse files
docs: create milestone v1.4 roadmap (6 phases)
1 parent 75a9f3a commit fb169ee

3 files changed

Lines changed: 132 additions & 36 deletions

File tree

.planning/REQUIREMENTS.md

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -87,36 +87,36 @@ Which phases cover which requirements. Updated during roadmap creation.
8787

8888
| Requirement | Phase | Status |
8989
|-------------|-------|--------|
90-
| SRCH-01 | | Pending |
91-
| SRCH-02 | | Pending |
92-
| SRCH-03 | | Pending |
93-
| SRCH-04 | | Pending |
94-
| SIM-01 | | Pending |
95-
| SIM-02 | | Pending |
96-
| SIM-03 | | Pending |
97-
| SIM-04 | | Pending |
98-
| GANA-01 | | Pending |
99-
| GANA-02 | | Pending |
100-
| GANA-03 | | Pending |
101-
| GANA-04 | | Pending |
102-
| GANA-05 | | Pending |
103-
| GANA-06 | | Pending |
104-
| COMM-01 | | Pending |
105-
| COMM-02 | | Pending |
106-
| COMM-03 | | Pending |
107-
| DISC-01 | | Pending |
108-
| DISC-02 | | Pending |
109-
| DISC-03 | | Pending |
110-
| DISC-04 | | Pending |
111-
| EXPO-01 | | Pending |
112-
| EXPO-02 | | Pending |
113-
| EXPO-03 | | Pending |
90+
| SRCH-01 | Phase 21 | Pending |
91+
| SRCH-02 | Phase 21 | Pending |
92+
| SRCH-03 | Phase 21 | Pending |
93+
| SRCH-04 | Phase 21 | Pending |
94+
| SIM-01 | Phase 22 | Pending |
95+
| SIM-02 | Phase 22 | Pending |
96+
| SIM-03 | Phase 22 | Pending |
97+
| SIM-04 | Phase 22 | Pending |
98+
| GANA-01 | Phase 23 | Pending |
99+
| GANA-02 | Phase 23 | Pending |
100+
| GANA-03 | Phase 23 | Pending |
101+
| GANA-04 | Phase 23 | Pending |
102+
| GANA-05 | Phase 23 | Pending |
103+
| GANA-06 | Phase 23 | Pending |
104+
| COMM-01 | Phase 24 | Pending |
105+
| COMM-02 | Phase 24 | Pending |
106+
| COMM-03 | Phase 24 | Pending |
107+
| DISC-01 | Phase 25 | Pending |
108+
| DISC-02 | Phase 25 | Pending |
109+
| DISC-03 | Phase 25 | Pending |
110+
| DISC-04 | Phase 25 | Pending |
111+
| EXPO-01 | Phase 26 | Pending |
112+
| EXPO-02 | Phase 26 | Pending |
113+
| EXPO-03 | Phase 26 | Pending |
114114

115115
**Coverage:**
116116
- v1.4 requirements: 24 total
117-
- Mapped to phases: 0
118-
- Unmapped: 24 ⚠️
117+
- Mapped to phases: 24
118+
- Unmapped: 0 ✓
119119

120120
---
121121
*Requirements defined: 2026-04-06*
122-
*Last updated: 2026-04-06 after initial definition*
122+
*Last updated: 2026-04-06 after roadmap creation*

.planning/ROADMAP.md

Lines changed: 90 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
-**v1.1.1 Bug Fix & Polish** — Phases 11-14 (shipped 2026-03-24)
88
-**v1.2 Graph Rendering Overhaul** — Phases 15-17 (shipped 2026-03-26)
99
-**v1.3 Data Pipeline Fixes** — Phases 18-20, 999.1-999.2 (shipped 2026-04-05)
10+
- 🚧 **v1.4 Discovery & Intelligence** — Phases 21-26 (in progress)
1011

1112
## Phases
1213

@@ -72,6 +73,89 @@ Full details: `.planning/milestones/v1.3-ROADMAP.md`
7273

7374
</details>
7475

76+
### 🚧 v1.4 Discovery & Intelligence (In Progress)
77+
78+
**Milestone Goal:** Transform ReSyn from a visualization tool into a genuine discovery engine — with full-text search, paper similarity, graph analytics, community detection, recommendations, and export.
79+
80+
- [ ] **Phase 21: Search & Filter** - Full-text search across papers with graph viewport integration
81+
- [ ] **Phase 22: Paper Similarity Engine** - Cosine similarity on TF-IDF vectors with similar-papers UI
82+
- [ ] **Phase 23: Graph Analytics — Centrality & Metrics** - PageRank, betweenness centrality, and query optimization
83+
- [ ] **Phase 24: Community Detection** - Louvain clustering with community summary panels
84+
- [ ] **Phase 25: Discovery Recommendations** - Scored paper recommendations combining similarity, centrality, and community signals
85+
- [ ] **Phase 26: Export & Interop** - BibTeX, CSV, and graph JSON export
86+
87+
## Phase Details
88+
89+
### Phase 21: Search & Filter
90+
**Goal**: Users can find papers by title, abstract, or author from anywhere in the UI and jump to them in the graph
91+
**Depends on**: Nothing (independent of other v1.4 phases)
92+
**Requirements**: SRCH-01, SRCH-02, SRCH-03, SRCH-04
93+
**Success Criteria** (what must be TRUE):
94+
1. User can type a query in a search bar and see ranked paper results filtered by title, abstract, or author
95+
2. Searching from the graph page pans the viewport to the matching node and briefly highlights it
96+
3. The papers table filters its displayed rows as the user types in the search bar
97+
4. Search results are ranked by relevance (not insertion order)
98+
**Plans**: TBD
99+
**UI hint**: yes
100+
101+
### Phase 22: Paper Similarity Engine
102+
**Goal**: Users can see which papers are most similar to any given paper, with similarity edges optionally shown on the graph
103+
**Depends on**: Nothing (TF-IDF vectors already exist from v1.0)
104+
**Requirements**: SIM-01, SIM-02, SIM-03, SIM-04
105+
**Success Criteria** (what must be TRUE):
106+
1. The system stores top-10 most similar papers per paper in SurrealDB, computed from existing TF-IDF cosine similarity
107+
2. User can open the paper detail drawer and view a "Similar Papers" tab listing ranked similar papers
108+
3. User can toggle a similarity edge overlay on the graph that draws edges between similar papers
109+
4. After TF-IDF analysis completes, similarity scores are automatically recomputed for the analyzed papers
110+
**Plans**: TBD
111+
**UI hint**: yes
112+
113+
### Phase 23: Graph Analytics — Centrality & Metrics
114+
**Goal**: Users can explore which papers are most structurally influential using PageRank and betweenness centrality, and node sizes reflect the chosen metric
115+
**Depends on**: Nothing (independent computation on existing citation graph)
116+
**Requirements**: GANA-01, GANA-02, GANA-03, GANA-04, GANA-05, GANA-06
117+
**Success Criteria** (what must be TRUE):
118+
1. System computes PageRank and betweenness centrality for all papers and caches results in SurrealDB with corpus-fingerprint invalidation
119+
2. User can select a "Size by" dropdown (Uniform / PageRank / Betweenness / Citations) and graph nodes resize accordingly
120+
3. Dashboard shows a "Most Influential Papers" ranking panel ordered by PageRank score
121+
4. Citation graph queries use single SurrealDB JOINs rather than per-paper N+1 lookups
122+
**Plans**: TBD
123+
**UI hint**: yes
124+
125+
### Phase 24: Community Detection
126+
**Goal**: Users can see how the citation graph clusters into research communities and explore each community's character
127+
**Depends on**: Phase 23 (needs graph_metrics table and PageRank for community ranking)
128+
**Requirements**: COMM-01, COMM-02, COMM-03
129+
**Success Criteria** (what must be TRUE):
130+
1. System detects communities in the citation graph via Louvain modularity optimization and stores assignments in SurrealDB
131+
2. User can select "Community" in the "Color by" dropdown (alongside BFS Depth and Topic) and graph nodes are colored by their community
132+
3. User can open a community summary panel that shows top papers, dominant keywords, and shared methods for each detected community
133+
**Plans**: TBD
134+
**UI hint**: yes
135+
136+
### Phase 25: Discovery Recommendations
137+
**Goal**: Users receive ranked paper recommendations with explanations drawn from similarity, centrality, and community bridge signals
138+
**Depends on**: Phase 22 (similarity neighbors), Phase 23 (centrality scores), Phase 24 (community assignments)
139+
**Requirements**: DISC-01, DISC-02, DISC-03, DISC-04
140+
**Success Criteria** (what must be TRUE):
141+
1. System generates scored recommendations for each seed paper by combining cosine similarity, PageRank, and cross-community bridge signals
142+
2. Each recommendation card displays a human-readable explanation of why the paper was suggested
143+
3. User can visit a "Discover" page, pick a seed paper, and browse recommendation cards
144+
4. Dashboard shows a "Suggested Reads" card with the top 3 recommendations for the current corpus
145+
**Plans**: TBD
146+
**UI hint**: yes
147+
148+
### Phase 26: Export & Interop
149+
**Goal**: Users can export papers and graph data in standard formats for use in reference managers, spreadsheets, and downstream tools
150+
**Depends on**: Nothing (independent of other v1.4 phases)
151+
**Requirements**: EXPO-01, EXPO-02, EXPO-03
152+
**Success Criteria** (what must be TRUE):
153+
1. User can export a single paper or a selection as a BibTeX file from the detail drawer or papers table
154+
2. User can export the full papers table as a CSV file containing all available metadata columns
155+
3. User can export the graph (nodes, edges, and computed metrics) as a JSON file from the graph page
156+
**Plans**: TBD
157+
**UI hint**: yes
158+
75159
## Progress
76160

77161
| Phase | Milestone | Plans Complete | Status | Completed |
@@ -98,3 +182,9 @@ Full details: `.planning/milestones/v1.3-ROADMAP.md`
98182
| 20. LLM Analysis Pipeline Verification | v1.3 | 4/4 | Complete | 2026-03-28 |
99183
| 999.1. Keyword-Based Graph Labels | v1.3 | 4/4 | Complete | 2026-03-29 |
100184
| 999.2. Topic Ring Node Borders | v1.3 | 2/2 | Complete | 2026-03-30 |
185+
| 21. Search & Filter | v1.4 | 0/? | Not started | - |
186+
| 22. Paper Similarity Engine | v1.4 | 0/? | Not started | - |
187+
| 23. Graph Analytics — Centrality & Metrics | v1.4 | 0/? | Not started | - |
188+
| 24. Community Detection | v1.4 | 0/? | Not started | - |
189+
| 25. Discovery Recommendations | v1.4 | 0/? | Not started | - |
190+
| 26. Export & Interop | v1.4 | 0/? | Not started | - |

.planning/STATE.md

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22
gsd_state_version: 1.0
33
milestone: v1.4
44
milestone_name: Discovery & Intelligence
5-
status: defining_requirements
6-
stopped_at: Defining requirements
5+
status: ready_to_plan
6+
stopped_at: Roadmap created — ready to plan Phase 21
77
last_updated: "2026-04-06T00:00:00.000Z"
88
last_activity: 2026-04-06
99
progress:
10-
total_phases: 0
10+
total_phases: 6
1111
completed_phases: 0
1212
total_plans: 0
1313
completed_plans: 0
@@ -21,14 +21,14 @@ progress:
2121
See: .planning/PROJECT.md (updated 2026-04-06)
2222

2323
**Core value:** Surface research gaps and unexplored connections that no single paper reveals — by structurally analyzing and comparing papers across a citation graph
24-
**Current focus:** v1.4 Discovery & Intelligence
24+
**Current focus:** Phase 21 — Search & Filter
2525

2626
## Current Position
2727

28-
Phase: Not started (defining requirements)
28+
Phase: 21 of 26 (Search & Filter)
2929
Plan: —
30-
Status: Defining requirements
31-
Last activity: 2026-04-06 — Milestone v1.4 started
30+
Status: Ready to plan
31+
Last activity: 2026-04-06 — Roadmap created for v1.4 Discovery & Intelligence
3232

3333
Progress: [░░░░░░░░░░░░░░░░░░░░] 0%
3434

@@ -38,16 +38,22 @@ Progress: [░░░░░░░░░░░░░░░░░░░░] 0%
3838

3939
(Full decision log in PROJECT.md Key Decisions table)
4040

41+
Recent decisions affecting v1.4:
42+
- SurrealDB FLEXIBLE TYPE for complex fields — works but limits server-side querying; revisit for analytics queries in Phase 23
43+
- TF-IDF vectors already stored per paper — Phase 22 similarity engine builds on this without new extraction
44+
4145
### Pending Todos
4246

4347
None.
4448

4549
### Blockers/Concerns
4650

47-
None.
51+
- Phase 24 depends on Phase 23 (needs graph_metrics table + PageRank)
52+
- Phase 25 depends on Phases 22, 23, 24 (needs similarity neighbors, centrality scores, community assignments)
53+
- Phases 21, 22, 23, 26 are independent and can be executed in any order
4854

4955
## Session Continuity
5056

5157
Last session: 2026-04-06
52-
Stopped at: Defining requirements for v1.4
58+
Stopped at: Roadmap written for v1.4 — 6 phases (21-26), 24 requirements mapped
5359
Resume file: None

0 commit comments

Comments
 (0)