Reading: Appendix A. Bridges to the first volume

Lesson 1 of 5 in module «Appendix A. Bridges to the first volume»
You are viewing the lesson without signing in. Sign in to save progress and take tests.

Appendix A. Bridges to the First Volume

The applied volume builds on the material from the first volume. This appendix gathers all the bridges in one place: which parts of the first volume are considered prerequisites, how our SDD dialect relates to Spec Kit and Kiro, and how the production scenarios of the second volume grow out of the educational AgentClinic project.

If anything from the list is unfamiliar, first go through the corresponding part of the first volume; otherwise many chapters of the second volume will seem like a pile of terms.

Before chapter 1, read part 0. It translates the basic AgentClinic into an educational production model and fixes the minimum path: which artifacts are filled in manually, which examples run locally, and which blocks belong only to the full deployment track.

The minimum without which the second volume cannot be read

What you need to understandWhere it is introduced in the first volume
Structure of mission.md, tech-stack.md, roadmap.mdPart 6. Creating the Constitution
Format of requirements.md, plan.md, validation.mdPart 7. Feature Specification
Merge acceptance facts, EARS, Given/When/ThenPart 9. Feature Validation: From Specifications to Facts
Replanning and updating the roadmapPart 10. Project Replanning
Legacy codebase support and spec archaeologyPart 13. Supporting an Existing Project
Agent replaceability, references to ACP/AGENTS.mdPart 15. Agent Replaceability
Team review and evidence bundlePart 16. Teamwork and Code Review
Qwen Code hooks, PreToolUse and PostToolUsePart 17. Qwen Code Hooks
SDD antipatternsPart 20. SDD Antipatterns
Practical capstone as a check of the whole processPart 22. Practical Capstone

SDD Dialects: Spec Kit, Kiro, the Author's Textbook Dialect

The applied volume uses the same author's dialect as the first volume. A detailed comparison with GitHub Spec Kit and AWS Kiro is given in Appendix A of the first volume: a table of artifact correspondence, recommendations for transferring the process, and limitations of each format.

If the team already works in Spec Kit or Kiro, read the chapters of the second volume while mentally renaming requirements.md → /speckit.specify, plan.md → /speckit.plan + /speckit.tasks, validation.md → /speckit.analyze + checklists. The chapters are not rigidly tied to the format: their ideas transfer between dialects without loss of meaning.

AgentClinic Domain Map

The production scenarios of the second volume are mentally deployed on the educational AgentClinic project from the first volume. A full description of the domain entities — patient agents, ailments, therapies, appointments, reviews, feedback — is collected in Appendix B of the first volume.

The second volume does not require the result of the first volume to already work in real production infrastructure. All external systems in the chapters are educational sources of events and constraints. They are needed to show how the same SDD cycle behaves under the risk of rollback, escalation, metrics, and model budgets.

When production entities appear in the second volume (appointments-api, node_not_ready, appointment_latency, appointment_latency_spike, high_memory_usage, autoscale_200pct, cdn_error_budget_burn, rate_limit_breach), they are tied to AgentClinic as follows. For the capstone path, use high_memory_usage as the main case; the other rows help you understand the local runnable examples and do not require a separate evidence bundle.

Educational code from the first volumeDerived production scenario in the second volume
Route GET / (Hello Hono, part 7)node_not_ready: replicas fail to respond to the health check
Agents page on Hono JSX (part 11)appointment_latency / appointment_latency_spike: latency of the /agents route
SQLite + review migrations (part 12)high_memory_usage: spike in reads after deployment
Feedback form (part 12)rate_limit_breach: stream of identical POST requests
MVP phase (part 12)autoscale_200pct: sudden surge in load
Agent journal (part 11)cdn_error_budget_burn: discrepancy in dashboard metrics
Clinic operator's tone (part 6)shadow specifications from informal signals

The README of the applied volume provides a short reading map and a link to this appendix. The full domain table lives here so that when reading any chapter of the second volume, you can quickly recall which educational code corresponds to the production symptom.

What the Second Volume Added on Top

LayerWhere it is discussed in the second volume
AgentClinic-production lab framework and minimum pathPart 0. AgentClinic-production Lab
Restoring specifications from the traces of a legacy systemPart 1. Spec Archaeology from Legacy
Controlled defects in the specificationPart 2. Diagnosing Specification Defects
Production constitution with immutable and mutable layersPart 3. Project Constitution
Adversarial validation between rolesPart 4. LLM Duel
Mutation testing of specificationsPart 5. Mutation Testing of Specifications
Formalization of implicit heuristicsPart 6. Shadow Specification Selection
Specification gateway as a mandatory gatePart 7. Specification CI
File-based arbitration of a disputed changePart 8. File-Based Arbitration of a Disputed Change
Model routing and tiered budgetsPart 9. Tier Budgets
Paired sentinel anti-Goodhart metricsPart 10. Protecting Metrics from Goodhart
Production API integration and auto-remediationPart 11. Production API
Diagnostic map of applied-cycle antipatternsPart 12. Production SDD Antipatterns
Final production capstone and evidence bundlePart 13. Practical Capstone

The table above is the bridge that turns an abstract production scenario into a continuation of the educational project. In some chapters of the second volume (for example, in part 12 — production SDD antipatterns), references to the first volume are also placed in a separate block at the bottom; in the other chapters, they are woven into the text at the point of discussion.

My notes
0 / 10000

Notes are saved in this browser. They will not appear on another device.

Course menu

Course

Using SDD in Development for Qwen Code CLI. Applied Course
Progress 0 / 95