File size: 32,855 Bytes
aefac4f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
╔════════════════════════════════════════════════════════════════════════════╗
β•‘     πŸ—ΊοΈ  NAVIGATION GUIDE: Using the RagBot 4-Month Roadmap              β•‘
β•‘           How to use all the planning documents effectively                β•‘
β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•

You now have 5 comprehensive documents to guide your 4-month journey.
Each serves a specific purpose. Here's how to use them together.

════════════════════════════════════════════════════════════════════════════════

πŸ“‹ THE 5 DOCUMENTS
════════════════════════════════════════════════════════════════════════════════

1️⃣  IMPLEMENTATION_ROADMAP.md (THIS IS YOUR MASTER PLAN)
    β”œβ”€ 12-week breakdown with all 34 skills
    β”œβ”€ Phase 1-4 detailed task descriptions
    β”œβ”€ Success criteria for each task
    β”œβ”€ Code location hints
    └─ Use: Reference for detailed understanding of each skill

2️⃣  WEEK1_EXECUTION_PLAN.md (YOUR IMMEDIATE TODO LIST)
    β”œβ”€ This week's 6 tasks with hourly estimates
    β”œβ”€ Checkboxes for daily progress
    β”œβ”€ Useful commands to run
    β”œβ”€ Daily standup template
    └─ Use: Print this out, pin to monitor, check off daily

3️⃣  IMPLEMENTATION_STATUS_TRACKER.md (YOUR PROGRESS TRACKER)
    β”œβ”€ All 34 skills with status (TODO/IN-PROGRESS/DONE)
    β”œβ”€ Hours spent per skill
    β”œβ”€ Metrics tracking (coverage, latency, accuracy)
    β”œβ”€ Weekly checklist
    └─ Use: Update weekly, show progress to team

4️⃣  SKILL_TO_CODE_MAPPING.md (YOUR DEVELOPER REFERENCE)
    β”œβ”€ Where each skill applies in the codebase
    β”œβ”€ Which files to modify for each skill
    β”œβ”€ How skills fix the 6 critical issues
    β”œβ”€ Dependency graph
    └─ Use: When implementing a skill, find which code to change

5️⃣  This Document - NAVIGATION_GUIDE.md (YOU ARE HERE)
    β”œβ”€ How to use all 4 other documents
    β”œβ”€ Recommended reading order
    β”œβ”€ Quick workflows
    └─ Use: Getting started with the plan

════════════════════════════════════════════════════════════════════════════════

πŸš€ GETTING STARTED (First 30 minutes)
════════════════════════════════════════════════════════════════════════════════

1. Read this document (5 minutes)
   ↓
2. Read WEEK1_EXECUTION_PLAN.md (10 minutes)
   ↓
3. Skim IMPLEMENTATION_ROADMAP.md Phase 1 (10 minutes)
   ↓
4. Bookmark SKILL_TO_CODE_MAPPING.md for reference
   ↓
5. Start Task 1.1 from WEEK1_EXECUTION_PLAN.md

════════════════════════════════════════════════════════════════════════════════

πŸ“š RECOMMENDED READING ORDER
════════════════════════════════════════════════════════════════════════════════

For the Project Manager/Team Lead:
  1. This document (5 min)
  2. IMPLEMENTATION_ROADMAP.md Summary section (5 min)
  3. IMPLEMENTATION_STATUS_TRACKER.md (5 min)
  4. Return to this document for weekly workflows

For the Developer/Engineer:
  1. This document (5 min)
  2. WEEK1_EXECUTION_PLAN.md (10 min)
  3. SKILL_TO_CODE_MAPPING.md (10 min)
  4. Specific skill section in IMPLEMENTATION_ROADMAP.md (5 min)
  5. Read ~/.agents/skills/<skill-name>/SKILL.md (varies)

For the QA/Test Specialist:
  1. This document (5 min)
  2. IMPLEMENTATION_ROADMAP.md Phase 2 (10 min)
  3. SKILL_TO_CODE_MAPPING.md section on #22 Testing Patterns (5 min)
  4. WEEK1_EXECUTION_PLAN.md Task 1.3 (5 min)

