@ggdna/dna-plan 1.2.0 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -6,8 +6,9 @@ repo and the seven layers of product design.
6
6
  ## What it ships
7
7
 
8
8
  - `doc/guides/pm-repo-guide.md` — how a project management (PM) repo is
9
- structured; how goals and requirements are kept across quarters; and how
10
- tickets and quarters are planned in it. `dna_gg`'s ticket workflow reads
9
+ structured — everything planned lives in one folder per quarter, and
10
+ what still holds is copied into the next one; and how tickets and
11
+ quarters are planned in it. `dna_gg`'s ticket workflow reads
11
12
  it when present
12
13
  - `doc/guides/requirements-guide.md` — how the requirements are engineered
13
14
  together with the user, before any ticket
@@ -17,7 +18,7 @@ repo and the seven layers of product design.
17
18
  offer a time plan; it lands in the managed block of the project's
18
19
  `CLAUDE.md` next to the ones of the other layers (helix 1.13 or newer)
19
20
  - `doc/guides/report-guide.md` — how each person gets a quarterly report
20
- in `doc/reports`, with points to tick once they are communicated
21
+ in `doc/<yyyy>-Q<n>/reports`, with points to tick once they are communicated
21
22
  - `doc/guides/jira-export-guide.md` — how the next tickets of one person,
22
23
  one sprint's worth, are exported as a CSV file for Jira
23
24
  - Skills: `/gg-plan-intro` lists the planning skills and names the next
@@ -27,8 +28,9 @@ repo and the seven layers of product design.
27
28
 
28
29
  A PM repo is written in English; with the `dna_translate` layer it keeps a
29
30
  German copy of every file under `doc/de`. The team — people, their areas
30
- and roles — lives in `doc/team`. The prompts the people write to Claude
31
- Code are kept on the branch `prompts` under `doc/prompts`; the hook that
31
+ and roles — lives in `doc/<yyyy>-Q<n>/team`. The prompts the people write
32
+ to Claude Code are kept on the branch `prompts` under
33
+ `doc/<yyyy>-Q<n>/prompts`; the hook that
32
34
  writes them comes from [dna_gg](https://github.com/ggsuite/dna_gg), the
33
35
  guide says how they are filed.
34
36
 
package/dna/CLAUDE.md CHANGED
@@ -3,8 +3,12 @@
3
3
  Projects are planned in a project management repo; its structure and the
4
4
  planning rules are in `doc/guides/pm-repo-guide.md`. When you plan in one:
5
5
 
6
- - Engineer the requirements before the tickets. If `doc/requirements` is
7
- empty or no accepted requirement covers the work, run
6
+ - Everything planned lives in the current quarter folder
7
+ `doc/<yyyy>-Q<n>`, the newest one; never write next to the quarter
8
+ folders and never change an older quarter. Start the folder of a new
9
+ quarter first, copying what still holds, as the guide says
10
+ - Engineer the requirements before the tickets. If the requirements of the
11
+ current quarter are empty or no accepted requirement covers the work, run
8
12
  `/gg-plan-requirements` with the user first, and plan or create tickets
9
13
  only after that
10
14
  - Engineer requirements interactively: one question at a time, with
@@ -12,14 +16,17 @@ planning rules are in `doc/guides/pm-repo-guide.md`. When you plan in one:
12
16
  requirement the user has not confirmed
13
17
  - When the user names a target date or asks how long the work takes,
14
18
  offer `/gg-plan-schedule`: it cuts the requirements into tickets, estimates
15
- them and draws the plan as a Gantt chart in `doc/schedule.md`
19
+ them and draws the plan as a Gantt chart in `schedule.md`
16
20
  - Write the PM repo in English. If it has
17
21
  `doc/guides/translate-guide.md`, keep a German copy of every file under
18
- `doc/de` and in `README.de.md`, and change both in the same commit
19
- - The people and their roles are in `doc/team`. When the user asks what to
20
- tell someone, offer `/gg-plan-report`; when they want tickets in Jira or
21
- plan the next sprint of a person, offer `/gg-plan-jira-export`
22
+ `doc/de/<yyyy>-Q<n>` and in `README.de.md`, and change both in the same
23
+ commit
24
+ - The people and their roles are in `team` of the current quarter. When
25
+ the user asks what to tell someone, offer `/gg-plan-report`; when they
26
+ want tickets in Jira or plan the next sprint of a person, offer
27
+ `/gg-plan-jira-export`
22
28
  - The prompts of the people are kept on the branch `prompts` under
23
- `doc/prompts`. Never edit them and never merge that branch into main
29
+ `doc/<yyyy>-Q<n>/prompts`. Never edit them and never merge that branch
30
+ into main
24
31
 
25
32
  `/gg-plan-intro` lists the planning skills and says which one comes next.
@@ -15,7 +15,7 @@
15
15
  "ecosystem": null,
16
16
  "resolvedVersion": null,
17
17
  "via": null,
18
- "hash": "0x659fd5ea14087aed"
18
+ "hash": "0xa2af6f1178980d2e"
19
19
  }
20
20
  ],
