@ggdna/dna-plan 1.0.0 → 1.2.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
@@ -45,6 +45,25 @@ parent, and it must not — the umbrella lists every topic layer, so taking the
45
45
  umbrella back would close a cycle, and a parent here would reach every consumer
46
46
  of this topic whether that repo asked for it or not.
47
47
 
48
+ ## Overridable sections
49
+
50
+ A consuming repo replaces a tagged section with a sidecar
51
+ `<file>.overrides.md` at the same path in its own `dna/` folder, see
52
+ [helix](https://github.com/ggdna/helix):
53
+
54
+ | File | Tag | Section |
55
+ | ----------------------------- | --------------------- | ---------------------- |
56
+ | `doc/guides/pm-repo-guide.md` | `@write-requirements` | Write the requirements |
57
+
58
+ Keep the heading of a replaced section: other guides link to it. Example
59
+ `dna/doc/guides/pm-repo-guide.overrides.md`:
60
+
61
+ ```markdown
62
+ ## @write-requirements Write the requirements
63
+
64
+ - The repo's own rules for requirement files and IDs
65
+ ```
66
+
48
67
  ## Variables
49
68
 
50
69
  - `dnaCopyrightHolder` — the name in the license header of every file
@@ -5,7 +5,7 @@
5
5
  "name": "base",
6
6
  "package": "helix",
7
7
  "ecosystem": null,
8
- "resolvedVersion": "1.13.0",
8
+ "resolvedVersion": "1.14.0",
9
9
  "via": null,
10
10
  "hash": "0x6883da335b415f9d"
11
11
  },
@@ -15,16 +15,20 @@
15
15
  "ecosystem": null,
16
16
  "resolvedVersion": null,
17
17
  "via": null,
18
- "hash": "0x837a9d9aff97b77b"
18
+ "hash": "0x659fd5ea14087aed"
19
19
  }
20
20
  ],
21
21
  "claude": {
22
22
  "claudeMdInclude": null,
23
23
  "claudeMdFromDna": true
24
24
  },
25
- "baseVersion": "1.13.0",
25
+ "baseVersion": "1.14.0",
26
26
  "baseHash": "0x6883da335b415f9d",
27
27
  "instances": [
28
+ {
29
+ "path": ".claude/CLAUDE_dna_plan.md",
30
+ "hash": "0xacc338ff5279c9cd"
31
+ },
28
32
  {
29
33
  "path": ".claude/skills/gg-plan-intro/SKILL.md",
30
34
  "hash": "0x46a35e27e503c73f"
@@ -47,11 +51,11 @@
47
51
  },
48
52
  {
49
53
  "path": "doc/guides/jira-export-guide.md",
50
- "hash": "0x344403f04fc568a8"
54
+ "hash": "0x2e73883514cacb6a"
51
55
  },
52
56
  {
53
57
  "path": "doc/guides/pm-repo-guide.md",
54
- "hash": "0xdb77877a21708462"
58
+ "hash": "0x9e79a22ab17e74e0"
55
59
  },
56
60
  {
57
61
  "path": "doc/guides/report-guide.md",
@@ -32,7 +32,8 @@ Ask one question at a time and propose a default each time:
32
32
  minus holidays, vacations and other work the user names
33
33
  - Jira name of the person — default: the `Jira` field in
34
34
  `doc/team/people.md`; ask when it is missing. It is the user name on
35
- Jira Data Center or Server, the e-mail address on Jira Cloud
35
+ Jira Data Center or Server, the Atlassian account ID on Jira Cloud: the
36
+ long ID at the end of the profile URL. Never ask for an e-mail address
36
37
  - Jira — Data Center or Server, or Cloud; default: Data Center
37
38
  - Jira project — the key the issues go to; default: the prefix of the
38
39
  ticket keys the repo already uses
@@ -138,7 +138,7 @@ root
138
138
  - `Requirements` — links to the requirements derived from the goal
139
139
  - Never delete a goal; set it to `reached` or `dropped` and say why
140
140
 
141
- ## Write the requirements
141
+ ## @write-requirements Write the requirements
142
142
 
143
143
  - Group requirements by area of the product, one file per area:
144
144
  `doc/requirements/<area>.md`, area in English kebab case
@@ -196,7 +196,7 @@ root
196
196
  - Areas: result list, import of race data, the `timing_app` repo
197
197
  - Days per week: 4
198
198
  - Jira: anna
199
- - Git: anna@example.com
199
+ - Git: amuster
200
200
  ```
201
201
 
202
202
  - The section title is the first name; the file names of the person use
@@ -205,11 +205,13 @@ root
205
205
  Jira export matches tickets to people by them
206
206
  - `Days per week` — how much of the week the person works on the project
207
207
  - `Jira` — the name Jira knows the person by: the user name on Jira Data
208
- Center or Server, e.g. `anna`, the e-mail address on Jira Cloud;
208
+ Center or Server, e.g. `anna`, the Atlassian account ID on Jira Cloud;
209
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)
210
+ - `Git` — the git user names the person commits with
211
+ (`git config user.name`), separated by commas; optional. Needed only
212
+ when the git user name neither is the first name nor starts with it,
213
+ e.g. `amuster`. The prompts of the person are filed under their first
214
+ name by it, see [Keep the prompts](#keep-the-prompts)
213
215
  - `Sprint length` — once, at the top; default two weeks
214
216
  - `Hours per day` — once, at the top: the working hours of one day, used
215
217
  to turn estimates in days into hours; default 8
@@ -237,8 +239,11 @@ root
237
239
  them; their report covers all of them
238
240
  - Ask the user for the team before the first report or export; never
239
241
  guess people or roles
240
- - Keep only first names, areas and roles in `doc/team`; no contact data
241
- besides the Jira account and the git e-mail addresses
242
+ - Keep only first names, areas and roles in `doc/team`, besides the Jira
243
+ account and the git user names; no contact data
244
+ - 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
246
+ for the git user name or the Jira account instead
242
247
 
243
248
  ## Fill the concepts folder
244
249
 
@@ -328,10 +333,12 @@ root
328
333
  - The `dna_gg` layer does it: a Claude Code hook in every repo whose
329
334
  variable `dnaPmRepo` names this repo. The hook commits to the branch
330
335
  `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
336
+ - The name is the first name in `doc/team/people.md` that the git user
337
+ name of the session's repo is, or starts with, or whose `Git` line
338
+ 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
340
+ next sessions are filed under the name
341
+ - No e-mail address is read or kept: the hook commits as `pm-prompts`
335
342
  - Only prompts are kept, never the answers. Tokens and passwords are
336
343
  replaced by `[redacted]` before they leave the computer
337
344
  - Never edit, move or delete the prompt files, and never merge the branch
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ggdna/dna-plan",
3
- "version": "1.0.0",
3
+ "version": "1.2.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",
@@ -28,7 +28,7 @@
28
28
  "access": "public"
29
29
  },
30
30
  "devDependencies": {
31
- "@types/node": "^26.6.5",
31
+ "@types/node": "^26.6.6",
32
32
  "prettier": "^3.9.10"
33
33
  },
34
34
  "scripts": {