For the DevOps/Infrastructure Engineer:
  1. This document (5 min)
  2. IMPLEMENTATION_ROADMAP.md Phase 4 Week 9-10 (10 min)
  3. SKILL_TO_CODE_MAPPING.md sections on #24, #25, #31 (5 min)
  4. IMPLEMENTATION_STATUS_TRACKER.md (5 min)

════════════════════════════════════════════════════════════════════════════════

🎯 TYPICAL WORKFLOWS
════════════════════════════════════════════════════════════════════════════════

WORKFLOW 1: Starting the Day
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ 1. Open WEEK1_EXECUTION_PLAN.md (or current week equivalent)            β”‚
β”‚    └─ Find today's section                                             β”‚
β”‚                                                                         β”‚
β”‚ 2. Click checkbox β–‘ next to current task to mark as IN-PROGRESS        β”‚
β”‚                                                                         β”‚
β”‚ 3. Open SKILL_TO_CODE_MAPPING.md                                       β”‚
β”‚    └─ Find the skill for today's task                                  β”‚
β”‚    └─ See which code files to modify                                   β”‚
β”‚                                                                         β”‚
β”‚ 4. Open IMPLEMENTATION_ROADMAP.md                                      β”‚
β”‚    └─ Find the Phase/Week/Task section for details                     β”‚
β”‚                                                                         β”‚
β”‚ 5. Read ~/.agents/skills/<skill>/SKILL.md for guidance                 β”‚
β”‚    Example: ~/.agents/skills/owasp-security-check/SKILL.md             β”‚
β”‚                                                                         β”‚
β”‚ 6. Implement, test, commit                                             β”‚
β”‚    Command: git commit -m "feat: [Skill #X] [Description]"             β”‚
β”‚                                                                         β”‚
β”‚ 7. Checkmark β–‘ task as COMPLETE in WEEK1_EXECUTION_PLAN.md             β”‚
β”‚                                                                         β”‚
β”‚ 8. Run: pytest tests/ -v --cov src (should pass/coverage increase)     β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

WORKFLOW 2: Implementing a Specific Skill
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ Problem: "I need to implement Skill #8 (Hybrid Search)"                β”‚
β”‚                                                                         β”‚
β”‚ Solution:                                                              β”‚
β”‚  1. Find week/phase in IMPLEMENTATION_STATUS_TRACKER.md                β”‚
β”‚     └─ Skill #8 is in Phase 3, Week 6                                 β”‚
β”‚                                                                         β”‚
β”‚  2. Read IMPLEMENTATION_ROADMAP.md Phase 3 Week 6 section              β”‚
β”‚     └─ Task description: "Implement hybrid search"                     β”‚
β”‚     └─ Duration: 4-6 hours                                            β”‚
β”‚     └─ Actions: numbered steps to follow                              β”‚
β”‚                                                                         β”‚
β”‚  3. Check SKILL_TO_CODE_MAPPING.md                                    β”‚
β”‚     └─ Find "src/retrievers/hybrid_retriever.py (NEW)"                 β”‚
β”‚     └─ See which files to modify                                      β”‚
β”‚                                                                         β”‚
β”‚  4. Read ~/.agents/skills/hybrid-search-implementation/SKILL.md         β”‚
β”‚     └─ Detailed implementation guidance                                β”‚
β”‚                                                                         β”‚
β”‚  5. Code and test according to steps                                   β”‚
β”‚     └─ Create src/retrievers/hybrid_retriever.py                       β”‚
β”‚     └─ Write tests in tests/test_hybrid_retriever.py                   β”‚
β”‚     └─ Run: pytest tests/test_hybrid_retriever.py -v                   β”‚
β”‚                                                                         β”‚
β”‚  6. Update IMPLEMENTATION_STATUS_TRACKER.md                            β”‚
β”‚     └─ Mark Skill #8 as "βœ… DONE"                                      β”‚
β”‚     └─ Update hours actually spent                                     β”‚
β”‚     └─ Update metric improvements                                      β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

