perttool 0.8.0 → 0.9.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 (133) hide show
  1. package/CHANGELOG.md +37 -1
  2. package/README.md +90 -39
  3. package/dist/application/cli-facade.d.ts +10 -6
  4. package/dist/application/cli-facade.d.ts.map +1 -1
  5. package/dist/application/cli-facade.js +14 -6
  6. package/dist/application/cli-facade.js.map +1 -1
  7. package/dist/application/contract8-milestone-acceptance.d.ts +74 -0
  8. package/dist/application/contract8-milestone-acceptance.d.ts.map +1 -0
  9. package/dist/application/contract8-milestone-acceptance.js +185 -0
  10. package/dist/application/contract8-milestone-acceptance.js.map +1 -0
  11. package/dist/application/editor-milestone-acceptance.d.ts +75 -0
  12. package/dist/application/editor-milestone-acceptance.d.ts.map +1 -0
  13. package/dist/application/editor-milestone-acceptance.js +161 -0
  14. package/dist/application/editor-milestone-acceptance.js.map +1 -0
  15. package/dist/application/target-governance-init.d.ts +1 -1
  16. package/dist/application/target-governance-init.d.ts.map +1 -1
  17. package/dist/application/target-governance-init.js +3 -5
  18. package/dist/application/target-governance-init.js.map +1 -1
  19. package/dist/application/target-governance-project.d.ts +2 -2
  20. package/dist/application/target-governance-project.d.ts.map +1 -1
  21. package/dist/application/target-historical-graph.d.ts +3 -1
  22. package/dist/application/target-historical-graph.d.ts.map +1 -1
  23. package/dist/application/target-historical-graph.js +85 -2
  24. package/dist/application/target-historical-graph.js.map +1 -1
  25. package/dist/assurance/advance.d.ts.map +1 -1
  26. package/dist/assurance/advance.js +13 -3
  27. package/dist/assurance/advance.js.map +1 -1
  28. package/dist/cli.js +348 -28
  29. package/dist/cli.js.map +1 -1
  30. package/dist/command/assurance-discovery.d.ts +4 -3
  31. package/dist/command/assurance-discovery.d.ts.map +1 -1
  32. package/dist/command/assurance-discovery.js +96 -9
  33. package/dist/command/assurance-discovery.js.map +1 -1
  34. package/dist/command/assurance-usage.js +2 -2
  35. package/dist/command/assurance-usage.js.map +1 -1
  36. package/dist/command/discovery.js +4 -4
  37. package/dist/command/discovery.js.map +1 -1
  38. package/dist/command/registry.d.ts +1 -1
  39. package/dist/command/registry.d.ts.map +1 -1
  40. package/dist/command/registry.js +2 -2
  41. package/dist/command/registry.js.map +1 -1
  42. package/dist/command/usage.d.ts.map +1 -1
  43. package/dist/command/usage.js +12 -4
  44. package/dist/command/usage.js.map +1 -1
  45. package/dist/core/index.d.ts +1 -1
  46. package/dist/core/index.d.ts.map +1 -1
  47. package/dist/help/assurance-guide.d.ts +1 -1
  48. package/dist/help/assurance-guide.d.ts.map +1 -1
  49. package/dist/help/assurance-guide.js +45 -19
  50. package/dist/help/assurance-guide.js.map +1 -1
  51. package/dist/help/guide.d.ts +1 -1
  52. package/dist/help/guide.d.ts.map +1 -1
  53. package/dist/help/registry.js +4 -4
  54. package/dist/help/registry.js.map +1 -1
  55. package/dist/history/historical-graph.d.ts +2 -0
  56. package/dist/history/historical-graph.d.ts.map +1 -1
  57. package/dist/history/historical-graph.js +98 -24
  58. package/dist/history/historical-graph.js.map +1 -1
  59. package/dist/history/milestone-acceptance-history.d.ts +59 -0
  60. package/dist/history/milestone-acceptance-history.d.ts.map +1 -0
  61. package/dist/history/milestone-acceptance-history.js +332 -0
  62. package/dist/history/milestone-acceptance-history.js.map +1 -0
  63. package/dist/index.d.ts +10 -9
  64. package/dist/index.d.ts.map +1 -1
  65. package/dist/index.js +7 -6
  66. package/dist/index.js.map +1 -1
  67. package/dist/migration/grammar-boundary.d.ts +1 -1
  68. package/dist/migration/grammar-boundary.d.ts.map +1 -1
  69. package/dist/migration/grammar-boundary.js +7 -3
  70. package/dist/migration/grammar-boundary.js.map +1 -1
  71. package/dist/milestone-acceptance/advance.d.ts +39 -0
  72. package/dist/milestone-acceptance/advance.d.ts.map +1 -0
  73. package/dist/milestone-acceptance/advance.js +112 -0
  74. package/dist/milestone-acceptance/advance.js.map +1 -0
  75. package/dist/milestone-acceptance/evaluate.d.ts +51 -0
  76. package/dist/milestone-acceptance/evaluate.d.ts.map +1 -0
  77. package/dist/milestone-acceptance/evaluate.js +114 -0
  78. package/dist/milestone-acceptance/evaluate.js.map +1 -0
  79. package/dist/milestone-acceptance/migration.d.ts +25 -0
  80. package/dist/milestone-acceptance/migration.d.ts.map +1 -0
  81. package/dist/milestone-acceptance/migration.js +76 -0
  82. package/dist/milestone-acceptance/migration.js.map +1 -0
  83. package/dist/milestone-acceptance/mutation.d.ts +49 -0
  84. package/dist/milestone-acceptance/mutation.d.ts.map +1 -0
  85. package/dist/milestone-acceptance/mutation.js +136 -0
  86. package/dist/milestone-acceptance/mutation.js.map +1 -0
  87. package/dist/milestone-acceptance/source.d.ts +83 -0
  88. package/dist/milestone-acceptance/source.d.ts.map +1 -0
  89. package/dist/milestone-acceptance/source.js +301 -0
  90. package/dist/milestone-acceptance/source.js.map +1 -0
  91. package/dist/mutation/advance-deletion.d.ts.map +1 -1
  92. package/dist/mutation/advance-deletion.js +6 -1
  93. package/dist/mutation/advance-deletion.js.map +1 -1
  94. package/dist/recommendation/override-types.d.ts +2 -2
  95. package/dist/recommendation/override.d.ts +1 -1
  96. package/dist/recommendation/override.js +2 -2
  97. package/dist/schema/registry.d.ts +1 -1
  98. package/dist/schema/registry.d.ts.map +1 -1
  99. package/dist/schema/registry.js +8 -6
  100. package/dist/schema/registry.js.map +1 -1
  101. package/dist/semantic/validator.d.ts.map +1 -1
  102. package/dist/semantic/validator.js +14 -3
  103. package/dist/semantic/validator.js.map +1 -1
  104. package/dist/session/document-session.d.ts +5 -0
  105. package/dist/session/document-session.d.ts.map +1 -1
  106. package/dist/session/document-session.js +25 -2
  107. package/dist/session/document-session.js.map +1 -1
  108. package/dist/version.d.ts +1 -1
  109. package/dist/version.js +1 -1
  110. package/package.json +1 -1
  111. package/schemas/{Perttool.AdvanceResult.v2.schema.json → Perttool.AdvanceResult.v3.schema.json} +36 -5
  112. package/schemas/Perttool.AgentGuidanceResult.v1.schema.json +1 -1
  113. package/schemas/{Perttool.AnalysisResult.v5.schema.json → Perttool.AnalysisResult.v6.schema.json} +12 -5
  114. package/schemas/{Perttool.CheckResult.v4.schema.json → Perttool.CheckResult.v5.schema.json} +12 -5
  115. package/schemas/Perttool.CliError.v1.schema.json +1 -1
  116. package/schemas/Perttool.CommandHelpResult.v1.schema.json +3 -3
  117. package/schemas/Perttool.ExportResult.v1.schema.json +1 -1
  118. package/schemas/Perttool.FormatResult.v1.schema.json +1 -1
  119. package/schemas/Perttool.GuideResult.v1.schema.json +1 -1
  120. package/schemas/Perttool.HistoricalGraphResult.v1.schema.json +100 -2
  121. package/schemas/Perttool.ImportResult.v1.schema.json +1 -1
  122. package/schemas/Perttool.InitResult.v1.schema.json +1 -1
  123. package/schemas/Perttool.MilestoneAcceptanceMigrationResult.v1.schema.json +24 -0
  124. package/schemas/Perttool.MilestoneAcceptanceResult.v1.schema.json +79 -0
  125. package/schemas/{Perttool.MutationResult.v4.schema.json → Perttool.MutationResult.v5.schema.json} +4 -4
  126. package/schemas/{Perttool.NextResult.v6.schema.json → Perttool.NextResult.v7.schema.json} +12 -5
  127. package/schemas/Perttool.OverrideDecision.v1.schema.json +1 -1
  128. package/schemas/Perttool.PlanAssuranceResult.v1.schema.json +1 -1
  129. package/schemas/Perttool.ProjectHistoryResult.v1.schema.json +1 -1
  130. package/schemas/Perttool.ProjectResult.v4.schema.json +2 -2
  131. package/schemas/Perttool.SchemaResult.v1.schema.json +1 -1
  132. package/schemas/Perttool.UnitMigrationResult.v3.schema.json +5 -3
  133. package/schemas/Perttool.VelocityObservationResult.v1.schema.json +1 -1
