@ggdna/dna-plan 0.6.2 → 0.7.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
@@ -27,7 +27,10 @@ repo and the seven layers of product design.
27
27
 
28
28
  A PM repo is written in English; with the `dna_translate` layer it keeps a
29
29
  German copy of every file under `doc/de`. The team — people, their areas
30
- and roles — lives in `doc/team`.
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
32
+ writes them comes from [dna_gg](https://github.com/ggsuite/dna_gg), the
33
+ guide says how they are filed.
31
34
 
32
35
  The guide plans with the seven layers of product design. Their guides and
33
36
  the `/layers-*` skills live in
package/dna/CLAUDE.md CHANGED
@@ -19,5 +19,7 @@ planning rules are in `doc/guides/pm-repo-guide.md`. When you plan in one:
19
19
  - The people and their roles are in `doc/team`. When the user asks what to
20
20
  tell someone, offer `/plan-report`; when they want tickets in Jira or
21
21
  plan the next sprint of a person, offer `/plan-jira-export`
22
+ - 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
22
24
 
23
25
  `/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": "0xfed4541bc1745977"
18
+ "hash": "0x035d4eaa7ecdcf08"
19
19
  }
20
20
  ],
21
21
  "claude": {
@@ -51,7 +51,7 @@
51
51
  },
52
52
  {
53
53
  "path": "doc/guides/pm-repo-guide.md",
54
- "hash": "0x0a3a1b6fe65669b1"
54
+ "hash": "0x1fb86afbd075ea26"
55
55
  },
56
56
  {
57
57
  "path": "doc/guides/report-guide.md",
@@ -52,6 +52,11 @@ root
52
52
  | | | |-anna.md
53
53
  | |-exports
54
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
55
60
  | |-blog
56
61
  | | |-2026
57
62
  | | | |-2026-09-10-blogpost-1.md
@@ -83,6 +88,9 @@ root
83
88
  them, see [Report to the people](#report-to-the-people)
84
89
  - `exports` — CSV files of tickets for Jira, see
85
90
  [Export tickets to Jira](#export-tickets-to-jira)
91
+ - `prompts` — the prompts the people wrote to Claude Code, one file per
92
+ session, on the branch `prompts`; on the main branch only its
93
+ `README.md`, see [Keep the prompts](#keep-the-prompts)
86
94
  - `blog` — one post per finished ticket; exists only if the repo has
87
95
  `doc/guides/blog-guide.md` from the `dna_blog` layer, see below
88
96
  - `de` and `README.de.md` — the German copy; exist only if the repo keeps
@@ -188,6 +196,7 @@ root
188
196
  - Areas: result list, import of race data, the `timing_app` repo
189
197
  - Days per week: 4
190
198
  - Jira: anna
199
+ - Git: anna@example.com
191
200
  ```
192
201
 
193
202
  - The section title is the first name; the file names of the person use
@@ -198,6 +207,9 @@ root
198
207
  - `Jira` — the name Jira knows the person by: the user name on Jira Data
199
208
  Center or Server, e.g. `anna`, the e-mail address on Jira Cloud;
200
209
  optional
210
+ - `Git` — the e-mail addresses the person commits with, separated by
211
+ commas. The prompts of the person are filed under their first name by
212
+ them, see [Keep the prompts](#keep-the-prompts)
201
213
  - `Sprint length` — once, at the top; default two weeks
202
214
  - `Hours per day` — once, at the top: the working hours of one day, used
203
215
  to turn estimates in days into hours; default 8
@@ -226,7 +238,7 @@ root
226
238
  - Ask the user for the team before the first report or export; never
227
239
  guess people or roles
228
240
  - Keep only first names, areas and roles in `doc/team`; no contact data
229
- besides the Jira account
241
+ besides the Jira account and the git e-mail addresses
230
242
 
231
243
  ## Fill the concepts folder
232
244
 
@@ -285,8 +297,8 @@ root
285
297
  both copies stay readable for tools
286
298
  - Keep both copies equal in content and structure; a ticked point in a
287
299
  report is ticked in both
288
- - Do not translate the guides, the templates or the CSV exports; the
289
- guides come from the DNA layers
300
+ - Do not translate the guides, the templates, the CSV exports or the
301
+ prompts; the guides come from the DNA layers
290
302
 
291
303
  ## Report to the people
292
304
 
@@ -307,6 +319,27 @@ root
307
319
  writes the file
308
320
  - The person is assigned at export time only, never in the ticket file
309
321
 
322
+ ## Keep the prompts
323
+
324
+ - Every prompt the people write to Claude Code in a repo of the project
325
+ lands here, on the branch `prompts`:
326
+ `doc/prompts/<name>/<yyyy>-<mm>/<yyyy>-<mm>-<dd>_<repo>_<session>.md`,
327
+ one file per session, the time of each prompt as its heading
328
+ - The `dna_gg` layer does it: a Claude Code hook in every repo whose
329
+ variable `dnaPmRepo` names this repo. The hook commits to the branch
330
+ `prompts` directly, so the main branch and its checks stay untouched
331
+ - The name is the first name in `doc/team/people.md` whose `Git` line
332
+ lists the e-mail the session's repo commits with. An e-mail that is not
333
+ listed goes to `doc/prompts/_unknown`; add it to `people.md`, the next
334
+ sessions are filed under the name
335
+ - Only prompts are kept, never the answers. Tokens and passwords are
336
+ replaced by `[redacted]` before they leave the computer
337
+ - Never edit, move or delete the prompt files, and never merge the branch
338
+ `prompts` into the main branch. Read them with
339
+ `git fetch origin prompts` and `git show origin/prompts:<path>`
340
+ - On the main branch, `doc/prompts/README.md` says where the prompts are,
341
+ in German in `doc/de/prompts/README.md`
342
+
310
343
  ## Use the design layers
311
344
 
312
345
  - Plan with the seven layers of product design; the `dna_design_layers`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ggdna/dna-plan",
3
- "version": "0.6.2",
3
+ "version": "0.7.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",