Skip to content

Commit 418e0d9

Browse files
raifdmuellerclaude
andcommitted
docs: add Question Tree mindmap page
Add a PlantUML mindmap of the Phase-1 Question Tree as a page in the microsite Reports menu (src/docs/reports/question-tree.{adoc,puml}). Nodes carry two marks: blue for the 43 fixed nodes the recovery skill prescribes, orange for the 74 nodes the LLM decomposed from code, and a red (OPEN) marker on the 14 leaves the code cannot answer that are handed to the team. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 16b22c0 commit 418e0d9

2 files changed

Lines changed: 173 additions & 0 deletions

File tree

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
:jbake-title: Question Tree
2+
:jbake-type: page
3+
:jbake-status: published
4+
:jbake-menu: reports
5+
:jbake-order: 0
6+
ifndef::imagesdir[:imagesdir: ../images]
7+
8+
= Vibe — Question Tree
9+
10+
This is the Question Tree recovered in Phase 1 of Socratic Code-Theory
11+
Recovery for the `vibe/` bounded context — the reasoning trace that
12+
separates what the code can answer from what only the team can.
13+
14+
The tree has two kinds of node:
15+
16+
* *Fixed nodes* (blue) are prescribed by the recovery skill — the five
17+
root questions Q1–Q5 and the fixed second level Q1.1–Q5.5. They are
18+
emitted on every run, so trees from different runs stay diffable.
19+
* *Adaptive nodes* (orange) are decomposed by the LLM from code
20+
evidence. Their depth tracks how much theory each area carries — a
21+
dense subsystem yields a deep sub-tree, a thin one a shallow one.
22+
23+
Leaves carry a second mark: a leaf the code can answer is left plain —
24+
its evidence is a `file:line` reference — while a leaf the code
25+
*cannot* answer is flagged `(OPEN)` in red and routed to the team.
26+
27+
Of the 117 question nodes, 43 are fixed skeleton and 74 were recovered
28+
adaptively; 14 leaves are `(OPEN)`. The full tree with `file:line`
29+
evidence, and the `(OPEN)` leaves grouped by role, live in
30+
`QUESTION_TREE.adoc` and `OPEN_QUESTIONS.adoc` at the repository root.
31+
32+
[plantuml,question-tree,svg]
33+
----
34+
include::question-tree.puml[]
35+
----
Lines changed: 138 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,138 @@
1+
@startmindmap
2+
title Question Tree — Vibe: skill-fixed vs. LLM-recovered nodes; (OPEN) = handed to the team
3+
4+
' Socratic Code-Theory Recovery — Phase 1 tree visualised.
5+
' Blue = fixed node prescribed by the skill (Q1-Q5 and the second level Q1.1-Q5.5).
6+
' Orange = adaptive node, decomposed by the LLM from code evidence.
7+
' (OPEN) = leaf the code cannot answer; handed to the team via OPEN_QUESTIONS.adoc.
8+
9+
+[#E8E8E8] Question Tree\nVibe
10+
11+
++[#B3D9FF] Q1Problem & Users
12+
+++[#B3D9FF] Q1.1 Product identity
13+
+++[#B3D9FF] Q1.2 Primary users
14+
++++[#FFE0B3] Q1.2.1 Actor roles
15+
++++[#FFE0B3] Q1.2.2 Segment priority <color:#C62828>(OPEN)</color>
16+
+++[#B3D9FF] Q1.3 Channels
17+
+++[#B3D9FF] Q1.4 Why built <color:#C62828>(OPEN)</color>
18+
+++[#B3D9FF] Q1.5 Success metrics
19+
++++[#FFE0B3] Q1.5.1 What the code measures
20+
++++[#FFE0B3] Q1.5.2 Business KPIs <color:#C62828>(OPEN)</color>
21+
+++[#B3D9FF] Q1.6 Segment prioritisation <color:#C62828>(OPEN)</color>
22+
23+
++[#B3D9FF] Q2Specification
24+
+++[#B3D9FF] Q2.1 Actors
25+
+++[#B3D9FF] Q2.2 Use-case catalog
26+
++++[#FFE0B3] PUC InteractiveChat
27+
+++++[#FFE0B3] Actor
28+
+++++[#FFE0B3] Trigger
29+
+++++[#FFE0B3] Main Success
30+
+++++[#FFE0B3] Extensions
31+
+++++[#FFE0B3] Postconditions
32+
++++[#FFE0B3] PUC ProgrammaticRun
33+
+++++[#FFE0B3] Actor
34+
+++++[#FFE0B3] Main Success
35+
+++++[#FFE0B3] Extensions
36+
++++[#FFE0B3] PUC ResumeSession
37+
++++[#FFE0B3] PUC PlanMode
38+
++++[#FFE0B3] PUC DelegateToSubagent
39+
++++[#FFE0B3] PUC VoiceMode
40+
++++[#FFE0B3] PUC Onboard
41+
++++[#FFE0B3] PUC Teleport
42+
++++[#FFE0B3] PUC ManageExtensions
43+
++++[#FFE0B3] UC completeness <color:#C62828>(OPEN)</color>
44+
+++[#B3D9FF] Q2.3 Per-interface system specs
45+
++++[#FFE0B3] SUC VibeCLI
46+
++++[#FFE0B3] SUC SlashCommands
47+
++++[#FFE0B3] SUC AcpServer
48+
++++[#FFE0B3] SUC ToolInterface
49+
+++++[#FFE0B3] bash
50+
+++++[#FFE0B3] read / write
51+
+++++[#FFE0B3] grep
52+
+++++[#FFE0B3] web
53+
+++++[#FFE0B3] agent tools
54+
++++[#FFE0B3] SUC ConfigFile
55+
++++[#FFE0B3] SUC McpInterface
56+
++++[#FFE0B3] SUC HookInterface
57+
+++[#B3D9FF] Q2.4 Entity model
58+
++++[#FFE0B3] Session
59+
++++[#FFE0B3] Conversation
60+
++++[#FFE0B3] AgentStats
61+
++++[#FFE0B3] Config
62+
++++[#FFE0B3] AgentProfile
63+
++++[#FFE0B3] Checkpoint
64+
+++[#B3D9FF] Q2.5 Acceptance criteria
65+
++++[#FFE0B3] Q2.5.1 Tests as criteria
66+
++++[#FFE0B3] Q2.5.2 Gherkin per use case <color:#C62828>(OPEN)</color>
67+
+++[#B3D9FF] Q2.6 Cross-cutting business rules
68+
++++[#FFE0B3] BR TrustGate
69+
++++[#FFE0B3] BR ToolApproval
70+
++++[#FFE0B3] BR AgentSafety
71+
++++[#FFE0B3] BR TelemetryGate
72+
++++[#FFE0B3] BR intent <color:#C62828>(OPEN)</color>
73+
74+
--[#B3D9FF] Q3Architecture
75+
---[#B3D9FF] Q3.1 Intro & goals
76+
---[#B3D9FF] Q3.2 Constraints
77+
---[#B3D9FF] Q3.3 Context & scope
78+
---[#B3D9FF] Q3.4 Solution strategy
79+
----[#FFE0B3] Q3.4.1 Patterns used
80+
----[#FFE0B3] Q3.4.2 Why chosen <color:#C62828>(OPEN)</color>
81+
---[#B3D9FF] Q3.5 Building-block view
82+
----[#FFE0B3] Q3.5.1 Level-1 sub-contexts
83+
----[#FFE0B3] Q3.5.2 Agent Loop
84+
----[#FFE0B3] Q3.5.3 LLM Backend Layer
85+
----[#FFE0B3] Q3.5.4 Tool Subsystem
86+
----[#FFE0B3] Q3.5.5 Config Subsystem
87+
----[#FFE0B3] Q3.5.6 Session Persistence
88+
----[#FFE0B3] Q3.5.7 CLI / Textual UI
89+
----[#FFE0B3] Q3.5.8 ACP Bridge
90+
----[#FFE0B3] Q3.5.9 Remote
91+
---[#B3D9FF] Q3.6 Runtime view
92+
----[#FFE0B3] SCN Turn
93+
----[#FFE0B3] SCN Approval
94+
----[#FFE0B3] SCN Compaction
95+
----[#FFE0B3] SCN Interrupt
96+
----[#FFE0B3] SCN RateLimit
97+
---[#B3D9FF] Q3.7 Deployment view
98+
---[#B3D9FF] Q3.8 Crosscutting concepts
99+
----[#FFE0B3] Q3.8.1 Threat model <color:#C62828>(OPEN)</color>
100+
----[#FFE0B3] Q3.8.2 Security
101+
----[#FFE0B3] Q3.8.3 Test
102+
----[#FFE0B3] Q3.8.4 Observability
103+
----[#FFE0B3] Q3.8.5 Error handling
104+
----[#FFE0B3] Q3.8.6 Configuration
105+
---[#B3D9FF] Q3.9 Architecture decisions
106+
----[#FFE0B3] ADR HexagonalPorts <color:#C62828>(OPEN)</color>
107+
----[#FFE0B3] ADR LLMBackendAbstraction <color:#C62828>(OPEN)</color>
108+
----[#FFE0B3] ADR MiddlewarePipeline <color:#C62828>(OPEN)</color>
109+
----[#FFE0B3] ADR SessionsAsFiles <color:#C62828>(OPEN)</color>
110+
----[#FFE0B3] ADR index
111+
---[#B3D9FF] Q3.10 Quality requirements
112+
---[#B3D9FF] Q3.11 Risks & technical debt
113+
---[#B3D9FF] Q3.12 Glossary
114+
115+
--[#B3D9FF] Q4Quality goals
116+
---[#B3D9FF] Q4.1 Functional suitability
117+
---[#B3D9FF] Q4.2 Performance efficiency
118+
---[#B3D9FF] Q4.3 Compatibility
119+
---[#B3D9FF] Q4.4 Usability
120+
---[#B3D9FF] Q4.5 Reliability
121+
---[#B3D9FF] Q4.6 Security
122+
---[#B3D9FF] Q4.7 Maintainability
123+
---[#B3D9FF] Q4.8 Portability
124+
---[#B3D9FF] Q4.9 Priority ranking <color:#C62828>(OPEN)</color>
125+
126+
--[#B3D9FF] Q5Risks & technical debt
127+
---[#B3D9FF] Q5.1 Technical debt
128+
---[#B3D9FF] Q5.2 Security risks
129+
---[#B3D9FF] Q5.3 Operational risks
130+
---[#B3D9FF] Q5.4 Supply-chain risks
131+
---[#B3D9FF] Q5.5 Scaling / performance
132+
133+
legend right
134+
|<#B3D9FF>| Fixed nodeprescribed by the Socratic Code-Theory Recovery skill (Q1-Q5, Q1.1-Q5.5) |
135+
|<#FFE0B3>| Adaptive nodedecomposed by the LLM from code evidence |
136+
| <color:#C62828>(OPEN)</color> | Leaf the code cannot answerhanded to the team; every other leaf is answered from code with file:line evidence |
137+
endlegend
138+
@endmindmap

0 commit comments

Comments
 (0)