Commit 0c66337
fix: adaptive Question Tree depth and Q-ID wording in Socratic recovery skill
#522 — Phase 1 decomposition is now adaptive, not near-fixed. Below the
fixed second level a node is a leaf only when answerable from specific
file:line evidence or definitively [OPEN]; coarse answers decompose
further, capped at four levels below a fixed node. Tree depth tracks code
density, so a large bounded context no longer produces one thin leaf per
arc42 chapter. Directory-level evidence is rejected as a too-shallow
signal. A post-prompt depth sanity-check and a corrected Q3.5 worked
example demonstrate the pattern.
#524 — the Phase 2 prompt said "every claim must be traceable to a Q-ID",
contradicting the schema (Q-IDs never appear in final documents). Reworded
to match: claims trace back to a tree leaf as a build-time check; the
output carries file:line evidence and (team answer) markers only.
Touches the skill prompts/references, the socratic-code-theory-recovery
contract, and the website skill page for consistency.
Closes #522, #524
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>1 parent deb756e commit 0c66337
14 files changed
Lines changed: 136 additions & 54 deletions
File tree
- docs
- plugins/semantic-anchors/skills/socratic-code-theory-recovery
- prompts
- references
- skill/socratic-code-theory-recovery
- prompts
- references
- website/public/data
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
12 | 16 | | |
13 | 17 | | |
14 | 18 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
Lines changed: 3 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 31 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 4 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 23 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 3 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
81 | | - | |
| 81 | + | |
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
| 91 | + | |
| 92 | + | |
91 | 93 | | |
92 | 94 | | |
93 | 95 | | |
| |||
0 commit comments