WORKFLOW 3: End of Week Progress Report
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ Every Friday at 5 PM:                                                  β”‚
β”‚                                                                         β”‚
β”‚  1. Open IMPLEMENTATION_STATUS_TRACKER.md                              β”‚
β”‚                                                                         β”‚
β”‚  2. For each task this week:                                           β”‚
β”‚     β–‘ Mark as "βœ… DONE" if completed                                    β”‚
β”‚     β–‘ Update hours: planned [ ] β†’ actual [X]                           β”‚
β”‚     β–‘ Update metrics (coverage %, latency, accuracy change)            β”‚
β”‚                                                                         β”‚
β”‚  3. Run full test suite:                                               β”‚
β”‚     $ pytest tests/ -v --cov src --cov-report=html                     β”‚
β”‚     └─ Record coverage percentage                                      β”‚
β”‚     └─ Check for any new failures                                      β”‚
β”‚                                                                         β”‚
β”‚  4. Run Performance Benchmark:                                         β”‚
β”‚     $ python tests/evaluation_metrics.py                               β”‚
β”‚     └─ Record response latency                                         β”‚
β”‚     └─ Record accuracy metrics                                         β”‚
β”‚                                                                         β”‚
β”‚  5. Update Metrics section in IMPLEMENTATION_STATUS_TRACKER.md          β”‚
β”‚     Week N: Coverage: [XX]%, Latency: [XX]s, Accuracy: [XX]%          β”‚
β”‚                                                                         β”‚
β”‚  6. Create team report:                                                β”‚
β”‚     "Week 1: Completed 6/6 tasks. Coverage 70%β†’73%, auth implemented.  β”‚
β”‚      No blockers. On track for Phase 1 completion by Feb 21."          β”‚
β”‚                                                                         β”‚
β”‚  7. Plan next week (Monday morning):                                   β”‚
β”‚     - Check IMPLEMENTATION_ROADMAP.md for next phase tasks             β”‚
β”‚     - Check dependencies (can we start without Skill X?)               β”‚
β”‚     - Allocate resources                                               β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

