JosephStoneCellAI commited on
Commit
e7d7734
·
verified ·
1 Parent(s): b23f5ca

Delete LIVE/LMDB5/TRIAD-CMD/WORKFLOW.md

Browse files
Files changed (1) hide show
  1. LIVE/LMDB5/TRIAD-CMD/WORKFLOW.md +0 -116
LIVE/LMDB5/TRIAD-CMD/WORKFLOW.md DELETED
@@ -1,116 +0,0 @@
1
- # WORKFLOW — Confidence-Graded Work Blocks + SearchSeeker Data Serving
2
- # Copyright 2026 Joseph Stone — All Rights Reserved
3
- # Created: 2026-04-05
4
- # Phase: DRAFT (SearchSeeker design + agent workflow, FLINT excluded from Phase 1)
5
-
6
- ========================================================================
7
- WORK BLOCK LIFECYCLE
8
- ========================================================================
9
-
10
- 1. AGENT CREATES WORK BLOCK
11
- - Reads task → plans → creates work block in WORK_BLOCKS.md
12
- - Builds the block (code, docs, config)
13
- - Assigns CONFIDENCE SCORE (1-100) REQUIRED
14
- - Records reason for score, data gaps, uncertainties
15
-
16
- 2. CONFIDENCE GATE EVALUATION
17
- Score >= 85: PASS — no twin folder needed
18
- Score 60-84: REVIEW — twin folder, data served
19
- Score < 60: FAIL — twin folder, urgent data search
20
-
21
- 3. TWIN FOLDER STRUCTURE
22
- WORK_BLOCKS/HH-123/ ← original work block
23
- WORK_BLOCKS/HH-123-DATA/ ← SearchSeeker served data (if low confidence)
24
-
25
- 4. SEARCHSEEKER DATA RETRIEVAL
26
- Step 1: BRAIN VECTOR SEARCH (first, local data — LMDB backed vectors only)
27
- - Query: work block title, data gaps, files touched
28
- - Collections: spf_source, default, flint_results
29
- - Deduplicate hits, score by relevance
30
-
31
- Step 2: WEB SEARCH (second, external fill)
32
- - If brain gaps remain → spf_web_search + spf_web_fetch
33
- - Clean text extraction (no HTML storage)
34
-
35
- Step 3: SERVE TO TWIN
36
- - SUMMARY.md — overview, gap count, recommendation
37
- - brain_hits.md — brain results grouped by gap
38
- - web_results.md — web results
39
- - gaps.md — per-gap: query, results, filled/remaining
40
-
41
- 5. AGENT REVIEW CYCLE
42
- After agent completes ALL initial work blocks:
43
- - Scan for any *-DATA twin folders
44
- - For each: read served data → identify missing info → upgrade block
45
- - Re-grade confidence (never lower than original)
46
- - If >= 90: RESOLVED
47
- - If 75-89: RESOLVED with note (minor risk accepted)
48
- - If 60-74: STILL AT RISK — second review needed
49
- - If < 60: BLOCKED — needs external input
50
-
51
- ========================================================================
52
- CONFIDENCE SCALCULATION
53
- ========================================================================
54
-
55
- Score starts at 100, each verified gap deducts:
56
-
57
- -10 File hasn't been read yet (unread source)
58
- -15 Unknown API/interface (can't verify function signatures)
59
- -12 No existing pattern to follow (building new from scratch)
60
- -8 Potential merge conflict with other work blocks
61
- -10 Unknown side effects (downstream impacts not traced)
62
-
63
- Capped at 0 minimum, 100 maximum.
64
-
65
- Agent MUST record each deduction in the Data Gaps section.
66
- A score without stated gaps is INVALID.
67
-
68
- ========================================================================
69
- SEARCHSEEKER CONFIGURATION (Phase 1)
70
- ========================================================================
71
-
72
- Trigger: Work block confidence < 85 detected
73
- Sources: Brain vectors (LMDB, local) → Web API (external)
74
- Output: HH-123-DATA/ folder with structured markdown files
75
- Agent: Reviews post-completion, upgrades work, re-grades
76
-
77
- ========================================================================
78
- WORK BLOCK FORMAT
79
- ========================================================================
80
-
81
- Each block in WORK_BLOCKS.md uses this format:
82
-
83
- ---
84
- block_id: HH-123
85
- title: "Block title"
86
- confidence: 72
87
- graded_at: 2026-04-05
88
- status: draft | in_review | resolved | blocked
89
- ---
90
-
91
- ### Block HH-123 — Title
92
- Status: ⬜ PENDING
93
- Confidence: 72
94
- Files: src/x.rs
95
-
96
- ANALYSIS:
97
- [What the block addresses]
98
-
99
- CHANGES:
100
- [What will be changed, file:line]
101
-
102
- WHY:
103
- [Why this change is needed]
104
-
105
- TRACEBACK:
106
- [Full call chain verification]
107
-
108
- VERIFY:
109
- [How to test]
110
- RISK: LOW | MEDIUM | HIGH
111
- Lines: ~N new/modified
112
- Dependencies: None | Block X
113
-
114
- ========================================================================
115
- END WORKFLOW
116
- ========================================================================