adr-kit 0.13.0 → 0.14.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +62 -211
- package/README.zh.md +58 -174
- package/dist/cli.d.ts.map +1 -1
- package/dist/cli.js +41 -25
- package/dist/cli.js.map +1 -1
- package/dist/commands/archive.d.ts +2 -0
- package/dist/commands/archive.d.ts.map +1 -0
- package/dist/commands/archive.js +62 -0
- package/dist/commands/archive.js.map +1 -0
- package/dist/commands/completion.d.ts.map +1 -1
- package/dist/commands/completion.js +5 -4
- package/dist/commands/completion.js.map +1 -1
- package/dist/commands/{accept.d.ts → implement.d.ts} +2 -2
- package/dist/commands/implement.d.ts.map +1 -0
- package/dist/commands/implement.js +42 -0
- package/dist/commands/implement.js.map +1 -0
- package/dist/commands/init.js +3 -3
- package/dist/commands/init.js.map +1 -1
- package/dist/commands/instructions.d.ts.map +1 -1
- package/dist/commands/instructions.js +24 -81
- package/dist/commands/instructions.js.map +1 -1
- package/dist/commands/list.d.ts.map +1 -1
- package/dist/commands/list.js +9 -14
- package/dist/commands/list.js.map +1 -1
- package/dist/commands/propose.d.ts.map +1 -1
- package/dist/commands/propose.js +9 -10
- package/dist/commands/propose.js.map +1 -1
- package/dist/commands/{decide.d.ts → record.d.ts} +2 -2
- package/dist/commands/record.d.ts.map +1 -0
- package/dist/commands/{decide.js → record.js} +6 -6
- package/dist/commands/{decide.js.map → record.js.map} +1 -1
- package/dist/commands/reject.d.ts +1 -1
- package/dist/commands/reject.d.ts.map +1 -1
- package/dist/commands/reject.js +24 -8
- package/dist/commands/reject.js.map +1 -1
- package/dist/commands/show.d.ts.map +1 -1
- package/dist/commands/show.js +2 -16
- package/dist/commands/show.js.map +1 -1
- package/dist/commands/status.d.ts.map +1 -1
- package/dist/commands/status.js +6 -17
- package/dist/commands/status.js.map +1 -1
- package/dist/commands/supersede.d.ts.map +1 -1
- package/dist/commands/supersede.js +44 -10
- package/dist/commands/supersede.js.map +1 -1
- package/dist/commands/validate.d.ts +1 -1
- package/dist/commands/validate.d.ts.map +1 -1
- package/dist/commands/validate.js +11 -3
- package/dist/commands/validate.js.map +1 -1
- package/dist/core/adr.d.ts +22 -20
- package/dist/core/adr.d.ts.map +1 -1
- package/dist/core/adr.js +31 -10
- package/dist/core/adr.js.map +1 -1
- package/dist/core/archive-seal.d.ts +48 -0
- package/dist/core/archive-seal.d.ts.map +1 -0
- package/dist/core/archive-seal.js +122 -0
- package/dist/core/archive-seal.js.map +1 -0
- package/dist/core/cli-options.d.ts +2 -2
- package/dist/core/cli-options.d.ts.map +1 -1
- package/dist/core/cli-options.js +8 -6
- package/dist/core/cli-options.js.map +1 -1
- package/dist/core/config.d.ts +1 -1
- package/dist/core/deliberation.d.ts.map +1 -1
- package/dist/core/deliberation.js +2 -3
- package/dist/core/deliberation.js.map +1 -1
- package/dist/core/git.d.ts +9 -0
- package/dist/core/git.d.ts.map +1 -1
- package/dist/core/git.js +31 -0
- package/dist/core/git.js.map +1 -1
- package/dist/core/graph-html.js +5 -5
- package/dist/core/graph-html.js.map +1 -1
- package/dist/core/graph.d.ts +2 -1
- package/dist/core/graph.d.ts.map +1 -1
- package/dist/core/graph.js +9 -4
- package/dist/core/graph.js.map +1 -1
- package/dist/core/repository.d.ts +3 -11
- package/dist/core/repository.d.ts.map +1 -1
- package/dist/core/repository.js +60 -141
- package/dist/core/repository.js.map +1 -1
- package/dist/core/templates.d.ts +6 -7
- package/dist/core/templates.d.ts.map +1 -1
- package/dist/core/templates.js +13 -14
- package/dist/core/templates.js.map +1 -1
- package/dist/core/tool-integrations.d.ts.map +1 -1
- package/dist/core/tool-integrations.js +77 -422
- package/dist/core/tool-integrations.js.map +1 -1
- package/dist/core/validate.d.ts +19 -6
- package/dist/core/validate.d.ts.map +1 -1
- package/dist/core/validate.js +295 -91
- package/dist/core/validate.js.map +1 -1
- package/package.json +1 -1
- package/dist/commands/accept.d.ts.map +0 -1
- package/dist/commands/accept.js +0 -42
- package/dist/commands/accept.js.map +0 -1
- package/dist/commands/decide.d.ts.map +0 -1
package/dist/core/templates.d.ts
CHANGED
|
@@ -3,8 +3,7 @@ import { type AdrRecord, type DecidedBy, type RaisedBy } from './adr.js';
|
|
|
3
3
|
type FrontMatterValue = string | number | string[];
|
|
4
4
|
/**
|
|
5
5
|
* Render a YAML front matter block. Fields are written in the canonical
|
|
6
|
-
* order
|
|
7
|
-
* reason, tags); only the fields
|
|
6
|
+
* order from FRONT_MATTER_ORDER; only the fields
|
|
8
7
|
* present in `fields` are emitted.
|
|
9
8
|
*/
|
|
10
9
|
export declare function frontMatter(fields: Record<string, FrontMatterValue>): string;
|
|
@@ -16,20 +15,20 @@ export declare function proposalTemplate(title: string, context?: string): strin
|
|
|
16
15
|
*/
|
|
17
16
|
export declare function decisionTemplate(number: number, title: string, context: string | undefined, commit: string | undefined, decidedBy: DecidedBy, raisedBy: RaisedBy): string;
|
|
18
17
|
/**
|
|
19
|
-
* Convert a
|
|
18
|
+
* Convert a proposal into an implemented decision using the mechanical
|
|
20
19
|
* rewrite the format requires: Proposal becomes Decision, and the
|
|
21
20
|
* acceptance criteria and risks are folded into Consequences. `commit` anchors
|
|
22
21
|
* the decision to the code state it was recorded against.
|
|
23
22
|
*
|
|
24
23
|
* `decidedBy` is the declaration made for the promoted decision, not the
|
|
25
|
-
*
|
|
26
|
-
* `decided-by` key written by hand into a
|
|
24
|
+
* proposal's: the front matter below is rebuilt from a fixed field map, so a
|
|
25
|
+
* `decided-by` key written by hand into a proposal has no path into the decision.
|
|
27
26
|
* It is required for the same reason the skeleton requires it: every durable
|
|
28
27
|
* record has to name where the choice came from.
|
|
29
28
|
*/
|
|
30
29
|
export declare function proposalToDecision(proposal: AdrRecord, number: number, commit: string | undefined, decidedBy: DecidedBy, raisedBy: RaisedBy): string;
|
|
31
30
|
/**
|
|
32
|
-
* Proposal sections that have no place in an
|
|
31
|
+
* Proposal sections that have no place in an implemented decision and would be
|
|
33
32
|
* silently discarded by `proposalToDecision`. Only proposal-era leftovers
|
|
34
33
|
* (for example `Plan`, `Migration plan`) qualify; every other extra section
|
|
35
34
|
* is carried through the rewrite. Callers should surface these so a
|
|
@@ -41,7 +40,7 @@ export declare function droppedSections(proposal: AdrRecord): string[];
|
|
|
41
40
|
* block, merge `patch` over it, and re-emit the fields in canonical order.
|
|
42
41
|
* Supersede stamps only the retiring record and its immediate successor link;
|
|
43
42
|
* earlier records keep their historical links when the chain grows.
|
|
44
|
-
* Every
|
|
43
|
+
* Every lifecycle move (implement, reject, archive, supersede) must stamp the date so
|
|
45
44
|
* the front matter always reflects the current status; the Markdown body is
|
|
46
45
|
* left untouched. Only canonical fields survive: a key outside
|
|
47
46
|
* `FRONT_MATTER_ORDER` is dropped rather than copied through, because writing
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"templates.d.ts","sourceRoot":"","sources":["../../src/core/templates.ts"],"names":[],"mappings":"AACA,OAAO,EAKL,KAAK,SAAS,EACd,KAAK,SAAS,EACd,KAAK,QAAQ,EACd,MAAM,UAAU,CAAC;AAoClB,0DAA0D;AAC1D,KAAK,gBAAgB,GAAG,MAAM,GAAG,MAAM,GAAG,MAAM,EAAE,CAAC;AAEnD
|
|
1
|
+
{"version":3,"file":"templates.d.ts","sourceRoot":"","sources":["../../src/core/templates.ts"],"names":[],"mappings":"AACA,OAAO,EAKL,KAAK,SAAS,EACd,KAAK,SAAS,EACd,KAAK,QAAQ,EACd,MAAM,UAAU,CAAC;AAoClB,0DAA0D;AAC1D,KAAK,gBAAgB,GAAG,MAAM,GAAG,MAAM,GAAG,MAAM,EAAE,CAAC;AAEnD;;;;GAIG;AACH,wBAAgB,WAAW,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,gBAAgB,CAAC,GAAG,MAAM,CAO5E;AAED,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,CAyBxE;AAED;;;;GAIG;AACH,wBAAgB,gBAAgB,CAC9B,MAAM,EAAE,MAAM,EACd,KAAK,EAAE,MAAM,EACb,OAAO,EAAE,MAAM,GAAG,SAAS,EAC3B,MAAM,EAAE,MAAM,GAAG,SAAS,EAC1B,SAAS,EAAE,SAAS,EACpB,QAAQ,EAAE,QAAQ,GACjB,MAAM,CA6BR;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,kBAAkB,CAChC,QAAQ,EAAE,SAAS,EACnB,MAAM,EAAE,MAAM,EACd,MAAM,EAAE,MAAM,GAAG,SAAS,EAC1B,SAAS,EAAE,SAAS,EACpB,QAAQ,EAAE,QAAQ,GACjB,MAAM,CAgER;AAMD;;;;;;GAMG;AACH,wBAAgB,eAAe,CAAC,QAAQ,EAAE,SAAS,GAAG,MAAM,EAAE,CAI7D;AAED;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,kBAAkB,CAAC,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,gBAAgB,CAAC,GAAG,MAAM,CAoBnG"}
|
package/dist/core/templates.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { parse, stringify } from 'yaml';
|
|
2
2
|
import { FRONT_MATTER_ORDER, PROPOSAL_ERA_HEADINGS, section, todayStamp, } from './adr.js';
|
|
3
|
-
/** Proposal sections that survive the mechanical
|
|
3
|
+
/** Proposal sections that survive the mechanical implementation rewrite. */
|
|
4
4
|
const PRESERVED_SECTIONS = [
|
|
5
5
|
'Problem',
|
|
6
6
|
'Proposal',
|
|
@@ -9,7 +9,7 @@ const PRESERVED_SECTIONS = [
|
|
|
9
9
|
'Risks',
|
|
10
10
|
];
|
|
11
11
|
/**
|
|
12
|
-
* Proposal-era leftovers the
|
|
12
|
+
* Proposal-era leftovers the implementation rewrite cannot fold anywhere. The full
|
|
13
13
|
* PROPOSAL_ERA_HEADINGS set is wider (it also names Proposal/Acceptance
|
|
14
14
|
* criteria/Risks, which the rewrite folds into Decision/Consequences); only
|
|
15
15
|
* these headings are genuinely dropped, with a warning.
|
|
@@ -17,13 +17,13 @@ const PRESERVED_SECTIONS = [
|
|
|
17
17
|
const DROPPED_SECTION_HEADINGS = PROPOSAL_ERA_HEADINGS.filter((heading) => !PRESERVED_SECTIONS.includes(heading));
|
|
18
18
|
/**
|
|
19
19
|
* 把 config.yaml 的 context 注入模板:放在标题块之后、第一个 section 之前。
|
|
20
|
-
* 解析器忽略游离文本(current 为 null 时不收集),
|
|
20
|
+
* 解析器忽略游离文本(current 为 null 时不收集),implement 的机械改写也会
|
|
21
21
|
* 丢弃它。注释只在草案期可见,正是写作者需要项目上下文的时刻。
|
|
22
22
|
*/
|
|
23
23
|
function contextBlock(context) {
|
|
24
24
|
const text = context?.trim() ?? '';
|
|
25
|
-
// 空 context
|
|
26
|
-
if (text.length === 0
|
|
25
|
+
// 空 context 不注入
|
|
26
|
+
if (text.length === 0)
|
|
27
27
|
return '';
|
|
28
28
|
return `<!-- Project context (adr/config.yaml):
|
|
29
29
|
${text}
|
|
@@ -32,8 +32,7 @@ ${text}
|
|
|
32
32
|
}
|
|
33
33
|
/**
|
|
34
34
|
* Render a YAML front matter block. Fields are written in the canonical
|
|
35
|
-
* order
|
|
36
|
-
* reason, tags); only the fields
|
|
35
|
+
* order from FRONT_MATTER_ORDER; only the fields
|
|
37
36
|
* present in `fields` are emitted.
|
|
38
37
|
*/
|
|
39
38
|
export function frontMatter(fields) {
|
|
@@ -78,7 +77,7 @@ ${contextBlock(context)}## Problem
|
|
|
78
77
|
*/
|
|
79
78
|
export function decisionTemplate(number, title, context, commit, decidedBy, raisedBy) {
|
|
80
79
|
const fields = {
|
|
81
|
-
status: '
|
|
80
|
+
status: 'implemented',
|
|
82
81
|
date: todayStamp(),
|
|
83
82
|
created: todayStamp(),
|
|
84
83
|
'raised-by': raisedBy,
|
|
@@ -108,14 +107,14 @@ ${contextBlock(context)}## Problem
|
|
|
108
107
|
`;
|
|
109
108
|
}
|
|
110
109
|
/**
|
|
111
|
-
* Convert a
|
|
110
|
+
* Convert a proposal into an implemented decision using the mechanical
|
|
112
111
|
* rewrite the format requires: Proposal becomes Decision, and the
|
|
113
112
|
* acceptance criteria and risks are folded into Consequences. `commit` anchors
|
|
114
113
|
* the decision to the code state it was recorded against.
|
|
115
114
|
*
|
|
116
115
|
* `decidedBy` is the declaration made for the promoted decision, not the
|
|
117
|
-
*
|
|
118
|
-
* `decided-by` key written by hand into a
|
|
116
|
+
* proposal's: the front matter below is rebuilt from a fixed field map, so a
|
|
117
|
+
* `decided-by` key written by hand into a proposal has no path into the decision.
|
|
119
118
|
* It is required for the same reason the skeleton requires it: every durable
|
|
120
119
|
* record has to name where the choice came from.
|
|
121
120
|
*/
|
|
@@ -142,7 +141,7 @@ export function proposalToDecision(proposal, number, commit, decidedBy, raisedBy
|
|
|
142
141
|
const passthrough = proposal.sections.filter((candidate) => !PRESERVED_SECTIONS.includes(candidate.heading) &&
|
|
143
142
|
!DROPPED_SECTION_HEADINGS.includes(candidate.heading));
|
|
144
143
|
const fields = {
|
|
145
|
-
status: '
|
|
144
|
+
status: 'implemented',
|
|
146
145
|
date: todayStamp(),
|
|
147
146
|
// The decision inherits the proposal's birth date: created is stamped
|
|
148
147
|
// once, at propose time, and survives the promotion.
|
|
@@ -184,7 +183,7 @@ function sectionBody(record, heading) {
|
|
|
184
183
|
return section(record, heading)?.trim() ?? '';
|
|
185
184
|
}
|
|
186
185
|
/**
|
|
187
|
-
* Proposal sections that have no place in an
|
|
186
|
+
* Proposal sections that have no place in an implemented decision and would be
|
|
188
187
|
* silently discarded by `proposalToDecision`. Only proposal-era leftovers
|
|
189
188
|
* (for example `Plan`, `Migration plan`) qualify; every other extra section
|
|
190
189
|
* is carried through the rewrite. Callers should surface these so a
|
|
@@ -200,7 +199,7 @@ export function droppedSections(proposal) {
|
|
|
200
199
|
* block, merge `patch` over it, and re-emit the fields in canonical order.
|
|
201
200
|
* Supersede stamps only the retiring record and its immediate successor link;
|
|
202
201
|
* earlier records keep their historical links when the chain grows.
|
|
203
|
-
* Every
|
|
202
|
+
* Every lifecycle move (implement, reject, archive, supersede) must stamp the date so
|
|
204
203
|
* the front matter always reflects the current status; the Markdown body is
|
|
205
204
|
* left untouched. Only canonical fields survive: a key outside
|
|
206
205
|
* `FRONT_MATTER_ORDER` is dropped rather than copied through, because writing
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"templates.js","sourceRoot":"","sources":["../../src/core/templates.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,MAAM,CAAC;AACxC,OAAO,EACL,kBAAkB,EAClB,qBAAqB,EACrB,OAAO,EACP,UAAU,GAIX,MAAM,UAAU,CAAC;AAElB,
|
|
1
|
+
{"version":3,"file":"templates.js","sourceRoot":"","sources":["../../src/core/templates.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,MAAM,CAAC;AACxC,OAAO,EACL,kBAAkB,EAClB,qBAAqB,EACrB,OAAO,EACP,UAAU,GAIX,MAAM,UAAU,CAAC;AAElB,4EAA4E;AAC5E,MAAM,kBAAkB,GAAG;IACzB,SAAS;IACT,UAAU;IACV,yBAAyB;IACzB,qBAAqB;IACrB,OAAO;CACR,CAAC;AAEF;;;;;GAKG;AACH,MAAM,wBAAwB,GAAG,qBAAqB,CAAC,MAAM,CAC3D,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC,kBAAkB,CAAC,QAAQ,CAAC,OAAO,CAAC,CACnD,CAAC;AAEF;;;;GAIG;AACH,SAAS,YAAY,CAAC,OAAuB;IAC3C,MAAM,IAAI,GAAG,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;IACnC,gBAAgB;IAChB,IAAI,IAAI,CAAC,MAAM,KAAK,CAAC;QAAE,OAAO,EAAE,CAAC;IACjC,OAAO;EACP,IAAI;;CAEL,CAAC;AACF,CAAC;AAKD;;;;GAIG;AACH,MAAM,UAAU,WAAW,CAAC,MAAwC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,CAAC,EAAE,CAAC;AACzE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tool-integrations.d.ts","sourceRoot":"","sources":["../../src/core/tool-integrations.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,eAAe;IAC9B,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;CACd;AAED;;;;;;;GAOG;AACH,MAAM,MAAM,iBAAiB,GAAG,QAAQ,GAAG,QAAQ,CAAC;AAapD,MAAM,WAAW,QAAQ;IACvB,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,EAAE,MAAM,CAAC;CACd;AAID,eAAO,MAAM,SAAS,EAAE,QAAQ,
|
|
1
|
+
{"version":3,"file":"tool-integrations.d.ts","sourceRoot":"","sources":["../../src/core/tool-integrations.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,eAAe;IAC9B,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;CACd;AAED;;;;;;;GAOG;AACH,MAAM,MAAM,iBAAiB,GAAG,QAAQ,GAAG,QAAQ,CAAC;AAapD,MAAM,WAAW,QAAQ;IACvB,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,EAAE,MAAM,CAAC;CACd;AAID,eAAO,MAAM,SAAS,EAAE,QAAQ,EA8H/B,CAAC;AAEF,8EAA8E;AAC9E,eAAO,MAAM,cAAc,EAAE,MAAM,EAElC,CAAC;AAEF;;;;;GAKG;AACH,wBAAgB,cAAc,CAAC,KAAK,EAAE,MAAM,GAAG,SAAS,GAAG,MAAM,EAAE,CAkBlE;AAED,wBAAgB,UAAU,CAAC,KAAK,EAAE,MAAM,GAAG,SAAS,GAAG,iBAAiB,EAAE,CAqBzE;AAaD,wBAAgB,qBAAqB,CACnC,IAAI,EAAE,MAAM,EACZ,KAAK,EAAE,iBAAiB,EAAE,EAC1B,SAAS,GAAE,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