@ggdna/dna-plan 0.6.0 → 0.6.2

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.
@@ -15,7 +15,7 @@
15
15
  "ecosystem": null,
16
16
  "resolvedVersion": null,
17
17
  "via": null,
18
- "hash": "0x362e15142694f95f"
18
+ "hash": "0xfed4541bc1745977"
19
19
  }
20
20
  ],
21
21
  "claude": {
@@ -31,7 +31,7 @@
31
31
  },
32
32
  {
33
33
  "path": ".claude/skills/plan-jira-export/SKILL.md",
34
- "hash": "0xd4d69717a1fb57af"
34
+ "hash": "0x4d1a1f22434f00fd"
35
35
  },
36
36
  {
37
37
  "path": ".claude/skills/plan-report/SKILL.md",
@@ -47,15 +47,15 @@
47
47
  },
48
48
  {
49
49
  "path": "doc/guides/jira-export-guide.md",
50
- "hash": "0x3f6c674f72a88c20"
50
+ "hash": "0x344403f04fc568a8"
51
51
  },
52
52
  {
53
53
  "path": "doc/guides/pm-repo-guide.md",
54
- "hash": "0x109f62f86ccdbd90"
54
+ "hash": "0x0a3a1b6fe65669b1"
55
55
  },
56
56
  {
57
57
  "path": "doc/guides/report-guide.md",
58
- "hash": "0x67454035a0ae0814"
58
+ "hash": "0x4447bb29454bdab4"
59
59
  },