package/CHANGELOG.md CHANGED
@@ -4,6 +4,40 @@ This project records its notable changes here. The format is based on [Keep a Ch
4
4
 
5
5
  ## [Unreleased]
6
6
 
7
+ ## [0.9.0] - 2026-08-13
8
+
9
+ Breaking Grammar 7 and CLI Contract 8 beta minor. This version publishes
10
+ milestone outcome acceptance as a separate fact from graph closure.
11
+
12
+ ### Added
13
+
14
+ - Added Grammar 7 milestone criterion sets, caller-asserted evidence receipts,
15
+ committed migration provenance, a separate acceptance evaluator, Contract 8
16
+ results and commands, and an all-or-nothing acceptance guard for canonical
17
+ advance while retaining graph closure as a distinct fact.
18
+ - Added checkpoint-specific milestone-acceptance history to
19
+ `Perttool.HistoricalGraphResult.v1`, including exact migration provenance,
20
+ criterion and receipt epochs, and acceptance-aware canonical-advance proof.
21
+
22
+ ### Fixed
23
+
24
+ - Made consecutive terminal declaration deletions own disjoint separator-byte
25
+ ranges. This fixes Issue #11 without changing candidate bytes, assurance or
26
+ history guard meanings, or the Issue #9 EOF receipt insertion behavior.
27
+
28
+ ## [0.8.1] - 2026-08-12
29
+
30
+ Compatible Grammar 6 and CLI Contract 7 beta patch. This version corrects a
31
+ `dag advance` mutation-planning overlap without changing commands, schemas,
32
+ result identities, payload meanings, or authority.
33
+
34
+ ### Fixed
35
+
36
+ - Made assurance frontier-receipt creation use the beginning of an
37
+ advance-owned terminal declaration suffix when every terminal `work_event`
38
+ is removed. Preview, separate output, and in-place write now produce the
39
+ same valid candidate instead of failing with `PTCLI-070`.
40
+
7
41
  ## [0.8.0] - 2026-08-07
8
42
 
9
43
  Additive Grammar 6 and CLI Contract 7 beta minor. This version publishes the
@@ -419,7 +453,9 @@ First public development preview. Intended to evaluate the DSL and CLI, read-onl
419
453
  - Not published to the npm registry; use the GitHub Release asset
420
454
  - Requires Node.js 24 or later
421
455
 
422
- [Unreleased]: https://github.com/mako10k/perttool/compare/v0.8.0...HEAD
456
+ [Unreleased]: https://github.com/mako10k/perttool/compare/v0.9.0...HEAD
457
+ [0.9.0]: https://github.com/mako10k/perttool/compare/v0.8.1...v0.9.0
458
+ [0.8.1]: https://github.com/mako10k/perttool/compare/v0.8.0...v0.8.1
423
459
  [0.8.0]: https://github.com/mako10k/perttool/compare/v0.7.1...v0.8.0
424
460
  [0.7.1]: https://github.com/mako10k/perttool/compare/v0.7.0...v0.7.1
425
461
  [0.7.0]: https://github.com/mako10k/perttool/compare/v0.6.0...v0.7.0
package/README.md CHANGED
@@ -46,8 +46,9 @@ the read-only `dag history` command, `Perttool.HistoricalGraphResult.v1`, and
46
46
  the declaration-identity correction without changing Grammar 6 or CLI
47
47
  Contract 7. It exposes 45 commands, 21 root schemas, 122 reference-identical
48
48
  root and Node runtime exports, and 45 portable Core runtime exports. Its beta
49
- publication moves only npm `beta` and leaves independently managed
50
- `latest=0.7.1`; use `0.7.1` as the exact rollback pin.
49
+ publication moved only npm `beta` and left independently managed
50
+ `latest=0.7.1`; one separately authorized post-acceptance operation later made
51
+ `beta=latest=0.8.0`. Use `0.7.1` as the exact rollback pin.
51
52
  The repository-only VSIX also adds separately negotiated historical snapshot,
52
53
  proved-lineage, and timeline views for trusted local Git workspaces plus
53
54
  verified read-only immutable source navigation. Those adapter results are not
@@ -59,25 +60,57 @@ focus result. Compact `Mnn`/`Tnn`/`Gnn` graph labels link to original-identity
59
60
  details, and exact residual, resource-remaining, and task-time summaries keep
60
61
  qualified Point forecasts distinct. Layout never becomes project semantics.
61
62
 
63
+ Version `0.8.1` is a backward-compatible Contract 7 patch for `dag advance`.
64
+ It preserves assurance frontier receipts when all terminal work events belong
65
+ to removed tasks, while retaining the `0.8.0` command, schema, package-export,
66
+ and authority boundaries. npm currently reports `beta=latest=0.8.1`; use
67
+ `0.8.0` as the exact rollback pin.
68
+
69
+ Version `0.9.0` is the selected, locally prepared beta release for the current
70
+ Grammar 7 and CLI Contract 8 milestone-acceptance boundary. It exposes 53
71
+ commands, 23 root schemas, 129 root and Node runtime exports,
72
+ `Perttool.CheckResult.v5`,
73
+ `Perttool.AnalysisResult.v6`, `Perttool.NextResult.v7`,
74
+ `Perttool.MutationResult.v5`, `Perttool.AdvanceResult.v3`, committed migration,
75
+ criterion-set replacement, caller-asserted receipts, and acceptance-aware
76
+ canonical advance. Package, lockfile, CLI, and private adapter peer identities
77
+ are prepared as `0.9.0`, while the published npm baseline remains
78
+ `beta=latest=0.8.1`. Candidate acceptance, any Git push or tag, GitHub and npm
79
+ publication, dist-tag movement, Issue mutation, and plan advance remain
80
+ separate decisions.
81
+
82
+ The private adapters now project that same Contract 8 acceptance model without
83
+ adding write authority. The LSP negotiates a separate version-bound milestone
84
+ acceptance result, the VSIX presents criteria, blockers, and receipt provenance
85
+ with verified source navigation, and the MCP check, analysis, and Next tools
86
+ retain acceptance in their unchanged wire v1 envelopes. The public npm package
87
+ still excludes all three private adapter workspaces.
88
+
89
+ The complete milestone-acceptance cross-surface gate passes. All milestone criteria and
90
+ receipts were separately owner-confirmed, and the completed plan was
91
+ canonically advanced from its committed pre-advance snapshot. The residual
92
+ plan has no diagnostics, remaining task, recommendation, or startable task.
93
+ Candidate acceptance, publication, and remote writes remain separate.
94
+
62
95
  ## Run without installing
63
96
 
64
97
  After beta publication, use `npx` for an occasional Contract 7 invocation and
65
98
  select the version explicitly:
66
99
 
67
100
  ```sh
68
- npx --yes --package=perttool@0.8.0 -- perttool --version
69
- npx --yes --package=perttool@0.8.0 -- perttool document check PLAN.pert
70
- npx --yes --package=perttool@0.8.0 -- perttool dag next PLAN.pert --format json
71
- npx --yes --package=perttool@0.8.0 -- perttool dag history PLAN.pert --rev HEAD --format json
101
+ npx --yes --package=perttool@0.8.1 -- perttool --version
102
+ npx --yes --package=perttool@0.8.1 -- perttool document check PLAN.pert
103
+ npx --yes --package=perttool@0.8.1 -- perttool dag next PLAN.pert --format json
104
+ npx --yes --package=perttool@0.8.1 -- perttool dag history PLAN.pert --rev HEAD --format json
72
105
  ```
73
106
 
74
107
  The equivalent explicit `npm exec` form is:
75
108
 
76
109
  ```sh
77
- npm exec --yes --package=perttool@0.8.0 -- perttool --version
78
- npm exec --yes --package=perttool@0.8.0 -- perttool document check PLAN.pert
79
- npm exec --yes --package=perttool@0.8.0 -- perttool dag analyze PLAN.pert
80
- npm exec --yes --package=perttool@0.8.0 -- perttool plan-assurance hash PLAN.pert WORK --kind contract
110
+ npm exec --yes --package=perttool@0.8.1 -- perttool --version
111
+ npm exec --yes --package=perttool@0.8.1 -- perttool document check PLAN.pert
112
+ npm exec --yes --package=perttool@0.8.1 -- perttool dag analyze PLAN.pert
113
+ npm exec --yes --package=perttool@0.8.1 -- perttool plan-assurance hash PLAN.pert WORK --kind contract
81
114
  ```
82
115
 
83
116
  `npx` and `npm exec` may download the selected package version into the npm
@@ -91,15 +124,17 @@ Install the additive Contract 7 CLI globally by exact version when it is used
91
124
  regularly:
92
125
 
93
126
  ```sh
94
- npm install --global perttool@0.8.0
127
+ npm install --global perttool@0.8.1
95
128
  perttool --version
96
129
  ```
97
130
 
98
- The `0.8.0` release procedure publishes only npm `beta` and leaves the
99
- independently managed `latest` tag at `0.7.1`. Select `0.8.0` explicitly for
100
- the new public subpaths and historical DAG command; an unqualified install
101
- continues to select `0.7.1` unless a later operation separately promotes
102
- `latest`.
131
+ The `0.8.0` release procedure published only npm `beta` and left the
132
+ independently managed `latest` tag at `0.7.1`; a separately authorized
133
+ post-acceptance operation later promoted `0.8.0`. The compatible `0.8.1`
134
+ release then moved its accepted patch to both public tags. npm now reports
135
+ `beta=latest=0.8.1`, so an unqualified global installation selects `0.8.1`.
136
+ The exact pin remains the reproducible form for the public subpaths,
137
+ historical DAG command, and corrected advance behavior.
103
138
  Contract 6 remains available by exact pinning `perttool@0.6.0`; the pre-schema
104
139
  Contract 6 artifact remains available as
105
140
  `perttool@0.5.0`. Contract 5,
@@ -149,14 +184,15 @@ The protocol-neutral state contract is the
149
184
  ## Plan files
150
185
 
151
186
  A `.pert` file is the source of truth and is intended to remain directly
152
- readable. This temporal plan has one one-day task:
187
+ readable. This temporal plan has one one-day forecast from a one-Point task:
153
188
 
154
189
  ```text
155
190
  project EXAMPLE:
156
191
  version 2
157
192
  title "Example plan"
158
193
  as_of 2026-07-26
159
- duration_unit day
194
+ duration_unit point
195
+ velocity 1p/1d
160
196
  finish DONE
161
197
 
162
198
  milestone NOW:
@@ -169,7 +205,7 @@ milestone DONE:
169
205
 
170
206
  task WORK NOW -> DONE:
171
207
  title "Do the work"
172
- duration 1d
208
+ duration 1p
173
209
  not_before 2026-07-26
174
210
  deadline 2026-07-27
175
211
  ```
@@ -183,10 +219,13 @@ perttool dag analyze PLAN.pert
183
219
  perttool dag next PLAN.pert --format json
184
220
  ```
185
221
 
186
- Task duration can use deterministic `day`, `hour`, or relative `point` units.
187
- Point plans declare a project-wide velocity such as `20p/10d`. Analysis keeps
188
- the exact point result and reports the time conversion separately as a velocity
189
- forecast. Grammar version 3 also accepts an exact Fraction such as `1/3d`;
222
+ Task estimates default to relative `point` units. A Point plan may declare a
223
+ project-wide velocity such as `20p/10d`; analysis then keeps the exact Point
224
+ result and reports the time conversion separately as a velocity forecast.
225
+ Without velocity, Point analysis remains available without a time forecast.
226
+ The compatible `day` and `hour` units are deprecated and emit `PTSEM-114` with
227
+ `project migrate-unit --to-unit point` guidance. Grammar version 3 also accepts
228
+ an exact Fraction such as `1/3p`;
190
229
  versions 1 and 2 continue to accept Decimal duration tokens. Grammar version 5
191
230
  adds explicit task-owned work events and the `suspended` lifecycle state.
192
231
  Grammar version 6 adds conditional plan assurance records and the separate
@@ -202,14 +241,12 @@ smallest valid document and then create a new file exclusively:
202
241
  ```sh
203
242
  perttool project init EXAMPLE \
204
243
  --title "Example plan" \
205
- --duration-unit day \
206
244
  --initial-milestone NOW \
207
245
  --initial-milestone-title "Current frontier" \
208
246
  --finish NOW
209
247
 
210
248
  perttool project init EXAMPLE \
211
249
  --title "Example plan" \
212
- --duration-unit day \
213
250
  --initial-milestone NOW \
214
251
  --initial-milestone-title "Current frontier" \
215
252
  --finish NOW \
@@ -248,7 +285,7 @@ file. A changed in-place `dag advance` additionally verifies removed or
248
285
  replaced entity ranges against the target path in Git `HEAD` and the stage-0
249
286
  index. Dirty ranges retained by the candidate are allowed; uncommitted
250
287
  destructive overlap or unavailable proof returns `PTADV-101` without writing.
251
- `Perttool.AdvanceResult.v2.history_guard` reports the status, modification
288
+ `Perttool.AdvanceResult.v3.history_guard` reports the status, modification
252
289
  time, byte sizes, diff counts, and affected IDs before supplemental digests.
253
290
  If the source, `HEAD`, or stage-0 index changes after assessment, `PTADV-102`
254
291
  returns exit 5 without writing.
@@ -260,7 +297,9 @@ For a terminal sequence of removed tasks and task-owned work events, the same
260
297
  candidate also removes only its newly orphaned blank separator prefixes. The
261
298
  preview, separate output, and in-place write therefore remain byte-identical
262
299
  and do not require a formatter or a second whitespace edit before
263
- `git diff --check`.
300
+ `git diff --check`. Consecutive terminal assurance records and work events are
301
+ processed in source order so each separator byte belongs to at most one
302
+ deletion range.
264
303
 
265
304
  Gate maintenance uses the same base controls:
266
305
 
@@ -463,6 +502,7 @@ new-start authority from unsealed, review-required, or unavailable plans.
463
502
  | Maintain tasks | `perttool task add|set|remove|start|suspend|resume|finish` |
464
503
  | Maintain gates | `perttool gate add|set|remove` |
465
504
  | Maintain milestones | `perttool milestone add|set|remove` |
505
+ | Maintain milestone acceptance | `perttool milestone acceptance show|replace|verify|fail|unavailable|revoke|waive` |
466
506
  | Maintain resources | `perttool resource add|set|remove` |
467
507
  | Apply an atomic batch | `perttool batch apply` |
468
508
  | Read coding-agent guidance | `perttool agent help` |
@@ -476,8 +516,8 @@ perttool task set --help
476
516
  perttool help dag next --format json
477
517
  perttool help dag history --format json
478
518
  perttool schema --format json
479
- perttool schema Perttool.NextResult.v6 --format json
480
- perttool schema Perttool.NextResult.v6 --view outline --format json
519
+ perttool schema Perttool.NextResult.v7 --format json
520
+ perttool schema Perttool.NextResult.v7 --view outline --format json
481
521
  perttool guide editing --level detail --format json
482
522
  perttool guide historical-dag --level detail --format json
483
523
  ```
@@ -489,7 +529,7 @@ Supplying a schema identity returns its Draft 2020-12 artifact in the
489
529
  `schema` field of `Perttool.SchemaResult.v1`:
490
530
 
491
531
  ```sh
492
- perttool schema Perttool.CheckResult.v4 --format json
532
+ perttool schema Perttool.CheckResult.v5 --format json
493
533
  ```
494
534
 
495
535
  The default and `--view full` return the complete artifact. For a shorter
@@ -498,8 +538,8 @@ references to the complete bundled artifact. Pass one local, relative, or
498
538
  copied absolute reference back with `--ref` to display that internal layer:
499
539
 
500
540
  ```sh
501
- perttool schema Perttool.NextResult.v6 --view outline --format json
502
- perttool schema Perttool.NextResult.v6 --view outline \
541
+ perttool schema Perttool.NextResult.v7 --view outline --format json
542
+ perttool schema Perttool.NextResult.v7 --view outline \
503
543
  --ref '#/$defs/recommendation' --format json
504
544
  ```
505
545
 
@@ -510,12 +550,13 @@ identifier only: validation does not require network access. Consumers must
510
550
  select compatibility from each result's `schema_version`, not from
511
551
  `tool_version`. See the
512
552
  [JSON Schema Artifact Contract](docs/specs/json-schema.md) for the current
513
- 21-root source inventory and versioning rules.
553
+ 23-root source inventory and versioning rules.
514
554
 
515
555
  ## LLM and automation use
516
556
 
517
- Use `--format json` for machine consumers. Versions `0.7.0`, `0.7.1`, and
518
- `0.8.0` require
557
+ Use `--format json` for machine consumers. The current unreleased source
558
+ requires `cli_contract_version == 8`. Published versions `0.7.0`, `0.7.1`,
559
+ `0.8.0`, and `0.8.1` require
519
560
  `cli_contract_version == 7`. Published `0.6.0`, `0.5.5`, `0.5.4`, `0.5.3`,
520
561
  `0.5.2`, `0.5.1`, and `0.5.0` consumers must check
521
562
  `cli_contract_version == 6`;
@@ -539,7 +580,9 @@ rest of a result.
539
580
  Version `0.8.0` adds `dag history`, `Perttool.HistoricalGraphResult.v1`, and
540
581
  the Core and Node subpaths without changing CLI Contract 7; see the
541
582
  [`0.7.1` to `0.8.0` migration](docs/process/0.7.1-to-0.8.0-migration.md).
542
- A complete, known, non-truncated `Perttool.NextResult.v6` with policy
583
+ Version `0.8.1` retains those interfaces and corrects assurance-receipt
584
+ placement in an advance-owned terminal deletion suffix.
585
+ A complete, known, non-truncated `Perttool.NextResult.v7` with policy
543
586
  `recommendation_v1_plus_release_gate_plus_plan_assurance_v1` is required for
544
587
  the current source. Start only task IDs in
545
588
  `temporal.authority.startable_recommended_task_ids`; do not infer start
@@ -550,8 +593,11 @@ they are not new-start recommendations.
550
593
  Mutation JSON returns the candidate text, unified diff, UTF-16 text edits,
551
594
  source digest, updated digest, diagnostics, and write result in one envelope.
552
595
  Direct, lifecycle, batch, and assurance mutations use
553
- `Perttool.MutationResult.v4`; `dag advance` uses
554
- `Perttool.AdvanceResult.v2`.
596
+ `Perttool.MutationResult.v5`; milestone acceptance mutations use that same
597
+ identity, and `dag advance` uses `Perttool.AdvanceResult.v3`. Current-source
598
+ advance requires Grammar 7; migrate a committed older document with
599
+ `perttool document migrate --target-grammar 7`, then declare criteria through
600
+ the milestone acceptance commands before relying on canonical advance.
555
601
  Unknown schema versions, incomplete recommendation traces, `PTREC-*`
556
602
  diagnostics, and future or unavailable temporal eligibility must fail closed.
557
603
 
@@ -562,14 +608,18 @@ diagnostics, and future or unavailable temporal eligibility must fail closed.
562
608
  - [Project Actuals and Git History Contract (CLI Contract 6)](docs/specs/project-actuals.md)
563
609
  - [Advance History Safety Contract (ADV-001 target)](docs/specs/advance-history-safety.md)
564
610
  - [Advance History Safety source acceptance](docs/process/advance-history-acceptance.md)
565
- - [Conditional Plan Assurance Contract (active Grammar 6 / CLI Contract 7 source)](docs/specs/plan-assurance.md)
611
+ - [Conditional Plan Assurance Contract (retained Grammar 6 / CLI Contract 7 boundary)](docs/specs/plan-assurance.md)
566
612
  - [Conditional Plan Assurance Interface Contract](docs/specs/plan-assurance-interface.md)
613
+ - [Milestone Acceptance Contract (active Grammar 7 / CLI Contract 8 source)](docs/specs/milestone-acceptance.md)
567
614
  - [Conditional Plan Assurance public-contract acceptance](docs/process/plan-assurance-public-contract-acceptance.md)
568
615
  - [`0.6.0` to `0.7.0` migration](docs/process/0.6.0-to-0.7.0-migration.md)
569
616
  - [`v0.7.0` release procedure](docs/process/0.7.0-release.md)
570
617
  - [`v0.7.1` Help and Guide consistency patch procedure](docs/process/0.7.1-release.md)
571
618
  - [`0.7.1` to `0.8.0` migration](docs/process/0.7.1-to-0.8.0-migration.md)
572
619
  - [`v0.8.0` release procedure](docs/process/0.8.0-release.md)
620
+ - [`v0.8.1` release procedure](docs/process/0.8.1-release.md)
621
+ - [`0.8.1` to `0.9.0` migration](docs/process/0.8.1-to-0.9.0-migration.md)
622
+ - [`v0.9.0` release procedure](docs/process/0.9.0-release.md)
573
623
  - [Conditional Plan Assurance interface acceptance](docs/process/plan-assurance-interface-acceptance.md)
574
624
  - [Shared Library Boundary](docs/specs/shared-library.md)
575
625
  - [Editor Protocol Contract](docs/specs/editor-protocol.md)
@@ -592,6 +642,7 @@ diagnostics, and future or unavailable temporal eligibility must fail closed.
592
642
  - [Help and Guide consistency implementation plan](plans/help-guide-consistency.pert)
593
643
  - [`v0.7.1` release plan](plans/release-0.7.1.pert)
594
644
  - [`v0.8.0` release plan](plans/release-0.8.0.pert)
645
+ - [`v0.9.0` release plan](plans/release-0.9.0.pert)
595
646
  - [JSON Schema Artifact Contract](docs/specs/json-schema.md)
596
647
  - [JSON Schema source acceptance](docs/process/json-schema-acceptance.md)
597
648
  - [Contract 5-to-6 migration](docs/process/cli-contract-6-migration.md)
@@ -1,15 +1,14 @@
1
1
  import type { CreateDocumentOptions, DocumentWriteResult, ReplaceDocumentOptions } from "../io/safe-write.js";
2
2
  import type { TargetGrammar6Capability } from "../parser/document-parser.js";
3
3
  import type { NodeHostPorts } from "../ports/node-host.js";
4
- import { analyzeDocument, checkDocument, selectNextTasks } from "./contract7-assurance.js";
5
- import { planAdvance, planAssuranceMutation, planBatchMutation, planFinishActuals, planLifecycle, planMutation } from "./contract7-mutation.js";
6
- import { getProjectMetadata, contract7ProjectResultToJson, renderContract7ProjectText } from "./contract7-project.js";
4
+ import { analyzeDocument, checkDocument, getProjectMetadata, planAssuranceMutation, planBatchMutation, planFinishActuals, planFormat, planLifecycle, planMutation, planUnitMigration, selectNextTasks } from "./contract8-milestone-acceptance.js";
5
+ import { planAdvance } from "./contract7-mutation.js";
6
+ import { contract7ProjectResultToJson, renderContract7ProjectText } from "./contract7-project.js";
7
7
  import { contract7InspectionResultToJson, contract7MutationResultToJson, contract7SnakeJson } from "./contract7-projection.js";
8
- import { planFormat } from "./contract7-source.js";
9
- import { planUnitMigration, withUnitMigrationWrite } from "./contract7-unit-migration.js";
8
+ import { withUnitMigrationWrite } from "./contract7-unit-migration.js";
10
9
  import { contract6WorkEventToJson } from "./contract6-projection.js";
11
10
  import { getAgentHelp } from "./agent-help.js";
12
- import { renderAdvanceHistoryGuard } from "./advance-history.js";
11
+ import { renderAdvanceHistoryGuard, withAdvanceHistoryRace } from "./advance-history.js";
13
12
  import { planProjectInit, projectInitResultToJson, renderProjectInitResult, withProjectInitOutput } from "./init.js";
14
13
  import { prepareTargetPlanAssuranceAdvanceHistory, withTargetPlanAssuranceAdvanceHistoryRace, type TargetPlanAssuranceAdvanceHistoryOptions, type TargetPlanAssuranceAdvanceResultV2WithHistory } from "./target-assurance-advance-history.js";
15
14
  import { inspectTargetPlanAssurance } from "./target-assurance-inspection.js";
@@ -51,6 +50,8 @@ export declare function createCliApplicationFacade(host: NodeHostPorts, historic
51
50
  contract6WorkEventToJson: typeof contract6WorkEventToJson;
52
51
  renderAdvanceHistoryGuard: typeof renderAdvanceHistoryGuard;
53
52
  prepareTargetPlanAssuranceAdvanceHistory: (text: string, result: Parameters<typeof prepareTargetPlanAssuranceAdvanceHistory>[1], capability: TargetGrammar6Capability, options: TargetPlanAssuranceAdvanceHistoryOptions) => Promise<import("./target-assurance-advance-history.js").PreparedTargetPlanAssuranceAdvanceHistory>;
53
+ prepareAdvanceHistory: (text: string, result: import("./advance-history.js").AdvanceResultV1 | import("./target-actuals-advance.js").TargetActualsAdvanceResultV3, options: import("./advance-history.js").AdvanceHistoryPreparationOptions) => Promise<import("./advance-history.js").PreparedAdvanceHistory>;
54
+ withAdvanceHistoryRace: typeof withAdvanceHistoryRace;
54
55
  withTargetPlanAssuranceAdvanceHistoryRace: typeof withTargetPlanAssuranceAdvanceHistoryRace;
55
56
  persistTargetPlanAssuranceResult: (result: TargetPlanAssuranceWritableResult, capability: TargetGrammar6Capability, request: TargetPlanAssurancePersistenceRequest) => Promise<import("./target-assurance-write.js").TargetPlanAssuranceWriteProjection>;
56
57
  inspectTargetPlanAssurance: typeof inspectTargetPlanAssurance;
@@ -76,9 +77,12 @@ export declare function createCliApplicationFacade(host: NodeHostPorts, historic
76
77
  }>>;
77
78
  readBytes: (path: string) => Promise<Uint8Array>;
78
79
  recheckAdvanceHistoryBaseline: (baseline: import("../history/git-probe.js").AdvanceHistoryBaselineCapture, targetPath: string, dependencies?: import("../history/git-probe.js").AdvanceHistoryBaselineDependencies) => Promise<import("../history/git-probe.js").AdvanceHistoryBaselineRecheck>;
80
+ captureAdvanceHistoryBaseline: (request: import("../history/git-probe.js").AdvanceHistoryBaselineRequest, dependencies?: import("../history/git-probe.js").AdvanceHistoryBaselineDependencies) => Promise<import("../history/git-probe.js").AdvanceHistoryBaselineCapture>;
79
81
  createArtifactFile: (target: string, artifact: string, options?: import("../io/safe-write.js").CreateArtifactOptions) => Promise<DocumentWriteResult>;
82
+ createValidatedDocumentFile: (target: string, candidateText: string, validator: import("../io/safe-write.js").DocumentCandidateValidator, options?: CreateDocumentOptions) => Promise<DocumentWriteResult>;
80
83
  createTargetGrammar6DocumentFile: (target: string, candidateText: string, capability: TargetGrammar6Capability, options?: CreateDocumentOptions) => Promise<DocumentWriteResult>;
81
84
  replaceTargetGrammar6DocumentFile: (target: string, candidateText: string, capability: TargetGrammar6Capability, options: ReplaceDocumentOptions) => Promise<DocumentWriteResult>;
85
+ replaceValidatedDocumentFile: (target: string, candidateText: string, options: ReplaceDocumentOptions, validator: import("../io/safe-write.js").DocumentCandidateValidator) => Promise<DocumentWriteResult>;
82
86
  }>;
83
87
  export type CliApplicationFacade = ReturnType<typeof createCliApplicationFacade>;
84
88
  export type { TargetPlanAssuranceAdvanceResultV2WithHistory, };
@@ -1 +1 @@
1
- {"version":3,"file":"cli-facade.d.ts","sourceRoot":"","sources":["../../src/application/cli-facade.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,qBAAqB,EACrB,mBAAmB,EACnB,sBAAsB,EACvB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BAA0B,CACxC,IAAI,EAAE,aAAa,EACnB,qBAAqB,CAAC,EAAE,gCAAgC;;;;;;;;;;;;;;;;;;;;;;;;;;;qDAoChD,MAAM,UACJ,UAAU,CAAC,OAAO,wCAAwC,CAAC,CAAC,CAAC,CAAC,cAC1D,wBAAwB,WAC3B,wCAAwC;;;;+CAiBzC,iCAAiC,cAC7B,wBAAwB,WAC3B,qCAAqC;;+CA/BrC,+BAA+B,cAC5B,wBAAwB;;;;;;gDAsC3B,wBAAwB;;;;sCAkDC,UAAU;;;;;gCAlHL,MAAM;;;;;;;;;;+CAGrC,MAAM,iBACC,MAAM,cACT,wBAAwB,YAC3B,qBAAqB,KAC7B,OAAO,CAAC,mBAAmB,CAAC;gDAOrB,MAAM,iBACC,MAAM,cACT,wBAAwB,WAC3B,sBAAsB,KAC9B,OAAO,CAAC,mBAAmB,CAAC;;GA4GhC;AAED,MAAM,MAAM,oBAAoB,GAAG,UAAU,CAC3C,OAAO,0BAA0B,CAClC,CAAC;AAEF,YAAY,EACV,6CAA6C,GAC9C,CAAC"}
@@ -1,13 +1,12 @@
1
1
  import { validateTargetGrammar6Document, } from "../semantic/target-validator.js";
2
- import { analyzeDocument, checkDocument, selectNextTasks, } from "./contract7-assurance.js";
3
- import { planAdvance, planAssuranceMutation, planBatchMutation, planFinishActuals, planLifecycle, planMutation, } from "./contract7-mutation.js";
4
- import { getProjectMetadata, contract7ProjectResultToJson, renderContract7ProjectText, } from "./contract7-project.js";
2
+ import { analyzeDocument, checkDocument, getProjectMetadata, planAssuranceMutation, planBatchMutation, planFinishActuals, planFormat, planLifecycle, planMutation, planUnitMigration, selectNextTasks, } from "./contract8-milestone-acceptance.js";
3
+ import { planAdvance, } from "./contract7-mutation.js";
4
+ import { contract7ProjectResultToJson, renderContract7ProjectText, } from "./contract7-project.js";
5
5
  import { contract7InspectionResultToJson, contract7MutationResultToJson, contract7SnakeJson, } from "./contract7-projection.js";
6
- import { planFormat, } from "./contract7-source.js";
7
- import { planUnitMigration, withUnitMigrationWrite, } from "./contract7-unit-migration.js";
6
+ import { withUnitMigrationWrite, } from "./contract7-unit-migration.js";
8
7
  import { contract6WorkEventToJson, } from "./contract6-projection.js";
9
8
  import { getAgentHelp, } from "./agent-help.js";
10
- import { renderAdvanceHistoryGuard, } from "./advance-history.js";
9
+ import { prepareAdvanceHistory as prepareGenericAdvanceHistory, renderAdvanceHistoryGuard, withAdvanceHistoryRace, } from "./advance-history.js";
11
10
  import { planProjectInit, projectInitResultToJson, renderProjectInitResult, withProjectInitOutput, } from "./init.js";
12
11
  import { prepareTargetPlanAssuranceAdvanceHistory, withTargetPlanAssuranceAdvanceHistoryRace, } from "./target-assurance-advance-history.js";
13
12
  import { inspectTargetPlanAssurance, } from "./target-assurance-inspection.js";
@@ -48,6 +47,10 @@ export function createCliApplicationFacade(host, historicalGitEvidence) {
48
47
  ...options,
49
48
  captureBaseline: host.gitEvidence.captureAdvanceBaseline,
50
49
  });
50
+ const prepareGenericHistory = (...args) => prepareGenericAdvanceHistory(args[0], args[1], {
51
+ ...args[2],
52
+ captureBaseline: host.gitEvidence.captureAdvanceBaseline,
53
+ });
51
54
  const persistPlanAssuranceResult = (result, capability, request) => persistTargetPlanAssuranceResult(result, capability, request, host.safePersistence);
52
55
  const inspectHistoricalGraphFile = (request) => {
53
56
  if (historicalGitEvidence === undefined) {
@@ -83,6 +86,8 @@ export function createCliApplicationFacade(host, historicalGitEvidence) {
83
86
  contract6WorkEventToJson,
84
87
  renderAdvanceHistoryGuard,
85
88
  prepareTargetPlanAssuranceAdvanceHistory: prepareAdvanceHistory,
89
+ prepareAdvanceHistory: prepareGenericHistory,
90
+ withAdvanceHistoryRace,
86
91
  withTargetPlanAssuranceAdvanceHistoryRace,
87
92
  persistTargetPlanAssuranceResult: persistPlanAssuranceResult,
88
93
  inspectTargetPlanAssurance,
@@ -100,9 +105,12 @@ export function createCliApplicationFacade(host, historicalGitEvidence) {
100
105
  readDocumentContent,
101
106
  readBytes: host.documentBytes.read,
102
107
  recheckAdvanceHistoryBaseline: host.gitEvidence.recheckAdvanceBaseline,
108
+ captureAdvanceHistoryBaseline: host.gitEvidence.captureAdvanceBaseline,
103
109
  createArtifactFile: host.safePersistence.createArtifact,
110
+ createValidatedDocumentFile: host.safePersistence.createValidatedDocument,
104
111
  createTargetGrammar6DocumentFile: createTargetGrammar6Document,
105
112
  replaceTargetGrammar6DocumentFile: replaceTargetGrammar6Document,
113
+ replaceValidatedDocumentFile: host.safePersistence.replaceValidatedDocument,
106
114
  });
107
115
  }
108
116
  //# sourceMappingURL=cli-facade.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"cli-facade.js","sourceRoot":"","sources":["../../src/application/cli-facade.ts"],"names":[],"mappings":"AASA,OAAO,EACL,8BAA8B,GAC/B,MAAM,iCAAiC,CAAC;AACzC,OAAO,EACL,eAAe,EACf,aAAa,EACb,eAAe,GAChB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,WAAW,EACX,qBAAqB,EACrB,iBAAiB,EACjB,iBAAiB,EACjB,aAAa,EACb,YAAY,GACb,MAAM,yBAAyB,CAAC;AACjC,OAAO,EACL,kBAAkB,EAClB,4BAA4B,EAC5B,0BAA0B,GAC3B,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACL,+BAA+B,EAC/B,6BAA6B,EAC7B,kBAAkB,GACnB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EACL,UAAU,GACX,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,iBAAiB,EACjB,sBAAsB,GACvB,MAAM,+BAA+B,CAAC;AACvC,OAAO,EACL,wBAAwB,GACzB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EACL,YAAY,GACb,MAAM,iBAAiB,CAAC;AACzB,OAAO,EACL,yBAAyB,GAC1B,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,eAAe,EACf,uBAAuB,EACvB,uBAAuB,EACvB,qBAAqB,GACtB,MAAM,WAAW,CAAC;AACnB,OAAO,EACL,wCAAwC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,KAAK,CAAC,6CAA6C,CAAC,CAAC;QACjE,CAAC;QACD,OAAO,gCAAgC,CAAC,OAAO,EAAE,qBAAqB,CAAC,CAAC;IAC1E,CAAC,CAAC;IAEF,OAAO,MAAM,CAAC,MAAM,CAAC;QACnB,gBAAgB,EAAE,IAAI,CAAC,YAAY;QACnC,eAAe;QACf,aAAa;QACb,eAAe;QACf,UAAU;QACV,eAAe;QACf,uBAAuB;QACvB,uBAAuB;QACvB,qBAAqB;QACrB,iBAAiB;QACjB,sBAAsB;QACtB,kBAAkB;QAClB,4BAA4B;QAC5B,0BAA0B;QAC1B,WAAW;QACX,qBAAqB;QACrB,iBAAiB;QACjB,iBAAiB;QACjB,aAAa;QACb,YAAY;QACZ,8BAA8B;QAC9B,+BAA+B;QAC/B,6BAA6B;QAC7B,kBAAkB;QAClB,wBAAwB;QACxB,yBAAyB;QACzB,wCAAwC,EAAE,qBAAqB;QAC/D,yCAAyC;QACzC,gCAAgC,EAAE,0BAA0B;QAC5D,0BAA0B;QAC1B,+BAA+B,EAAE,yBAAyB;QAC1D,8BAA8B;QAC9B,gCAAgC;QAChC,4BAA4B;QAC5B,mCAAmC;QACnC,qCAAqC;QACrC,gCAAgC,EAAE,0BAA0B;QAC5D,+BAA+B;QAC/B,iCAAiC;QACjC,YAAY;QACZ,wBAAwB,EAAE,CAAC,KAAiB,EAAE,EAAE,CAC9C,mBAAmB,CAAC,IAAI,EAAE,KAAK,CAAC;QAClC,mBAAmB;QACnB,SAAS,EAAE,IAAI,CAAC,aAAa,CAAC,IAAI;QAClC,6BAA6B,EAAE,IAAI,CAAC,WAAW,CAAC,sBAAsB;QACtE,kBAAkB,EAAE,IAAI,CAAC,eAAe,CAAC,cAAc;QACvD,gCAAgC,EAAE,4BAA4B;QAC9D,iCAAiC,EAAE,6BAA6B;KACjE,CAAC,CAAC;AACL,CAAC"}
1
+ {"version":3,"file":"cli-facade.js","sourceRoot":"","sources":["../../src/application/cli-facade.ts"],"names":[],"mappings":"AASA,O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{ AnalyzeOptions } from "./analyze.js";
3
+ import { planFormat as planContract7Format, type FormatPreviewResultV7 } from "./contract7-source.js";
4
+ import { type UnitMigrationOptions, type UnitMigrationResult } from "./contract7-unit-migration.js";
5
+ import type { NextOptions } from "./next.js";
6
+ import type { UnitMigrationRequest } from "../migration/request.js";
7
+ import { checkDocument as checkContract7Document, type AnalysisResultV5, type CheckResultV4, type Contract7NextResultV6 } from "./contract7-assurance.js";
8
+ import { planAssuranceMutation as planContract7AssuranceMutation, planBatchMutation as planContract7BatchMutation, planFinishActuals as planContract7FinishActuals, planLifecycle as planContract7Lifecycle, planMutation as planContract7Mutation, type AdvanceResultV2, type LifecycleResultV4, type MutationResultV4 } from "./contract7-mutation.js";
9
+ import { type ProjectMetadataResult } from "./contract7-project.js";
10
+ import type { CheckOptions } from "./check.js";
11
+ export declare const CHECK_RESULT_V5: "Perttool.CheckResult.v5";
12
+ export declare const ANALYSIS_RESULT_V6: "Perttool.AnalysisResult.v6";
13
+ export declare const NEXT_RESULT_V7: "Perttool.NextResult.v7";
14
+ export interface CheckResultV5 extends Omit<CheckResultV4, "schemaVersion"> {
15
+ readonly schemaVersion: typeof CHECK_RESULT_V5;
16
+ readonly acceptance: MilestoneAcceptanceModelResultV1 | null;
17
+ }
18
+ export interface AnalysisResultV6 extends Omit<AnalysisResultV5, "schemaVersion"> {
19
+ readonly schemaVersion: typeof ANALYSIS_RESULT_V6;
20
+ readonly acceptance: MilestoneAcceptanceModelResultV1 | null;
21
+ }
22
+ export type NextResultV7 = Omit<Contract7NextResultV6, "schemaVersion"> & {
23
+ readonly schemaVersion: typeof NEXT_RESULT_V7;
24
+ readonly acceptance: MilestoneAcceptanceModelResultV1 | null;
25
+ };
26
+ export interface Contract8CandidateOptions {
27
+ readonly originalLabel?: string;
28
+ readonly updatedLabel?: string;
29
+ }
30
+ export type Contract8LiftedCandidate<T> = T extends {
31
+ readonly schemaVersion: "Perttool.MutationResult.v4";
32
+ } ? Omit<T, "schemaVersion"> & {
33
+ readonly schemaVersion: "Perttool.MutationResult.v5";
34
+ } : T extends {
35
+ readonly schemaVersion: "Perttool.AdvanceResult.v2";
36
+ } ? Omit<T, "schemaVersion"> & {
37
+ readonly schemaVersion: "Perttool.AdvanceResult.v3";
38
+ } : T;
39
+ export type MutationResultV5 = Contract8LiftedCandidate<MutationResultV4>;
40
+ export type LifecycleResultV5 = Contract8LiftedCandidate<LifecycleResultV4>;
41
+ export type AdvanceResultV3 = Contract8LiftedCandidate<AdvanceResultV2>;
42
+ export declare function liftMilestoneAcceptanceCandidate<T extends {
43
+ readonly originalDigest: string;
44
+ readonly updatedDigest: string | null;
45
+ readonly updatedText: string | null;
46
+ readonly diff: string | null;
47
+ readonly edits: readonly {
48
+ readonly startOffset: number;
49
+ readonly endOffset: number;
50
+ readonly replacement: string;
51
+ }[];
52
+ }>(text: string, planner: (baseText: string) => T, options?: Contract8CandidateOptions): Contract8LiftedCandidate<T>;
53
+ export declare function checkDocument(text: string, options?: Parameters<typeof checkContract7Document>[1]): CheckResultV5;
54
+ export declare function analyzeDocument(text: string, options?: AnalyzeOptions): AnalysisResultV6;
55
+ export declare function selectNextTasks(text: string, options?: AnalyzeOptions & NextOptions): NextResultV7;
56
+ export declare function getProjectMetadata(text: string, options?: CheckOptions): ProjectMetadataResult;
57
+ export declare function planFormat(text: string, options?: Parameters<typeof planContract7Format>[1]): FormatPreviewResultV7;
58
+ export declare function planUnitMigration(text: string, request: UnitMigrationRequest, options?: UnitMigrationOptions): UnitMigrationResult;
59
+ export declare function planMutation(...args: Parameters<typeof planContract7Mutation>): Omit<import("../assurance/mutation.js").TargetPlanAssuranceMutationResultV4, "schemaVersion"> & {
60
+ readonly schemaVersion: "Perttool.MutationResult.v5";
61
+ };
62
+ export declare function planBatchMutation(...args: Parameters<typeof planContract7BatchMutation>): Omit<import("../assurance/mutation.js").TargetPlanAssuranceMutationResultV4, "schemaVersion"> & {
63
+ readonly schemaVersion: "Perttool.MutationResult.v5";
64
+ };
65
+ export declare function planLifecycle(...args: Parameters<typeof planContract7Lifecycle>): Omit<LifecycleResultV4, "schemaVersion"> & {
66
+ readonly schemaVersion: "Perttool.MutationResult.v5";
67
+ };
68
+ export declare function planFinishActuals(...args: Parameters<typeof planContract7FinishActuals>): Omit<LifecycleResultV4, "schemaVersion"> & {
69
+ readonly schemaVersion: "Perttool.MutationResult.v5";
70
+ };
71
+ export declare function planAssuranceMutation(...args: Parameters<typeof planContract7AssuranceMutation>): Omit<import("../assurance/mutation.js").TargetPlanAssuranceMutationResultV4, "schemaVersion"> & {
72
+ readonly schemaVersion: "Perttool.MutationResult.v5";
73
+ };
74
+ //# sourceMappingURL=contract8-milestone-acceptance.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"contract8-milestone-acceptance.d.ts","sourceRoot":"","sources":["../../src/application/contract8-milestone-acceptance.ts"],"names":[],"mappings":"AACA,OAAO,EAA+B,KAAK,gCAAgC,EAAE,MAAM,qCAAqC,CAAC;AAUzH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AACnD,OAAO,EACL,UAAU,IAAI,mBAAmB,EACjC,KAAK,qBAAqB,EAC3B,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAEL,KAAK,oBAAoB,EACzB,KAAK,mBAAmB,EACzB,MAAM,+BAA+B,CAAC;AACvC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAC7C,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AACpE,OAAO,EAEL,aAAa,IAAI,sBAAsB,EAEvC,KAAK,gBAAgB,EACrB,KAAK,aAAa,EAClB,KAAK,qBAAqB,EAC3B,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,qBAAqB,IAAI,8BAA8B,EACvD,iBAAiB,IAAI,0BAA0B,EAC/C,iBAAiB,IAAI,0BAA0B,EAC/C,aAAa,IAAI,sBAAsB,EACvC,YAAY,IAAI,qBAAqB,EACrC,KAAK,eAAe,E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