perttool 0.1.0-alpha.2 → 0.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.
Files changed (99) hide show
  1. package/CHANGELOG.md +78 -28
  2. package/README.md +173 -95
  3. package/dist/application/agent-help.d.ts +3 -0
  4. package/dist/application/agent-help.d.ts.map +1 -0
  5. package/dist/application/agent-help.js +5 -0
  6. package/dist/application/agent-help.js.map +1 -0
  7. package/dist/application/analyze.js +5 -5
  8. package/dist/application/analyze.js.map +1 -1
  9. package/dist/application/init.d.ts +42 -0
  10. package/dist/application/init.d.ts.map +1 -0
  11. package/dist/application/init.js +217 -0
  12. package/dist/application/init.js.map +1 -0
  13. package/dist/application/mutate.d.ts.map +1 -1
  14. package/dist/application/mutate.js +28 -15
  15. package/dist/application/mutate.js.map +1 -1
  16. package/dist/application/project.d.ts +25 -0
  17. package/dist/application/project.d.ts.map +1 -0
  18. package/dist/application/project.js +54 -0
  19. package/dist/application/project.js.map +1 -0
  20. package/dist/cli.js +419 -331
  21. package/dist/cli.js.map +1 -1
  22. package/dist/command/discovery.d.ts +30 -0
  23. package/dist/command/discovery.d.ts.map +1 -0
  24. package/dist/command/discovery.js +625 -0
  25. package/dist/command/discovery.js.map +1 -0
  26. package/dist/command/registry.d.ts +84 -0
  27. package/dist/command/registry.d.ts.map +1 -0
  28. package/dist/command/registry.js +951 -0
  29. package/dist/command/registry.js.map +1 -0
  30. package/dist/command/usage.d.ts +42 -0
  31. package/dist/command/usage.d.ts.map +1 -0
  32. package/dist/command/usage.js +337 -0
  33. package/dist/command/usage.js.map +1 -0
  34. package/dist/conversion/mermaid-import.js +56 -56
  35. package/dist/conversion/mermaid-import.js.map +1 -1
  36. package/dist/conversion/mermaid.js +1 -1
  37. package/dist/conversion/mermaid.js.map +1 -1
  38. package/dist/guidance/profile.d.ts +6 -0
  39. package/dist/guidance/profile.d.ts.map +1 -0
  40. package/dist/guidance/profile.js +1158 -0
  41. package/dist/guidance/profile.js.map +1 -0
  42. package/dist/guidance/projection.d.ts +16 -0
  43. package/dist/guidance/projection.d.ts.map +1 -0
  44. package/dist/guidance/projection.js +276 -0
  45. package/dist/guidance/projection.js.map +1 -0
  46. package/dist/guidance/query.d.ts +4 -0
  47. package/dist/guidance/query.d.ts.map +1 -0
  48. package/dist/guidance/query.js +178 -0
  49. package/dist/guidance/query.js.map +1 -0
  50. package/dist/guidance/text.d.ts +4 -0
  51. package/dist/guidance/text.d.ts.map +1 -0
  52. package/dist/guidance/text.js +118 -0
  53. package/dist/guidance/text.js.map +1 -0
  54. package/dist/guidance/types.d.ts +227 -0
  55. package/dist/guidance/types.d.ts.map +1 -0
  56. package/dist/guidance/types.js +54 -0
  57. package/dist/guidance/types.js.map +1 -0
  58. package/dist/guidance/validator.d.ts +8 -0
  59. package/dist/guidance/validator.d.ts.map +1 -0
  60. package/dist/guidance/validator.js +383 -0
  61. package/dist/guidance/validator.js.map +1 -0
  62. package/dist/help/guide.d.ts +12 -0
  63. package/dist/help/guide.d.ts.map +1 -0
  64. package/dist/help/guide.js +103 -0
  65. package/dist/help/guide.js.map +1 -0
  66. package/dist/help/registry.d.ts.map +1 -1
  67. package/dist/help/registry.js +76 -67
  68. package/dist/help/registry.js.map +1 -1
  69. package/dist/index.d.ts +21 -1
  70. package/dist/index.d.ts.map +1 -1
  71. package/dist/index.js +13 -0
  72. package/dist/index.js.map +1 -1
  73. package/dist/io/safe-write.js +17 -17
  74. package/dist/io/safe-write.js.map +1 -1
  75. package/dist/mutation/gate.d.ts +5 -0
  76. package/dist/mutation/gate.d.ts.map +1 -0
  77. package/dist/mutation/gate.js +156 -0
  78. package/dist/mutation/gate.js.map +1 -0
  79. package/dist/mutation/milestone.js +26 -26
  80. package/dist/mutation/milestone.js.map +1 -1
  81. package/dist/mutation/project.d.ts +5 -0
  82. package/dist/mutation/project.d.ts.map +1 -0
  83. package/dist/mutation/project.js +148 -0
  84. package/dist/mutation/project.js.map +1 -0
  85. package/dist/mutation/resource.js +22 -22
  86. package/dist/mutation/resource.js.map +1 -1
  87. package/dist/mutation/task.js +40 -40
  88. package/dist/mutation/task.js.map +1 -1
  89. package/dist/mutation/types.d.ts +46 -1
  90. package/dist/mutation/types.d.ts.map +1 -1
  91. package/dist/parser/document-parser.js +17 -17
  92. package/dist/parser/document-parser.js.map +1 -1
  93. package/dist/semantic/validator.js +41 -41
  94. package/dist/semantic/validator.js.map +1 -1
  95. package/dist/version.d.ts +1 -1
  96. package/dist/version.d.ts.map +1 -1
  97. package/dist/version.js +1 -1
  98. package/dist/version.js.map +1 -1
  99. package/package.json +4 -4
