Parcourir la source

Record Spec Driven Development chapters 7-9 progress

master
Daniel Covington il y a 1 jour
Parent
révision
45dde9ec1c
7 fichiers modifiés avec 179 ajouts et 18 suppressions
  1. +3
    -3
      MEMORY.md
  2. +25
    -3
      library/Spec Driven Development/Chapter-07-The-Scope-of-a-Spec-How-Much-Fits-in-One-Specification/Chapter-07-chapter-notes.md
  3. +12
    -12
      library/Spec Driven Development/Chapter-07-The-Scope-of-a-Spec-How-Much-Fits-in-One-Specification/Chapter-07-memory.md
  4. +42
    -0
      library/Spec Driven Development/Chapter-08-Hands-on-the-SDD-tools/Chapter-08-chapter-notes.md
  5. +35
    -0
      library/Spec Driven Development/Chapter-08-Hands-on-the-SDD-tools/Chapter-08-memory.md
  6. +26
    -0
      library/Spec Driven Development/Chapter-09-speckit-constitution-the-rules-before-the-first-move/Chapter-09-chapter-notes.md
  7. +36
    -0
      library/Spec Driven Development/Chapter-09-speckit-constitution-the-rules-before-the-first-move/Chapter-09-memory.md

+ 3
- 3
MEMORY.md Voir le fichier

@@ -3,12 +3,12 @@ Status board only. Details live in each chapter's `memory.md`; read the one list

