@ggdna/dna-plan 2.0.2 → 3.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.
@@ -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,46 @@ 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
100
115
 
101
116
  ## @goals-requirements Tell goals and requirements apart
102
117
 
@@ -118,7 +133,7 @@ root
118
133
 
119
134
  ## @goals Write the goals
120
135
 
121
- - Create `doc/<quarter>/goals/<title>.md`, title in English kebab case
136
+ - Create `pm/<lang>/<quarter>/goals/<title>.md`, title in English kebab case
122
137
  - Use these sections, in this order:
123
138
 
124
139
  ```markdown
@@ -144,7 +159,7 @@ root
144
159
  ## @write-requirements Write the requirements
145
160
 
146
161
  - Group requirements by area of the product, one file per area:
147
- `doc/<quarter>/requirements/<area>.md`, area in English kebab case
162
+ `pm/<lang>/<quarter>/requirements/<area>.md`, area in English kebab case
148
163
  - Give each requirement an ID `req-<area>-<nnn>`, e.g. `req-results-001`;
149
164
  the prefix keeps it apart from decision IDs. Never reuse or renumber an
150
165
  ID. A new ID follows the highest one of the area in all quarters, since
@@ -178,7 +193,7 @@ root
178
193
  a time and with proposals: the
179
194
  [requirements guide](requirements-guide.md) says how, `/gg-plan-requirements`
180
195
  runs it
181
- - Do it before the first ticket, whenever `doc/<quarter>/requirements` is
196
+ - Do it before the first ticket, whenever `pm/<lang>/<quarter>/requirements` is
182
197
  empty, and
183
198
  whenever the work of a ticket is not covered by an accepted requirement
184
199
  - Plan and create tickets only after that. Bug tickets are the exception:
@@ -187,7 +202,7 @@ root
187
202
 
188
203
  ## @team Know the team
189
204
 
190
- - Write down who works on the project in `doc/<quarter>/team/people.md`,
205
+ - Write down who works on the project in `pm/<lang>/<quarter>/team/people.md`,
191
206
  one section per person:
192
207
 
193
208
  ```markdown
@@ -214,7 +229,7 @@ root
214
229
  - `Sprint length` — once, at the top; default two weeks
215
230
  - `Hours per day` — once, at the top: the working hours of one day, used
216
231
  to turn estimates in days into hours; default 8
217
- - Write down the roles in `doc/<quarter>/team/roles.md`, one section per
232
+ - Write down the roles in `pm/<lang>/<quarter>/team/roles.md`, one section per
218
233
  role. Start
219
234
  with Developer, Product Owner, Management, Sales and Customer, and add
220
235
  the ones the project needs:
@@ -261,11 +276,11 @@ root
261
276
 
262
277
  ## @blog Write blog posts
263
278
 
264
- - Write a post only if `doc/guides/blog-guide.md` exists; it comes from the
279
+ - Write a post only if `doc/en/guides/blog-guide.md` exists; it comes from the
265
280
  `dna_blog` layer. Without it, write no post and skip the rest of this
266
281
  section
267
282
  - Follow the blog guide for content and template
268
- - Put the post into `doc/<quarter>/blog` of the PM repo, the quarter of
283
+ - Put the post into `pm/<lang>/<quarter>/blog` of the PM repo, the quarter of
269
284
  the day the ticket is finished
270
285
  - Name it `<yyyy>-<mm>-<dd>-<title>.md`, title in English kebab case
271
286
  - One post may cover all repos of the ticket that belong to the
@@ -286,30 +301,72 @@ root
286
301
  topic, in English kebab case
287
302
  - Name reports `<name>.md` and exports `<yyyy>-<mm>-<dd>-<name>-sprint.csv`,