WORKFLOW 4: Fixing a Critical Issue (Example: Issue #1)
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ Problem: biomarker_flags not propagating through workflow               β”‚
β”‚                                                                         β”‚
β”‚ Solution:                                                              β”‚
β”‚  1. Read SKILL_TO_CODE_MAPPING.md                                     β”‚
β”‚     └─ Search for "ISSUE #1" at top                                    β”‚
β”‚     └─ See: "Primary Skills: #2, #3, #16"                              β”‚
β”‚                                                                         β”‚
β”‚  2. Implementation order:                                              β”‚
β”‚     Step 1: Check IMPLEMENTATION_ROADMAP.md for Skill #2 details       β”‚
β”‚     Step 2: Check IMPLEMENTATION_ROADMAP.md for Skill #3 details       β”‚
β”‚     Step 3: Check IMPLEMENTATION_ROADMAP.md for Skill #16 details      β”‚
β”‚                                                                         β”‚
β”‚  3. Code changes needed:                                               β”‚
β”‚     + src/state.py (add missing fields)                                β”‚
β”‚     + src/agents/biomarker_analyzer.py (return flags)                  β”‚
β”‚     + src/agents/disease_explainer.py (preserve state)                 β”‚
β”‚     + api/app/models/response.py (unified schema)                      β”‚
β”‚                                                                         β”‚
β”‚  4. Testing:                                                           β”‚
β”‚     + Write tests/test_state_propagation.py                            β”‚
β”‚     + Run: pytest tests/test_state_propagation.py -v                   β”‚
β”‚     + Run end-to-end: python scripts/test_chat_demo.py                 β”‚
β”‚                                                                         β”‚
β”‚  5. Verification:                                                      β”‚
β”‚     - Log output shows flags present at each agent                     β”‚
β”‚     - Final response includes biomarker_flags                          β”‚
β”‚     - All tests passing                                                β”‚
β”‚                                                                         β”‚
β”‚  6. Commit:                                                            β”‚
β”‚     git commit -m "fix: [Skill #2, #3, #16] Propagate biomarker_flags" β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

WORKFLOW 5: Unblocking a Dependency
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ Scenario: Week 3 work is blocked, waiting for Week 2 to finish         β”‚
β”‚                                                                         β”‚
β”‚ Check SKILL_TO_CODE_MAPPING.md β†’ "SKILL DEPENDENCY GRAPH"              β”‚
β”‚  └─ "Phase 2 requires Phase 1: #22, #26, #4, #13, #14, #5"             β”‚
β”‚  └─ If Phase 1 delayed, check which Phase 2 skills are independent     β”‚
β”‚                                                                         β”‚
β”‚ Independent Phase 2 work possible:                                     β”‚
β”‚  β€’ #26 (Design Patterns) can refactor without Phase 1 complete          β”‚
β”‚  β€’ #13 (Prompt Engineer) can improve prompts in isolation               β”‚
β”‚  β€’ Extend Phase 1 tests while Skill work continues                     β”‚
β”‚                                                                         β”‚
β”‚ Execution shift:                                                       β”‚
β”‚  1. Run: grep -n "#26\|#13" IMPLEMENTATION_ROADMAP.md                  β”‚
β”‚  2. Start #26 or #13 work in parallel                                  β”‚
β”‚  3. Update IMPLEMENTATION_STATUS_TRACKER.md schedule                   β”‚
β”‚  4. Reorder next week's tasks                                          β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

════════════════════════════════════════════════════════════════════════════════

πŸ“‚ FOLDER STRUCTURE: Where Everything Lives
════════════════════════════════════════════════════════════════════════════════

RagBot (root)
β”‚
β”œβ”€ πŸ“‹ PLANNING DOCUMENTS (NEW)
β”‚  β”œβ”€ IMPLEMENTATION_ROADMAP.md          ← Master 12-week plan
β”‚  β”œβ”€ WEEK1_EXECUTION_PLAN.md            ← This week's tasks  
β”‚  β”œβ”€ IMPLEMENTATION_STATUS_TRACKER.md   ← Progress tracking
β”‚  β”œβ”€ SKILL_TO_CODE_MAPPING.md           ← Developer reference
β”‚  └─ NAVIGATION_GUIDE.md                ← This file
β”‚
β”œβ”€ πŸ› οΈ  SKILLS REFERENCE
β”‚  └─ ~/.agents/skills/                  (Global, all installed)
β”‚     β”œβ”€ owasp-security-check/SKILL.md
β”‚     β”œβ”€ api-security-hardening/SKILL.md
β”‚     β”œβ”€ python-testing-patterns/SKILL.md
β”‚     β”œβ”€ workflow-orchestration-patterns/SKILL.md
β”‚     β”œβ”€ api-rate-limiting/SKILL.md
β”‚     └─ [30 more skills...]
β”‚
β”œβ”€ πŸ“ IMPLEMENTATION PROGRESS
β”‚  β”œβ”€ src/
β”‚  β”‚  β”œβ”€ state.py                    (Fix by Skill #2: Week 1)
β”‚  β”‚  β”œβ”€ workflow.py                 (Fix by Skill #2, #3: Weeks 1-2)
β”‚  β”‚  β”œβ”€ exceptions.py               (NEW - Skill #21: Week 2)
β”‚  β”‚  β”œβ”€ agents/
β”‚  β”‚  β”‚  β”œβ”€ base_agent.py            (NEW - Skill #26: Week 3)
β”‚  β”‚  β”‚  β”œβ”€ biomarker_analyzer.py   (Fix by Skills #4, #13: Week 3)
β”‚  β”‚  β”‚  β”œβ”€ disease_explainer.py    (Fix by Skills #8, #11, #13: Week 6)
β”‚  β”‚  β”‚  └─ confidence_assessor.py  (Fix by Skill #4, #13: Week 3)
β”‚  β”‚  β”œβ”€ retrievers/
β”‚  β”‚  β”‚  └─ hybrid_retriever.py      (NEW - Skill #8: Week 6)
β”‚  β”‚  β”œβ”€ chunking_strategy.py        (NEW - Skill #9: Week 6)
β”‚  β”‚  β”œβ”€ knowledge_graph.py          (NEW - Skill #12: Week 7)
β”‚  β”‚  β”œβ”€ memory_manager.py           (NEW - Skill #28: Week 7)
β”‚  β”‚  β”œβ”€ observability.py            (NEW - Skill #27: Week 2)
β”‚  β”‚  └─ llm_config.py               (Fix by Skills #15: Week 8)
β”‚  β”‚
β”‚  β”œβ”€ api/app/
β”‚  β”‚  β”œβ”€ main.py                     (Fix by Skills #17, #25: Weeks 1, 9)
β”‚  β”‚  β”œβ”€ models/
β”‚  β”‚  β”‚  └─ response.py              (NEW - Skill #16: Week 1)
β”‚  β”‚  β”œβ”€ middleware/
β”‚  β”‚  β”‚  β”œβ”€ auth.py                  (NEW - Skill #17: Week 1)
β”‚  β”‚  β”‚  β”œβ”€ input_validation.py      (NEW - Skill #19: Week 2)
β”‚  β”‚  β”‚  └─ rate_limiter.py          (NEW - Skill #20: Week 1)
β”‚  β”‚  └─ webhooks/                   (NEW if needed - Skill #33: Week 11)
β”‚  β”‚
β”‚  β”œβ”€ tests/
β”‚  β”‚  β”œβ”€ test_api_auth.py            (NEW - Skill #22: Week 1)
β”‚  β”‚  β”œβ”€ test_parametrized_*.py      (NEW - Skill #22: Week 3)
β”‚  β”‚  β”œβ”€ test_response_schema.py     (NEW - Skill #22: Week 1)
β”‚  β”‚  β”œβ”€ evaluation_metrics.py       (NEW - Skill #14: Week 4)
β”‚  β”‚  β”œβ”€ conftest.py                 (NEW - Skill #22: Week 1)
β”‚  β”‚  └─ fixtures/                   (NEW - Skill #22: Week 1)
β”‚  β”‚     β”œβ”€ auth.py
β”‚  β”‚     β”œβ”€ biomarkers.py
β”‚  β”‚     └─ evaluation_patients.py
β”‚  β”‚
β”‚  β”œβ”€ .github/
β”‚  β”‚  β”œβ”€ workflows/
β”‚  β”‚  β”‚  β”œβ”€ test.yml                 (NEW - Skill #24: Week 2)
β”‚  β”‚  β”‚  β”œβ”€ security.yml             (NEW - Skill #24: Week 2)
β”‚  β”‚  β”‚  β”œβ”€ docker.yml               (NEW - Skill #24: Week 2)
β”‚  β”‚  β”‚  └─ deploy.yml               (NEW - Skill #31: Week 10)
β”‚  β”‚  β”œβ”€ CODEOWNERS                  (NEW - Skill #30: Week 9)
β”‚  β”‚  └─ pull_request_template.md    (NEW - Skill #30: Week 9)
β”‚  β”‚
β”‚  └─ docs/
β”‚     β”œβ”€ SECURITY_AUDIT.md           (NEW - Skill #18: Week 1)
β”‚     β”œβ”€ REVIEW_GUIDELINES.md        (NEW - Skill #23: Week 10)
β”‚     └─ API.md                      (Updated by Skill #29: Week 9)

════════════════════════════════════════════════════════════════════════════════

πŸ”„ ITERATIVE IMPROVEMENT LOOP
════════════════════════════════════════════════════════════════════════════════

Each week follows this cycle:

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚                                                                         β”‚
β”‚  MONDAY                    WEDNESDAY-FRIDAY              FRIDAY PM      β”‚
β”‚  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”              β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”            β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”    β”‚
β”‚  β”‚ Plan    β”‚ ────────────→ β”‚ Implement    β”‚ ─────────→ β”‚ Report   β”‚    β”‚
β”‚  β”‚ Week    β”‚              β”‚ + Test       β”‚            β”‚ Progress β”‚    β”‚
β”‚  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜              β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜            β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜    β”‚
β”‚    ↓                           ↓                         ↓              β”‚
β”‚  β€’ Review next tasks      β€’ Run tests daily        β€’ Update Status     β”‚
β”‚  β€’ Check dependencies     β€’ Commit to git          β€’ Calculate metrics  β”‚
β”‚  β€’ Allocate resources     β€’ Fix issues as found    β€’ Plan next week    β”‚
β”‚                                                                         β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Metrics to track weekly:
    Coverage: [baseline] β†’ [target]
    Latency: [baseline:25s] β†’ [target:15-20s]
    Accuracy: [baseline:65%] β†’ [target:80%]
    Tests: [count increase]
    Issues Resolved: [count]
    Skill Hours: [planned vs actual]

════════════════════════════════════════════════════════════════════════════════

❓ FREQUENTLY ASKED QUESTIONS
════════════════════════════════════════════════════════════════════════════════

Q: "How do I know what skill to use?"
A: SKILL_TO_CODE_MAPPING.md maps skills to problems. If fixing Issue #1,
   section at top says: "Primary Skills: #2, #3, #16"

Q: "What if I fall behind schedule?"
A: 1. Check SKILL_TO_CODE_MAPPING.md "Skill Dependency Graph"
   2. See which Phase 2+ skills are independent of delayed Phase 1 work
   3. Start those in parallel to maintain progress
   4. Reschedule Phase 1 blockers

Q: "How do I measure progress?"
A: Update IMPLEMENTATION_STATUS_TRACKER.md weekly:
   β€’ Mark tasks as DONE
   β€’ Run: pytest tests/ --cov src (record coverage %)
   β€’ Run: python test_chat_demo.py 10 times, measure latency
   β€’ Update metrics row for the week

Q: "What if a skill doesn't match my needs?"
A: Each skill has detailed Actions in IMPLEMENTATION_ROADMAP.md. These 
   suggest typical usage. Apply only what's relevant to RagBot. The plan
   is flexible - adapt it to your reality.

Q: "When do I read the actual SKILL.md files?"
A: When implementing a skill. Example:
   β€’ Day 1: Read WEEK1_EXECUTION_PLAN.md Task 1.1
   β€’ Opens IMPLEMENTATION_ROADMAP.md Phase 1 Week 1
   β€’ Opens SKILL_TO_CODE_MAPPING.md to see code files
   β€’ THEN reads ~/.agents/skills/owasp-security-check/SKILL.md for details
   β€’ Implements according to all guidance combined

Q: "What if tests fail during implementation?"
A: Expected! This is normal development. When a test fails:
   1. Read the error message carefully
   2. Identify which code is wrong (src/ or test/)
   3. Fix the code (not the test)
   4. Re-run: pytest <test_file> -v
   5. Commit when green

Q: "How do I handle merge conflicts?"
A: Phase 1 work happens in parallel:
   β€’ Task 1.3 (Auth tests) = tests/test_api_auth.py
   β€’ Task 1.4 (State fixing) = src/agents/
   β€’ Task 1.5 (Schema) = api/app/models/response.py
   These are different files, minimal conflicts. If conflicts:
   1. Read git conflict markers (<<<<, ====, >>>>)
   2. Pick correct version or merge manually
   3. Run: pytest to verify still works
   4. git add [file]; git commit

════════════════════════════════════════════════════════════════════════════════

βœ… SUCCESS CRITERIA FOR PHASE 1
════════════════════════════════════════════════════════════════════════════════

By end of Week 2 (Feb 21):

Code Quality:
  βœ… 23+ new tests written
  βœ… Coverage increased 70% β†’ 75%
  βœ… All tests passing
  βœ… No linter warnings

Features:
  βœ… JWT authentication working on /api endpoints
  βœ… biomarker_flags & safety_alerts propagate through workflow
  βœ… Unified response schema (API + CLI)
  βœ… Prompt injection detection active
  βœ… Rate limiting enforced (10 req/min)

Documentation:
  βœ… SECURITY_AUDIT.md completed
  βœ… .github/workflows/test.yml running on PR

Team:
  βœ… All developers understand Phase 1 changes
  βœ… Code review standards documented
  βœ… Deployment checklist for next phase

════════════════════════════════════════════════════════════════════════════════

πŸŽ“ CONTINUOUS LEARNING
════════════════════════════════════════════════════════════════════════════════

As you implement each skill:

1. Read the SKILL.md documentation thoroughly
   └─ Take notes on best practices
   
2. Understand the "Why" not just the "How"
   └─ Why hybrid search over semantic only?
   └─ Why knowledge graphs for medical reasoning?
   
3. Apply learnings beyond RagBot
   └─ These patterns work for any Python/ML/LLM project
   
4. Share knowledge with team
   └─ Each week, 30-min skill share session
   └─ "This week I learned about [Skill X]..."
   
5. Revisit Phase 1-2 skills when you hit Phase 3-4
   └─ Patterns reinforce and become second nature
   └─ You'll notice connections between skills

════════════════════════════════════════════════════════════════════════════════

πŸ“ž NEED HELP?
════════════════════════════════════════════════════════════════════════════════

Stuck on a task? Follow this decision tree:

Issue: Don't know which skill to use?
  β†’ Check SKILL_TO_CODE_MAPPING.md
  β†’ Find the problem area
  β†’ See "Primary Skills:" section

Issue: Skill documentation unclear?
  β†’ Read ~/.agents/skills/<skill>/SKILL.md fully
  β†’ Check subdirectories for examples/templates
  β†’ Apply to your specific use case

Issue: Not progressing fast enough?
  β†’ Consider parallel work (see WORKFLOW 5)
  β†’ Skill dependency check
  β†’ Allocate more developer time
  β†’ Simplify scope temporarily

Issue: Test failures?
  β†’ Read error message
  β†’ Check SKILL_TO_CODE_MAPPING.md for code changes needed
  β†’ Review the specific skill's error handling section
  β†’ Fix code (not test)

Issue: Code doesn't integrate?
  β†’ Check Phase 2 tasks for integration points
  β†’ Verify unified schema matches
  β†’ Run end-to-end tests
  β†’ Check observability logs for clues

════════════════════════════════════════════════════════════════════════════════

🏁 THE FINISH LINE
════════════════════════════════════════════════════════════════════════════════

After 12 weeks of executing this plan:

Your RagBot will be:
  βœ… Enterprise-grade (OWASP + HIPAA aligned)
  βœ… Well-tested (90%+ coverage)
  βœ… Fast (15-20s latency, -30% vs baseline)
  βœ… Accurate (80%+ disease prediction)
  βœ… Cost-optimized (-40% API costs)
  βœ… Properly documented (API docs, code reviews, guides)
  βœ… Fully deployed (CI/CD, monitoring, alerts)
  βœ… Knowledge-integrated (graphs, hybrid search, citations)
  βœ… Maintainable (design patterns, observability, error handling)
  βœ… Secure (auth, rate limiting, input validation)

Your team will be:
  βœ… Trained on 34 industry best practices
  βœ… Capable of maintaining and evolving the system
  βœ… Confident in deployment and monitoring
  βœ… Equipped with reusable patterns for future projects

Success looks like:
  "We deployed a production-ready medical AI system that is secure,
   fast, accurate, and maintainable. We did it systematically using
   industry best practices. We can confidently handle increases in
   patient load and evolve the system for new biomarkers."

════════════════════════════════════════════════════════════════════════════════

Let's build something great. Start with WEEK1_EXECUTION_PLAN.md. πŸš€

════════════════════════════════════════════════════════════════════════════════