## Spec Driven Development — J.C. Ködel
- **Status**: In Progress
- **Current Position**: Chapter 7 of 26 previewed — awaiting reading
- **Current Chapter Memory**: /library/Spec Driven Development/Chapter-07-The-Scope-of-a-Spec-How-Much-Fits-in-One-Specification/Chapter-07-memory.md
- **Current Position**: Chapter 9 of 26 previewed — awaiting reading
- **Current Chapter Memory**: /library/Spec Driven Development/Chapter-09-speckit-constitution-the-rules-before-the-first-move/Chapter-09-memory.md
- **Folder**: /library/Spec Driven Development/
- **Source File**: /library/Spec Driven Development/source-file.pdf
- **Structure**: /library/Spec Driven Development/book-structure.md (26 top-level sections; the unnumbered author intro is Chapter 1 here, the book's section 0 is Chapter 2)
- **Last Updated**: 2026-10-01
- **Last Updated**: 2026-10-02

## Context Engineering: Engineering Information for AI Systems — J.C. Ködel
- **Status**: In Progress


+ 25
- 3
library/Spec Driven Development/Chapter-07-The-Scope-of-a-Spec-How-Much-Fits-in-One-Specification/Chapter-07-chapter-notes.md Voir le fichier

@@ -1,6 +1,6 @@
# Spec Driven Development — Chapter 07: 2c - The Scope of a Spec: How Much Fits in One Specification
- **Date Created**: 2026-10-01
- **Status**: In Progress — preview prepared; awaiting reading
- **Status**: Complete
- **Reading Span**: PDF pages 57–63

---
@@ -18,9 +18,31 @@
---

## 2. Reading Review & Reflections
Pending reading.
- **Prompt Questions**:
1. What tests does Ködel use to decide whether a capability fits one spec?
2. Why pair complete/reopen but separate create/delete, and how would you split a larger feature into usable increments?
3. In which situation would you skip or defer a spec, and what would make you revisit that choice?
- **User's Answers**:
1. "Can you state it in one sentence, with no 'and' in the middle? If you shipped only this, could anyone use it? Can you read the whole spec and disagree with it in ten minutes?"
2. "hey stayed together because they are the same capability seen from both sides: the same state field, the same transition rule, and one without the other leaves the person stuck. A task that gets completed and never comes back is a task you cannot have checked off by mistake. The pair is the capability; each half alone is half a feature."
3. "if its a one off script . I would reconsider if I was going to keep using the script or others needed it"
- **Scaffolding & Feedback**: All three sizing checks identified. Complete/reopen reasoning is sound; the no-"and" test is a heuristic, since reciprocal actions can comprise one capability. A one-off script fits the author's exception; continued or shared use makes a spec worth considering. Asked for an applied split because create/delete separation and vertical slicing remain unanswered.
- **Follow-up Question**: A teammate proposes separate database, backend, and UI specs for a To-Do app. What would the first user-usable spec include, and where would deletion belong?
- **User's Follow-up Answer**: "I think I would work on the ui specs"
- **Follow-up Feedback**: A UI-only spec is a technical layer, not a usable capability. The first spec should let someone create a task and see it later, crossing UI, behavior, and storage as needed. Deletion can have its own later spec: creation works without it, while deletion introduces confirmation before an irreversible action (PDF pp. 59–60).
- **Check for Understanding**: In your own words, what can someone do after the first To-Do spec ships?
- **User's Further Answer**: "I think I would work on the ui specs"; then "then spec out the delete"
- **Final Feedback**: Deletion as a later, separate spec is right. Starting implementation with the UI is a possible work order, but the first *spec* must promise a complete user action: add a task and see it in the list later. That includes the necessary UI, behavior, and storage. The repeated UI answer suggests the difference between spec scope and implementation order should be revisited in a real example.

---

## 3. Chapter Synthesis
Pending post-reading review.
- **Core Thesis**: One spec should cover one usable capability that a person can review as a whole before approving its implementation.
- **Key Concepts / Mental Models**:
- **One-lap scope**: Ask whether the behavior is one coherent capability, useful if shipped alone, and reviewable in roughly ten minutes. The sentence-without-"and" check is a heuristic: create/list and complete/reopen each form a coherent capability despite containing two verbs (PDF pp. 57–59).
- **Complete path**: Split a large feature into small increments that each work through the necessary UI, behavior, and storage. A spec for only one technical layer leaves no new action for the user to exercise (PDF pp. 59–60).
- **Boundary check**: A split is suspect if one part cannot be demonstrated, two parts depend on each other in both directions, or the same rule appears in both specs (PDF pp. 60–61).
- **Scope by behavior**: Complete/reopen share one state transition and belong together. Create/list works before deletion exists; deletion adds distinct rules, including confirmation before an irreversible effect (PDF pp. 58–59).
- **Notable Arguments & Evidence**: The To-Do example progresses through create/list, complete/reopen, filter, delete, and edit; each adds something a person can use and check. Ködel argues that specs can be wasteful for throwaway scripts, genuine exploration, known one-off fixes, and expiring proofs of concept; a surviving prototype or repeated fix changes that calculation (PDF pp. 60–62). The ten-minute review threshold and cost claims are practical heuristics illustrated by the To-Do example, not measured results presented in this chapter.
- **Updates to Prior Understanding**: Chapters 5 and 6 addressed what belongs in a spec and how to phrase requirements. Chapter 7 adds the boundary of the document: a reviewable user capability, not a UI, database, or code module. Its architectural boundary questions are deferred to *FOCUS Architecture* (PDF p. 61).
- **Weekly Action Item**: Pick one small task-app change. Write the user action it enables in one sentence, check whether it works alone and can be reviewed in ten minutes, then include every layer needed to demonstrate that action in the same spec.

+ 12
- 12
library/Spec Driven Development/Chapter-07-The-Scope-of-a-Spec-How-Much-Fits-in-One-Specification/Chapter-07-memory.md Voir le fichier

@@ -1,10 +1,10 @@
# Spec Driven Development — Chapter 07 Memory: 2c - The Scope of a Spec: How Much Fits in One Specification
- **Stage**: Previewed — awaiting reading
- **Next Step**: Wait for the reader to finish PDF pages 57–63; then ask 2–3 open-ended recall questions before synthesis.
- **Stage**: Complete
- **Next Step**: Preview Chapter 8, "Hands on: the SDD tools," when the reader is ready.
- **Reading Span**: PDF pages 57–63
- **Source Text**: /library/Spec Driven Development/Chapter-07-The-Scope-of-a-Spec-How-Much-Fits-in-One-Specification/Chapter-07-source-text.md (read instead of PDF when needed)
- **Full Record**: /library/Spec Driven Development/Chapter-07-The-Scope-of-a-Spec-How-Much-Fits-in-One-Specification/Chapter-07-chapter-notes.md (read only if needed)
- **Last Updated**: 2026-10-01
- **Last Updated**: 2026-10-02

## Carried-in Context (from earlier chapters)
- Ch1: Ködel's experience motivates the method but does not prove broad effectiveness; reader wants to test it.
@@ -18,18 +18,18 @@
## This Chapter
- **Core Question**: How much work should one specification cover so it can be reviewed and its result checked as a useful piece of software?
- **Watch-For Themes**: Unit of a spec; reviewability; complete/reopen versus create/delete; splitting by usable behavior versus layers; cases where SDD overhead may not pay off.
- **Core Thesis**: Pending post-reading review.
- **Key Concepts**: Pending post-reading review.
- **Notable Arguments / Evidence Limits**: Pending post-reading review.
- **Action Item**: Pending post-reading review.
- **Core Thesis**: One spec covers one usable capability that can be reviewed in one sitting before implementation.
- **Key Concepts**: One-lap scope; complete user path across needed layers; reciprocal actions may form one capability; split diagnostics: demonstrability, mutual dependency, duplicated rule.
- **Notable Arguments / Evidence Limits**: To-Do sequence: create/list, complete/reopen, filter, delete, edit (pp. 58–60). Skip or defer for throwaways, exploration, known one-off fixes, expiring prototypes (pp. 61–62). Ten-minute review and cost claims are heuristics, not measured here.
- **Action Item**: Choose a small task-app change; state its usable result, apply the three scope checks, and keep needed UI, behavior, and storage in one spec.

## Reader State
- **Pending Questions**: None; reading pending.
- **Reader's Answers (paraphrase)**: None for this chapter.
- **Misconceptions / Feedback Given**: None for this chapter.
- **Personal Threads**: Reader may try a small task-text spec; no Chapter 7 application selected.
- **Pending Questions**: None; review complete.
- **Reader's Answers (paraphrase)**: Named all three scope checks; explained complete/reopen correctly; would revisit a one-off script if retained or shared. Proposed UI specs first, then a separate delete spec.
- **Misconceptions / Feedback Given**: Clarified no-"and" as a heuristic and distinguished implementation order from spec scope. A UI-only spec lacks a complete user action; first To-Do spec is create/list across needed layers. Deletion later is correct. The layer-vs-capability distinction may need a concrete future example.
- **Personal Threads**: Reader may try a small task-text spec; raised continued or shared use of a script as a reason to reconsider one-off status.

## Open Threads
- Which boundary would make a real feature reviewable while leaving a usable result?
- Check the layer-vs-capability distinction with a concrete reader-owned feature in a later chapter.
- What evidence would show SDD overhead pays off or does not in the reader's work?
- Revisit edit-task self-comparison only if it helps the reader understand a later example.

+ 42
- 0
library/Spec Driven Development/Chapter-08-Hands-on-the-SDD-tools/Chapter-08-chapter-notes.md Voir le fichier

@@ -0,0 +1,42 @@
# Spec Driven Development — Chapter 08: 3 - Hands on: the SDD tools
- **Date Created**: 2026-10-02
- **Status**: Complete
- **Reading Span**: PDF pages 64–75

---

## 1. Pre-Reading Briefing
- **Core Question**: How do SDD tools turn the same specify-plan-tasks-implement cycle into a working project process, and what makes one tool a good fit for this example?
- **Key Points to Watch For**:
- Identify the unit of work each tool uses and the sequence of commands or artifacts it asks you to follow.
- Compare the amount of governance and ceremony each tool adds; notice which project conditions make that weight useful.
- Notice why one workflow places a project-wide step before the first feature spec.
- Separate installation and initialization from actually running a feature through the cycle. What exists after setup, and what still awaits a command?
- Connect each tool's work unit to Chapter 7's test: can the resulting feature be demonstrated and reviewed as a usable capability?
- **Context & Thread from Prior Chapters**: Chapters 5–7 established the parts, wording, and scope of a spec. Chapter 7 left a useful distinction to test here: you may implement the UI first, while the spec still promises an end-to-end user action. Watch whether each tool's folders and commands clarify that distinction or blur it.

---

## 2. Reading Review & Reflections
- **Prompt Questions**:
1. What unit of work does spec-kit, OpenSpec, and BMAD use, and when might each approach fit?
2. Why does Ködel choose spec-kit for this book, and what job does its constitution do?
3. After project initialization, what has been created and what still needs to happen before someone can use the To-Do app?
- **User's Answers**:
1. "one feature at a time . One change at a time, epics and storis"
2. "he uses it, it has direct mappinf vocabulary, its not the simlesest or the most broad"
3. "we have to make the constition"
- **Scaffolding & Feedback**: Correctly recalled the three work units and all three reasons for the book's spec-kit choice: the author's use, direct vocabulary mapping, and its intermediate amount of structure. Added the missing fit: OpenSpec is presented as light for small changes to an existing codebase; BMAD as deep planning for large coordinated projects; spec-kit as the book's structured middle option. Clarified that a constitution sets project-wide decision rules before feature work. Initialization creates scaffolding and an empty constitution file, not a working app; the feature still passes through specify, plan, tasks, implement, and validation (PDF pp. 65–74).

---

## 3. Chapter Synthesis
- **Core Thesis**: SDD tools package the same core cycle in different units, commands, and levels of structure; the appropriate choice depends on the project's needs.
- **Key Concepts / Mental Models**:
- **Unit of work**: spec-kit organizes a feature, OpenSpec a change proposal, and BMAD epics and stories. Compare the unit and workflow before comparing command names (PDF pp. 65–66).
- **Tool fit**: The book presents spec-kit as a structured middle option, OpenSpec as lighter for incremental changes, and BMAD as heavier planning for large coordinated work (PDF pp. 67–71).
- **Constitution**: In spec-kit, project-wide principles constrain later decisions before the first feature specification (PDF p. 67).
- **Initialization versus delivery**: `specify init` creates scaffolding and an empty constitution; it creates no To-Do behavior. A usable feature still requires the later cycle and validation (PDF pp. 71–74).
- **Notable Arguments & Evidence**: Ködel selects spec-kit because he uses it in software work, its commands map directly to the book's cycle, and its structure sits between OpenSpec and BMAD. These are experience-based and teaching-fit reasons, not a controlled comparison. Tool descriptions and commands reflect the book's June 2026 documentation check; verify current details in official documentation before using them (PDF pp. 70–75).
- **Updates to Prior Understanding**: Chapter 7's feature boundary remains a user-usable capability. A tool's folders, roles, and commands organize the work around that boundary; they do not make an initialized project a usable app.
- **Weekly Action Item**: For a small feature such as create-and-list tasks, write the user-visible result in one sentence, then mark what the project setup, constitution, spec, plan, task list, and implementation would each contribute. Stop at the outline; check the current official tool documentation before a real setup.

+ 35
- 0
library/Spec Driven Development/Chapter-08-Hands-on-the-SDD-tools/Chapter-08-memory.md Voir le fichier

@@ -0,0 +1,35 @@
# Spec Driven Development — Chapter 08 Memory: 3 - Hands on: the SDD tools
- **Stage**: Complete
- **Next Step**: Preview Chapter 9, "spec-kit constitution: the rules before the first move," when the reader is ready.
- **Reading Span**: PDF pages 64–75
- **Source Text**: /library/Spec Driven Development/Chapter-08-Hands-on-the-SDD-tools/Chapter-08-source-text.md (read instead of PDF when needed)
- **Full Record**: /library/Spec Driven Development/Chapter-08-Hands-on-the-SDD-tools/Chapter-08-chapter-notes.md (create at preview)
- **Last Updated**: 2026-10-02

## Carried-in Context (from earlier chapters)
- Ch1: Author experience motivates SDD but does not establish broad effectiveness; reader wants to test the method.
- Ch2: A spec sets a target for judging AI output; people still decide and review. The 70/30 split is illustrative.
- Ch3: SDD addresses what/why, FOCUS Architecture where rules live, and Context Engineering what the agent sees. Reader expects cross-references to explain needed ideas in place.
- Ch4: Short feedback cycles and cheap AI code rewrites are claimed without project-level change-cost data; reader said revised code must be tested against the spec.
- Ch5: A spec records purpose, scope, behavior, criteria, and edges; technical choices belong in the plan. Precise terms matter (non-space vs. non-whitespace).
- Ch6: EARS, Given/When/Then, Design by Contract, and ATDD sharpen requirements. Edit-task self-comparison defect remained a learning point.
- Ch7: One spec = one usable capability, reviewable in one sitting. Split by complete path through needed layers. Reader knows the three scope checks and why complete/reopen pair; proposed UI specs first, so revisit spec scope vs. implementation order with a concrete example. Delete later as a separate spec was understood.
- Open cross-book thread: maintenance and information structure in FOCUS Architecture and Context Engineering; stand-alone cross-reference promise remains under observation.

## This Chapter
- **Core Question**: How do SDD tools turn the same specify-plan-tasks-implement cycle into a working project process, and what makes one tool a good fit for this example?
- **Watch-For Themes**: Unit of work and command sequence for each tool; tradeoffs in governance and ceremony; why one tool adds a step before specifying; what initialization creates versus what remains for later chapters; how a tool's unit of work relates to Chapter 7's usable-capability boundary.
- **Core Thesis**: SDD tools package the same cycle in different work units, commands, and levels of structure; choose for project fit.
- **Key Concepts**: spec-kit=feature; OpenSpec=change; BMAD=epic/story. Constitution sets project-wide principles. Init creates scaffolding, not usable behavior.
- **Notable Arguments / Evidence Limits**: Author chooses spec-kit for personal use, direct cycle vocabulary, and middle structure (pp. 70–71); comparison is experiential, not controlled. Tool details checked June 2026, so current setup needs official-doc verification.
- **Action Item**: Map one small usable feature through setup, constitution, spec, plan, tasks, implementation, and validation before running a tool.

## Reader State
- **Pending Questions**: None; review complete.
- **Reader's Answers (paraphrase)**: Correctly named all three units and the author's three selection reasons; said constitution must be made after init. Did not state tool fit, constitution's purpose, or that init only creates scaffolding.
- **Misconceptions / Feedback Given**: Filled those omissions with project-fit examples, constitution as project-wide guardrail, and the distinction between setup files and a usable feature. Reinforced Chapter 7's capability boundary.
- **Personal Threads**: Reader may try a small task-text spec; during review, use a concrete feature to reinforce capability vs. layer and distinguish a tool's artifact structure from the feature boundary.

## Open Threads
- What evidence would show SDD overhead pays off in the reader's work?
- Check whether Chapter 9 makes the constitution concrete without requiring another book.

+ 26
- 0
library/Spec Driven Development/Chapter-09-speckit-constitution-the-rules-before-the-first-move/Chapter-09-chapter-notes.md Voir le fichier

@@ -0,0 +1,26 @@
# Spec Driven Development — Chapter 09: 4 - speckit constitution: the rules before the first move
- **Date Created**: 2026-10-02
- **Status**: In Progress — preview prepared; awaiting reading
- **Reading Span**: PDF pages 76–92

---

## 1. Pre-Reading Briefing
- **Core Question**: Why does spec-kit ask for project-wide rules before the first feature spec, and how should those rules be chosen and checked?
- **Key Points to Watch For**:
- Track the boundary between a lasting project rule, a feature's behavior, and a technology choice. Where would each belong in the workflow?
- Notice how the author turns a broad preference into a rule that someone can apply and defend. Pay attention to the reason given for each rule.
- Read the To-Do example critically: which rules serve a small personal app, and which might be more structure than it needs?
- See how the generated constitution is reviewed, corrected, and changed over time. What would make you reject its first draft?
- Examine the advice to clear chat context between steps. What information must the written artifacts preserve for the next step to work?
- **Context & Thread from Prior Chapters**: Chapter 8 ended with an initialized project and an empty constitution file; no feature exists yet. Chapter 7 defined a spec by the usable action it delivers. This chapter asks what rules should apply to every such feature, even when the implementation work begins in a particular layer.

---

## 2. Reading Review & Reflections
Pending reading.

---

## 3. Chapter Synthesis
Pending post-reading review.

+ 36
- 0
library/Spec Driven Development/Chapter-09-speckit-constitution-the-rules-before-the-first-move/Chapter-09-memory.md Voir le fichier

@@ -0,0 +1,36 @@
# Spec Driven Development — Chapter 09 Memory: 4 - speckit constitution: the rules before the first move
- **Stage**: Previewed — awaiting reading
- **Next Step**: Wait for the reader to finish PDF pages 76–92; then ask 2–3 open-ended recall questions before synthesis.
- **Reading Span**: PDF pages 76–92
- **Source Text**: /library/Spec Driven Development/Chapter-09-speckit-constitution-the-rules-before-the-first-move/Chapter-09-source-text.md (read instead of PDF when needed)
- **Full Record**: /library/Spec Driven Development/Chapter-09-speckit-constitution-the-rules-before-the-first-move/Chapter-09-chapter-notes.md (create at preview)
- **Last Updated**: 2026-10-02

## Carried-in Context (from earlier chapters)
- Ch1: Author experience motivates SDD but does not establish broad effectiveness; reader wants to test the method.
- Ch2: A spec sets a target for judging AI output; people still decide and review. The 70/30 split is illustrative.
- Ch3: SDD addresses what/why, FOCUS Architecture where rules live, and Context Engineering what the agent sees. Reader expects needed cross-references to be explained in place.
- Ch4: Short feedback cycles and cheap AI code rewrites are claimed without project-level change-cost data; reader said revised code must be tested against the spec.
- Ch5: A spec records purpose, scope, behavior, criteria, and edges; technical choices belong in the plan. Precise terms matter (non-space vs. non-whitespace).
- Ch6: EARS, Given/When/Then, Design by Contract, and ATDD sharpen requirements. Edit-task self-comparison defect remained a learning point.
- Ch7: One spec = one usable capability, reviewable in one sitting and spanning needed layers. Reader understood complete/reopen and delete as a later spec, but proposed UI specs first; revisit spec scope vs. implementation order with a real example.
- Ch8: Tools package the same cycle: spec-kit feature, OpenSpec change, BMAD epic/story. Author chose spec-kit for personal use, matching vocabulary, and moderate structure. Reader recalled these, but needed clarification that init creates scaffolding only and constitution governs project-wide decisions.
- Open cross-book thread: maintenance and information structure in FOCUS Architecture and Context Engineering; stand-alone cross-reference promise remains under observation.

## This Chapter
- **Core Question**: Why does spec-kit ask for project-wide rules before the first feature spec, and how should those rules be chosen and checked?
- **Watch-For Themes**: Boundary between lasting project rules, feature behavior, and technology choices; what makes a principle enforceable and justified; whether the To-Do's rules suit its small scope; how to review and amend the generated constitution; what the author expects files to preserve when chat context is cleared.
- **Core Thesis**: Pending review.
- **Key Concepts**: Pending review.
- **Notable Arguments / Evidence Limits**: Pending review.
- **Action Item**: Pending review.

## Reader State
- **Pending Questions**: None; reading pending.
- **Reader's Answers (paraphrase)**: None for this chapter.
- **Misconceptions / Feedback Given**: None for this chapter.
- **Personal Threads**: Reader may try a small task-text spec; use a concrete feature to reinforce capability vs. layer. Test whether Chapter 9's project-wide rules make sense for that small example.

## Open Threads
- What evidence would show SDD overhead pays off in the reader's work?
- Check whether the constitution guidance is concrete enough without requiring another book.

Chargement…
Annuler
Enregistrer

Powered by TurnKey Linux.