Skip to content

Commit f328fc4

Browse files
authored
Merge pull request #499 from raifdmueller/feat/socratic-quality-scenarios-498
feat(socratic-recovery): derive quality scenarios instead of blanket [OPEN]
2 parents 6c205ed + b17df6d commit f328fc4

14 files changed

Lines changed: 96 additions & 4 deletions

File tree

docs/brownfield-workflow.adoc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,12 @@ Process:
126126
Operations
127127
- State precisely what cannot be answered, and why.
128128
129+
Quality (the Q4 branch) is not wholly team knowledge. Where the code
130+
shows measurable behaviour — a timeout, a truncation limit, a budget,
131+
a retry policy, the threats and test concept from Q3.8 — write it as
132+
an [ANSWERED] quality scenario with file:line. Never invent a target
133+
number. Only the quality-goal ranking (Q4.9) is [OPEN].
134+
129135
5. Output two files in AsciiDoc:
130136
131137
QUESTION_TREE.adoc

docs/brownfield-workflow.de.adoc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,12 @@ Process:
124124
Operations
125125
- State precisely what cannot be answered, and why.
126126
127+
Quality (the Q4 branch) is not wholly team knowledge. Where the code
128+
shows measurable behaviour — a timeout, a truncation limit, a budget,
129+
a retry policy, the threats and test concept from Q3.8 — write it as
130+
an [ANSWERED] quality scenario with file:line. Never invent a target
131+
number. Only the quality-goal ranking (Q4.9) is [OPEN].
132+
127133
5. Output two files in AsciiDoc:
128134
129135
QUESTION_TREE.adoc

plugins/semantic-anchors/skills/socratic-code-theory-recovery/prompts/phase-1-question-tree.md

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

plugins/semantic-anchors/skills/socratic-code-theory-recovery/prompts/phase-2-synthesize.md

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

plugins/semantic-anchors/skills/socratic-code-theory-recovery/references/arc42.md

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

plugins/semantic-anchors/skills/socratic-code-theory-recovery/references/examples.md

Lines changed: 13 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

plugins/semantic-anchors/skills/socratic-code-theory-recovery/references/iso-25010.md

Lines changed: 13 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

skill/socratic-code-theory-recovery/prompts/phase-1-question-tree.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,12 @@ Process:
5555
Operations
5656
- State precisely what cannot be answered, and why.
5757
58+
Quality (the Q4 branch) is not wholly team knowledge. Where the code
59+
shows measurable behaviour — a timeout, a truncation limit, a budget,
60+
a retry policy, the threats and test concept from Q3.8 — write it as
61+
an [ANSWERED] quality scenario with file:line. Never invent a target
62+
number. Only the quality-goal ranking (Q4.9) is [OPEN].
63+
5864
5. Output two files in AsciiDoc:
5965
6066
QUESTION_TREE.adoc

skill/socratic-code-theory-recovery/prompts/phase-2-synthesize.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,13 @@ Produce four artifacts:
3939
3. docs/arc42/arc42-[context-name].adoc — Architecture
4040
- All 12 arc42 chapters. Mark chapters with no content as
4141
"No information from Phase 1" rather than fabricating content.
42+
- Chapter 10 (Quality Requirements) is an exception: synthesize it
43+
from the [ANSWERED] Q4 quality scenarios plus the Q4.9 ranking. It
44+
is never just an [OPEN] pointer. Reuse evidence already in Q3.8 —
45+
Security scenarios cite the STRIDE T-IDs, Maintainability scenarios
46+
the test concept. Only the goal ranking stays [OPEN]; "No
47+
information" is legitimate here only if Q4 produced no answered
48+
scenario at all.
4249
- Source: Q3 branch of QUESTION_TREE.adoc
4350
- Anchor: arc42 (Starke / Hruschka)
4451

skill/socratic-code-theory-recovery/references/arc42.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ arc42 is a 12-chapter template for documenting software architecture (Gernot Sta
1515
| Q3.7 | Deployment View | Which hardware/infrastructure runs the system? Deployment topology, environments, mapping building blocks to infrastructure. |
1616
| Q3.8 | Crosscutting Concepts | Domain models, architecture/design patterns used, persistence, UI, communication, plausibility checks, exception/error handling, logging, security, internationalisation, configurability? |
1717
| Q3.9 | Architecture Decisions | Why was each significant decision made? Each becomes a Nygard ADR — see [nygard-adrs.md](nygard-adrs.md). |
18-
| Q3.10 | Quality Requirements | Quality tree, quality scenarios (when/where/who/measurement). Connects to Q4 (ISO 25010). |
18+
| Q3.10 | Quality Requirements | Quality tree and quality scenarios. Synthesized from the `[ANSWERED]` Q4 scenarios plus the `Q4.9` ranking — never just an `[OPEN]` pointer. The Q4 branch derives the scenarios; see [iso-25010.md](iso-25010.md). |
1919
| Q3.11 | Risks and Technical Debt | Known technical risks, debt items, and their mitigation status. Overlaps with Q5. |
2020
| Q3.12 | Glossary | Domain terminology — terms the team uses with project-specific meaning. |
2121

0 commit comments

Comments
 (0)