60
60
  {
61
61
  "path": "doc/guides/requirements-guide.md",
@@ -30,8 +30,20 @@ Ask one question at a time and propose a default each time:
30
30
  - Sprint length — default: the one in `doc/team/people.md`, else two weeks
31
31
  - Capacity — default: the sprint length times the person's days per week;
32
32
  minus holidays, vacations and other work the user names
33
- - Jira account of the person — default: the `Jira` field in
34
- `doc/team/people.md`; ask when it is missing
33
+ - 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
35
+ Jira Data Center or Server, the e-mail address on Jira Cloud
36
+ - Jira — Data Center or Server, or Cloud; default: Data Center
37
+ - Jira project — the key the issues go to; default: the prefix of the
38
+ ticket keys the repo already uses
39
+ - Priorities — the names the project offers; default: `High`, `Normal`
40
+ and `Low`. Take the names exactly as Jira writes them, spaces included
41
+ - Sprint — a sprint the issues go into, by its numeric ID; default: none
42
+ - Hours per day — default: the one in `doc/team/people.md`, else 8
43
+
44
+ If a Jira connection is available, e.g. the Atlassian MCP server, read
45
+ the user names, issue types, priorities and sprints of the project from
46
+ it instead of asking for them.
35
47
 
36
48
  ## Find the open tickets
37
49
 
@@ -74,31 +86,50 @@ Ask one question at a time and propose a default each time:
74
86
  Use these columns, in this order:
75
87
 
76
88
  ```csv
77
- Summary,Issue Type,Priority,Assignee,Labels,Original Estimate,Description
78
- "Import race data",Story,High,anna@example.com,results-without-desktop-software,158400,"Goal: ...
89
+ Summary,Issue Type,Priority,Assignee,Labels,Original Estimate,Sprint,Description
90
+ "Import race data",Story,High,anna,results-without-desktop-software,158400,1840,"Goal: ...
79
91
  Requirements: req-results-002
80
92
  Steps:
81
- - ...
82
- Plan: doc/2026-Q4/tickets/2026-11-02-import-race-data.md"
93
+ * ...
94
+ Plan: {{doc/2026-Q4/tickets/2026-11-02-import-race-data.md}}"
83
95
  ```
84
96
 
85
97
  - `Summary` — the ticket title in words, not in kebab case
86
- - `Issue Type` — `Story`; `Bug` for a bug ticket
98
+ - `Issue Type` — `Story`; `Bug` for a bug ticket. Both must exist in the
99
+ project
87
100
  - `Priority` — from the highest priority of its requirements: `must` →
88
- `High`, `should` → `Medium`, `could` → `Low`
89
- - `Assignee` — the Jira account of the person
90
- - `Labels` — the goal the ticket serves, in kebab case; several labels
91
- separated by spaces
92
- - `Original Estimate` — the expected duration in seconds, eight hours per
93
- working day: 5.5 days → `158400`
101
+ the high one, `should` → the middle one, `could` → the low one of the
102
+ names agreed above
103
+ - `Assignee` — the Jira name of the person
104
+ - `Labels` — the goal the ticket serves, in kebab case without spaces.
105
+ For a second label add another column, also headed `Labels`
106
+ - `Original Estimate` — the expected duration in whole seconds: days ×
107
+ hours per day × 3600. With 8 hours, 5.5 days → `158400`; with 7.5
108
+ hours → `148500`. Jira shows it in its own length of a working day
109
+ - `Sprint` — the numeric sprint ID, never the name; leave the column out
110
+ without a sprint
94
111
  - `Description` — the goal, the requirements by ID, the steps and the
95
112
  path of the plan file; without a plan file, the line of
96
- `doc/schedule.md`
97
- - Encode in UTF-8, separate by commas, end lines with `\n`; quote every
98
- field that holds a comma, a quote or a line break, and double the
99
- quotes inside it
100
- - Tell the user how to import it: Jira → Issues → Import issues from CSV,
101
- and map the columns of the same name
113
+ `doc/schedule.md`. Jira Data Center and Server render wiki markup:
114
+ write list items as `* `, and put paths, file names and IDs with `_`
115
+ or braces into `{{…}}`
116
+ - Leave out `Issue Key`: with it Jira would update existing issues
117
+ - Encode in UTF-8 without BOM, separate by commas, end lines with `\n`;
118
+ quote every field that holds a comma, a quote or a line break, and
119
+ double the quotes inside it; give every row the same number of fields
120
+
121
+ ## Tell the user how to import it
122
+
123
+ - Jira Data Center or Server: Issues → Import Issues from CSV; it needs
124
+ the permissions to create issues and to bulk change
125
+ - Jira Cloud: Filters → Search work items → ••• → Import work items from
126
+ CSV; at most 250 work items per file
127
+ - Choose the project, the encoding UTF-8 and the comma as separator
128
+ - Map each column to the field of the same name
129
+ - Tick "Map field value" for `Priority`, `Issue Type` and `Assignee` only
130
+ when their values differ from the names in Jira; never for
131
+ `Description`, or Jira drops its line breaks
132
+ - Validate first, then import
102
133
 
103
134
  ## Take the keys back
104
135
 
@@ -181,23 +181,26 @@ root
181
181
  # People
182
182
 
183
183
  - Sprint length: 2 weeks
184
+ - Hours per day: 8
184
185
 
185
186
  ## Anna
186
187
 
187
188
  - Areas: result list, import of race data, the `timing_app` repo
188
- - Roles: Developer, Product Owner
189
189
  - Days per week: 4
190
- - Jira: anna@example.com
190
+ - Jira: anna
191
191
  ```
192
192
 
193
193
  - The section title is the first name; the file names of the person use
194
194
  it in lower case kebab case: `anna`
195
195
  - `Areas` — what the person takes care of: features, topics, repos. The
196
196
  Jira export matches tickets to people by them
197
- - `Roles` — one or more of `doc/team/roles.md`
198
197
  - `Days per week` — how much of the week the person works on the project
199
- - `Jira` — the account Jira knows the person by; optional
198
+ - `Jira` — the name Jira knows the person by: the user name on Jira Data
199
+ Center or Server, e.g. `anna`, the e-mail address on Jira Cloud;
200
+ optional
200
201
  - `Sprint length` — once, at the top; default two weeks
202
+ - `Hours per day` — once, at the top: the working hours of one day, used
203
+ to turn estimates in days into hours; default 8
201
204
  - Write down the roles in `doc/team/roles.md`, one section per role. Start
202
205
  with Developer, Product Owner, Management, Sales and Customer, and add
203
206
  the ones the project needs:
@@ -212,14 +215,18 @@ root
212
215
  - Hears about: goals, requirements, decisions, schedule shifts
213
216
  ```
214
217
 
218
+ - `People` — the first names of `doc/team/people.md` who have the role.
219
+ This is the only place that says who has which role; `people.md` does
220
+ not repeat it
215
221
  - `Hears about` decides what lands in the reports of the people in that
216
222
  role. Customers and sales hear about outcomes and dates, never about
217
223
  internals such as code, open decisions or estimates
218
- - One person may have several roles; their report covers all of them
224
+ - One person may have several roles, so may be listed under several of
225
+ them; their report covers all of them
219
226
  - Ask the user for the team before the first report or export; never
220
227
  guess people or roles
221
- - Keep only first names, areas and roles here; no contact data besides
222
- the Jira account
228
+ - Keep only first names, areas and roles in `doc/team`; no contact data
229
+ besides the Jira account
223
230
 
224
231
  ## Fill the concepts folder
225
232
 
@@ -35,9 +35,13 @@ communicated.
35
35
  - tickets that were planned or finished, and their blog posts
36
36
  - shifts in `doc/schedule.md`: a later forecast, a missed or moved
37
37
  target date
38
- - Keep only what the person needs: what their roles hear about, as
39
- `doc/team/roles.md` says, and what touches their areas in
40
- `doc/team/people.md`
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
43
+ `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`
41
45
  - Write each point as one sentence the person understands without the
42
46
  repo: what changed and what it means for them. Link the file it comes
43
47
  from
@@ -50,7 +54,7 @@ Use this template:
50
54
  ```markdown
51
55
  # Report for Anna — 2026-Q4
52
56
 
53
- - Roles: Product Owner, Management
57
+ - Roles: see [roles](../../team/roles.md)
54
58
  - Tick a point once it is communicated
55
59
 
56
60
  ## Carried over from 2026-Q3
@@ -12,6 +12,9 @@ and work by it.
12
12
 
13
13
  - The person is required; ask for it if the user did not name one
14
14
  - Export only tickets without a Jira key, and only one sprint's worth
15
+ - Use user names, issue types, priorities and sprint IDs exactly as the
16
+ Jira project has them; read them from a Jira connection if one is
17
+ available, else ask
15
18
  - Show the matching and the sprint before writing the CSV
16
19
  - Never write the person into a ticket file
17
20
  - Write the Jira keys back only when the user asks for it after the import
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ggdna/dna-plan",
3
- "version": "0.6.0",
3
+ "version": "0.6.2",
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",