@rasensio/aidlc 2.2.0 → 2.4.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 (38) hide show
  1. package/dist/autopilot/decisions.d.ts +72 -0
  2. package/dist/autopilot/decisions.d.ts.map +1 -0
  3. package/dist/autopilot/decisions.js +176 -0
  4. package/dist/autopilot/decisions.js.map +1 -0
  5. package/dist/autopilot/driver.d.ts +10 -4
  6. package/dist/autopilot/driver.d.ts.map +1 -1
  7. package/dist/autopilot/driver.js +181 -62
  8. package/dist/autopilot/driver.js.map +1 -1
  9. package/dist/autopilot/gitlab.d.ts +71 -0
  10. package/dist/autopilot/gitlab.d.ts.map +1 -0
  11. package/dist/autopilot/gitlab.js +159 -0
  12. package/dist/autopilot/gitlab.js.map +1 -0
  13. package/dist/autopilot/review.d.ts +31 -0
  14. package/dist/autopilot/review.d.ts.map +1 -0
  15. package/dist/autopilot/review.js +109 -0
  16. package/dist/autopilot/review.js.map +1 -0
  17. package/dist/commands/autopilot.d.ts +6 -1
  18. package/dist/commands/autopilot.d.ts.map +1 -1
  19. package/dist/commands/autopilot.js +29 -5
  20. package/dist/commands/autopilot.js.map +1 -1
  21. package/dist/core/host.d.ts +4 -2
  22. package/dist/core/host.d.ts.map +1 -1
  23. package/dist/core/host.js +4 -2
  24. package/dist/core/host.js.map +1 -1
  25. package/dist/doctor/migrations/index.d.ts.map +1 -1
  26. package/dist/doctor/migrations/index.js +8 -0
  27. package/dist/doctor/migrations/index.js.map +1 -1
  28. package/dist/doctor/migrations/roadmap-misfiled-items.d.ts +26 -0
  29. package/dist/doctor/migrations/roadmap-misfiled-items.d.ts.map +1 -0
  30. package/dist/doctor/migrations/roadmap-misfiled-items.js +80 -0
  31. package/dist/doctor/migrations/roadmap-misfiled-items.js.map +1 -0
  32. package/dist/roadmap/misfiled.d.ts +82 -0
  33. package/dist/roadmap/misfiled.d.ts.map +1 -0
  34. package/dist/roadmap/misfiled.js +163 -0
  35. package/dist/roadmap/misfiled.js.map +1 -0
  36. package/dist/setup/host.js +1 -1
  37. package/dist/setup/host.js.map +1 -1
  38. package/package.json +2 -2