21
21
  "claude": {
@@ -27,47 +27,47 @@
27
27
  "instances": [
28
28
  {
29
29
  "path": ".claude/CLAUDE_dna_plan.md",
30
- "hash": "0xacc338ff5279c9cd"
30
+ "hash": "0x37b8e6e6a007cbbb"
31
31
  },
32
32
  {
33
33
  "path": ".claude/skills/gg-plan-intro/SKILL.md",
34
- "hash": "0x46a35e27e503c73f"
34
+ "hash": "0xb0c85b3b1b19481d"
35
35
  },
36
36
  {
37
37
  "path": ".claude/skills/gg-plan-jira-export/SKILL.md",
38
- "hash": "0x9c87e9734944e899"
38
+ "hash": "0x76f3576589371dbf"
39
39
  },
40
40
  {
41
41
  "path": ".claude/skills/gg-plan-report/SKILL.md",
42
- "hash": "0xa8aef22c24f39cee"
42
+ "hash": "0xf382db9aa2788919"
43
43
  },
44
44
  {
45
45
  "path": ".claude/skills/gg-plan-requirements/SKILL.md",
46
- "hash": "0x60b17bb8e4d45d84"
46
+ "hash": "0x7d8b3925649e33f6"
47
47
  },
48
48
  {
49
49
  "path": ".claude/skills/gg-plan-schedule/SKILL.md",
50
- "hash": "0xd657b728367ec670"
50
+ "hash": "0xc1e4d3241259e21f"
51
51
  },
52
52
  {
53
53
  "path": "doc/guides/jira-export-guide.md",
54
- "hash": "0x2e73883514cacb6a"
54
+ "hash": "0x11640767b50768fe"
55
55
  },
56
56
  {
57
57
  "path": "doc/guides/pm-repo-guide.md",
58
- "hash": "0x9e79a22ab17e74e0"
58
+ "hash": "0x254bd2c4b688bf9d"
59
59
  },
60
60
  {
61
61
  "path": "doc/guides/report-guide.md",
62
- "hash": "0x4447bb29454bdab4"
62
+ "hash": "0xb70d317b3545e4d2"
63
63
  },
64
64
  {
65
65
  "path": "doc/guides/requirements-guide.md",
66
- "hash": "0x61a5b7f629047b63"
66
+ "hash": "0xd5c8839dc3a913a1"
67
67
  },
68
68
  {
69
69
  "path": "doc/guides/schedule-guide.md",
70
- "hash": "0xa7819093c5db1df9"
70
+ "hash": "0xd9b6da41ba2aa277"
71
71
  }
72
72
  ]
73
73
  }
@@ -13,12 +13,15 @@ file that Jira imports: one sprint's worth, in the order of the plan.
13
13
 
14
14
  ## Know what the export is
15
15
 
16
- - One CSV file per export: `doc/exports/<yyyy>-<mm>-<dd>-<name>-sprint.csv`,
17
- `<name>` is the first name in lower case kebab case
16
+ - One CSV file per export:
17
+ `doc/<quarter>/exports/<yyyy>-<mm>-<dd>-<name>-sprint.csv`, `<name>` is
18
+ the first name in lower case kebab case, `<quarter>` the current
19
+ quarter folder `<yyyy>-Q<n>`
18
20
  - It holds only tickets that are not in Jira yet, see below
19
21
  - It assigns tickets at export time only: who works on a ticket is never
20
22
  written into the ticket file
