@ggdna/dna-plan 2.0.2 → 3.0.1

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.
@@ -11,50 +11,60 @@ found in the LICENSE file in the root of this package.
11
11
  ## @pm Know what a PM repo is
12
12
 
13
13
  - A project management (PM) repo holds the goals, requirements, concepts,
14
- plans, schedule, decisions and blog posts of a project — no code
14
+ plans, schedule, meetings, decisions and blog posts of a project — no code
15
15
  - Every ticket belongs to exactly one PM repo. Add it to the ticket before
16
16
  any code repo (see the `gg` development guide)
17
17
  - A ticket that is only planned ends with the PM repo alone
18
18
  - Requirements come before tickets: engineer them with the user first, see
19
19
  [Engineer the requirements first](#engineer-the-requirements-first)
20
- - Write the repo in English. If it has `doc/guides/translate-guide.md`
21
- from the `dna_translate` layer, keep a German copy of every file as
22
- well, see [Keep two languages](#keep-two-languages)
20
+ - Keep every file in each language of the repo, see
21
+ [Keep the languages](#keep-the-languages)
23
22
 
24
23
  ## @structure Structure the repo like this
25
24
 
26
25
  ```text
27
26
  root
28
27
  |-doc
29
- | |-2026-Q3
30
- | | |-goals
31
- | | | |-results-without-desktop-software.md
32
- | | |-requirements
33
- | | | |-results.md
34
- | | |-schedule.md
35
- | | |-concepts
36
- | | | |-topics
37
- | | | |-decisions
38
- | | | | |-000-index.md
39
- | | | |-ux
40
- | | |-architecture
41
- | | | |-architecture.md
42
- | | | |-img
43
- | | | |-diagram.mmd
44
- | | |-tickets
45
- | | | |-2026-09-10-cdm-1317-infrastructure-discovery-server.md
46
- | | |-bugs
47
- | | |-team
48
- | | | |-people.md
49
- | | | |-roles.md
50
- | | |-reports
51
- | | | |-anna.md
52
- | | |-exports
53
- | | | |-2026-09-10-anna-sprint.csv
54
- | | |-blog
55
- | | | |-2026-09-10-blogpost-1.md
56
- | |-2026-Q4
28
+ | |-en
29
+ | | |-guides
30
+ | | |-templates
31
+ | |-de
57
32
  | | |-...
33
+ |-pm
34
+ | |-en
35
+ | | |-2026-Q3
36
+ | | | |-architecture
37
+ | | | | |-architecture.md
38
+ | | | | |-img
39
+ | | | | |-diagram.mmd
40
+ | | | |-blog
41
+ | | | | |-2026-09-10-blogpost-1.md
42
+ | | | |-bugs
43
+ | | | |-charts
44
+ | | | | |-schedule.md
45
+ | | | |-concepts
46
+ | | | | |-decisions
47
+ | | | | | |-000-index.md
48
+ | | | | |-topics
49
+ | | | | |-ux
50
+ | | | |-exports
51
+ | | | | |-2026-09-10-anna-sprint.csv
52
+ | | | |-goals
53
+ | | | | |-results-without-desktop-software.md
54
+ | | | |-meetings
55
+ | | | | |-2026-09-08-kick-off.md
56
+ | | | |-prompts
57
+ | | | |-reports
58
+ | | | | |-anna.md
59
+ | | | |-requirements
60
+ | | | | |-results.md
61
+ | | | |-team
62
+ | | | | |-people.md
63
+ | | | | |-roles.md
64
+ | | | |-tickets
65
+ | | | | |-2026-09-10-cdm-1317-infrastructure-discovery-server.md
66
+ | | |-2026-Q4
67
+ | | | |-...
58
68
  | |-de
59
69
  | | |-2026-Q3
60
70
  | | | |-...
@@ -62,41 +72,49 @@ root
62
72
  |-README.de.md
63
73
  ```
64
74
 
65
- - Everything the project plans and writes lives in a quarter folder
66
- `doc/<yyyy>-Q<n>`, called `doc/<quarter>` below. Nothing of it lives
67
- next to the quarter folders, so the repo does not grow fatter and harder
68
- to read over the years: the newest quarter folder holds all that is
69
- still valid, the older ones are history
75
+ - `pm` holds everything the project plans and writes, `doc` the
76
+ documentation that belongs to no quarter. Both have one folder per
77
+ language, see [Keep the languages](#keep-the-languages)
78
+ - In `pm/<lang>`, everything lives in a quarter folder `<yyyy>-Q<n>`,
79
+ called `pm/<lang>/<quarter>` below. Nothing of it lives next to the
80
+ quarter folders, so the repo does not grow fatter and harder to read
81
+ over the years: the newest quarter folder holds all that is still
82
+ valid, the older ones are history
70
83
  - The newest quarter folder is the current quarter. Read and write only
71
84
  there; never change an older quarter
72
85
  - What still holds at the end of a quarter is copied into the next one,
73
86
  see [Start a quarter](#start-a-quarter)
74
- - `doc/guides` and `doc/templates` come from the DNA layers and stay
75
- outside the quarter folders
87
+ - `doc/<lang>/guides` and `doc/<lang>/templates` come from the DNA layers;
88
+ never edit them
76
89
  - `README.md` names the project and links to the current quarter, its
77
90
  active goals and its requirements
91
+ - `architecture` — the target picture of the system: `architecture.md`
92
+ plus diagrams in `img` as mermaid `.mmd` files
93
+ - `blog` — one post per finished ticket; exists only if the repo has
94
+ `doc/en/guides/blog-guide.md` from the `dna_blog` layer, see below
95
+ - `bugs` — one file per bug; a bug turns into a ticket once it is planned
96
+ - `charts` — the time plan `schedule.md` and every other chart of the
97
+ quarter, see [Draw charts](#draw-charts)
98
+ - `concepts` — what the product is and why: `topics`, `decisions` and
99
+ `ux`, see below
100
+ - `exports` — CSV files of tickets for Jira, see
101
+ [Export tickets to Jira](#export-tickets-to-jira)
78
102
  - `goals` — what the project wants to achieve and for whom; one file per
79
103
  goal, see below
104
+ - `meetings` — one file per meeting, see
105
+ [Keep the meetings](#keep-the-meetings)
106
+ - `prompts` — prompts worth keeping, e.g. the prompt that started a
107
+ ticket; one file per prompt, `<yyyy>-<mm>-<dd>-<title>.md`
108
+ - `reports` — one report per person with the points to tell them, see
109
+ [Report to the people](#report-to-the-people)
80
110
  - `requirements` — what the product must do or be; one file per area,
81
111
  see below
82
- - `schedule.md` — the time plan as a Gantt chart; optional, see
83
- [Plan the time](#plan-the-time)
84
- - `concepts` — what the product is and why, see below
85
- - `architecture` — the target picture of the system: `architecture.md`
86
- plus diagrams in `img` as mermaid `.mmd` files
87
- - `tickets` — one plan file per ticket
88
- - `bugs` — one file per bug; a bug turns into a ticket once it is planned
89
112
  - `team` — who works on the project and in which roles, see
90
113
  [Know the team](#know-the-team)
91
- - `reports` — one report per person with the points to tell them, see
92
- [Report to the people](#report-to-the-people)
93
- - `exports` — CSV files of tickets for Jira, see
94
- [Export tickets to Jira](#export-tickets-to-jira)
95
- - `blog` — one post per finished ticket; exists only if the repo has
96
- `doc/guides/blog-guide.md` from the `dna_blog` layer, see below
97
- - `doc/de` and `README.de.md` — the German copy, with the same quarter
98
- folders; exist only if the repo keeps two languages, see
99
- [Keep two languages](#keep-two-languages)
114
+ - `tickets` — one plan file per ticket
115
+ - Planning files that span the quarter, such as `plan.md`,
116
+ `next-steps.md` or `milestones.md`, lie at the top of the quarter folder
117
+ and are copied into the next quarter while they hold
100
118
 
101
119
  ## @goals-requirements Tell goals and requirements apart
102
120
 
@@ -118,7 +136,7 @@ root
118
136
 
119
137
  ## @goals Write the goals
120
138
 
121
- - Create `doc/<quarter>/goals/<title>.md`, title in English kebab case
139
+ - Create `pm/<lang>/<quarter>/goals/<title>.md`, title in English kebab case
122
140
  - Use these sections, in this order:
123
141
 
124
142
  ```markdown
@@ -144,7 +162,7 @@ root
144
162
  ## @write-requirements Write the requirements
145
163
 
146
164
  - Group requirements by area of the product, one file per area:
147
- `doc/<quarter>/requirements/<area>.md`, area in English kebab case
165
+ `pm/<lang>/<quarter>/requirements/<area>.md`, area in English kebab case
148
166
  - Give each requirement an ID `req-<area>-<nnn>`, e.g. `req-results-001`;
149
167
  the prefix keeps it apart from decision IDs. Never reuse or renumber an
150
168
  ID. A new ID follows the highest one of the area in all quarters, since
@@ -178,7 +196,7 @@ root
178
196
  a time and with proposals: the
179
197
  [requirements guide](requirements-guide.md) says how, `/gg-plan-requirements`
180
198
  runs it
181
- - Do it before the first ticket, whenever `doc/<quarter>/requirements` is
199
+ - Do it before the first ticket, whenever `pm/<lang>/<quarter>/requirements` is
182
200
  empty, and
183
201
  whenever the work of a ticket is not covered by an accepted requirement
184
202
  - Plan and create tickets only after that. Bug tickets are the exception:
@@ -187,7 +205,7 @@ root
187
205
 
188
206
  ## @team Know the team
189
207
 
190
- - Write down who works on the project in `doc/<quarter>/team/people.md`,
208
+ - Write down who works on the project in `pm/<lang>/<quarter>/team/people.md`,
191
209
  one section per person:
192
210
 
193
211
  ```markdown
@@ -214,7 +232,7 @@ root
214
232
  - `Sprint length` — once, at the top; default two weeks
215
233
  - `Hours per day` — once, at the top: the working hours of one day, used
216
234
  to turn estimates in days into hours; default 8
217
- - Write down the roles in `doc/<quarter>/team/roles.md`, one section per
235
+ - Write down the roles in `pm/<lang>/<quarter>/team/roles.md`, one section per
218
236
  role. Start
219
237
  with Developer, Product Owner, Management, Sales and Customer, and add
220
238
  the ones the project needs:
@@ -261,11 +279,11 @@ root
261
279
 
262
280
  ## @blog Write blog posts
263
281
 
264
- - Write a post only if `doc/guides/blog-guide.md` exists; it comes from the
282
+ - Write a post only if `doc/en/guides/blog-guide.md` exists; it comes from the
265
283
  `dna_blog` layer. Without it, write no post and skip the rest of this
266
284
  section
267
285
  - Follow the blog guide for content and template
268
- - Put the post into `doc/<quarter>/blog` of the PM repo, the quarter of
286
+ - Put the post into `pm/<lang>/<quarter>/blog` of the PM repo, the quarter of
269
287
  the day the ticket is finished
270
288
  - Name it `<yyyy>-<mm>-<dd>-<title>.md`, title in English kebab case
271
289
  - One post may cover all repos of the ticket that belong to the
@@ -286,30 +304,72 @@ root
286
304
  topic, in English kebab case
287
305
  - Name reports `<name>.md` and exports `<yyyy>-<mm>-<dd>-<name>-sprint.csv`,
288
306
  `<name>` being the first name in lower case kebab case
289
- - Keep the English file names in the German copy
290
-
291
- ## @languages Keep two languages
292
-
293
- - English is the leading language of a PM repo: every file exists in
294
- English, under `doc` and as `README.md`
295
- - If the repo has `doc/guides/translate-guide.md` from the `dna_translate`
296
- layer, every file also exists in German, under `doc/de` with the same
297
- path and file name, and as `README.de.md`. Without that guide, write
298
- English only
299
- - Write the English file first, even when the user talks German, then the
300
- German copy; change both in the same commit
307
+ - Keep the English file names in every language
308
+
309
+ ## @meetings Keep the meetings
310
+
311
+ - Write one file per meeting into `pm/<lang>/<quarter>/meetings`, named
312
+ `<yyyy>-<mm>-<dd>-<topic>.md`, topic in English kebab case
313
+ - Use these sections, in this order:
314
+
315
+ ```markdown
316
+ # <Topic> — <yyyy>-<mm>-<dd>
317
+
318
+ ## Participants
319
+
320
+ ## Topics
321
+
322
+ ## Decisions
323
+
324
+ ## Tasks
325
+ ```
326
+
327
+ - `Participants` — the first names of `team/people.md`, plus guests by
328
+ role; never contact data
329
+ - `Decisions` — one line per decision; a decision that shapes the product
330
+ also gets its own file in `concepts/decisions`
331
+ - `Tasks` — one checkbox per task with the first name of the person who
332
+ does it
333
+ - Turn tasks that change the product into tickets; link the ticket from
334
+ the task
335
+
336
+ ## @charts Draw charts
337
+
338
+ - Put every chart of the quarter into `pm/<lang>/<quarter>/charts`, one
339
+ markdown file per chart with the chart as mermaid, e.g. the time plan
340
+ `schedule.md`, a burn-down or the distribution of the tickets
341
+ - Name a chart by its topic, in English kebab case
342
+ - Say in one paragraph above the chart what it shows and from which files
343
+ it is drawn, so it can be redrawn
344
+ - Redraw a chart when its sources change; never edit a chart of an older
345
+ quarter
346
+
347
+ ## @languages Keep the languages
348
+
349
+ - This repo keeps its files in these languages, the leading one first:
350
+ `dnaLanguages`. Change them in the `vars` of `dna/_dna.json`, under
351
+ the key `dna` + `Languages` written as one word, e.g. `"en,de"`
352
+ - Every file of `pm` and `doc` exists once per language, under
353
+ `pm/<lang>` and `doc/<lang>` with the same path and file name, `<lang>`
354
+ being the two-letter code of the language
355
+ - `README.md` is English, every other language has `README.<lang>.md`
356
+ - Write the file of the leading language first, even when the user talks
357
+ another one, then the other languages; change all of them in the same
358
+ commit
301
359
  - Translate headings and prose. Keep IDs, file names, links, the status
302
360
  and priority values and the field names of requirements as they are, so
303
- both copies stay readable for tools
304
- - Keep both copies equal in content and structure; a ticked point in a
305
- report is ticked in both
306
- - Do not translate the guides, the templates or the CSV exports; the
307
- guides come from the DNA layers
361
+ every copy stays readable for tools
362
+ - Keep all copies equal in content and structure; a ticked point in a
363
+ report is ticked in all of them
364
+ - Translate the exports too: the summaries and descriptions, never the
365
+ header row, the keys, the IDs or the names, so Jira imports each of them
366
+ - The guides and templates come from the DNA layers in every language;
367
+ never translate or edit them
308
368
 
309
369
  ## @people Report to the people
310
370
 
311
371
  - Keep one report per person and quarter in
312
- `doc/<quarter>/reports/<name>.md`: the points the person needs to
372
+ `pm/<lang>/<quarter>/reports/<name>.md`: the points the person needs to
313
373
  hear, each with a checkbox to tick once it is communicated
314
374
  - The [report guide](report-guide.md) says how, `/gg-plan-report` runs it: it
315
375
  collects what changed for the roles and areas of the person, appends it
@@ -318,7 +378,7 @@ root
318
378
  ## @export Export tickets to Jira
319
379
 
320
380
  - Export the next tickets of one person as a CSV file Jira imports:
321
- `doc/<quarter>/exports/<yyyy>-<mm>-<dd>-<name>-sprint.csv`
381
+ `pm/<lang>/<quarter>/exports/<yyyy>-<mm>-<dd>-<name>-sprint.csv`
322
382
  - The [Jira export guide](jira-export-guide.md) says how,
323
383
  `/gg-plan-jira-export` runs it: it matches the open tickets without a Jira
324
384
  key to the person by their areas, fills one sprint by the estimates and
@@ -367,7 +427,7 @@ Let the user review the plan and revise it until they confirm it.
367
427
 
368
428
  ## @ticket-file Write the ticket file
369
429
 
370
- - Create `doc/<quarter>/tickets/<date>-<id>-<title>.md`
430
+ - Create `pm/<lang>/<quarter>/tickets/<date>-<id>-<title>.md`
371
431
  - Use these sections, in this order:
372
432
 
373
433
  ```markdown
@@ -394,7 +454,7 @@ Let the user review the plan and revise it until they confirm it.
394
454
  - Move answered questions from `Open questions` into the plan or into a
395
455
  decision file
396
456
  - Set the requirements the ticket fulfilled to `done` when it is finished
397
- - Mark the ticket `done` in `doc/<quarter>/schedule.md`, if the project
457
+ - Mark the ticket `done` in `pm/<lang>/<quarter>/charts/schedule.md`, if the project
398
458
  has one
399
459
  - Reference the plan from the blog post that closes the ticket
400
460
  - Keep the file: the plan documents why things are the way they are
@@ -406,28 +466,28 @@ Let the user review the plan and revise it until they confirm it.
406
466
  - The [schedule guide](schedule-guide.md) says how, `/gg-plan-schedule` runs
407
467
  it: it asks for the target date and the capacity, cuts the accepted
408
468
  requirements into tickets, estimates each one and draws the plan as a
409
- Gantt chart in `doc/<quarter>/schedule.md`
469
+ Gantt chart in `pm/<lang>/<quarter>/charts/schedule.md`
410
470
  - Plan the time only on accepted requirements
411
471
 
412
472
  ## @quarter Start a quarter
413
473
 
414
474
  Start the folder of a new quarter before the first file of that quarter
415
- is written, e.g. `doc/2027-Q1` on the first ticket in January. Tell the
475
+ is written, e.g. `pm/en/2027-Q1` on the first ticket in January. Tell the
416
476
  user, show what is carried over and commit it on its own as
417
477
  `Start <yyyy>-Q<n>`.
418
478
 
419
479
  Copy what still holds from the previous quarter:
420
480
 
421
- | What | Copied into the new quarter |
422
- | ---------------------------- | ------------------------------------------------- |
423
- | `goals` | the `proposed` and `active` goals |
424
- | `requirements` | per area, the requirements not `done`/`dropped` |
425
- | `team` | everything |
426
- | `architecture` | everything |
427
- | `concepts/ux` | everything |
428
- | `concepts/decisions` | `000-index.md` without the superseded decisions |
429
- | `schedule.md` | the tickets not `done`, a fresh `History` |
430
- | `reports` | the open points, by `/gg-plan-report` |
481
+ | What | Copied into the new quarter |
482
+ | -------------------- | ----------------------------------------------- |
483
+ | `goals` | the `proposed` and `active` goals |
484
+ | `requirements` | per area, the requirements not `done`/`dropped` |
485
+ | `team` | everything |
486
+ | `architecture` | everything |
487
+ | `concepts/ux` | everything |
488
+ | `concepts/decisions` | `000-index.md` without the superseded decisions |
489
+ | `charts/schedule.md` | the tickets not `done`, a fresh `History` |
490
+ | `reports` | the open points, by `/gg-plan-report` |
431
491
 
432
492
  Move the open tickets and bugs with `git mv` into `tickets` and `bugs`
433
493
  of the new quarter: a ticket is open while it is not `done` in the
@@ -435,7 +495,8 @@ schedule and not all its requirements are `done`; ask the user when in
435
495
  doubt. This is the only change to an older quarter.
436
496
 
437
497
  Leave the rest where it was written: topics, decision files, finished
438
- tickets, blog posts and exports. The new quarter starts without
498
+ tickets, blog posts, meetings, prompts, exports and the charts other than
499
+ the schedule. The new quarter starts without
439
500
  them and links to them in the older quarter, e.g.
440
501
  `../../2026-Q4/concepts/decisions/design-001.md`.
441
502
 
@@ -447,7 +508,7 @@ them and links to them in the older quarter, e.g.
447
508
  - Add the new quarter to the `Status` of the goals carried over, e.g.
448
509
  `active since 2026-Q3`
449
510
  - Point `README.md` to the new quarter
450
- - Do the same in `doc/de`, if the repo keeps German copies
511
+ - Do the same in every language of the repo
451
512
 
452
513
  ## @quarter-2 Plan a quarter
453
514
 
@@ -465,7 +526,7 @@ picture.
465
526
  Derive tickets from the requirements; each ticket names the goal it serves
466
527
  and the requirements it fulfils.
467
528
 
468
- Update `schedule.md`, if the project has one, and check the forecast
529
+ Update `charts/schedule.md`, if the project has one, and check the forecast
469
530
  against the target date.
470
531
 
471
532
  Check `team` and start the reports of the quarter with `/gg-plan-report`;
@@ -14,9 +14,9 @@ communicated.
14
14
 
15
15
  ## @report Know what a report is
16
16
 
17
- - One file per person and quarter: `doc/<quarter>/reports/<name>.md`,
17
+ - One file per person and quarter: `pm/<lang>/<quarter>/reports/<name>.md`,
18
18
  `<name>` is the first name in lower case kebab case, as in
19
- `doc/<quarter>/team/people.md`; `<quarter>` is the current quarter
19
+ `pm/<lang>/<quarter>/team/people.md`; `<quarter>` is the current quarter
20
20
  folder `<yyyy>-Q<n>`
21
21
  - A list of points to tell the person, each with a checkbox. A ticked
22
22
  point has been communicated; an open one still has to be
@@ -34,7 +34,7 @@ communicated.
34
34
  - requirements that were added, accepted, changed, done or dropped
35
35
  - decisions that were accepted or superseded
36
36
  - tickets that were planned or finished, and their blog posts
37
- - shifts in `schedule.md`: a later forecast, a missed or moved
37
+ - shifts in `charts/schedule.md`: a later forecast, a missed or moved
38
38
  target date
39
39
  - Report what happened, not what was filed: moves, renames, translations,
40
40
  reformatting and the copies that start a quarter are no news. Date each
@@ -62,7 +62,7 @@ Use this template:
62
62
  ## Carried over from 2026-Q3
63
63
 
64
64
  - [ ] 2026-09-28: The result list is planned for November
65
- ([schedule](../schedule.md))
65
+ ([schedule](../charts/schedule.md))
66
66
 
67
67
  ## 2026-10
68
68
 
@@ -82,7 +82,7 @@ Use this template:
82
82
  - Start the quarter folder first, see the
83
83
  [PM repo guide](pm-repo-guide.md#start-a-quarter)
84
84
  - At the first report of a quarter, create
85
- `doc/<quarter>/reports/<name>.md` for the person
85
+ `pm/<lang>/<quarter>/reports/<name>.md` for the person
86
86
  - Copy the open points of the previous quarter into
87
87
  `## Carried over from <yyyy>-Q<n>`, unchanged and still open
88
88
  - End the previous report with one line:
@@ -90,11 +90,11 @@ Use this template:
90
90
  Leave the rest of the old file as it is
91
91
  - A person who joined during the quarter starts with an empty report
92
92
 
93
- ## @languages Keep both languages in step
93
+ ## @languages Keep all languages in step
94
94
 
95
- - If the repo keeps German copies (see the
96
- [PM repo guide](pm-repo-guide.md#keep-two-languages)), every report also
97
- exists as `doc/de/<quarter>/reports/<name>.md`
98
- - Write each point in both files
99
- - A tick in either file counts: when a point is ticked in one language,
100
- tick it in the other. Check both files before every new report
95
+ - Every report exists in each language of the repo (see the
96
+ [PM repo guide](pm-repo-guide.md#keep-the-languages)), as
97
+ `pm/<lang>/<quarter>/reports/<name>.md`
98
+ - Write each point in all of them
99
+ - A tick in any file counts: when a point is ticked in one language,
100
+ tick it in the others. Check all of them before every new report
@@ -9,7 +9,7 @@ found in the LICENSE file in the root of this package.
9
9
  # Requirements engineering guide
10
10
 
11
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
+ and requirements live in the current quarter folder `pm/<lang>/<quarter>`. Where
13
13
  they are written and what a requirement looks like is in the
14
14
  [PM repo guide](pm-repo-guide.md#write-the-requirements).
15
15
 
@@ -17,7 +17,7 @@ they are written and what a requirement looks like is in the
17
17
 
18
18
  - Before the first ticket of a project
19
19
  - Before any ticket whose work no accepted requirement covers
20
- - When `doc/<quarter>/requirements` is missing or empty
20
+ - When `pm/<lang>/<quarter>/requirements` is missing or empty
21
21
  - When a goal is added or changed
22
22
  - When the user asks for it
23
23
 
@@ -35,9 +35,9 @@ requirements. Bug tickets are the exception, they name their bug file.
35
35
  `proposed` only when the user wants to come back to them
36
36
  - Challenge vague answers: ask for a number, an example or a check
37
37
  - Stop after each area, sum up what was agreed and ask whether to go on
38
- - Talk to the user in their language; write the files in English, plus the
39
- German copy if the repo keeps one, see the
40
- [PM repo guide](pm-repo-guide.md#keep-two-languages)
38
+ - Talk to the user in their language; write the files in the leading language of
39
+ the repo first, then in its other languages, see the
40
+ [PM repo guide](pm-repo-guide.md#keep-the-languages)
41
41
 
42
42
  ## @session Run the session
43
43
 
@@ -15,7 +15,7 @@ chart.
15
15
  ## @schedule Know what the schedule is
16
16
 
17
17
  - One file for the whole project in the current quarter:
18
- `doc/<quarter>/schedule.md`; a new quarter takes over the tickets not
18
+ `pm/<lang>/<quarter>/charts/schedule.md`; a new quarter takes over the tickets not
19
19
  `done`, see the [PM repo guide](pm-repo-guide.md#start-a-quarter)
20
20
  - A forecast, not a promise: it shows when the work is likely done and
21
21
  whether a target date holds
@@ -0,0 +1,148 @@
1
+ <!--
2
+ @license
3
+ Copyright (c) dnaCopyrightHolder
4
+
5
+ Use of this source code is governed by terms that can be
6
+ found in the LICENSE file in the root of this package.
7
+ -->
8
+
9
+ # راهنمای خروجی Jira
10
+
11
+ چگونه تیکت‌های بعدی یک نفر از مخزن مدیریت پروژه (PM repo) به‌صورت یک فایل
12
+ CSV خروجی گرفته می‌شود تا Jira آن را وارد کند: به اندازهٔ یک اسپرینت، به
13
+ ترتیب برنامه.
14
+
15
+ ## @export بدان خروجی چیست <a id="know-what-the-export-is"></a>
16
+
17
+ - برای هر خروجی یک فایل CSV:
18
+ `pm/<lang>/<quarter>/exports/<yyyy>-<mm>-<dd>-<name>-sprint.csv`، `<name>`
19
+ نام کوچک با حروف کوچک و به شکل kebab case است، `<quarter>` پوشهٔ فصل
20
+ جاری `<yyyy>-Q<n>`
21
+ - فقط تیکت‌هایی را در بر دارد که هنوز در Jira نیستند، پایین‌تر را ببین
22
+ - تیکت‌ها را فقط هنگام خروجی گرفتن واگذار می‌کند: این‌که چه کسی روی یک تیکت
23
+ کار می‌کند هرگز در فایل تیکت نوشته نمی‌شود
24
+ - به تیم نیاز دارد: اگر `team/people.md` در فصل جاری نیست، ابتدا آن را با
25
+ کاربر بساز، [راهنمای مخزن PM](pm-repo-guide.md#know-the-team) را ببین
26
+ - فایل CSV در هر زبان مخزن وجود دارد: خلاصه‌ها و توضیحات را ترجمه کن،
27
+ هرگز سطر سرستون، کلیدها، شناسه‌ها (ID) یا نام‌ها را
28
+
29
+ ## @frame چارچوب را با کاربر تعیین کن <a id="set-the-frame-with-the-user"></a>
30
+
31
+ هر بار فقط یک پرسش بپرس و هر بار یک پیش‌فرض پیشنهاد کن:
32
+
33
+ - شخص — الزامی؛ یکی از `team/people.md`
34
+ - طول اسپرینت — پیش‌فرض: مقدار `team/people.md`، وگرنه دو هفته
35
+ - ظرفیت — پیش‌فرض: طول اسپرینت ضرب در روزهای کاری هفتگی شخص؛ منهای
36
+ تعطیلات، مرخصی‌ها و کارهای دیگری که کاربر نام می‌برد
37
+ - نام Jira شخص — پیش‌فرض: فیلد `Jira` در `team/people.md`؛ اگر نیست،
38
+ بپرس. در Jira Data Center یا Server نام کاربری است، در Jira Cloud شناسهٔ
39
+ حساب Atlassian: شناسهٔ بلند در انتهای URL پروفایل. هرگز نشانی ایمیل
40
+ نپرس
41
+ - Jira — Data Center یا Server، یا Cloud؛ پیش‌فرض: Data Center
42
+ - پروژهٔ Jira — کلیدی که مسئله‌ها (issues) به آن می‌روند؛ پیش‌فرض: پیشوند
43
+ کلیدهای تیکتی که مخزن از قبل به کار می‌برد
44
+ - اولویت‌ها — نام‌هایی که پروژه ارائه می‌دهد؛ پیش‌فرض: `High`، `Normal` و
45
+ `Low`. نام‌ها را دقیقاً همان‌طور که Jira می‌نویسد بردار، با فاصله‌ها
46
+ - اسپرینت — اسپرینتی که مسئله‌ها به آن می‌روند، با شناسهٔ عددی‌اش؛ پیش‌فرض:
47
+ هیچ
48
+ - ساعت در روز — پیش‌فرض: مقدار `team/people.md`، وگرنه 8
49
+
50
+ اگر اتصالی به Jira در دسترس است، مثلاً سرور MCP اتلسین، نام‌های کاربری،
51
+ نوع مسئله‌ها، اولویت‌ها و اسپرینت‌های پروژه را از آن بخوان، به‌جای پرسیدن.
52
+
53
+ ## @open تیکت‌های باز را پیدا کن <a id="find-the-open-tickets"></a>
54
+
55
+ - فایل‌های تیکت در `pm/<lang>/<quarter>/tickets` فصل جاری را بردار — تیکت‌های
56
+ باز به هر فصل تازه منتقل می‌شوند — و تیکت‌های برنامه‌ریزی‌شدهٔ
57
+ `charts/schedule.md` آن را که هنوز فایلی ندارند
58
+ - تیکت‌های تمام‌شده را کنار بگذار: در `charts/schedule.md` با `done`
59
+ علامت خورده‌اند، یا همهٔ نیازمندی‌هایشان `done` است
60
+ - تیکت‌هایی را که از قبل در Jira هستند کنار بگذار: شناسه‌شان یک کلید Jira
61
+ است، حروف، یک خط تیره و یک عدد، مثلاً `cdm-1317` در
62
+ `2026-09-10-cdm-1317-infrastructure-discovery-server.md`. عددهای تنها،
63
+ مثلاً `14`، شناسه‌های محلی‌اند، نه کلید Jira
64
+ - آن‌ها را مانند `charts/schedule.md` مرتب کن؛ بدون زمان‌بندی، بر اساس
65
+ آنچه منتظرش هستند، سپس بر اساس اولویت نیازمندی‌هایشان: `must` پیش از
66
+ `should` پیش از `could`
67
+
68
+ ## @match تیکت‌ها را با شخص تطبیق بده <a id="match-the-tickets-to-the-person"></a>
69
+
70
+ - هر تیکت باز را با حوزه‌های هر شخص در `team/people.md` مقایسه کن:
71
+ مخزن‌هایی که تغییر می‌دهد، نیازمندی‌ها و هدف‌هایی که به آن‌ها خدمت
72
+ می‌کند، واژه‌های هدف و گام‌هایش
73
+ - تیکت‌هایی را نگه دار که بهترین تطبیقشان همین شخص است؛ تیکتی که با چند
74
+ نفر به یک اندازه تطبیق دارد به شخصی می‌رسد که کاربر نام می‌برد
75
+ - یک جدول نشان بده — تیکت، شخص تطبیق‌یافته، حوزه‌ای که تعیین‌کننده بود — و
76
+ بگذار کاربر تیکت‌ها را میان افراد جابه‌جا کند. چیزی را بازنویسی نکن
77
+
78
+ ## @sprint اسپرینت را پر کن <a id="fill-the-sprint"></a>
79
+
80
+ - مدت مورد انتظار هر تیکت را از جدول `Tickets` در `charts/schedule.md`
81
+ بردار. اگر نیست، آن را همان‌طور که
82
+ [راهنمای زمان‌بندی](schedule-guide.md#estimate-each-ticket) می‌گوید
83
+ تخمین بزن و ابتدا عددها را نشان بده
84
+ - تیکت‌های شخص را به ترتیب اضافه کن تا تیکت بعدی در ظرفیت نگنجد؛ همان‌جا
85
+ بایست، به سراغ تیکت‌های کوچک‌تر بعدی نپر
86
+ - تیکتی بزرگ‌تر از کل ظرفیت: ابتدا پیشنهاد کن آن را تقسیم کنی
87
+ - اسپرینت را نشان بده — تیکت‌ها، روزها، ظرفیت باقی‌مانده — و بگذار کاربر
88
+ آن را تأیید یا تغییر دهد
89
+
90
+ ## @csv فایل CSV را بنویس <a id="write-the-csv"></a>
91
+
92
+ این ستون‌ها را به همین ترتیب به کار ببر:
93
+
94
+ ```csv
95
+ Summary,Issue Type,Priority,Assignee,Labels,Original Estimate,Sprint,Description
96
+ "Import race data",Story,High,anna,results-without-desktop-software,158400,1840,"Goal: ...
97
+ Requirements: req-results-002
98
+ Steps:
99
+ * ...
100
+ Plan: {{pm/en/2026-Q4/tickets/2026-11-02-import-race-data.md}}"
101
+ ```
102
+
103
+ - `Summary` — عنوان تیکت با واژه‌ها، نه به شکل kebab case
104
+ - `Issue Type` — `Story`؛ `Bug` برای تیکت باگ. هر دو باید در پروژه
105
+ وجود داشته باشند
106
+ - `Priority` — از بالاترین اولویت نیازمندی‌هایش: `must` → نام بالا،
107
+ `should` → نام میانی، `could` → نام پایین از میان نام‌های توافق‌شدهٔ بالا
108
+ - `Assignee` — نام Jira شخص
109
+ - `Labels` — هدفی که تیکت به آن خدمت می‌کند، به شکل kebab case بدون فاصله.
110
+ برای برچسب دوم یک ستون دیگر اضافه کن، آن هم با سرستون `Labels`
111
+ - `Original Estimate` — مدت مورد انتظار به ثانیهٔ کامل: روزها × ساعت در
112
+ روز × 3600. با 8 ساعت، 5.5 روز → `158400`؛ با 7.5 ساعت → `148500`.
113
+ Jira آن را با طول روز کاری خودش نشان می‌دهد
114
+ - `Sprint` — شناسهٔ عددی اسپرینت، هرگز نام آن؛ بدون اسپرینت ستون را حذف کن
115
+ - `Description` — هدف، نیازمندی‌ها با شناسه، گام‌ها و مسیر فایل برنامه؛
116
+ بدون فایل برنامه، سطر `charts/schedule.md`. Jira Data Center و Server
117
+ نشانه‌گذاری ویکی (wiki markup) را نمایش می‌دهند: آیتم‌های فهرست را با
118
+ `* ` بنویس، و مسیرها، نام فایل‌ها و شناسه‌های دارای `_` یا آکولاد را در
119
+ `{{…}}` بگذار
120
+ - `Issue Key` را حذف کن: با آن Jira مسئله‌های موجود را به‌روز می‌کرد
121
+ - با UTF-8 بدون BOM کدگذاری کن، با ویرگول جدا کن، سطرها را با `\n` تمام
122
+ کن؛ هر فیلدی را که ویرگول، نقل‌قول یا شکست سطر دارد در نقل‌قول بگذار و
123
+ نقل‌قول‌های درونش را دوتایی کن؛ به همهٔ سطرها تعداد فیلد یکسان بده
124
+
125
+ ## @import به کاربر بگو چگونه وارد کند <a id="tell-the-user-how-to-import-it"></a>
126
+
127
+ - Jira Data Center یا Server: Issues → Import Issues from CSV؛ به
128
+ مجوزهای ساختن مسئله و تغییر گروهی (bulk change) نیاز دارد
129
+ - Jira Cloud: Filters → Search work items → ••• → Import work items from
130
+ CSV؛ حداکثر 250 آیتم کاری در هر فایل
131
+ - پروژه، کدگذاری UTF-8 و ویرگول به‌عنوان جداکننده را انتخاب کن
132
+ - هر ستون را به فیلد هم‌نامش نگاشت کن
133
+ - گزینهٔ "Map field value" را برای `Priority`، `Issue Type` و `Assignee`
134
+ فقط وقتی بزن که مقدارهایشان با نام‌های Jira فرق دارد؛ هرگز برای
135
+ `Description`، وگرنه Jira شکست سطرهایش را دور می‌ریزد
136
+ - اول اعتبارسنجی کن، بعد وارد کن
137
+
138
+ ## @keys کلیدها را برگردان <a id="take-the-keys-back"></a>
139
+
140
+ وقتی کاربر فایل را وارد کرد و درخواست کرد، کلیدهای Jira را بازنویسی کن:
141
+
142
+ - نام هر فایل تیکت خروجی‌گرفته را از `<date>-<title>.md` به
143
+ `<date>-<key>-<title>.md` تغییر بده، کلید با حروف کوچک، و کلید را در سطر
144
+ عنوانش بگذار: `# CDM-1800: Import race data`
145
+ - تیکتی که فایل نداشت اکنون یکی می‌گیرد،
146
+ [راهنمای مخزن PM](pm-repo-guide.md#write-the-ticket-file) را ببین
147
+ - کلید را به‌عنوان نام تیکت در `charts/schedule.md` به کار ببر
148
+ - همین کار را در هر زبان مخزن انجام بده