@@ -0,0 +1,82 @@
1
+ /**
2
+ * Roadmap items filed in the wrong status (doctor-flags-misfiled-items).
3
+ *
4
+ * `aidlc-roadmap` says where an item belongs and nothing checked it after triage. Autopilot
5
+ * builds in `roadmap next` order, so a `backlog/` item whose own Recommendation says "Do later"
6
+ * is built unattended; a `hold/` item with no reason cannot be told parked from declined; and a
7
+ * parked item whose dependencies have since finished is ready again with nobody told.
8
+ *
9
+ * Pure over a roadmap root and read-only, like `summary.ts`: the doctor wording lives in
10
+ * `doctor/migrations/roadmap-misfiled-items.ts`, so `roadmap next` or the view could call these
11
+ * later without importing doctor.
12
+ *
13
+ * @module
14
+ */
15
+ /** One item a check names. */
16
+ export interface MisfiledItem {
17
+ /** Absolute path on disk. */
18
+ file: string;
19
+ filename: string;
20
+ }
21
+ /** A parked item whose dependencies are all done, with the ids it lists. */
22
+ export interface ParkedReady extends MisfiledItem {
23
+ deps: string[];
24
+ }
25
+ /**
26
+ * `parked` or `declined` from a hold reason, or null when it says neither
27
+ * (doctor-flags-misfiled-items/AC-2).
28
+ *
29
+ * Deliberately not `holdNote` in `view-model.ts`. That match is case-sensitive, so the older
30
+ * `Parked: x` form reads there as "other hold". Doctor asks whether a decision is on record and
31
+ * the board asks which column to draw, and widening the board's match was put out of scope. `\b`
32
+ * is what lets `Parked:` pass and `parkedness` fail.
33
+ */
34
+ export declare function holdReasonKind(reason: unknown): 'parked' | 'declined' | null;
35
+ /** The last `history` entry with `status: hold`, or null (doctor-flags-misfiled-items/AC-1, AC-3). */
36
+ export declare function lastHoldEntry(data: Record<string, unknown>): {
37
+ reason: unknown;
38
+ at: string | null;
39
+ } | null;
40
+ /** The date of the last `history` entry with `status: done`, or null (doctor-flags-misfiled-items/AC-8). */
41
+ export declare function lastDoneDate(data: Record<string, unknown>): string | null;
42
+ /**
43
+ * The Recommendation value from an item body's executive summary, or null when it has none.
44
+ *
45
+ * Only the summary is searched, and only the label's own line is returned: the phrase this is
46
+ * read for always opens the value, so a wrapped continuation line adds nothing
47
+ * (doctor-flags-misfiled-items/AC-6).
48
+ */
49
+ export declare function recommendationValue(body: string): string | null;
50
+ /**
51
+ * True when a Recommendation value opens with "Do later", "Not now" or "Don't do"
52
+ * (doctor-flags-misfiled-items/AC-4, AC-5).
53
+ *
54
+ * Leading emphasis is dropped because the corpus writes `**Don't do** the broker`, and a curly
55
+ * apostrophe is folded because that is what a word processor turns `'` into. Only the start is
56
+ * tested: "Do it, but after …" is a yes with an order, not a not-now.
57
+ */
58
+ export declare function saysNotNow(value: string): boolean;
59
+ /**
60
+ * Every `hold/` item whose last `hold` entry records neither parked nor declined
61
+ * (doctor-flags-misfiled-items/AC-1, AC-2, AC-3).
62
+ *
63
+ * `listStatusAt` drops items whose frontmatter will not parse and sorts by file name, which is
64
+ * AC-12 and AC-13 for all three finders.
65
+ */
66
+ export declare function holdWithoutReason(root: string): MisfiledItem[];
67
+ /** Every `backlog/` item whose Recommendation says not now (doctor-flags-misfiled-items/AC-4..AC-6). */
68
+ export declare function backlogNotNow(root: string): MisfiledItem[];
69
+ /**
70
+ * Every parked `hold/` item whose `depends_on` are all in `done/`, at least one of them finished
71
+ * after the item was last parked (doctor-flags-misfiled-items/AC-7, AC-8, AC-9).
72
+ *
73
+ * The date test is what lets the finding clear. Items in this repo were parked after their
74
+ * dependencies finished, on triggers that are not dependencies; without it they would be named on
75
+ * every run, and the only way to quiet that would be to edit `depends_on`. Re-parking with a new
76
+ * `hold` entry — the re-triage the report asks for — moves the park date past every dependency.
77
+ *
78
+ * Same-day counts as before: a park written the day a dependency finished was written knowing it.
79
+ * A missing date on either side reports, because nothing then shows the park came after.
80
+ */
81
+ export declare function parkedDepsDone(root: string): ParkedReady[];
82
+ //# sourceMappingURL=misfiled.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"misfiled.d.ts","sourceRoot":"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`aidlc-roadmap` says where an item belongs and nothing checked it after triage. Autopilot
5
+ * builds in `roadmap next` order, so a `backlog/` item whose own Recommendation says "Do later"
6
+ * is built unattended; a `hold/` item with no reason cannot be told parked from declined; and a
7
+ * parked item whose dependencies have since finished is ready again with nobody told.
8
+ *
9
+ * Pure over a roadmap root and read-only, like `summary.ts`: the doctor wording lives in
10
+ * `doctor/migrations/roadmap-misfiled-items.ts`, so `roadmap next` or the view could call these
11
+ * later without importing doctor.
12
+ *
13
+ * @module
14
+ */
15
+ import { frontmatter, itemBody, listStatusAt } from './paths.js';
16
+ import { summarySection } from './summary.js';
17
+ /**
18
+ * `parked` or `declined` from a hold reason, or null when it says neither
19
+ * (doctor-flags-misfiled-items/AC-2).
20
+ *
21
+ * Deliberately not `holdNote` in `view-model.ts`. That match is case-sensitive, so the older
22
+ * `Parked: x` form reads there as "other hold". Doctor asks whether a decision is on record and
23
+ * the board asks which column to draw, and widening the board's match was put out of scope. `\b`
24
+ * is what lets `Parked:` pass and `parkedness` fail.
25
+ */
26
+ export function holdReasonKind(reason) {
27
+ if (typeof reason !== 'string')
28
+ return null;
29
+ const match = /^(parked|declined)\b/i.exec(reason.trim());
30
+ return match === null ? null : match[1].toLowerCase();
31
+ }
32
+ /** A `YYYY-MM-DD` date from YAML, which may have parsed it as a string or a Date. */
33
+ function dateOf(raw) {
34
+ if (raw instanceof Date && !Number.isNaN(raw.getTime()))
35
+ return raw.toISOString().slice(0, 10);
36
+ return typeof raw === 'string' && /^\d{4}-\d{2}-\d{2}$/.test(raw) ? raw : null;
37
+ }
38
+ /** The last `history` entry whose `status` is `status`, or null. */
39
+ function lastEntry(data, status) {
40
+ const history = data.history;
41
+ if (!Array.isArray(history))
42
+ return null;
43
+ for (let i = history.length - 1; i >= 0; i--) {
44
+ const entry = history[i];
45
+ if (typeof entry === 'object' && entry !== null && entry.status === status) {
46
+ return entry;
47
+ }
48
+ }
49
+ return null;
50
+ }
51
+ /** The last `history` entry with `status: hold`, or null (doctor-flags-misfiled-items/AC-1, AC-3). */
52
+ export function lastHoldEntry(data) {
53
+ const entry = lastEntry(data, 'hold');
54
+ return entry === null ? null : { reason: entry.reason, at: dateOf(entry.at) };
55
+ }
56
+ /** The date of the last `history` entry with `status: done`, or null (doctor-flags-misfiled-items/AC-8). */
57
+ export function lastDoneDate(data) {
58
+ const entry = lastEntry(data, 'done');
59
+ return entry === null ? null : dateOf(entry.at);
60
+ }
61
+ /**
62
+ * The label line, with the colon inside or outside the bold and any dash after it
63
+ * (doctor-flags-misfiled-items/AC-5).
64
+ */
65
+ const RECOMMENDATION_RE = /^\s*(?:[-*+]\s+)?\*\*Recommendation:?\*\*\s*:?\s*(?:[—–-]\s*)?(.*)$/;
66
+ /**
67
+ * The Recommendation value from an item body's executive summary, or null when it has none.
68
+ *
69
+ * Only the summary is searched, and only the label's own line is returned: the phrase this is
70
+ * read for always opens the value, so a wrapped continuation line adds nothing
71
+ * (doctor-flags-misfiled-items/AC-6).
72
+ */
73
+ export function recommendationValue(body) {
74
+ const section = summarySection(body);
75
+ if (section === null)
76
+ return null;
77
+ for (const line of section.split('\n')) {
78
+ const match = RECOMMENDATION_RE.exec(line);
79
+ if (match)
80
+ return match[1].trim();
81
+ }
82
+ return null;
83
+ }
84
+ /**
85
+ * True when a Recommendation value opens with "Do later", "Not now" or "Don't do"
86
+ * (doctor-flags-misfiled-items/AC-4, AC-5).
87
+ *
88
+ * Leading emphasis is dropped because the corpus writes `**Don't do** the broker`, and a curly
89
+ * apostrophe is folded because that is what a word processor turns `'` into. Only the start is
90
+ * tested: "Do it, but after …" is a yes with an order, not a not-now.
91
+ */
92
+ export function saysNotNow(value) {
93
+ const text = value.replace(/^[*_\s]+/, '').replace(/’/g, "'");
94
+ return /^(?:do later|not now|don't do)\b/i.test(text);
95
+ }
96
+ /**
97
+ * Every `hold/` item whose last `hold` entry records neither parked nor declined
98
+ * (doctor-flags-misfiled-items/AC-1, AC-2, AC-3).
99
+ *
100
+ * `listStatusAt` drops items whose frontmatter will not parse and sorts by file name, which is
101
+ * AC-12 and AC-13 for all three finders.
102
+ */
103
+ export function holdWithoutReason(root) {
104
+ const out = [];
105
+ for (const item of listStatusAt(root, 'hold')) {
106
+ const data = frontmatter(item.raw)?.data ?? {};
107
+ if (holdReasonKind(lastHoldEntry(data)?.reason) === null) {
108
+ out.push({ file: item.file, filename: item.filename });
109
+ }
110
+ }
111
+ return out;
112
+ }
113
+ /** Every `backlog/` item whose Recommendation says not now (doctor-flags-misfiled-items/AC-4..AC-6). */
114
+ export function backlogNotNow(root) {
115
+ const out = [];
116
+ for (const item of listStatusAt(root, 'backlog')) {
117
+ const value = recommendationValue(itemBody(item.raw));
118
+ if (value !== null && saysNotNow(value))
119
+ out.push({ file: item.file, filename: item.filename });
120
+ }
121
+ return out;
122
+ }
123
+ /**
124
+ * Every parked `hold/` item whose `depends_on` are all in `done/`, at least one of them finished
125
+ * after the item was last parked (doctor-flags-misfiled-items/AC-7, AC-8, AC-9).
126
+ *
127
+ * The date test is what lets the finding clear. Items in this repo were parked after their
128
+ * dependencies finished, on triggers that are not dependencies; without it they would be named on
129
+ * every run, and the only way to quiet that would be to edit `depends_on`. Re-parking with a new
130
+ * `hold` entry — the re-triage the report asks for — moves the park date past every dependency.
131
+ *
132
+ * Same-day counts as before: a park written the day a dependency finished was written knowing it.
133
+ * A missing date on either side reports, because nothing then shows the park came after.
134
+ */
135
+ export function parkedDepsDone(root) {
136
+ const doneDates = new Map();
137
+ for (const item of listStatusAt(root, 'done')) {
138
+ if (item.id === null)
139
+ continue;
140
+ doneDates.set(item.id, lastDoneDate(frontmatter(item.raw)?.data ?? {}));
141
+ }
142
+ const out = [];
143
+ for (const item of listStatusAt(root, 'hold')) {
144
+ const data = frontmatter(item.raw)?.data ?? {};
145
+ const hold = lastHoldEntry(data);
146
+ if (holdReasonKind(hold?.reason) !== 'parked')
147
+ continue;
148
+ const raw = Array.isArray(data.depends_on) ? data.depends_on : [];
149
+ if (raw.length === 0)
150
+ continue;
151
+ if (!raw.every((d) => typeof d === 'string' && doneDates.has(d)))
152
+ continue;
153
+ const parkedAt = hold?.at ?? null;
154
+ const finishedSince = raw.some((d) => {
155
+ const doneAt = doneDates.get(d) ?? null;
156
+ return parkedAt === null || doneAt === null || doneAt > parkedAt;
157
+ });
158
+ if (finishedSince)
159
+ out.push({ file: item.file, filename: item.filename, deps: raw });
160
+ }
161
+ return out;
162
+ }
163
+ //# sourceMappingURL=misfiled.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"misfiled.js","sourceRoot":"","sources":["../../src/roadmap/misfiled.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAEH,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AACjE,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAc9C;;;;;;;;GAQG;AACH,MAAM,UAAU,cAAc,CAAC,MAAe;IAC5C,IAAI,OAAO,MAAM,KAAK,QAAQ;QAAE,OAAO,IAAI,CAAC;IAC5C,MAAM,KAAK,GAAG,uBAAuB,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,EAAE,CAAC,CAAC;IAC1D,OAAO,KAAK,KAAK,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAE,KAAK,CAAC,CAAC,CAAC,CAAC,WAAW,EAA4B,CAAC;AACnF,CAAC;AAED,qFAAqF;AACrF,SAAS,MAAM,CAAC,GAAY;IAC1B,IAAI,GAAG,YAAY,IAAI,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,GAAG,CAAC,OAAO,EAAE,CAAC;QAAE,OAAO,GAAG,CAAC,WAAW,EAAE,CAAC,KAAK,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;IAC/F,OAAO,OAAO,GAAG,KAAK,QAAQ,IAAI,qBAAqB,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,IAAI,CAAC;AACjF,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CAAC,CAAC,CAAC,EAAE,CAAC;QAClE,IAAI,GAAG,CAAC,MAAM,KAAK,CAAC;YAAE,SAAS;QAC/B,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC,EAAe,EAAE,CAAC,OAAO,CAAC,KAAK,QAAQ,IAAI,SAAS,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;YAAE,SAAS;QAExF,MAAM,QAAQ,GAAG,IAAI,EAAE,EAAE,IAAI,IAAI,CAAC;QAClC,MAAM,aAAa,GAAG,GAAG,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE;YACnC,MAAM,MAAM,GAAG,SAAS,CAAC,GAAG,CAAC,CAAC,CAAC,IAAI,IAAI,CAAC;YACxC,OAAO,QAAQ,KAAK,IAAI,IAAI,MAAM,KAAK,IAAI,IAAI,MAAM,GAAG,QAAQ,CAAC;QACnE,CAAC,CAAC,CAAC;QACH,IAAI,aAAa;YAAE,GAAG,CAAC,IAAI,CAAC,EAAE,IAAI,EAAE,IAAI,CAAC,IAAI,EAAE,QAAQ,EAAE,IAAI,CAAC,QAAQ,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,CAAC;IACvF,CAAC;IACD,OAAO,GAAG,CAAC;AACb,CAAC"}
@@ -55,7 +55,7 @@ export async function askHost(prompt, preselect) {
55
55
  message: 'Where is this repository hosted? (AIDLC uses `gh` only on GitHub)',
56
56
  options: [
57
57
  { value: 'github', label: 'GitHub', hint: 'autopilot opens and merges pull requests with `gh`' },
58
- { value: 'gitlab', label: 'GitLab', hint: 'autopilot stops at a pushed branch; GitHub-only features are off' },
58
+ { value: 'gitlab', label: 'GitLab', hint: 'autopilot opens and merges merge requests with `glab`; GitHub-only features are off' },
59
59
  { value: 'git', label: 'plain git', hint: 'no hosting service — autopilot stops at a pushed branch' },
60
60
  ],
61
61
  initialValue: preselect,
@@ -1 +1 @@
1
- {"version":3,"file":"host.js","sourceRoot":"","sources":["../../src/setup/host.ts"],"names":[],"mappings":"A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,MAAM,MAAM,CAAC,MAAM,CAAC;QACjC,OAAO,EAAE,mEAAmE;QAC5E,OAAO,EAAE;YACP,EAAE,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,oDAAoD,EAAE;YAChG,EAAE,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,qFAAqF,EAAE;YACjI,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,WAAW,EAAE,IAAI,EAAE,yDAAyD,EAAE;SACtG;QACD,YAAY,EAAE,SAAS;KACxB,CAAC,CAAC;IACH,IAAI,CAAC,MAAM,CAAC,EAAE;QAAE,OAAO,IAAI,CAAC;IAC5B,OAAO,SAAS,CAAC,MAAM,CAAC,KAAK,CAAC,IAAI,IAAI,CAAC;AACzC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rasensio/aidlc",
3
- "version": "2.2.0",
3
+ "version": "2.4.0",
4
4
  "description": "AI Development Lifecycle Framework — structured lifecycle guidance for AI coding agents across platforms",
5
5
  "homepage": "https://aidlc.rodrigoasensio.com",
6
6
  "repository": {
@@ -31,7 +31,7 @@
31
31
  "commander": "15.0.0",
32
32
  "picomatch": "4.0.5",
33
33
  "yaml": "2.9.0",
34
- "@rasensio/aidlc-content": "2.2.0"
34
+ "@rasensio/aidlc-content": "2.4.0"
35
35
  },
36
36
  "devDependencies": {
37
37
  "@types/node": "22.15.32",