21
- - It needs the team: without `doc/team/people.md`, set it up with the
23
+ - It needs the team: without `team/people.md` in the current quarter,
24
+ set it up with the
22
25
  user first, see the [PM repo guide](pm-repo-guide.md#know-the-team)
23
26
  - The CSV is data: it is never translated
24
27
 
@@ -26,12 +29,12 @@ file that Jira imports: one sprint's worth, in the order of the plan.
26
29
 
27
30
  Ask one question at a time and propose a default each time:
28
31
 
29
- - Person — required; one of `doc/team/people.md`
30
- - Sprint length — default: the one in `doc/team/people.md`, else two weeks
32
+ - Person — required; one of `team/people.md`
33
+ - Sprint length — default: the one in `team/people.md`, else two weeks
31
34
  - Capacity — default: the sprint length times the person's days per week;
32
35
  minus holidays, vacations and other work the user names
33
36
  - Jira name of the person — default: the `Jira` field in
34
- `doc/team/people.md`; ask when it is missing. It is the user name on
37
+ `team/people.md`; ask when it is missing. It is the user name on
35
38
  Jira Data Center or Server, the Atlassian account ID on Jira Cloud: the
36
39
  long ID at the end of the profile URL. Never ask for an e-mail address
37
40
  - Jira — Data Center or Server, or Cloud; default: Data Center
@@ -40,7 +43,7 @@ Ask one question at a time and propose a default each time:
40
43
  - Priorities — the names the project offers; default: `High`, `Normal`
41
44
  and `Low`. Take the names exactly as Jira writes them, spaces included
42
45
  - Sprint — a sprint the issues go into, by its numeric ID; default: none
43
- - Hours per day — default: the one in `doc/team/people.md`, else 8
46
+ - Hours per day — default: the one in `team/people.md`, else 8
44
47
 
45
48
  If a Jira connection is available, e.g. the Atlassian MCP server, read
46
49
  the user names, issue types, priorities and sprints of the project from
@@ -48,22 +51,23 @@ it instead of asking for them.
48
51
 
49
52
  ## Find the open tickets
50
53
 
51
- - Take the ticket files in `doc/<quarter>/tickets` of all quarters and the
52
- planned tickets of `doc/schedule.md` that have no file yet
53
- - Leave out finished tickets: marked `done` in `doc/schedule.md`, or all
54
+ - Take the ticket files in `doc/<quarter>/tickets` of the current quarter
55
+ — open tickets move along into each new quarter — and the planned
56
+ tickets of its `schedule.md` that have no file yet
57
+ - Leave out finished tickets: marked `done` in `schedule.md`, or all
54
58
  their requirements are `done`
55
59
  - Leave out tickets that are in Jira already: their ID is a Jira key,
56
60
  letters, a dash and a number, e.g. `cdm-1317` in
57
61
  `2026-09-10-cdm-1317-infrastructure-discovery-server.md`. Numbers alone,
58
62
  e.g. `14`, are local IDs, not Jira keys
59
- - Order them as `doc/schedule.md` does; without a schedule, by what they
63
+ - Order them as `schedule.md` does; without a schedule, by what they
60
64
  wait for, then by the priority of their requirements: `must` before
61
65
  `should` before `could`
62
66
 
63
67
  ## Match the tickets to the person
64
68
 
65
69
  - Compare each open ticket with the areas of every person in
66
- `doc/team/people.md`: the repos it changes, the requirements and goals
70
+ `team/people.md`: the repos it changes, the requirements and goals
67
71
  it serves, the words of its goal and steps
68
72
  - Keep the tickets whose best match is the person; a ticket that matches
69
73
  several people equally goes to the person the user names
@@ -73,7 +77,7 @@ it instead of asking for them.
73
77
  ## Fill the sprint
74
78
 
75
79
  - Take each ticket's expected duration from the `Tickets` table of
76
- `doc/schedule.md`. Without one, estimate it as the
80
+ `schedule.md`. Without one, estimate it as the
77
81
  [schedule guide](schedule-guide.md#estimate-each-ticket) says and show
78
82
  the numbers first
79
83
  - Add the person's tickets in order until the next one does not fit the
@@ -111,7 +115,7 @@ Plan: {{doc/2026-Q4/tickets/2026-11-02-import-race-data.md}}"
111
115
  without a sprint
112
116
  - `Description` — the goal, the requirements by ID, the steps and the
113
117
  path of the plan file; without a plan file, the line of
114
- `doc/schedule.md`. Jira Data Center and Server render wiki markup:
118
+ `schedule.md`. Jira Data Center and Server render wiki markup:
115
119
  write list items as `* `, and put paths, file names and IDs with `_`
116
120
  or braces into `{{…}}`
117
121
  - Leave out `Issue Key`: with it Jira would update existing issues
@@ -142,5 +146,5 @@ back:
142
146
  title line: `# CDM-1800: Import race data`
143
147
  - A ticket that had no file gets one now, see the
144
148
  [PM repo guide](pm-repo-guide.md#write-the-ticket-file)
145
- - Use the key as the ticket name in `doc/schedule.md`
149
+ - Use the key as the ticket name in `schedule.md`
146
150
  - Do the same in the German copies, if the repo keeps them
@@ -26,12 +26,12 @@ found in the LICENSE file in the root of this package.
26
26
  ```text
27
27
  root
28
28
  |-doc
29
- | |-goals
30
- | | |-results-without-desktop-software.md
31
- | |-requirements
32
- | | |-results.md
33
- | |-schedule.md
34
29
  | |-2026-Q3
30
+ | | |-goals
31
+ | | | |-results-without-desktop-software.md
32
+ | | |-requirements
33
+ | | | |-results.md
34
+ | | |-schedule.md
35
35
  | | |-concepts
36
36
  | | | |-topics
37
37
  | | | |-decisions
@@ -44,57 +44,66 @@ root
44
44
  | | |-tickets
45
45
  | | | |-2026-09-10-cdm-1317-infrastructure-discovery-server.md
46
46
  | | |-bugs
47
- | |-team
48
- | | |-people.md
49
- | | |-roles.md
50
- | |-reports
51
- | | |-2026-Q3
47
+ | | |-team
48
+ | | | |-people.md
49
+ | | | |-roles.md
50
+ | | |-reports
52
51
  | | | |-anna.md
53
- | |-exports
54
- | | |-2026-09-10-anna-sprint.csv
55
- | |-prompts
56
- | | |-README.md
57
- | | |-anna (on the branch prompts)
58
- | | | |-2026-09
59
- | | | | |-2026-09-10_timing_app_3f2a91c0.md
60
- | |-blog
61
- | | |-2026
52
+ | | |-exports
53
+ | | | |-2026-09-10-anna-sprint.csv
54
+ | | |-blog
62
55
  | | | |-2026-09-10-blogpost-1.md
63
- | |-de
64
- | | |-goals
56
+ | | |-prompts
57
+ | | | |-README.md
58
+ | | | |-anna (on the branch prompts)
59
+ | | | | |-2026-09-10_timing_app_3f2a91c0.md
60
+ | |-2026-Q4
65
61
  | | |-...
62
+ | |-de
63
+ | | |-2026-Q3
64
+ | | | |-...
66
65
  |-README.md
67
66
  |-README.de.md
68
67
  ```
69
68
 
70
- - `README.md` names the project and links to the current quarter, the
71
- active goals and the requirements
69
+ - Everything the project plans and writes lives in a quarter folder
70
+ `doc/<yyyy>-Q<n>`, called `doc/<quarter>` below. Nothing of it lives
71
+ next to the quarter folders, so the repo does not grow fatter and harder
72
+ to read over the years: the newest quarter folder holds all that is
73
+ still valid, the older ones are history
74
+ - The newest quarter folder is the current quarter. Read and write only
75
+ there; never change an older quarter
76
+ - What still holds at the end of a quarter is copied into the next one,
77
+ see [Start a quarter](#start-a-quarter)
78
+ - `doc/guides` and `doc/templates` come from the DNA layers and stay
79
+ outside the quarter folders
80
+ - `README.md` names the project and links to the current quarter, its
81
+ active goals and its requirements
72
82
  - `goals` — what the project wants to achieve and for whom; one file per
73
- goal, kept across quarters, see below
83
+ goal, see below
74
84
  - `requirements` — what the product must do or be; one file per area,
75
- kept across quarters, see below
76
- - `schedule.md` — the time plan as a Gantt chart, kept across quarters;
77
- optional, see [Plan the time](#plan-the-time)
78
- - `doc/<yyyy>-Q<n>` holds one folder per quarter; start a new one at the
79
- start of a quarter, do not move old files
85
+ see below
86
+ - `schedule.md` — the time plan as a Gantt chart; optional, see
87
+ [Plan the time](#plan-the-time)
80
88
  - `concepts` — what the product is and why, see below
81
89
  - `architecture` — the target picture of the system: `architecture.md`
82
90
  plus diagrams in `img` as mermaid `.mmd` files
83
91
  - `tickets` — one plan file per ticket
84
92
  - `bugs` — one file per bug; a bug turns into a ticket once it is planned
85
- - `team` — who works on the project and in which roles, kept across
86
- quarters, see [Know the team](#know-the-team)
87
- - `reports` — one report per person and quarter with the points to tell
88
- them, see [Report to the people](#report-to-the-people)
93
+ - `team` — who works on the project and in which roles, see
94
+ [Know the team](#know-the-team)
95
+ - `reports` — one report per person with the points to tell them, see
96
+ [Report to the people](#report-to-the-people)
89
97
  - `exports` — CSV files of tickets for Jira, see
90
98
  [Export tickets to Jira](#export-tickets-to-jira)
99
+ - `blog` — one post per finished ticket; exists only if the repo has
100
+ `doc/guides/blog-guide.md` from the `dna_blog` layer, see below
91
101
  - `prompts` — the prompts the people wrote to Claude Code, one file per
92
102
  session, on the branch `prompts`; on the main branch only its
93
103
  `README.md`, see [Keep the prompts](#keep-the-prompts)
94
- - `blog` — one post per finished ticket; exists only if the repo has
95
- `doc/guides/blog-guide.md` from the `dna_blog` layer, see below
96
- - `de` and `README.de.md` — the German copy; exist only if the repo keeps
97
- two languages, see [Keep two languages](#keep-two-languages)
104
+ - `doc/de` and `README.de.md` — the German copy, with the same quarter
105
+ folders; exist only if the repo keeps two languages, see
106
+ [Keep two languages](#keep-two-languages)
98
107
 
99
108
  ## Tell goals and requirements apart
100
109
 
@@ -110,12 +119,13 @@ root
110
119
  - Topics hold the problem space — evidence and user needs. Requirements are
111
120
  the commitments derived from them; do not write requirements into topics
112
121
  - Goals and requirements outlive quarters: a goal may take several quarters,
113
- a requirement holds for as long as the product does. That is why they do
114
- not live in the quarter folders
122
+ a requirement holds for as long as the product does. That is why the
123
+ open ones are copied into each new quarter, see
124
+ [Start a quarter](#start-a-quarter)
115
125
 
116
126
  ## Write the goals
117
127
 
118
- - Create `doc/goals/<title>.md`, title in English kebab case
128
+ - Create `doc/<quarter>/goals/<title>.md`, title in English kebab case
119
129
  - Use these sections, in this order:
120
130
 
121
131
  ```markdown
@@ -141,10 +151,11 @@ root
141
151
  ## @write-requirements Write the requirements
142
152
 
143
153
  - Group requirements by area of the product, one file per area:
144
- `doc/requirements/<area>.md`, area in English kebab case
154
+ `doc/<quarter>/requirements/<area>.md`, area in English kebab case
145
155
  - Give each requirement an ID `req-<area>-<nnn>`, e.g. `req-results-001`;
146
156
  the prefix keeps it apart from decision IDs. Never reuse or renumber an
147
- ID
157
+ ID. A new ID follows the highest one of the area in all quarters, since
158
+ finished requirements stay behind in older quarters
148
159
  - Write each requirement as its own section:
149
160
 
150
161
  ```markdown
@@ -174,7 +185,8 @@ root
174
185
  a time and with proposals: the
175
186
  [requirements guide](requirements-guide.md) says how, `/gg-plan-requirements`
176
187
  runs it
177
- - Do it before the first ticket, whenever `doc/requirements` is empty, and
188
+ - Do it before the first ticket, whenever `doc/<quarter>/requirements` is
189
+ empty, and
178
190
  whenever the work of a ticket is not covered by an accepted requirement
179
191
  - Plan and create tickets only after that. Bug tickets are the exception:
180
192
  they name their bug file instead
@@ -182,8 +194,8 @@ root
182
194
 
183
195
  ## Know the team
184
196
 
185
- - Write down who works on the project in `doc/team/people.md`, one
186
- section per person:
197
+ - Write down who works on the project in `doc/<quarter>/team/people.md`,
198
+ one section per person:
187
199
 
188
200
  ```markdown
189
201
  # People
@@ -215,7 +227,8 @@ root
215
227
  - `Sprint length` — once, at the top; default two weeks
216
228
  - `Hours per day` — once, at the top: the working hours of one day, used
217
229
  to turn estimates in days into hours; default 8
218
- - Write down the roles in `doc/team/roles.md`, one section per role. Start
230
+ - Write down the roles in `doc/<quarter>/team/roles.md`, one section per
231
+ role. Start
219
232
  with Developer, Product Owner, Management, Sales and Customer, and add
220
233
  the ones the project needs:
221
234
 
@@ -229,7 +242,7 @@ root
229
242
  - Hears about: goals, requirements, decisions, schedule shifts
230
243
  ```
231
244
 
232
- - `People` — the first names of `doc/team/people.md` who have the role.
245
+ - `People` — the first names of `people.md` who have the role.
233
246
  This is the only place that says who has which role; `people.md` does
234
247
  not repeat it
235
248
  - `Hears about` decides what lands in the reports of the people in that
@@ -239,10 +252,10 @@ root
239
252
  them; their report covers all of them
240
253
  - Ask the user for the team before the first report or export; never
241
254
  guess people or roles
242
- - Keep only first names, areas and roles in `doc/team`, besides the Jira
255
+ - Keep only first names, areas and roles in `team`, besides the Jira
243
256
  account and the git user names; no contact data
244
257
  - Never ask for e-mail addresses and never write one into the PM repo,
245
- neither in `doc/team` nor anywhere else. When the user offers one, ask
258
+ neither in `team` nor anywhere else. When the user offers one, ask
246
259
  for the git user name or the Jira account instead
247
260
 
248
261
  ## Fill the concepts folder
@@ -265,7 +278,8 @@ root
265
278
  `dna_blog` layer. Without it, write no post and skip the rest of this
266
279
  section
267
280
  - Follow the blog guide for content and template
268
- - Put the post into `doc/blog/<yyyy>` of the PM repo, one folder per year
281
+ - Put the post into `doc/<quarter>/blog` of the PM repo, the quarter of
282
+ the day the ticket is finished
269
283
  - Name it `<yyyy>-<mm>-<dd>-<title>.md`, title in English kebab case
270
284
  - One post may cover all repos of the ticket that belong to the
271
285
  organization of the PM repo
@@ -308,7 +322,7 @@ root
308
322
  ## Report to the people
309
323
 
310
324
  - Keep one report per person and quarter in
311
- `doc/reports/<yyyy>-Q<n>/<name>.md`: the points the person needs to
325
+ `doc/<quarter>/reports/<name>.md`: the points the person needs to
312
326
  hear, each with a checkbox to tick once it is communicated
313
327
  - The [report guide](report-guide.md) says how, `/gg-plan-report` runs it: it
314
328
  collects what changed for the roles and areas of the person, appends it
@@ -317,7 +331,7 @@ root
317
331
  ## Export tickets to Jira
318
332
 
319
333
  - Export the next tickets of one person as a CSV file Jira imports:
320
- `doc/exports/<yyyy>-<mm>-<dd>-<name>-sprint.csv`
334
+ `doc/<quarter>/exports/<yyyy>-<mm>-<dd>-<name>-sprint.csv`
321
335
  - The [Jira export guide](jira-export-guide.md) says how,
322
336
  `/gg-plan-jira-export` runs it: it matches the open tickets without a Jira
323
337
  key to the person by their areas, fills one sprint by the estimates and
@@ -328,15 +342,18 @@ root
328
342
 
329
343
  - Every prompt the people write to Claude Code in a repo of the project
330
344
  lands here, on the branch `prompts`:
331
- `doc/prompts/<name>/<yyyy>-<mm>/<yyyy>-<mm>-<dd>_<repo>_<session>.md`,
332
- one file per session, the time of each prompt as its heading
345
+ `doc/<quarter>/prompts/<name>/<yyyy>-<mm>-<dd>_<repo>_<session>.md`,
346
+ one file per session in the quarter the session started, the time of
347
+ each prompt as its heading
333
348
  - The `dna_gg` layer does it: a Claude Code hook in every repo whose
334
349
  variable `dnaPmRepo` names this repo. The hook commits to the branch
335
350
  `prompts` directly, so the main branch and its checks stay untouched
336
- - The name is the first name in `doc/team/people.md` that the git user
351
+ - The name is the first name in `team/people.md` of the newest quarter
352
+ that the git user
337
353
  name of the session's repo is, or starts with, or whose `Git` line
338
354
  lists it. A git user name that matches nobody goes to
339
- `doc/prompts/_unknown`; add it to the `Git` line of the person, the
355
+ `doc/<quarter>/prompts/_unknown`; add it to the `Git` line of the
356
+ person, the
340
357
  next sessions are filed under the name
341
358
  - No e-mail address is read or kept: the hook commits as `pm-prompts`
342
359
  - Only prompts are kept, never the answers. Tokens and passwords are
@@ -344,8 +361,8 @@ root
344
361
  - Never edit, move or delete the prompt files, and never merge the branch
345
362
  `prompts` into the main branch. Read them with
346
363
  `git fetch origin prompts` and `git show origin/prompts:<path>`
347
- - On the main branch, `doc/prompts/README.md` says where the prompts are,
348
- in German in `doc/de/prompts/README.md`
364
+ - On the main branch, `doc/<quarter>/prompts/README.md` says where the
365
+ prompts are, in German in `doc/de/<quarter>/prompts/README.md`
349
366
 
350
367
  ## Use the design layers
351
368
 
@@ -416,7 +433,8 @@ Let the user review the plan and revise it until they confirm it.
416
433
  - Move answered questions from `Open questions` into the plan or into a
417
434
  decision file
418
435
  - Set the requirements the ticket fulfilled to `done` when it is finished
419
- - Mark the ticket `done` in `doc/schedule.md`, if the project has one
436
+ - Mark the ticket `done` in `doc/<quarter>/schedule.md`, if the project
437
+ has one
420
438
  - Reference the plan from the blog post that closes the ticket
421
439
  - Keep the file: the plan documents why things are the way they are
422
440
 
@@ -427,14 +445,56 @@ Let the user review the plan and revise it until they confirm it.
427
445
  - The [schedule guide](schedule-guide.md) says how, `/gg-plan-schedule` runs
428
446
  it: it asks for the target date and the capacity, cuts the accepted
429
447
  requirements into tickets, estimates each one and draws the plan as a
430
- Gantt chart in `doc/schedule.md`
448
+ Gantt chart in `doc/<quarter>/schedule.md`
431
449
  - Plan the time only on accepted requirements
432
450
 
451
+ ## Start a quarter
452
+
453
+ Start the folder of a new quarter before the first file of that quarter
454
+ is written, e.g. `doc/2027-Q1` on the first ticket in January. Tell the
455
+ user, show what is carried over and commit it on its own as
456
+ `Start <yyyy>-Q<n>`.
457
+
458
+ Copy what still holds from the previous quarter:
459
+
460
+ | What | Copied into the new quarter |
461
+ | ---------------------------- | ------------------------------------------------- |
462
+ | `goals` | the `proposed` and `active` goals |
463
+ | `requirements` | per area, the requirements not `done`/`dropped` |
464
+ | `team` | everything |
465
+ | `architecture` | everything |
466
+ | `concepts/ux` | everything |
467
+ | `concepts/decisions` | `000-index.md` without the superseded decisions |
468
+ | `schedule.md` | the tickets not `done`, a fresh `History` |
469
+ | `prompts/README.md` | the file |
470
+ | `reports` | the open points, by `/gg-plan-report` |
471
+
472
+ Move the open tickets and bugs with `git mv` into `tickets` and `bugs`
473
+ of the new quarter: a ticket is open while it is not `done` in the
474
+ schedule and not all its requirements are `done`; ask the user when in
475
+ doubt. This is the only change to an older quarter.
476
+
477
+ Leave the rest where it was written: topics, decision files, finished
478
+ tickets, blog posts, exports and prompts. The new quarter starts without
479
+ them and links to them in the older quarter, e.g.
480
+ `../../2026-Q4/concepts/decisions/design-001.md`.
481
+
482
+ - Fix the links of the copied and moved files: links inside the quarter
483
+ stay as they are, links to what stayed behind point into the older
484
+ quarter
485
+ - Leave out an area of requirements whose requirements are all `done` or
486
+ `dropped`; their IDs stay taken
487
+ - Add the new quarter to the `Status` of the goals carried over, e.g.
488
+ `active since 2026-Q3`
489
+ - Point `README.md` to the new quarter
490
+ - Do the same in `doc/de`, if the repo keeps German copies
491
+
433
492
  ## Plan a quarter
434
493
 
435
- Choose the goals the quarter works on: add new ones to `doc/goals`, add
436
- the quarter to the status of goals carried over, and set goals to
437
- `reached` or `dropped` when they are.
494
+ Start the quarter folder first, see [Start a quarter](#start-a-quarter).
495
+
496
+ Choose the goals the quarter works on: add new ones to `goals`, set the
497
+ goals carried over to `reached` or `dropped` when they are.
438
498
 
439
499
  Derive the requirements from the goals and the topics together with the
440
500
  user; add new ones and change the ones the goals change.
@@ -445,8 +505,8 @@ picture.
445
505
  Derive tickets from the requirements; each ticket names the goal it serves
446
506
  and the requirements it fulfils.
447
507
 
448
- Update `doc/schedule.md`, if the project has one, and check the forecast
508
+ Update `schedule.md`, if the project has one, and check the forecast
449
509
  against the target date.
450
510
 
451
- Check `doc/team` and start the reports of the quarter with `/gg-plan-report`;
511
+ Check `team` and start the reports of the quarter with `/gg-plan-report`;
452
512
  it carries the open points of the last quarter over.
@@ -14,13 +14,14 @@ communicated.
14
14
 
15
15
  ## Know what a report is
16
16
 
17
- - One file per person and quarter: `doc/reports/<yyyy>-Q<n>/<name>.md`,
17
+ - One file per person and quarter: `doc/<quarter>/reports/<name>.md`,
18
18
  `<name>` is the first name in lower case kebab case, as in
19
- `doc/team/people.md`
19
+ `doc/<quarter>/team/people.md`; `<quarter>` is the current quarter
20
+ folder `<yyyy>-Q<n>`
20
21
  - A list of points to tell the person, each with a checkbox. A ticked
21
22
  point has been communicated; an open one still has to be
22
- - It needs the team: without `doc/team/people.md` and
23
- `doc/team/roles.md`, set them up with the user first, see the
23
+ - It needs the team: without `team/people.md` and `team/roles.md` in
24
+ the current quarter, set them up with the user first, see the
24
25
  [PM repo guide](pm-repo-guide.md#know-the-team)
25
26
 
26
27
  ## Collect the points
@@ -33,15 +34,16 @@ communicated.
33
34
  - requirements that were added, accepted, changed, done or dropped
34
35
  - decisions that were accepted or superseded
35
36
  - tickets that were planned or finished, and their blog posts
36
- - shifts in `doc/schedule.md`: a later forecast, a missed or moved
37
+ - shifts in `schedule.md`: a later forecast, a missed or moved
37
38
  target date
38
- - Report what happened, not what was filed: moves, renames, translations
39
- and reformatting are no news. Date each point by the file — the status
40
- line, the ticket date, the history — not by the commit that touched it,
41
- and leave out what happened before the start date
42
- - Find the roles of the person in `doc/team/roles.md`: every role whose
39
+ - Report what happened, not what was filed: moves, renames, translations,
40
+ reformatting and the copies that start a quarter are no news. Date each
41
+ point by the file — the status line, the ticket date, the history — not
42
+ by the commit that touched it, and leave out what happened before the
43
+ start date
44
+ - Find the roles of the person in `team/roles.md`: every role whose
43
45
  `People` lists them. Keep only what the person needs: what those roles
44
- hear about, and what touches their areas in `doc/team/people.md`
46
+ hear about, and what touches their areas in `team/people.md`
45
47
  - Write each point as one sentence the person understands without the
46
48
  repo: what changed and what it means for them. Link the file it comes
47
49
  from
@@ -54,20 +56,20 @@ Use this template:
54
56
  ```markdown
55
57
  # Report for Anna — 2026-Q4
56
58
 
57
- - Roles: see [roles](../../team/roles.md)
59
+ - Roles: see [roles](../team/roles.md)
58
60
  - Tick a point once it is communicated
59
61
 
60
62
  ## Carried over from 2026-Q3
61
63
 
62
64
  - [ ] 2026-09-28: The result list is planned for November
63
- ([schedule](../../schedule.md))
65
+ ([schedule](../schedule.md))
64
66
 
65
67
  ## 2026-10
66
68
 
67
69
  - [x] 2026-10-14: The goal "results without desktop software" is confirmed
68
- ([goal](../../goals/results-without-desktop-software.md))
70
+ ([goal](../goals/results-without-desktop-software.md))
69
71
  - [ ] 2026-10-20: The result list must be ready two seconds after the
70
- last finisher ([req-results-001](../../requirements/results.md))
72
+ last finisher ([req-results-001](../requirements/results.md))
71
73
  ```
72
74
 
73
75
  - One section per month, the newest at the bottom; points in date order
@@ -77,12 +79,14 @@ Use this template:
77
79
 
78
80
  ## Start a new quarter
79
81
 
82
+ - Start the quarter folder first, see the
83
+ [PM repo guide](pm-repo-guide.md#start-a-quarter)
80
84
  - At the first report of a quarter, create
81
- `doc/reports/<yyyy>-Q<n>/<name>.md` for the person
85
+ `doc/<quarter>/reports/<name>.md` for the person
82
86
  - Copy the open points of the previous quarter into
83
87
  `## Carried over from <yyyy>-Q<n>`, unchanged and still open
84
88
  - End the previous report with one line:
85
- `Open points carried over to [<yyyy>-Q<n>](../<yyyy>-Q<n>/<name>.md).`
89
+ `Open points carried over to [<yyyy>-Q<n>](../../<yyyy>-Q<n>/reports/<name>.md).`
86
90
  Leave the rest of the old file as it is
87
91
  - A person who joined during the quarter starts with an empty report
88
92
 
@@ -90,7 +94,7 @@ Use this template:
90
94
 
91
95
  - If the repo keeps German copies (see the
92
96
  [PM repo guide](pm-repo-guide.md#keep-two-languages)), every report also
93
- exists as `doc/de/reports/<yyyy>-Q<n>/<name>.md`
97
+ exists as `doc/de/<quarter>/reports/<name>.md`
94
98
  - Write each point in both files
95
99
  - A tick in either file counts: when a point is ticked in one language,
96
100
  tick it in the other. Check both files before every new report
@@ -8,7 +8,8 @@ found in the LICENSE file in the root of this package.
8
8
 
9
9
  # Requirements engineering guide
10
10
 
11
- How the requirements of a project are found together with the user. Where
11
+ How the requirements of a project are found together with the user. Goals
12
+ and requirements live in the current quarter folder `doc/<quarter>`. Where
12
13
  they are written and what a requirement looks like is in the
13
14
  [PM repo guide](pm-repo-guide.md#write-the-requirements).
14
15
 
@@ -16,7 +17,7 @@ they are written and what a requirement looks like is in the
16
17
 
17
18
  - Before the first ticket of a project
18
19
  - Before any ticket whose work no accepted requirement covers
19
- - When `doc/requirements` is missing or empty
20
+ - When `doc/<quarter>/requirements` is missing or empty
20
21
  - When a goal is added or changed
21
22
  - When the user asks for it
22
23
 
@@ -40,10 +41,10 @@ requirements. Bug tickets are the exception, they name their bug file.
40
41
 
41
42
  ## Run the session
42
43
 
43
- 1. Read the PM repo: `README.md`, `doc/goals`, `doc/requirements` and the
44
- current quarter's topics, ux files, decisions and architecture
44
+ 1. Read the PM repo: `README.md` and the current quarter's goals,
45
+ requirements, topics, ux files, decisions and architecture
45
46
  2. Goals: if there is no active goal, find one first — the outcome, for
46
- whom, and how we know it is reached — and write it to `doc/goals`. Ask
47
+ whom, and how we know it is reached — and write it to `goals`. Ask
47
48
  which goals the session serves, and whether `proposed` goals are
48
49
  confirmed
49
50
  3. People: who uses the product, who operates it, who pays, who else is
@@ -14,8 +14,9 @@ chart.
14
14
 
15
15
  ## Know what the schedule is
16
16
 
17
- - One file for the whole project, kept across quarters:
18
- `doc/schedule.md`
17
+ - One file for the whole project in the current quarter:
18
+ `doc/<quarter>/schedule.md`; a new quarter takes over the tickets not
19
+ `done`, see the [PM repo guide](pm-repo-guide.md#start-a-quarter)
19
20
  - A forecast, not a promise: it shows when the work is likely done and
20
21
  whether a target date holds
21
22
  - Optional: a project plans with it only when the user wants one
@@ -30,7 +31,7 @@ Ask one question at a time and propose a default each time:
30
31
  report the end date that results
31
32
  - Start — default: the next working day
32
33
  - Capacity — who works on the project and how many days per week;
33
- default: `doc/team/people.md`, if the repo has it
34
+ default: `team/people.md` of the current quarter, if the repo has it
34
35
  - Blocked times — holidays, vacations, other projects
35
36
  - Scope — which goals; default: all active ones
36
37
 
@@ -23,9 +23,13 @@ The tickets come after the requirements; the `gg` workflow creates them
23
23
 
24
24
  ## Say which skill comes next
25
25
 
26
- Read `doc/goals`, `doc/requirements`, `doc/schedule.md`, `doc/team` and
27
- `doc/reports` and name the next step:
26
+ Read `goals`, `requirements`, `schedule.md`, `team` and `reports` of the
27
+ current quarter folder `doc/<yyyy>-Q<n>`, the newest one, and name the
28
+ next step:
28
29
 
30
+ - The calendar is in a quarter that has no folder yet → start it as the
31
+ [PM repo guide](../../../doc/guides/pm-repo-guide.md#start-a-quarter)
32
+ says
29
33
  - No active goal or no accepted requirement → `/gg-plan-requirements`
30
34
  - Requirements, but the work at hand is not covered by them →
31
35
  `/gg-plan-requirements`
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: gg-plan-jira-export
3
- description: Exports the next tickets of one person as a CSV file for the Jira import - matches the open tickets of the PM repo to the person by their areas, fills one sprint by the estimates and writes doc/exports/<date>-<name>-sprint.csv. Use when the user says "/gg-plan-jira-export", wants tickets in Jira, asks for a sprint or a CSV export, or names a person to plan the next tickets for.
3
+ description: Exports the next tickets of one person as a CSV file for the Jira import - matches the open tickets of the PM repo to the person by their areas, fills one sprint by the estimates and writes doc/<yyyy>-Q<n>/exports/<date>-<name>-sprint.csv. Use when the user says "/gg-plan-jira-export", wants tickets in Jira, asks for a sprint or a CSV export, or names a person to plan the next tickets for.
4
4
  ---
5
5
 
6
6
  # /gg-plan-jira-export
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: gg-plan-report
3
- description: Keeps the quarterly report of each person in doc/reports up to date - collects what changed in the PM repo that their roles and areas need to hear, appends it as checkbox points and starts the file of a new quarter with the open points carried over. Use when the user says "/gg-plan-report", asks what to tell someone, wants to update the reports or starts a new quarter.
3
+ description: Keeps the quarterly report of each person in doc/<yyyy>-Q<n>/reports up to date - collects what changed in the PM repo that their roles and areas need to hear, appends it as checkbox points and starts the file of a new quarter with the open points carried over. Use when the user says "/gg-plan-report", asks what to tell someone, wants to update the reports or starts a new quarter.
4
4
  ---
5
5
 
6
6
  # /gg-plan-report
@@ -10,9 +10,11 @@ it.
10
10
 
11
11
  ## Important
12
12
 
13
- - Ask for the person first; default: everyone in `doc/team/people.md`
14
- - Without `doc/team/people.md` and `doc/team/roles.md`, set up the team
15
- with the user first
13
+ - Ask for the person first; default: everyone in `team/people.md` of the
14
+ current quarter
15
+ - Without `team/people.md` and `team/roles.md`, set up the team with the
16
+ user first
17
+ - In a new quarter, start its folder first, see the PM repo guide
16
18
  - Show the proposed points before writing; write only confirmed ones
17
19
  - Never untick, delete or rewrite a point
18
20
  - Keep the German copy in step, ticks included, if the repo has one
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: gg-plan-requirements
3
- description: Engineers the goals and requirements of the project interactively with the user and writes them to doc/goals and doc/requirements. Use when the user says "/gg-plan-requirements", wants to find or change requirements, or before the first ticket when no accepted requirement covers the work.
3
+ description: Engineers the goals and requirements of the project interactively with the user and writes them to goals and requirements of the current quarter folder doc/<yyyy>-Q<n>. Use when the user says "/gg-plan-requirements", wants to find or change requirements, or before the first ticket when no accepted requirement covers the work.
4
4
  ---
5
5
 
6
6
  # /gg-plan-requirements
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: gg-plan-schedule
3
- description: Plans the time of the project - asks for a target date and the capacity, cuts the accepted requirements into tickets, estimates each one and writes a Gantt chart to doc/schedule.md. Use when the user says "/gg-plan-schedule", asks how long the project takes, wants a time plan or Gantt chart, or names a target date.
3
+ description: Plans the time of the project - asks for a target date and the capacity, cuts the accepted requirements into tickets, estimates each one and writes a Gantt chart to schedule.md of the current quarter folder. Use when the user says "/gg-plan-schedule", asks how long the project takes, wants a time plan or Gantt chart, or names a target date.
4
4
  ---
5
5
 
6
6
  # /gg-plan-schedule
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ggdna/dna-plan",
3
- "version": "1.2.0",
3
+ "version": "2.0.0",
4
4
  "description": "DNA layer: how a project is planned - the structure of a project management repo, its goals, requirements, team, reports, tickets, Jira export and quarters",
5
5
  "keywords": [
6
6
  "dna",