288
303
  `<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
304
+ - Keep the English file names in every language
305
+
306
+ ## @meetings Keep the meetings
307
+
308
+ - Write one file per meeting into `pm/<lang>/<quarter>/meetings`, named
309
+ `<yyyy>-<mm>-<dd>-<topic>.md`, topic in English kebab case
310
+ - Use these sections, in this order:
311
+
312
+ ```markdown
313
+ # <Topic> — <yyyy>-<mm>-<dd>
314
+
315
+ ## Participants
316
+
317
+ ## Topics
318
+
319
+ ## Decisions
320
+
321
+ ## Tasks
322
+ ```
323
+
324
+ - `Participants` — the first names of `team/people.md`, plus guests by
325
+ role; never contact data
326
+ - `Decisions` — one line per decision; a decision that shapes the product
327
+ also gets its own file in `concepts/decisions`
328
+ - `Tasks` — one checkbox per task with the first name of the person who
329
+ does it
330
+ - Turn tasks that change the product into tickets; link the ticket from
331
+ the task
332
+
333
+ ## @charts Draw charts
334
+
335
+ - Put every chart of the quarter into `pm/<lang>/<quarter>/charts`, one
336
+ markdown file per chart with the chart as mermaid, e.g. the time plan
337
+ `schedule.md`, a burn-down or the distribution of the tickets
338
+ - Name a chart by its topic, in English kebab case
339
+ - Say in one paragraph above the chart what it shows and from which files
340
+ it is drawn, so it can be redrawn
341
+ - Redraw a chart when its sources change; never edit a chart of an older
342
+ quarter
343
+
344
+ ## @languages Keep the languages
345
+
346
+ - This repo keeps its files in these languages, the leading one first:
347
+ `dnaLanguages`. Change them in the `vars` of `dna/_dna.json`, under
348
+ the key `dna` + `Languages` written as one word, e.g. `"en,de"`
349
+ - Every file of `pm` and `doc` exists once per language, under
350
+ `pm/<lang>` and `doc/<lang>` with the same path and file name, `<lang>`
351
+ being the two-letter code of the language
352
+ - `README.md` is English, every other language has `README.<lang>.md`
353
+ - Write the file of the leading language first, even when the user talks
354
+ another one, then the other languages; change all of them in the same
355
+ commit
301
356
  - Translate headings and prose. Keep IDs, file names, links, the status
302
357
  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
358
+ every copy stays readable for tools
359
+ - Keep all copies equal in content and structure; a ticked point in a
360
+ report is ticked in all of them
361
+ - Translate the exports too: the summaries and descriptions, never the
362
+ header row, the keys, the IDs or the names, so Jira imports each of them
363
+ - The guides and templates come from the DNA layers in every language;
364
+ never translate or edit them
308
365
 
309
366
  ## @people Report to the people
310
367
 
311
368
  - Keep one report per person and quarter in
312
- `doc/<quarter>/reports/<name>.md`: the points the person needs to
369
+ `pm/<lang>/<quarter>/reports/<name>.md`: the points the person needs to
313
370
  hear, each with a checkbox to tick once it is communicated
314
371
  - The [report guide](report-guide.md) says how, `/gg-plan-report` runs it: it
315
372
  collects what changed for the roles and areas of the person, appends it
@@ -318,7 +375,7 @@ root
318
375
  ## @export Export tickets to Jira
319
376
 
320
377
  - Export the next tickets of one person as a CSV file Jira imports:
321
- `doc/<quarter>/exports/<yyyy>-<mm>-<dd>-<name>-sprint.csv`
378
+ `pm/<lang>/<quarter>/exports/<yyyy>-<mm>-<dd>-<name>-sprint.csv`
322
379
  - The [Jira export guide](jira-export-guide.md) says how,
323
380
  `/gg-plan-jira-export` runs it: it matches the open tickets without a Jira
324
381
  key to the person by their areas, fills one sprint by the estimates and
@@ -367,7 +424,7 @@ Let the user review the plan and revise it until they confirm it.
367
424
 
368
425
  ## @ticket-file Write the ticket file
369
426
 
370
- - Create `doc/<quarter>/tickets/<date>-<id>-<title>.md`
427
+ - Create `pm/<lang>/<quarter>/tickets/<date>-<id>-<title>.md`
371
428
  - Use these sections, in this order:
372
429
 
373
430
  ```markdown
@@ -394,7 +451,7 @@ Let the user review the plan and revise it until they confirm it.
394
451
  - Move answered questions from `Open questions` into the plan or into a
395
452
  decision file
396
453
  - 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
454
+ - Mark the ticket `done` in `pm/<lang>/<quarter>/charts/schedule.md`, if the project
398
455
  has one
399
456
  - Reference the plan from the blog post that closes the ticket
400
457
  - Keep the file: the plan documents why things are the way they are
@@ -406,13 +463,13 @@ Let the user review the plan and revise it until they confirm it.
406
463
  - The [schedule guide](schedule-guide.md) says how, `/gg-plan-schedule` runs
407
464
  it: it asks for the target date and the capacity, cuts the accepted
408
465
  requirements into tickets, estimates each one and draws the plan as a
409
- Gantt chart in `doc/<quarter>/schedule.md`
466
+ Gantt chart in `pm/<lang>/<quarter>/charts/schedule.md`
410
467
  - Plan the time only on accepted requirements
411
468
 
412
469
  ## @quarter Start a quarter
413
470
 
414
471
  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
472
+ is written, e.g. `pm/en/2027-Q1` on the first ticket in January. Tell the
416
473
  user, show what is carried over and commit it on its own as
417
474
  `Start <yyyy>-Q<n>`.
418
475
 
@@ -426,7 +483,7 @@ Copy what still holds from the previous quarter:
426
483
  | `architecture` | everything |
427
484
  | `concepts/ux` | everything |
428
485
  | `concepts/decisions` | `000-index.md` without the superseded decisions |
429
- | `schedule.md` | the tickets not `done`, a fresh `History` |
486
+ | `charts/schedule.md` | the tickets not `done`, a fresh `History` |
430
487
  | `reports` | the open points, by `/gg-plan-report` |
431
488
 
432
489
  Move the open tickets and bugs with `git mv` into `tickets` and `bugs`
@@ -435,7 +492,8 @@ schedule and not all its requirements are `done`; ask the user when in
435
492
  doubt. This is the only change to an older quarter.
436
493
 
437
494
  Leave the rest where it was written: topics, decision files, finished
438
- tickets, blog posts and exports. The new quarter starts without
495
+ tickets, blog posts, meetings, prompts, exports and the charts other than
496
+ the schedule. The new quarter starts without
439
497
  them and links to them in the older quarter, e.g.
440
498
  `../../2026-Q4/concepts/decisions/design-001.md`.
441
499
 
@@ -447,7 +505,7 @@ them and links to them in the older quarter, e.g.
447
505
  - Add the new quarter to the `Status` of the goals carried over, e.g.
448
506
  `active since 2026-Q3`
449
507
  - Point `README.md` to the new quarter
450
- - Do the same in `doc/de`, if the repo keeps German copies
508
+ - Do the same in every language of the repo
451
509
 
452
510
  ## @quarter-2 Plan a quarter
453
511
 
@@ -465,7 +523,7 @@ picture.
465
523
  Derive tickets from the requirements; each ticket names the goal it serves
466
524
  and the requirements it fulfils.
467
525
 
468
- Update `schedule.md`, if the project has one, and check the forecast
526
+ Update `charts/schedule.md`, if the project has one, and check the forecast
469
527
  against the target date.
470
528
 
471
529
  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
+ - همین کار را در هر زبان مخزن انجام بده