@@ -2,19 +2,19 @@ const nodes = [
2
2
  {
3
3
  id: "syntax",
4
4
  title: "DSL syntax",
5
- summary: "projectresourcemilestonetask、gateを記述するgrammar version 1。",
5
+ summary: "Grammar version 1 for declaring project, resource, milestone, task, and gate.",
6
6
  quick: [
7
7
  {
8
8
  id: "declarations",
9
9
  title: "Declarations",
10
- body: "projectを最初に1件置き、続けてresourcemilestonetaskgateを記述します。",
10
+ body: "Place exactly one project first, followed by resource, milestone, task, and gate declarations.",
11
11
  },
12
12
  ],
13
13
  detail: [
14
14
  {
15
15
  id: "indentation",
16
16
  title: "Indentation",
17
- body: "fieldは2 spacesestimate/requiresの子fieldは4 spacesです。Tabは使用できません。",
17
+ body: "Fields use 2 spaces; child fields in estimate and requires use 4 spaces. Tabs are not allowed.",
18
18
  },
19
19
  ],
20
20
  syntax: [
@@ -46,19 +46,19 @@ const nodes = [
46
46
  {
47
47
  id: "syntax.project",
48
48
  title: "Project syntax",
49
- summary: "文書先頭にexactly one置くproject declarationです。",
49
+ summary: "The exactly-one project declaration at the start of a document.",
50
50
  quick: [
51
51
  {
52
52
  id: "required",
53
53
  title: "Required fields",
54
- body: "titleduration_unitfinishが必須です。Point文書では正のvelocityも必須です。",
54
+ body: "title, duration_unit, and finish are required. Point documents also require a positive velocity.",
55
55
  },
56
56
  ],
57
57
  detail: [
58
58
  {
59
59
  id: "version",
60
60
  title: "Grammar version",
61
- body: "version省略時は1として扱い、指定する場合もversion 1だけを受理します。",
61
+ body: "An omitted version is treated as 1; when specified, only version 1 is accepted.",
62
62
  },
63
63
  ],
64
64
  syntax: [
@@ -75,12 +75,12 @@ const nodes = [
75
75
  {
76
76
  id: "syntax.resource",
77
77
  title: "Resource syntax",
78
- summary: "Renewable resourceと同時利用可能な整数capacityを宣言します。",
78
+ summary: "Declares a renewable resource and its integer capacity for concurrent use.",
79
79
  quick: [
80
80
  {
81
81
  id: "capacity",
82
82
  title: "Capacity",
83
- body: "title1以上のcapacityが必須です。Taskのrequiresからresource IDを参照します。",
83
+ body: "title and a capacity of at least 1 are required. Tasks reference the resource ID from requires.",
84
84
  },
85
85
  ],
86
86
  detail: [],
@@ -93,12 +93,12 @@ const nodes = [
93
93
  {
94
94
  id: "syntax.milestone",
95
95
  title: "Milestone syntax",
96
- summary: "AoA nodeと現在frontierのreached状態を宣言します。",
96
+ summary: "Declares an AoA node and its reached state in the current frontier.",
97
97
  quick: [
98
98
  {
99
99
  id: "state",
100
100
  title: "Milestone state",
101
- body: "titleが必須です。stateplannedまたはreachedで、readyは保存せず依存関係から導出します。",
101
+ body: "title is required. state is planned or reached; ready is derived from dependencies and is not stored.",
102
102
  },
103
103
  ],
104
104
  detail: [],
@@ -111,19 +111,19 @@ const nodes = [
111
111
  {
112
112
  id: "syntax.task",
113
113
  title: "Task syntax",
114
- summary: "Taskはmilestone間を結ぶAoA edgeです。",
114
+ summary: "A task is an AoA edge connecting milestones.",
115
115
  quick: [
116
116
  {
117
117
  id: "required",
118
118
  title: "Required fields",
119
- body: "titleと、durationまたはestimateのどちらかexactly oneを指定します。",
119
+ body: "Specify title and exactly one of duration or estimate.",
120
120
  },
121
121
  ],
122
122
  detail: [
123
123
  {
124
124
  id: "resources",
125
125
  title: "Resources",
126
- body: "requires blockの全resourceを同時取得し、task完了まで保持します。",
126
+ body: "All resources in the requires block are acquired together and held until the task completes.",
127
127
  },
128
128
  ],
129
129
  syntax: ["task ID FROM -> TO:", " title \"...\"", " duration 1d"],
@@ -143,12 +143,12 @@ const nodes = [
143
143
  {
144
144
  id: "syntax.gate",
145
145
  title: "Gate syntax",
146
- summary: "所要時間0のdependency edgeとしてmilestone間を接続します。",
146
+ summary: "Connects milestones with a zero-duration dependency edge.",
147
147
  quick: [
148
148
  {
149
149
  id: "reason",
150
150
  title: "Reason",
151
- body: "reasonが必須です。Gateはresourceを要求せず、task durationも持ちません。",
151
+ body: "reason is required. A gate requires no resources and has no task duration.",
152
152
  },
153
153
  ],
154
154
  detail: [],
@@ -165,19 +165,19 @@ const nodes = [
165
165
  {
166
166
  id: "syntax.estimate",
167
167
  title: "PERT estimate syntax",
168
- summary: "optimisticmost_likelypessimisticの三点見積りを記述します。",
168
+ summary: "Specifies a three-point estimate: optimistic, most_likely, and pessimistic.",
169
169
  quick: [
170
170
  {
171
171
  id: "order",
172
172
  title: "Ordering constraint",
173
- body: "optimistic <= most_likely <= pessimistic、かつpessimistic > 0が必要です。",
173
+ body: "optimistic <= most_likely <= pessimistic and pessimistic > 0 are required.",
174
174
  },
175
175
  ],
176
176
  detail: [
177
177
  {
178
178
  id: "unit",
179
179
  title: "Duration unit",
180
- body: "3値は同じsuffixを使い、project duration_unitday/hour/point)と一致させます。",
180
+ body: "All three values use the same suffix, matching the project duration_unit (day/hour/point).",
181
181
  },
182
182
  ],
183
183
  syntax: [
@@ -198,7 +198,7 @@ const nodes = [
198
198
  {
199
199
  id: "syntax.duration",
200
200
  title: "Duration syntax",
201
- summary: "Finite decimalproject unit suffix dhpのいずれかを付けます。",
201
+ summary: "A finite decimal followed by the project-unit suffix d, h, or p.",
202
202
  quick: [],
203
203
  detail: [],
204
204
  syntax: ["1d", "2.5h", "3p", "0d"],
@@ -208,24 +208,24 @@ const nodes = [
208
208
  {
209
209
  id: "syntax.velocity",
210
210
  title: "Velocity syntax",
211
- summary: "Pointとday/hourを相互換算するproject-wide velocityを記述します。",
211
+ summary: "Specifies the project-wide velocity for converting between points and days or hours.",
212
212
  quick: [
213
213
  {
214
214
  id: "forecast",
215
215
  title: "Velocity forecast",
216
- body: "duration_unit pointではvelocityが必須です。PERT値はpのまま計算し、換算値をvelocity forecastとして別に返します。",
216
+ body: "duration_unit point requires velocity. PERT values are calculated in p and converted values are returned separately as a velocity forecast.",
217
217
  },
218
218
  ],
219
219
  detail: [
220
220
  {
221
221
  id: "units",
222
222
  title: "Units",
223
- body: "20p/10dまたは20p/80hの形式です。dayhourの関係は暗黙に推測しません。",
223
+ body: "Use the form 20p/10d or 20p/80h. The relationship between day and hour is not inferred implicitly.",
224
224
  },
225
225
  {
226
226
  id: "scope",
227
227
  title: "MVP scope",
228
- body: "velocityproject全体で一定です。team別、resource別、期間別velocityMVP対象外です。",
228
+ body: "velocity is constant across the project. Per-team, per-resource, and time-varying velocity are outside the MVP scope.",
229
229
  },
230
230
  ],
231
231
  syntax: [
@@ -245,7 +245,7 @@ const nodes = [
245
245
  {
246
246
  id: "syntax.indentation",
247
247
  title: "Indentation",
248
- summary: "Structural indentationASCII spacesだけを使用します。",
248
+ summary: "Structural indentation uses ASCII spaces only.",
249
249
  quick: [],
250
250
  detail: [],
251
251
  syntax: ["field: 2 spaces", "nested field: 4 spaces"],
@@ -255,13 +255,13 @@ const nodes = [
255
255
  {
256
256
  id: "syntax.string",
257
257
  title: "String syntax",
258
- summary: "JSON string literalと同じdouble-quoted textを使用します。",
258
+ summary: "Uses double-quoted text with the same rules as a JSON string literal.",
259
259
  quick: [],
260
260
  detail: [
261
261
  {
262
262
  id: "unicode",
263
263
  title: "Unicode and escapes",
264
- body: "Unicodeは直接記述でき、escapeはJSON形式を使用します。Unpaired surrogateは受理しません。",
264
+ body: "Unicode may be written directly, and escapes use JSON syntax. Unpaired surrogates are not accepted.",
265
265
  },
266
266
  ],
267
267
  syntax: ["\"text\"", "\"\\u65e5\\u672c\""],
@@ -271,13 +271,13 @@ const nodes = [
271
271
  {
272
272
  id: "syntax.text",
273
273
  title: "Text field syntax",
274
- summary: "descriptionblocked_reasonreasonStringまたはblock textを取ります。",
274
+ summary: "description, blocked_reason, and reason accept a String or block text.",
275
275
  quick: [],
276
276
  detail: [
277
277
  {
278
278
  id: "block",
279
279
  title: "Block text",
280
- body: "nonblank contentのcommon indentを除去し、paragraph blankと残りのindentを保持します。",
280
+ body: "Removes the common indent from nonblank content while preserving paragraph blanks and remaining indentation.",
281
281
  },
282
282
  ],
283
283
  syntax: [" description \"...\"", " description |", " first line"],
@@ -287,7 +287,7 @@ const nodes = [
287
287
  {
288
288
  id: "syntax.tags",
289
289
  title: "Tag list syntax",
290
- summary: "Bare IdentifierまたはStringを角括弧内へcomma区切りで記述します。",
290
+ summary: "A comma-separated list of bare Identifiers or Strings in square brackets.",
291
291
  quick: [],
292
292
  detail: [],
293
293
  syntax: [" tags [alpha, \"two words\"]", " tags []"],
@@ -297,12 +297,12 @@ const nodes = [
297
297
  {
298
298
  id: "syntax.comments",
299
299
  title: "Comment syntax",
300
- summary: "独立行の#以降をCST triviaとして保持します。",
300
+ summary: "Preserves # and the following text on standalone lines as CST trivia.",
301
301
  quick: [
302
302
  {
303
303
  id: "standalone",
304
304
  title: "Standalone only",
305
- body: "grammar version 1ではinline commentを許可しません。Stringblock text内の#はcontentです。",
305
+ body: "Grammar version 1 does not allow inline comments. # within a String or block text is content.",
306
306
  },
307
307
  ],
308
308
  detail: [],
@@ -313,7 +313,7 @@ const nodes = [
313
313
  {
314
314
  id: "syntax.top-level",
315
315
  title: "Top-level declaration syntax",
316
- summary: "Projectを文書先頭に置き、各declarationcolumn 0から開始します。",
316
+ summary: "Place the project declaration at the start of the document and begin every declaration at column 0.",
317
317
  quick: [],
318
318
  detail: [],
319
319
  syntax: [
@@ -331,24 +331,24 @@ const nodes = [
331
331
  {
332
332
  id: "analysis",
333
333
  title: "Analysis",
334
- summary: "PERT/CPM precedence resultとresource scheduleを分離して返します。",
334
+ summary: "Returns PERT/CPM precedence results separately from the resource schedule.",
335
335
  quick: [
336
336
  {
337
337
  id: "results",
338
338
  title: "Separated results",
339
- body: "precedence makespanresourceを無視した下限、resource makespanはcapacityを守る決定的heuristic resultです。",
339
+ body: "The precedence makespan is a lower bound that ignores resources; the resource makespan is a deterministic heuristic result that respects capacity.",
340
340
  },
341
341
  ],
342
342
  detail: [
343
343
  {
344
344
  id: "exact",
345
345
  title: "Exact arithmetic",
346
- body: "expectedvariancefloatmakespanexact Rationalで計算し、displayだけを--precisionで丸めます。Point文書ではvelocity forecastもexact換算します。",
346
+ body: "expected, variance, float, and makespan use exact Rational arithmetic; only display values are rounded with --precision. Point documents also convert velocity forecasts exactly.",
347
347
  },
348
348
  {
349
349
  id: "paths",
350
350
  title: "Critical paths",
351
- body: "near-critical subgraphexact driving pathを区別し、path countは列挙上限と独立に返します。",
351
+ body: "Distinguishes the near-critical subgraph from exact driving paths, and returns the path count independently of the enumeration limit.",
352
352
  },
353
353
  ],
354
354
  syntax: [
@@ -367,24 +367,24 @@ const nodes = [
367
367
  {
368
368
  id: "analysis.resources",
369
369
  title: "Resource analysis",
370
- summary: "Renewable capacityを守る決定的heuristic scheduleです。",
370
+ summary: "A deterministic heuristic schedule that respects renewable capacity.",
371
371
  quick: [
372
372
  {
373
373
  id: "capacity",
374
374
  title: "Capacity override",
375
- body: "--capacitywhat-if入力であり、source documentを書き換えません。",
375
+ body: "--capacity is a what-if input and does not rewrite the source document.",
376
376
  },
377
377
  ],
378
378
  detail: [
379
379
  {
380
380
  id: "algorithm",
381
381
  title: "parallel-sgs v1",
382
- body: "priorityprecedence floatexpected durationtask IDの順でcandidateをscanします。optimal=falseです。",
382
+ body: "Scans candidates by priority, precedence float, expected duration, and task ID. optimal=false.",
383
383
  },
384
384
  {
385
385
  id: "witness",
386
386
  title: "Resource witness",
387
- body: "resource待ちはrelease taskから開始taskへのanalysis-only resource arcで説明し、正本DAGへ保存しません。",
387
+ body: "Resource waits are explained by analysis-only resource arcs from releasing tasks to starting tasks and are not stored in the authoritative DAG.",
388
388
  },
389
389
  ],
390
390
  syntax: [
@@ -403,44 +403,44 @@ const nodes = [
403
403
  {
404
404
  id: "next",
405
405
  title: "Next tasks",
406
- summary: "NextResult.v3で工程上の推奨taskと、activereadyrunnable_nowblocked_nowupcomingを返します。",
406
+ summary: "Returns workflow recommendations in NextResult.v3 together with active, ready, runnable_now, blocked_now, and upcoming tasks.",
407
407
  quick: [
408
408
  {
409
409
  id: "classification",
410
410
  title: "Task classification",
411
- body: "readyは依存関係上開始可能なplanned task、runnable_nowは現在のactive allocationを差し引いて同時開始できるreadyの部分集合です。",
411
+ body: "ready consists of planned tasks whose dependencies permit them to start; runnable_now is the subset of ready tasks that can start concurrently after accounting for current active allocations.",
412
412
  },
413
413
  {
414
414
  id: "recommendation",
415
415
  title: "Recommendation authority",
416
- body: "recommendationready taskをrecommendedalloweddeferreddiscouragedへ分類します。recommended setは同時開始可能ですがheuristicであり、optimal=falseです。",
416
+ body: "recommendation classifies ready tasks as recommended, allowed, deferred, or discouraged. The recommended set can start concurrently, but is heuristic and optimal=false.",
417
417
  },
418
418
  ],
419
419
  detail: [
420
420
  {
421
421
  id: "consumer-safety",
422
422
  title: "Machine-readable explanation",
423
- body: "--format jsoncompletePerttool.NextResult.v3説明graphを返します。Consumerはschema_versionと各model versionを先に検査し、未知のdecisive semanticsではtaskを自動開始しません。Textcomplete=falsesummaryです。",
423
+ body: "--format json returns a complete Perttool.NextResult.v3 explanation graph. Consumers first validate schema_version and every model version, and do not automatically start tasks when decisive semantics are unknown. Text is a complete=false summary.",
424
424
  },
425
425
  {
426
426
  id: "authority-adoption",
427
427
  title: "AI task selection authority",
428
- body: "AIは--format jsonのknown Perttool.NextResult.v3recommendation interface 1ranking algorithm 1reason taxonomy 1.0explanation/expression/description model 1locale encompleteかつnot-truncatedtraceだけをnormal start authorityとして使用します。Macroのrecommended work packageを選んでから対応detailを再解析し、recommended subset、またはrecommended set全件にallowedを1件だけ追加した集合を選びます。Unknown versionincomplete tracePTREC diagnosticdeferred/discouraged selectionでは開始せず停止します。Task stateまたはcapacity変更後は再解析します。",
428
+ body: "AI uses only a known Perttool.NextResult.v3 from --format json, recommendation interface 1, ranking algorithm 1, reason taxonomy 1.0, explanation/expression/description model 1, locale en, and a complete, non-truncated trace as normal start authority. After selecting the macro recommended work package, reanalyze its corresponding detail plan, then select either a recommended subset or the full recommended set plus exactly one allowed task. Do not start for an unknown version, incomplete trace, PTREC diagnostic, or deferred/discouraged selection; stop instead. Reanalyze after task-state or capacity changes.",
429
429
  },
430
430
  {
431
431
  id: "selection",
432
432
  title: "Resource selection",
433
- body: "runnable_nowは既存scheduler順で選ぶoperational subsetrecommendationはversion付きranking policyで選ぶauthorityであり、同じ集合とは限りません。CLI rendererrankingを再実装しません。",
433
+ body: "runnable_now is an operational subset selected by the existing scheduler order, while recommendation is the authority selected by a versioned ranking policy; they are not necessarily the same set. The CLI renderer does not reimplement ranking.",
434
434
  },
435
435
  {
436
436
  id: "override-validation",
437
437
  title: "Human override validation",
438
- body: "Public CorevalidateOverridecompleteNextResult.v3と明示requestからPerttool.OverrideDecision.v1を決定的に生成します。これはread-only validationであり、task state、file、Gitnetworkを変更しません。reason_textevidenceへsecret、credential、tokenを含めないでください。Override applyaudit writeのCLIは未実装です。",
438
+ body: "The public Core validateOverride deterministically produces Perttool.OverrideDecision.v1 from a complete NextResult.v3 and an explicit request. This is read-only validation and does not change task state, files, Git, or the network. Do not include secrets, credentials, or tokens in reason_text or evidence. The CLI for override apply and audit write is not implemented.",
439
439
  },
440
440
  {
441
441
  id: "explanation",
442
442
  title: "Upcoming explanation",
443
- body: "upcomingは未到達の開始milestoneとunsatisfied incoming edgeを返します。--explain-depth0..32default 1です。",
443
+ body: "upcoming returns unreached starting milestones and unsatisfied incoming edges. --explain-depth is 0..32; the default is 1.",
444
444
  },
445
445
  ],
446
446
  syntax: [
@@ -459,30 +459,39 @@ const nodes = [
459
459
  {
460
460
  id: "editing",
461
461
  title: "Safe editing",
462
- summary: "dsl format、task/milestone/resource mutation、atomic batch、dag advanceをpreviewし、検査済み候補を安全にwriteできます。",
462
+ summary: "Preview document formatting, project/task/gate/milestone/resource mutations, atomic batches, and DAG advancement, then safely write validated candidates.",
463
463
  quick: [
464
464
  {
465
465
  id: "current-surface",
466
466
  title: "Current surface",
467
- body: "dsl formatplanFormat、Entity commandとmutation applyplanMutationdag advanceplanAdvanceの再検査済みcandidate、UTF-16 TextEdit、digestdifftext/JSONへ投影します。既定はfileを変更しないpreviewです。",
467
+ body: "project show returns project metadata read-only. project init creates the smallest valid candidate without writing by default. document format projects planFormat; project/entity commands and batch apply project planMutation; and dag advance projects the revalidated candidate from planAdvance, UTF-16 TextEdits, digest, and diff as text/JSON. Direct gate add/set/remove commands and connected atomic batches use the same preview-first mutation path. The default is a preview that does not modify files.",
468
468
  },
469
469
  ],
470
470
  detail: [
471
471
  {
472
472
  id: "write-gate",
473
473
  title: "Safe write",
474
- body: "--writeは初回read digestとwrite直前digestを照合してatomic replaceし、--expect-digestcaller lockを追加できます。--outは既存targetを上書きせず新規作成します。--diffはpreview専用です。",
474
+ body: "--write atomically replaces a file after comparing the initial-read digest with the digest immediately before writing; --expect-digest adds a caller lock. --out creates a new target without overwriting an existing one. --diff is for previews only.",
475
475
  },
476
476
  ],
477
477
  syntax: [
478
- "perttool dsl format FILE [--check] [--diff] [--write [--expect-digest DIGEST] | --out PATH]",
478
+ "perttool project init PROJECT_ID --title TITLE --duration-unit UNIT --initial-milestone ID --initial-milestone-title TITLE --finish ID [--out PATH]",
479
+ "perttool project show FILE [--format text|json]",
480
+ "perttool project set FILE [--velocity VELOCITY]... [--write [--expect-digest DIGEST] | --out PATH]",
481
+ "perttool document format FILE [--check] [--diff] [--write [--expect-digest DIGEST] | --out PATH]",
479
482
  "perttool task add|set|remove|finish ... [--write [--expect-digest DIGEST] | --out PATH]",
483
+ "perttool gate add|set|remove ... [--write [--expect-digest DIGEST] | --out PATH]",
480
484
  "perttool milestone add|set|remove ... [--write [--expect-digest DIGEST] | --out PATH]",
481
485
  "perttool resource add|set|remove ... [--write [--expect-digest DIGEST] | --out PATH]",
482
- "perttool mutation apply FILE --request REQUEST.json [--write [--expect-digest DIGEST] | --out PATH]",
486
+ "perttool batch apply FILE --request REQUEST.json [--write [--expect-digest DIGEST] | --out PATH]",
483
487
  "perttool dag advance FILE [--diff] [--write [--expect-digest DIGEST] | --out PATH]",
484
488
  ],
485
489
  examples: [
490
+ {
491
+ id: "project-velocity",
492
+ title: "Inspect and preview velocity",
493
+ text: "perttool project show plan.pert --format json\nperttool project set plan.pert --velocity 20p/1d --diff",
494
+ },
486
495
  {
487
496
  id: "task-preview",
488
497
  title: "Preview a task update",
@@ -499,29 +508,29 @@ const nodes = [
499
508
  {
500
509
  id: "mermaid",
501
510
  title: "Mermaid conversion",
502
- summary: "dag renderdag importでlossless Mermaid profileを往復でき、plain importの損失を明示できます。",
511
+ summary: "Round-trip a lossless Mermaid profile with dag render and dag import, and explicitly report plain-import loss.",
503
512
  quick: [
504
513
  {
505
514
  id: "authority",
506
515
  title: "Profile authority",
507
- body: "%% perttool: semantic recordが正規化DSL意味モデルの復元正本で、flowchart node/edgeは人間向けprojectionです。",
516
+ body: "%% perttool: semantic records are the authoritative source for restoring the normalized DSL semantic model; flowchart nodes and edges are a human-facing projection.",
508
517
  },
509
518
  ],
510
519
  detail: [
511
520
  {
512
521
  id: "fidelity",
513
522
  title: "Lossless boundary",
514
- body: "losslessはgrammar v1の正規化意味同値です。comment、blank line、field/declaration順、escape spellingline endingのbyte同一性は対象外です。",
523
+ body: "Lossless means normalized semantic equivalence for grammar v1. Byte identity for comments, blank lines, field/declaration order, escape spelling, and line endings is out of scope.",
515
524
  },
516
525
  {
517
526
  id: "integrity",
518
527
  title: "Fail-closed validation",
519
- body: "canonical JSON record、record countmetadata/projection SHA-256node/edge対応を検査します。Profile header検出後の破損をplain importへ黙って降格しません。",
528
+ body: "Validates canonical JSON records, record count, metadata/projection SHA-256 values, and node/edge correspondence. Corruption detected after a profile header is not silently downgraded to plain import.",
520
529
  },
521
530
  {
522
531
  id: "availability",
523
532
  title: "Current availability",
524
- body: "exportMermaid/importMermaid Coredag render/importは利用できます。perttool profileは復元用semantic metadataをfail-closed検査し、plain import/exportstable PTCNV lossを返します。SVGJSON targetは後続sliceです。",
533
+ body: "The exportMermaid/importMermaid Core and dag render/import are available. The perttool profile fail-closed validates restoration metadata, and plain import/export returns stable PTCNV losses. SVG and JSON targets are later slices.",
525
534
  },
526
535
  ],
527
536
  syntax: [
@@ -545,7 +554,7 @@ const nodes = [
545
554
  {
546
555
  id: "workflows",
547
556
  title: "Workflows",
548
- summary: "checkanalyzenextpreviewGit commitの順で運用します。",
557
+ summary: "Operate in the order check, analyze, next, preview, and Git commit.",
549
558
  quick: [],
550
559
  detail: [],
551
560
  syntax: [],
@@ -555,28 +564,28 @@ const nodes = [
555
564
  {
556
565
  id: "errors",
557
566
  title: "Diagnostics",
558
- summary: "Stable code、source span、局所help topicで問題を報告します。",
567
+ summary: "Reports problems with stable codes, source spans, and local help topics.",
559
568
  quick: [
560
569
  {
561
570
  id: "recovery",
562
571
  title: "Error recovery",
563
- body: "独立した構文errorは可能な範囲で複数返し、同じinvalid blockの子行は1 error regionとして抑制します。",
572
+ body: "Returns multiple independent syntax errors where possible, and suppresses child lines in the same invalid block as one error region.",
564
573
  },
565
574
  ],
566
575
  detail: [
567
576
  {
568
577
  id: "phases",
569
578
  title: "Phase suppression",
570
- body: "parse errorがある文書ではfield/graph validationを実行せず、原因を直す前の派生PTSEM/PTDAG diagnosticを返しません。",
579
+ body: "For documents with parse errors, field/graph validation does not run, so derived PTSEM/PTDAG diagnostics are not returned before the cause is fixed.",
571
580
  },
572
581
  {
573
582
  id: "limit",
574
583
  title: "Diagnostic limit",
575
- body: "--max-diagnostics1..1000default 100です。上限超過はdiagnostics_truncatedで確認できます。",
584
+ body: "--max-diagnostics is 1..1000, with a default of 100. diagnostics_truncated indicates when the limit is exceeded.",
576
585
  },
577
586
  ],
578
587
  syntax: [
579
- "perttool dsl check FILE --max-diagnostics 20 --format json",
588
+ "perttool document check FILE --max-diagnostics 20 --format json",
580
589
  "perttool dag analyze FILE --max-diagnostics 20 --format json",
581
590
  "perttool dag next FILE --max-diagnostics 20 --format json",
582
591
  ],
@@ -586,7 +595,7 @@ const nodes = [
586
595
  {
587
596
  id: "samples",
588
597
  title: "Samples",
589
- summary: "Repositoryの規範sample IDを案内します。",
598
+ summary: "Lists the repository's normative sample IDs.",
590
599
  quick: [],
591
600
  detail: [],
592
601
  syntax: [],
@@ -606,7 +615,7 @@ export function getHelp(topicId, level) {
606
615
  topicId: null,
607
616
  level: "index",
608
617
  title: "perttool DSL help",
609
- summary: "利用するtopicを選択してください。",
618
+ summary: "Select a topic to use.",
610
619
  sections: [],
611
620
  syntax: [],
612
621
  examples: [],
@@ -624,7 +633,7 @@ export function getHelp(topicId, level) {
624
633
  topicId,
625
634
  level,
626
635
  title: "Unknown help topic",
627
- summary: "指定されたhelp topicは存在しません。",
636
+ summary: "The specified help topic does not exist.",
628
637
  sections: [],
629
638
  syntax: [],
630
639
  examples: [],
@@ -1 +1 @@
1
- {"version":3,"file":"registry.js","sourceRoot":"","sources":["../../src/help/registry.ts"],"names":[],"mappings":"AAyCA,MAAM,KAAK,GAAwB;IACjC;QACE,EAAE,EAAE,QAAQ;QACZ,KAAK,EAAE,YAAY;QACnB,OAAO,EAAE,6DAA6D;QACtE,KAAK,EAAE;YACL;gBACE,EAAE,EAAE,cAAc;gBAClB,KAAK,EAAE,cAAc;gBACrB,IAAI,EAAE,wDAAwD;aAC/D;SACF;QACD,MAAM,EAAE;YACN;gBACE,EAAE,EAAE,aAAa;gBACjB,KAAK,EAAE,aAAa;gBACpB,IAAI,EAAE,iEAAiE;aACxE;SACF;QACD,MAAM,EAAE;YACN,aAAa;YACb,eAAe;YACf,qBAAqB;YACrB,qBAAqB;YACrB,cAAc;SACf;QACD,QAAQ,EAAE;YACR;gBACE,EAAE,EAAE,SAAS;gBACb,KAAK,EAAE,kBAAkB;gBACzB,IAAI,EAA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,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO;QAC9C,MAAM,EAAE,EAAE;QACV,WAAW,EAAE,EAAE;KAChB,CAAC;AACJ,CAAC"}
package/dist/index.d.ts CHANGED
@@ -1,5 +1,8 @@
1
1
  export { checkDocument } from "./application/check.js";
2
2
  export { analyzeDocument } from "./application/analyze.js";
3
+ export { getAgentHelp } from "./application/agent-help.js";
4
+ export { getProjectMetadata } from "./application/project.js";
5
+ export { planProjectInit, projectInitResultToJson, renderProjectInitResult, serializeProjectInitResult, withProjectInitOutput, } from "./application/init.js";
3
6
  export { planFormat } from "./application/format.js";
4
7
  export { selectNextTasks } from "./application/next.js";
5
8
  export { recommendationAnalysisToJson } from "./recommendation/json.js";
@@ -12,6 +15,19 @@ export { buildResidualGraph, computeEffectiveReached } from "./analysis/graph.js
12
15
  export { analyzePrecedence } from "./analysis/precedence.js";
13
16
  export { analyzeResources } from "./analysis/resource.js";
14
17
  export { getHelp } from "./help/registry.js";
18
+ export { commandDescriptorToJson, commandOptionSets, getAgentHelpCommandHelp, } from "./command/registry.js";
19
+ export { CONTRACT3_COMMAND_REGISTRY as COMMAND_REGISTRY, commandHelpResultToJson, commandRegistryToJson, getCommandDiscovery, renderCommandHelpResult, serializeCommandHelpResult, } from "./command/discovery.js";
20
+ export { commandUsageErrorToJson, renderCommandUsageError, serializeCommandUsageError, validateCommandInvocation, } from "./command/usage.js";
21
+ export { getGuide, guideResultToJson, renderGuideResult, serializeGuideResult, } from "./help/guide.js";
22
+ export type { CommandExample, CommandHandler, CommandOutputDescriptor, ExitStatusDescriptor, OperandDescriptor, OptionDescriptor, ProjectedCommandDescriptor, ProjectedCommandDescriptor as CommandDescriptor, SharedOptionGroup, } from "./command/registry.js";
23
+ export type { CommandHelpQuery, CommandHelpResult, CommandResourceSummary, } from "./command/discovery.js";
24
+ export type { CommandHelpTarget, CommandInvocationValidation, CommandOptionOccurrence, CommandUsageError, CommandUsageErrorKind, CommandUsageSuggestion, CommandUsageSuggestionKind, InvalidCommandInvocation, ValidCommandInvocation, } from "./command/usage.js";
25
+ export type { GuideResult } from "./help/guide.js";
26
+ export { getAgentGuidance, getBundledAgentGuidance, } from "./guidance/query.js";
27
+ export { agentGuidanceResultToJson, serializeAgentGuidanceResult, } from "./guidance/projection.js";
28
+ export { agentGuidanceExitCode, renderAgentGuidanceText, } from "./guidance/text.js";
29
+ export { AGENT_GUIDANCE_GUIDANCE_REGISTRY_V1, AGENT_GUIDANCE_PROFILE_V1, AGENT_GUIDANCE_RISK_REGISTRY_V1, AGENT_GUIDANCE_SNAPSHOT_V1, } from "./guidance/profile.js";
30
+ export { agentGuidanceProfileToJson, createAgentGuidanceProfileSnapshot, digestAgentGuidanceProfile, serializeAgentGuidanceProfile, validateAgentGuidanceProfile, } from "./guidance/validator.js";
15
31
  export { formatDocument } from "./formatter/source-formatter.js";
16
32
  export { digestDocumentBytes, documentContentFromBytes, readDocumentFile, } from "./io/document-file.js";
17
33
  export { createArtifactFile, createDocumentFile, replaceDocumentFile, SafeWriteConflictError, SafeWriteVerificationError, } from "./io/safe-write.js";
@@ -21,6 +37,10 @@ export * from "./model/units.js";
21
37
  export { parseDocument } from "./parser/document-parser.js";
22
38
  export { validateDocument } from "./semantic/validator.js";
23
39
  export type { CheckOptions, CheckResult, CheckSummary } from "./application/check.js";
40
+ export type { ProjectMetadata, ProjectMetadataDurationUnit, ProjectMetadataResult, } from "./application/project.js";
41
+ export type { ProjectInitDurationUnit, ProjectInitRequest, ProjectInitResult, ProjectInitWrite, } from "./application/init.js";
42
+ export { AGENT_GUIDANCE_DIRECTIVES, AGENT_GUIDANCE_ORIGINS, AGENT_GUIDANCE_PROVIDER_IDS, AGENT_GUIDANCE_RISK_KINDS, AGENT_GUIDANCE_SCOPE_IDS, AGENT_GUIDANCE_SUPPORT_STATUSES, AGENT_GUIDANCE_SURFACE_IDS, } from "./guidance/types.js";
43
+ export type { AgentGuidanceAlias, AgentGuidanceArtifact, AgentGuidanceArtifactProfile, AgentGuidanceArtifactResolution, AgentGuidanceCapabilities, AgentGuidanceDiagnostic, AgentGuidanceDirective, AgentGuidanceEvidenceKind, AgentGuidanceLevel, AgentGuidanceOrigin, AgentGuidanceProfile, AgentGuidanceProfileSnapshot, AgentGuidanceProfileValidationResult, AgentGuidanceProjectedStatusEvidence, AgentGuidanceProvider, AgentGuidanceProviderId, AgentGuidanceProviderProfile, AgentGuidanceQuery, AgentGuidanceQueryProjection, AgentGuidanceRecord, AgentGuidanceRecordProfile, AgentGuidanceResult, AgentGuidanceRisk, AgentGuidanceRiskKind, AgentGuidanceRiskProfile, AgentGuidanceScopeId, AgentGuidanceSource, AgentGuidanceSourceProfile, AgentGuidanceStaleness, AgentGuidanceStalenessStatus, AgentGuidanceStatusEvidence, AgentGuidanceSupportStatus, AgentGuidanceSurface, AgentGuidanceSurfaceId, AgentGuidanceSurfaceProfile, GuidanceDescription, GuidanceDescriptionParameter, } from "./guidance/types.js";
24
44
  export type { ConversionLoss, ConversionLossReport, MermaidAnalysisMode, MermaidExportOptions, MermaidExportResult, MermaidProfile, } from "./conversion/mermaid.js";
25
45
  export type { GeneratedId, MermaidImportOptions, MermaidImportResult, } from "./conversion/mermaid-import.js";
26
46
  export type { FormatPreviewOptions, FormatPreviewResult, } from "./application/format.js";
@@ -40,5 +60,5 @@ export type { TextEdit } from "./mutation/text-edits.js";
40
60
  export type { AdvanceDetails, AdvanceResult, AdvanceRetainedEdge, AdvanceRetentionReason, } from "./mutation/advance.js";
41
61
  export type { DocumentContent } from "./io/document-file.js";
42
62
  export type { CreateArtifactOptions, CreateDocumentOptions, DocumentWriteResult, ReplaceDocumentOptions, SafeWriteConflictReason, SafeWriteVerificationReason, } from "./io/safe-write.js";
43
- export type { AddMilestoneMutation, AddResourceMutation, AddTaskMutation, AtomicMutation, BatchMutation, FinishTaskMutation, MilestoneClearableField, MilestoneDefinition, MilestoneFieldSet, MilestoneMutation, MilestoneMutationState, Mutation, MutationOptions, MutationResult, RemoveMilestoneMutation, RemoveResourceMutation, RemoveTaskMutation, ResourceClearableField, ResourceDefinition, ResourceFieldSet, ResourceMutation, SetMilestoneMutation, SetResourceMutation, SetTaskMutation, TaskClearableField, TaskDefinition, TaskEstimateInput, TaskFieldSet, TaskMutation, TaskMutationStatus, TaskRequirementInput, } from "./mutation/types.js";
63
+ export type { AddGateMutation, AddMilestoneMutation, AddResourceMutation, AddTaskMutation, AtomicMutation, BatchMutation, FinishTaskMutation, GateDefinition, GateFieldSet, GateMutation, MilestoneClearableField, MilestoneDefinition, MilestoneFieldSet, MilestoneMutation, MilestoneMutationState, Mutation, MutationOptions, MutationResult, RemoveMilestoneMutation, RemoveGateMutation, RemoveResourceMutation, RemoveTaskMutation, ProjectClearableField, ProjectDurationUnit, ProjectFieldSet, ProjectMutation, ResourceClearableField, ResourceDefinition, ResourceFieldSet, ResourceMutation, SetMilestoneMutation, SetGateMutation, SetProjectMutation, SetResourceMutation, SetTaskMutation, TaskClearableField, TaskDefinition, TaskEstimateInput, TaskFieldSet, TaskMutation, TaskMutationStatus, TaskRequirementInput, } from "./mutation/types.js";
44
64
  //# sourceMappingURL=index.d.ts.map