@dendelion/paper-camp 0.18.1 → 0.20.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 (82) hide show
  1. package/dist/app/assets/index-3pzg7Iyw.js +2 -0
  2. package/dist/app/assets/index-3pzg7Iyw.js.map +1 -0
  3. package/dist/app/assets/index-BHmWkgBW.js +2 -0
  4. package/dist/app/assets/{index-Bm61MVP8.js.map → index-BHmWkgBW.js.map} +1 -1
  5. package/dist/app/assets/index-BuzzfADD.js +2 -0
  6. package/dist/app/assets/index-BuzzfADD.js.map +1 -0
  7. package/dist/app/assets/index-CkLeljbk.js +2 -0
  8. package/dist/app/assets/index-CkLeljbk.js.map +1 -0
  9. package/dist/app/assets/{index-Dz77-ZQi.js → index-DMDqfoCe.js} +3 -3
  10. package/dist/app/assets/index-DMDqfoCe.js.map +1 -0
  11. package/dist/app/assets/index-D_Lo8ptS.js +6 -0
  12. package/dist/app/assets/index-D_Lo8ptS.js.map +1 -0
  13. package/dist/app/assets/{index-NfzGv6aM.js → index-DfekHwwU.js} +3 -3
  14. package/dist/app/assets/{index-NfzGv6aM.js.map → index-DfekHwwU.js.map} +1 -1
  15. package/dist/app/assets/index-Gi97Lmex.js +4 -0
  16. package/dist/app/assets/{index-0_VbynEu.js.map → index-Gi97Lmex.js.map} +1 -1
  17. package/dist/app/assets/main-Bm0W4ucz.css +1 -0
  18. package/dist/app/assets/main-DP_okYxh.js +215 -0
  19. package/dist/app/assets/main-DP_okYxh.js.map +1 -0
  20. package/dist/app/assets/sidebar-section-B-A20bg9.js +2 -0
  21. package/dist/app/assets/sidebar-section-B-A20bg9.js.map +1 -0
  22. package/dist/app/index.html +2 -2
  23. package/dist/app/toolbar.js +3933 -3844
  24. package/dist/app/toolbar.js.map +1 -1
  25. package/dist/chunks/{phase-progress.BIIDRJmI.js → phase-progress.DPAZ01Gg.js} +1942 -1706
  26. package/dist/chunks/phase-progress.DPAZ01Gg.js.map +1 -0
  27. package/dist/cli/index.js +8515 -7725
  28. package/dist/cli/index.js.map +1 -1
  29. package/dist/core/corpus-format.d.ts +11 -0
  30. package/dist/core/corpus-format.d.ts.map +1 -0
  31. package/dist/core/corpus-format.test.d.ts +2 -0
  32. package/dist/core/corpus-format.test.d.ts.map +1 -0
  33. package/dist/core/doctor/checks/metadata.d.ts.map +1 -1
  34. package/dist/core/doctor/rules.d.ts +6 -1
  35. package/dist/core/doctor/rules.d.ts.map +1 -1
  36. package/dist/core/git-pr/pr-lookup.d.ts +39 -2
  37. package/dist/core/git-pr/pr-lookup.d.ts.map +1 -1
  38. package/dist/core/git-pr/pr.d.ts +15 -1
  39. package/dist/core/git-pr/pr.d.ts.map +1 -1
  40. package/dist/core/index.js +108 -101
  41. package/dist/core/issues.d.ts +51 -0
  42. package/dist/core/issues.d.ts.map +1 -0
  43. package/dist/core/issues.test.d.ts +2 -0
  44. package/dist/core/issues.test.d.ts.map +1 -0
  45. package/dist/core/parse/parser.d.ts.map +1 -1
  46. package/dist/core/parse/schemas.d.ts +16 -4
  47. package/dist/core/parse/schemas.d.ts.map +1 -1
  48. package/dist/core/readers.d.ts +7 -2
  49. package/dist/core/readers.d.ts.map +1 -1
  50. package/dist/core/run-order.d.ts +1 -1
  51. package/dist/core/run-order.d.ts.map +1 -1
  52. package/dist/core/scaffold/scaffold.d.ts +0 -1
  53. package/dist/core/scaffold/scaffold.d.ts.map +1 -1
  54. package/dist/core/scaffold/templates.d.ts +1 -1
  55. package/dist/core/scaffold/templates.d.ts.map +1 -1
  56. package/dist/core/sections.d.ts.map +1 -1
  57. package/dist/core/serialize/serializer.d.ts +4 -2
  58. package/dist/core/serialize/serializer.d.ts.map +1 -1
  59. package/dist/core/status/status.d.ts +8 -4
  60. package/dist/core/status/status.d.ts.map +1 -1
  61. package/dist/types/index.d.ts +116 -5
  62. package/dist/types/index.d.ts.map +1 -1
  63. package/dist/types/index.js +23 -17
  64. package/dist/types/index.js.map +1 -1
  65. package/package.json +2 -2
  66. package/dist/app/assets/index-0_VbynEu.js +0 -4
  67. package/dist/app/assets/index-Bm61MVP8.js +0 -2
  68. package/dist/app/assets/index-CHYyIAaz.js +0 -6
  69. package/dist/app/assets/index-CHYyIAaz.js.map +0 -1
  70. package/dist/app/assets/index-DNRXB82k.js +0 -2
  71. package/dist/app/assets/index-DNRXB82k.js.map +0 -1
  72. package/dist/app/assets/index-Dz77-ZQi.js.map +0 -1
  73. package/dist/app/assets/index-pnCSf_Qk.js +0 -2
  74. package/dist/app/assets/index-pnCSf_Qk.js.map +0 -1
  75. package/dist/app/assets/main-AfQrNPNu.js +0 -217
  76. package/dist/app/assets/main-AfQrNPNu.js.map +0 -1
  77. package/dist/app/assets/main-BuCfycKH.css +0 -1
  78. package/dist/app/assets/sidebar-section-AupYBPL3.js +0 -2
  79. package/dist/app/assets/sidebar-section-AupYBPL3.js.map +0 -1
  80. package/dist/app/assets/tokens-C3C44lLs.js +0 -2
  81. package/dist/app/assets/tokens-C3C44lLs.js.map +0 -1
  82. package/dist/chunks/phase-progress.BIIDRJmI.js.map +0 -1
@@ -0,0 +1,11 @@
1
+ export declare const CORPUS_FORMAT_VERSION = 1;
2
+ export declare class CorpusTooNewError extends Error {
3
+ constructor(corpusVersion: number);
4
+ }
5
+ export declare function assertCorpusWritable(configPath: string): Promise<void>;
6
+ export interface CorpusFormatBump {
7
+ from: number | null;
8
+ to: number;
9
+ }
10
+ export declare function bumpCorpusFormat(configPath: string): Promise<CorpusFormatBump | null>;
11
+ //# sourceMappingURL=corpus-format.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"corpus-format.d.ts","sourceRoot":"","sources":["../../src/core/corpus-format.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,qBAAqB,IAAI,CAAC;AAEvC,qBAAa,iBAAkB,SAAQ,KAAK;gBAC9B,aAAa,EAAE,MAAM;CAMlC;AAyBD,wBAAsB,oBAAoB,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAK5E;AAED,MAAM,WAAW,gBAAgB;IAC/B,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB,EAAE,EAAE,MAAM,CAAC;CACZ;AAMD,wBAAsB,gBAAgB,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,gBAAgB,GAAG,IAAI,CAAC,CAQ3F"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=corpus-format.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"corpus-format.test.d.ts","sourceRoot":"","sources":["../../src/core/corpus-format.test.ts"],"names":[],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"file":"metadata.d.ts","sourceRoot":"","sources":["../../../../src/core/doctor/checks/metadata.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAoB,MAAM,WAAW,CAAC;AA6I/D,eAAO,MAAM,cAAc,EAAE,WAAW,EAKvC,CAAC"}
1
+ {"version":3,"file":"metadata.d.ts","sourceRoot":"","sources":["../../../../src/core/doctor/checks/metadata.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,WAAW,EAAoB,MAAM,WAAW,CAAC;AA0J/D,eAAO,MAAM,cAAc,EAAE,WAAW,EAMvC,CAAC"}
@@ -10,7 +10,7 @@ export declare const DOCTOR_RULES: readonly [{
10
10
  readonly id: "frontmatter-schema";
11
11
  readonly category: "metadata";
12
12
  readonly severity: "error";
13
- readonly summary: "Frontmatter fails entityFrontmatterSchema — missing required field, unknown key, bad enum, malformed date, or a violated note/status refinement.";
13
+ readonly summary: "Frontmatter fails entityFrontmatterSchema — missing required field, bad enum, malformed date, or a violated note/status refinement.";
14
14
  }, {
15
15
  readonly id: "filename-id-mismatch";
16
16
  readonly category: "metadata";
@@ -26,6 +26,11 @@ export declare const DOCTOR_RULES: readonly [{
26
26
  readonly category: "metadata";
27
27
  readonly severity: "error";
28
28
  readonly summary: "An entity id is greater than or equal to config.nextId.idea, so the next mint collides with an existing file.";
29
+ }, {
30
+ readonly id: "corpus-format-too-new";
31
+ readonly category: "metadata";
32
+ readonly severity: "error";
33
+ readonly summary: "config.version is newer than the format this paper-camp understands; reads stay tolerant but writes are refused until it upgrades.";
29
34
  }, {
30
35
  readonly id: "phases-list-split";
31
36
  readonly category: "structural";
@@ -1 +1 @@
1
- {"version":3,"file":"rules.d.ts","sourceRoot":"","sources":["../../../src/core/doctor/rules.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,cAAc,GAAG,OAAO,GAAG,SAAS,CAAC;AAEjD,MAAM,MAAM,cAAc,GAAG,UAAU,GAAG,YAAY,CAAC;AAEvD,MAAM,WAAW,UAAU;IACzB,EAAE,EAAE,MAAM,CAAC;IACX,QAAQ,EAAE,cAAc,CAAC;IACzB,QAAQ,EAAE,cAAc,CAAC;IACzB,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAqDiB,CAAC;AAE3C,MAAM,MAAM,YAAY,GAAG,CAAC,OAAO,YAAY,CAAC,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,CAAC;AAE/D,eAAO,MAAM,kBAAkB,EAAE,MAAM,CAAC,YAAY,EAAE,UAAU,CAE3B,CAAC"}
1
+ {"version":3,"file":"rules.d.ts","sourceRoot":"","sources":["../../../src/core/doctor/rules.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,cAAc,GAAG,OAAO,GAAG,SAAS,CAAC;AAEjD,MAAM,MAAM,cAAc,GAAG,UAAU,GAAG,YAAY,CAAC;AAEvD,MAAM,WAAW,UAAU;IACzB,EAAE,EAAE,MAAM,CAAC;IACX,QAAQ,EAAE,cAAc,CAAC;IACzB,QAAQ,EAAE,cAAc,CAAC;IACzB,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA4DiB,CAAC;AAE3C,MAAM,MAAM,YAAY,GAAG,CAAC,OAAO,YAAY,CAAC,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,CAAC;AAE/D,eAAO,MAAM,kBAAkB,EAAE,MAAM,CAAC,YAAY,EAAE,UAAU,CAE3B,CAAC"}
@@ -1,5 +1,10 @@
1
1
  import { PrInfo, ReviewThread } from '../../types/index';
2
2
  export declare function resolveEntityIdFromPrRef(body: string | null | undefined, branch: string | null | undefined): string | null;
3
+ /** Rendered into the GitHub review body's footer by `renderReviewGithubBody` — the
4
+ * one marker that ties a posted review back to the SHA the poll is waiting to
5
+ * observe, regardless of whether it arrived via the Scout dispatch or the
6
+ * direct-post fallback. */
7
+ export declare function scoutReviewFooter(entityId: string, sha: string): string;
3
8
  export declare function parsePrUrl(url: string): {
4
9
  owner: string;
5
10
  repo: string;
@@ -10,7 +15,39 @@ export declare function fetchUnresolvedThreads(root: string, url: string): Promi
10
15
  /** Best-effort: returns `false` on any failure — a failed resolve must not fail the push that triggered it. */
11
16
  export declare function resolveReviewThread(root: string, threadId: string): Promise<boolean>;
12
17
  export declare function replyToReviewThread(root: string, threadId: string, body: string): Promise<boolean>;
13
- /** `undefined` means the lookup couldn't resolve at all; callers fall back to stored status. */
18
+ export interface PrReviewComment {
19
+ path: string;
20
+ line: number;
21
+ body: string;
22
+ }
23
+ export interface PrReviewInput {
24
+ body: string;
25
+ event: 'COMMENT' | 'APPROVE' | 'REQUEST_CHANGES';
26
+ comments: PrReviewComment[];
27
+ }
28
+ /** `delivered` is false on any failure; `body` carries the GitHub response body
29
+ * for that failure (e.g. a 422 naming the offending comment), unset on success. */
30
+ export interface PrReviewDelivery {
31
+ delivered: boolean;
32
+ body?: string;
33
+ }
34
+ /** `delivered` is false on any failure, including a rejected `gh` post — a
35
+ * failed review post must not crash the poller that triggered it. */
36
+ export declare function createPrReview(root: string, url: string, review: PrReviewInput): Promise<PrReviewDelivery>;
37
+ /** Best-effort, like `createPrReview`: not delivered on any failure — including no
38
+ * `SCOUT_APP_ID`/`SCOUT_PRIVATE_KEY` wired up, offline, or a fork with no
39
+ * Actions access to this repo. Callers fall back to `createPrReview`. */
40
+ export declare function dispatchPrReview(root: string, url: string, review: PrReviewInput): Promise<PrReviewDelivery>;
41
+ /** `undefined` means the lookup couldn't resolve at all and nothing persisted
42
+ * exists to fall back on either; callers fall back to stored status. */
14
43
  export declare function resolvePrsByEntity(root: string, ttlMs?: number): Promise<Map<string, PrInfo> | undefined>;
15
- export declare function clearPrCache(): void;
44
+ /** Reads the timestamp of the last successful GitHub fetch without triggering one
45
+ * — falls back to the on-disk map if nothing's cached in memory yet. */
46
+ export declare function getPrMapFetchedAt(root: string): Promise<number | null>;
47
+ /** Zeroing rather than removing the persisted `fetchedAt` (both in memory and on
48
+ * disk) means the next read for `root` fails its TTL check and fetches live,
49
+ * while the map itself survives as the fallback if that fetch errors. Called
50
+ * with no `root`, it drops the whole in-memory cache instead — used by tests to
51
+ * simulate a process restart, where the persisted file must stay untouched. */
52
+ export declare function clearPrCache(root?: string): Promise<void>;
16
53
  //# sourceMappingURL=pr-lookup.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"pr-lookup.d.ts","sourceRoot":"","sources":["../../../src/core/git-pr/pr-lookup.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,MAAM,EAAkB,YAAY,EAAE,MAAM,mBAAmB,CAAC;AA2C9E,wBAAgB,wBAAwB,CACtC,IAAI,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,EAC/B,MAAM,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,GAChC,MAAM,GAAG,IAAI,CAKf;AA0BD,wBAAgB,UAAU,CAAC,GAAG,EAAE,MAAM,GAAG;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAAE,GAAG,IAAI,CAK9F;AA8HD,sEAAsE;AACtE,wBAAsB,sBAAsB,CAAC,IAAI,EAAE,MAA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I+E;AAC/E,wBAAsB,YAAY,CAAC,IAAI,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAkB/D"}
@@ -1,5 +1,9 @@
1
1
  import { ConsistencyIssue, EntityEntry, EntityType, PhaseItem } from '../../types/index';
2
- export { clearPrCache, fetchUnresolvedThreads, replyToReviewThread, resolvePrsByEntity, resolveReviewThread, } from './pr-lookup';
2
+ export { clearPrCache, createPrReview, dispatchPrReview, fetchUnresolvedThreads, getPrMapFetchedAt, type PrReviewComment, type PrReviewDelivery, type PrReviewInput, replyToReviewThread, resolvePrsByEntity, resolveReviewThread, scoutReviewFooter, } from './pr-lookup';
3
+ /** `gh pr diff <ref>` — the unified diff of the PR's changes, capped so a huge
4
+ * diff can't blow the review prompt's budget. Resolves `undefined` on any
5
+ * spawn/exit failure, never throws. */
6
+ export declare function fetchPrDiff(root: string, ref: string, maxChars?: number): Promise<string | undefined>;
3
7
  interface ResolvedPlanForPr {
4
8
  id: string;
5
9
  kind?: EntityType;
@@ -22,6 +26,16 @@ export declare function syncPrTitleToPr(root: string, ref: string): Promise<'upd
22
26
  * resolves to a plan, the title must match that plan's title exactly — a
23
27
  * conventional but unrelated title (stale or hand-edited) is still invalid. */
24
28
  export declare function validatePrTitle(root: string, ref: string): Promise<'valid' | 'invalid' | 'no-pr'>;
29
+ /** Squash is the only merge method the repo allows (see `merge-policy.ts`), and the
30
+ * squash commit title is configured to inherit the PR title verbatim — the same
31
+ * title `validatePrTitle` already requires to match the idea exactly. No merge
32
+ * message/title flag is passed here for that reason. */
33
+ export declare function squashMergePr(root: string, ref: string): Promise<{
34
+ ok: true;
35
+ } | {
36
+ ok: false;
37
+ message: string;
38
+ }>;
25
39
  export declare function syncPrReadinessToPr(root: string, ref: string): Promise<'ready' | 'closed' | 'unchanged' | 'unresolved'>;
26
40
  interface AuditSummary {
27
41
  audited: string;
@@ -1 +1 @@
1
- {"version":3,"file":"pr.d.ts","sourceRoot":"","sources":["../../../src/core/git-pr/pr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AAI,EAAE,MAAM,EACZ,GAAG,EAAE,MAAM,GACV,OAAO,CAAC,OAAO,GAAG,SAAS,GAAG,OAAO,CAAC,CASxC;AAED;;;wDAGwD;AACxD,wBAAgB,aAAa,CAC3B,IAAI,EAAE,MAAM,EACZ,GAAG,EAAE,MAAM,GACV,OAAO,CAAC;IAAE,EAAE,EAAE,IAAI,CAAA;CAAE,GAAG;IAAE,EAAE,EAAE,KAAK,CAAC;IAAC,OAAO,EAAE,MAAM,CAAA;CAAE,CAAC,CAsBxD;AA0BD,wBAAsB,mBAAmB,CACvC,IAAI,EAAE,MAAM,EACZ,GAAG,EAAE,MAAM,GACV,OAAO,CAAC,OAAO,GAAG,QAAQ,GAAG,WAAW,GAAG,YAAY,CAAC,CAgB1D;AAKD,UAAU,YAAY;IACpB,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,OAAO,CAAC;CAChB;AAED,wBAAgB,wBAAwB,CAAC,MAAM,EAAE,gBAAgB,EAAE,EAAE,KAAK,CAAC,EAAE,YAAY,GAAG,MAAM,CAkBjG;AA2CD,wBAAsB,0BAA0B,CAC9C,IAAI,EAAE,MAAM,EACZ,GAAG,EAAE,MAAM,GACV,OAAO,CAAC,SAAS,GAAG,SAAS,GAAG,WAAW,GAAG,YAAY,CAAC,CAoC7D"}
@@ -1,14 +1,14 @@
1
- import { A as e, C as r, a as t, b as n, D as o, c as i, d, e as l, M as c, P as m, f as S, g as E, S as T, h as P, i as p, j as C, k as I, l as R, m as h, n as v, o as y, p as _, q as F, r as g, s as A, t as N, u as f, v as L, w as O, x as D, y as M, z as u, B as k, E as b, F as G, G as U, H, I as x, J as B, K as w, L as j, N as K, O as z, Q, R as V, T as W, U as X, V as J, W as Y, X as q, Y as Z, Z as $, _ as aa, $ as sa, a0 as ea, a1 as ra, a2 as ta, a3 as na, a4 as oa, a5 as ia, a6 as da, a7 as la, a8 as ca, a9 as ma, aa as Sa, ab as Ea, ac as Ta, ad as Pa, ae as pa, af as Ca, ag as Ia, ah as Ra, ai as ha, aj as va, ak as ya, al as _a, am as Fa, an as ga, ao as Aa, ap as Na, aq as fa, ar as La, as as Oa, at as Da, au as Ma, av as ua, aw as ka, ax as ba, ay as Ga, az as Ua, aA as Ha, aB as xa, aC as Ba, aD as wa, aE as ja, aF as Ka, aG as za, aH as Qa, aI as Va, aJ as Wa, aK as Xa, aL as Ja, aM as Ya, aN as qa, aO as Za, aP as $a, aQ as as, aR as ss, aS as es, aT as rs, aU as ts, aV as ns, aW as os } from "../chunks/phase-progress.BIIDRJmI.js";
2
- import { AGENT_IDS as ds, AGENT_LABELS as ls, AGENT_OPTIONS as cs, DEFAULT_AGENTS as ms, PLAN_KINDS as Ss, PLAN_STATUSES as Es, TOOLBAR_SEGMENT_IDS as Ts, coerceAgentConfig as Ps } from "../types/index.js";
1
+ import { A as s, C as r, a as t, b as n, D as o, c as i, d, e as l, M as c, P as m, f as S, g as P, S as E, h as T, i as p, j as R, k as h, l as C, m as v, n as y, o as I, p as _, q as F, r as g, s as A, t as f, u as N, v as L, w as O, x as D, y as u, z as M, B as k, E as b, F as G, G as w, H as U, I as H, J as B, K, L as x, N as j, O as X, Q as q, R as z, T as Q, U as V, V as W, W as Y, X as J, Y as Z, Z as $, _ as aa, $ as ea, a0 as sa, a1 as ra, a2 as ta, a3 as na, a4 as oa, a5 as ia, a6 as da, a7 as la, a8 as ca, a9 as ma, aa as Sa, ab as Pa, ac as Ea, ad as Ta, ae as pa, af as Ra, ag as ha, ah as Ca, ai as va, aj as ya, ak as Ia, al as _a, am as Fa, an as ga, ao as Aa, ap as fa, aq as Na, ar as La, as as Oa, at as Da, au as ua, av as Ma, aw as ka, ax as ba, ay as Ga, az as wa, aA as Ua, aB as Ha, aC as Ba, aD as Ka, aE as xa, aF as ja, aG as Xa, aH as qa, aI as za, aJ as Qa, aK as Va, aL as Wa, aM as Ya, aN as Ja, aO as Za, aP as $a, aQ as ae, aR as ee, aS as se, aT as re, aU as te, aV as ne, aW as oe, aX as ie, aY as de, aZ as le, a_ as ce, a$ as me, b0 as Se } from "../chunks/phase-progress.DPAZ01Gg.js";
2
+ import { AGENT_IDS as Ee, AGENT_LABELS as Te, AGENT_OPTIONS as pe, DEFAULT_AGENTS as Re, PLAN_KINDS as he, PLAN_STATUSES as Ce, TOOLBAR_SEGMENT_IDS as ve, agentConfigsEqual as ye, coerceAgentConfig as Ie } from "../types/index.js";
3
3
  export {
4
- ds as AGENT_IDS,
5
- ls as AGENT_LABELS,
6
- cs as AGENT_OPTIONS,
7
- e as AlreadyInitializedError,
4
+ Ee as AGENT_IDS,
5
+ Te as AGENT_LABELS,
6
+ pe as AGENT_OPTIONS,
7
+ s as AlreadyInitializedError,
8
8
  r as CLAUDE_SETTINGS_JSON,
9
9
  t as COMMIT_SCOPES,
10
10
  n as COMMIT_SHA_RE,
11
- ms as DEFAULT_AGENTS,
11
+ Re as DEFAULT_AGENTS,
12
12
  o as DOCTOR_CHECKS,
13
13
  i as DOCTOR_FIXERS,
14
14
  d as DOCTOR_RULES,
@@ -16,111 +16,118 @@ export {
16
16
  c as MAX_TITLE_LENGTH,
17
17
  m as PAPER_CAMP_VERSION,
18
18
  S as PHASE_MAX_FRACTION,
19
- E as PHASE_STALL_MS,
20
- Ss as PLAN_KINDS,
21
- Es as PLAN_STATUSES,
22
- T as SKILL_MD_CONTENT,
23
- P as SUGGESTION_ENTRY_RE,
24
- Ts as TOOLBAR_SEGMENT_IDS,
19
+ P as PHASE_STALL_MS,
20
+ he as PLAN_KINDS,
21
+ Ce as PLAN_STATUSES,
22
+ E as SKILL_MD_CONTENT,
23
+ T as SUGGESTION_ENTRY_RE,
24
+ ve as TOOLBAR_SEGMENT_IDS,
25
25
  p as addRoadmapCandidate,
26
- C as addRoadmapItem,
27
- I as advanceAnchor,
28
- R as agentConfigSchema,
29
- h as agentThreadMessage,
30
- v as applyEnvEntries,
31
- y as archiveEntityFile,
26
+ R as addRoadmapItem,
27
+ h as advanceAnchor,
28
+ C as agentConfigSchema,
29
+ ye as agentConfigsEqual,
30
+ v as agentThreadMessage,
31
+ y as applyEnvEntries,
32
+ I as archiveEntityFile,
32
33
  _ as assignEntityId,
33
34
  F as assignPlanId,
34
35
  g as branchName,
35
36
  A as classifyAnchor,
36
- N as clearPrCache,
37
- Ps as coerceAgentConfig,
38
- f as collectDoctorContext,
37
+ f as clearPrCache,
38
+ Ie as coerceAgentConfig,
39
+ N as collectDoctorContext,
39
40
  L as collectParkedQuestions,
40
41
  O as computePlanContentHash,
41
42
  D as computePrTitle,
43
+ u as createPrReview,
42
44
  M as dateString,
43
- u as derivePrLabels,
44
- k as deriveRoadmapEvents,
45
- b as deriveSubjectVocabulary,
46
- G as describeFindings,
45
+ k as derivePrLabels,
46
+ b as deriveRoadmapEvents,
47
+ G as deriveSubjectVocabulary,
48
+ w as describeFindings,
47
49
  U as deskCheckSchema,
48
50
  H as deskCiSchema,
49
- x as deskConfigSchema,
50
- B as deskServiceSchema,
51
- w as ensureSubject,
52
- j as entityFrontmatterSchema,
53
- K as entityToIdea,
54
- z as entityToPlan,
55
- Q as fetchUnresolvedThreads,
56
- V as findArchivableIdeas,
57
- W as findConsistencyIssues,
58
- X as findReleaseLineForId,
59
- J as findingSeverity,
60
- Y as formatEntitiesIndex,
61
- q as formatEntityFile,
62
- Z as formatIdeaFile,
63
- $ as formatPlanEntry,
64
- aa as formatPlanFile,
65
- sa as formatPlans,
66
- ea as formatReleaseNotesMarkdown,
67
- ra as ideaFrontmatterSchema,
68
- ta as initProject,
69
- na as isConventionalPrTitle,
70
- oa as isPhaseStalled,
71
- ia as linkRoadmapItem,
72
- da as medianSegmentMs,
73
- la as paperCampConfigSchema,
74
- ca as parseEntityFile,
75
- ma as parseEnv,
76
- Sa as parseFrontmatter,
77
- Ea as parseIdeaFile,
78
- Ta as parseIdeas,
79
- Pa as parseNotificationLog,
80
- pa as parsePlanFile,
81
- Ca as parsePlans,
51
+ B as deskConfigSchema,
52
+ K as deskServiceSchema,
53
+ x as dispatchPrReview,
54
+ j as ensureSubject,
55
+ X as entityFrontmatterKnownKeys,
56
+ q as entityFrontmatterSchema,
57
+ z as entityToIdea,
58
+ Q as entityToPlan,
59
+ V as fetchPrDiff,
60
+ W as fetchUnresolvedThreads,
61
+ Y as findArchivableIdeas,
62
+ J as findConsistencyIssues,
63
+ Z as findReleaseLineForId,
64
+ $ as findingSeverity,
65
+ aa as formatEntityFile,
66
+ ea as formatIdeaFile,
67
+ sa as formatPlanEntry,
68
+ ra as formatPlanFile,
69
+ ta as formatPlans,
70
+ na as formatReleaseNotesMarkdown,
71
+ oa as getPrMapFetchedAt,
72
+ ia as ideaFrontmatterSchema,
73
+ da as initProject,
74
+ la as isConventionalPrTitle,
75
+ ca as isPhaseStalled,
76
+ ma as linkRoadmapItem,
77
+ Sa as medianSegmentMs,
78
+ Pa as paperCampConfigSchema,
79
+ Ea as parseEntityFile,
80
+ Ta as parseEnv,
81
+ pa as parseFrontmatter,
82
+ Ra as parseIdeaFile,
83
+ ha as parseIdeas,
84
+ Ca as parseNotificationLog,
85
+ va as parsePlanFile,
86
+ ya as parsePlans,
82
87
  Ia as parseRawEntries,
83
- Ra as parseRoadmap,
84
- ha as parseSuggestions,
85
- va as parseTaskLog,
86
- ya as phaseFraction,
87
- _a as planDoctorFixes,
88
- Fa as planFieldsSchema,
89
- ga as planFrontmatterSchema,
90
- Aa as readEntities,
91
- Na as readEntitiesWithDerivedStatus,
92
- fa as readFileMaybe,
93
- La as readNoteEntries,
94
- Oa as readParkedQuestions,
95
- Da as readWorkEntries,
96
- Ma as removeRoadmapItem,
97
- ua as removeSuggestionLine,
98
- ka as renderConsistencyComment,
99
- ba as renderPlanPhasesIntoBody,
100
- Ga as replyToReviewThread,
101
- Ua as reportFindings,
102
- Ha as resolveEntityIdForCommit,
103
- xa as resolveEntityTrail,
104
- Ba as resolveIdFromCommitMessage,
105
- wa as resolveIdeasForRelease,
106
- ja as resolvePlanForPrRef,
107
- Ka as resolvePrimaryScope,
108
- za as resolvePrsByEntity,
109
- Qa as resolveReleaseNotes,
110
- Va as resolveReleaseRanges,
111
- Wa as resolveReviewThread,
112
- Xa as resolveRoadmap,
113
- Ja as runDoctor,
114
- Ya as runDoctorChecks,
115
- qa as serializeFrontmatter,
116
- Za as sortFindings,
117
- $a as storedNotificationSchema,
118
- as as syncConsistencyCommentToPr,
119
- ss as syncPlanPhasesToPr,
120
- es as syncPrLabelsToPr,
121
- rs as syncPrReadinessToPr,
122
- ts as syncPrTitleToPr,
123
- ns as todayDateString,
124
- os as validatePrTitle
88
+ _a as parseRoadmap,
89
+ Fa as parseSuggestions,
90
+ ga as parseTaskLog,
91
+ Aa as phaseFraction,
92
+ fa as planDoctorFixes,
93
+ Na as planFieldsSchema,
94
+ La as planFrontmatterSchema,
95
+ Oa as readEntities,
96
+ Da as readEntitiesWithDerivedStatus,
97
+ ua as readFileMaybe,
98
+ Ma as readNoteEntries,
99
+ ka as readParkedQuestions,
100
+ ba as readWorkEntries,
101
+ Ga as removeRoadmapItem,
102
+ wa as removeSuggestionLine,
103
+ Ua as renderConsistencyComment,
104
+ Ha as renderPlanPhasesIntoBody,
105
+ Ba as replyToReviewThread,
106
+ Ka as reportFindings,
107
+ xa as resolveEntityIdForCommit,
108
+ ja as resolveEntityTrail,
109
+ Xa as resolveIdFromCommitMessage,
110
+ qa as resolveIdeasForRelease,
111
+ za as resolvePlanForPrRef,
112
+ Qa as resolvePrimaryScope,
113
+ Va as resolvePrsByEntity,
114
+ Wa as resolveReleaseNotes,
115
+ Ya as resolveReleaseRanges,
116
+ Ja as resolveReviewThread,
117
+ Za as resolveRoadmap,
118
+ $a as runDoctor,
119
+ ae as runDoctorChecks,
120
+ ee as scoutReviewFooter,
121
+ se as serializeFrontmatter,
122
+ re as sortFindings,
123
+ te as squashMergePr,
124
+ ne as storedNotificationSchema,
125
+ oe as syncConsistencyCommentToPr,
126
+ ie as syncPlanPhasesToPr,
127
+ de as syncPrLabelsToPr,
128
+ le as syncPrReadinessToPr,
129
+ ce as syncPrTitleToPr,
130
+ me as todayDateString,
131
+ Se as validatePrTitle
125
132
  };
126
133
  //# sourceMappingURL=index.js.map
@@ -0,0 +1,51 @@
1
+ import { DeskCheckState, EntityStatus, GitSyncFailure, Issue, PhaseItem, PrInfo, TaskLogEntry, ThreadMessage } from '../types/index';
2
+ /** A failed agent run (`outcome: 'error'` in tasks.log), keyed by the plan it ran
3
+ * against so a repeat failure on the same plan continues one issue. Runs with no
4
+ * `planId` (e.g. a batch task) key off their own task id instead. */
5
+ export declare function collectAgentRunIssues(taskLog: TaskLogEntry[]): Issue[];
6
+ /** A red project check (Quality/Tests/Consistency — Docs keeps its own browse flow
7
+ * and is excluded, same carve-out as `buildCheckFixes`), keyed by check name. */
8
+ export declare function collectCheckIssues(checks: DeskCheckState[]): Issue[];
9
+ /** A PR review that requested changes, keyed by PR number + head sha so a fresh
10
+ * push that gets re-reviewed continues the same issue rather than a new one. */
11
+ export declare function collectPrReviewIssues(entities: {
12
+ id: string;
13
+ title: string;
14
+ pr?: PrInfo;
15
+ }[]): Issue[];
16
+ /** A git rebase/sync failure on the currently checked-out branch, keyed by branch +
17
+ * the ref it failed to reconcile against so a repeat failure of the same rebase
18
+ * continues one issue. */
19
+ export declare function collectSyncIssues(failure: GitSyncFailure | undefined, branch: string, entity?: {
20
+ id: string;
21
+ title: string;
22
+ }): Issue[];
23
+ /** Reconciles freshly-collected issues (every one currently detected as failing, so
24
+ * always 'open') against the existing set, keyed by `id`. A repeat failure of the
25
+ * same thing replaces that issue's title/reason/output in place, preserving its
26
+ * position and its thread. An existing issue absent from `fresh` has stopped
27
+ * failing, so it closes — unless it was promoted to a fix entity that hasn't
28
+ * shipped yet (`fixEntityStatus` reports its status), which keeps it open until
29
+ * that entity reaches 'done'. Closure is derived here, never a mark-read button. */
30
+ export declare function reconcileIssues(existing: Issue[], fresh: Issue[], fixEntityStatus?: (fixId: string) => EntityStatus | undefined): Issue[];
31
+ /** An entity Promote (IDEA-192 phase 6) may have created or amended — a spawned
32
+ * fix/idea entity stamps `issueSource`; an open parent gets a `source: 'issue'`
33
+ * item appended to its inline Fixes list instead. */
34
+ type PromotionTarget = {
35
+ id?: string;
36
+ status?: EntityStatus;
37
+ issueSource?: string;
38
+ fixes?: PhaseItem[];
39
+ };
40
+ /** Matches every issue against the corpus for a prior Promote (IDEA-192 phase 6),
41
+ * re-derived from disk on every read since issues carry no store of their own —
42
+ * the promotion survives a reload because git holds it, not a stored issue. Once
43
+ * matched, an issue whose target has shipped (`status: 'done'`) closes, even if
44
+ * its original source is still detected as failing. */
45
+ export declare function applyPromotions(issues: Issue[], entities: PromotionTarget[]): Issue[];
46
+ /** "Fix it here" (IDEA-192) launches an `issue-fix` task carrying the issue's id;
47
+ * this reconstructs that issue's thread from every tasks.log entry carrying it,
48
+ * oldest first, so a repeat fix attempt reads as a continuation, not a fresh mystery. */
49
+ export declare function issueThreadFromTaskLog(issue: Issue, taskLog: TaskLogEntry[]): ThreadMessage[];
50
+ export {};
51
+ //# sourceMappingURL=issues.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"issues.d.ts","sourceRoot":"","sources":["../../src/core/issues.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,cAAc,EACd,YAAY,EACZ,cAAc,EACd,KAAK,EACL,SAAS,EACT,MAAM,EACN,YAAY,EACZ,aAAa,EACd,MAAM,gBAAgB,CAAC;AAKxB;;qEAEqE;AACrE,wBAAgB,qBAAqB,CAAC,OAAO,EAAE,YAAY,EAAE,GAAG,KAAK,EAAE,CAkBtE;AAED;iFACiF;AACjF,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,cAAc,EAAE,GAAG,KAAK,EAAE,CAcpE;AAED;gFACgF;AAChF,wBAAgB,qBAAqB,CACnC,QAAQ,EAAE;IAAE,EAAE,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAC;IAAC,EAAE,CAAC,EAAE,MAAM,CAAA;CAAE,EAAE,GACrD,KAAK,EAAE,CAkBT;AAED;;0BAE0B;AAC1B,wBAAgB,iBAAiB,CAC/B,OAAO,EAAE,cAAc,GAAG,SAAS,EACnC,MAAM,EAAE,MAAM,EACd,MAAM,CAAC,EAAE;IAAE,EAAE,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,GACrC,KAAK,EAAE,CAmBT;AAED;;;;;;oFAMoF;AACpF,wBAAgB,eAAe,CAC7B,QAAQ,EAAE,KAAK,EAAE,EACjB,KAAK,EAAE,KAAK,EAAE,EACd,eAAe,GAAE,CAAC,KAAK,EAAE,MAAM,KAAK,YAAY,GAAG,SAA2B,GAC7E,KAAK,EAAE,CAaT;AAED;;qDAEqD;AACrD,KAAK,eAAe,GAAG;IACrB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,MAAM,CAAC,EAAE,YAAY,CAAC;IACtB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,SAAS,EAAE,CAAC;CACrB,CAAC;AAEF;;;;uDAIuD;AACvD,wBAAgB,eAAe,CAAC,MAAM,EAAE,KAAK,EAAE,EAAE,QAAQ,EAAE,eAAe,EAAE,GAAG,KAAK,EAAE,CAarF;AAED;;yFAEyF;AACzF,wBAAgB,sBAAsB,CAAC,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,YAAY,EAAE,GAAG,aAAa,EAAE,CAe7F"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=issues.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"issues.test.d.ts","sourceRoot":"","sources":["../../src/core/issues.test.ts"],"names":[],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"file":"parser.d.ts","sourceRoot":"","sources":["../../../src/core/parse/parser.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAC7B,OAAO,KAAK,EACV,gBAAgB,EAChB,WAAW,EACX,SAAS,EAIT,WAAW,EACX,YAAY,EAEZ,SAAS,EACT,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AAgB,oBAAoB,CAAC,GAAG,EAAE,MAAM,GAAG,kBAAkB,EAAE,CAWtE;AAED,eAAO,MAAM,mBAAmB,QAAkD,CAAC;AAGnF,wBAAgB,gBAAgB,CAAC,QAAQ,EAAE,MAAM,GAAG,eAAe,EAAE,CASpE"}
@@ -62,7 +62,7 @@ export declare const planFrontmatterSchema: z.ZodObject<{
62
62
  audited: z.ZodOptional<z.ZodString>;
63
63
  'audited-hash': z.ZodOptional<z.ZodString>;
64
64
  tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
65
- }, z.core.$strip>;
65
+ }, z.core.$loose>;
66
66
  export declare const ideaFrontmatterSchema: z.ZodObject<{
67
67
  id: z.ZodString;
68
68
  title: z.ZodString;
@@ -75,7 +75,8 @@ export declare const ideaFrontmatterSchema: z.ZodObject<{
75
75
  dropped: "dropped";
76
76
  open: "open";
77
77
  }>>;
78
- }, z.core.$strip>;
78
+ }, z.core.$loose>;
79
+ export declare const entityFrontmatterKnownKeys: ReadonlySet<string>;
79
80
  export declare const entityFrontmatterSchema: z.ZodObject<{
80
81
  id: z.ZodString;
81
82
  title: z.ZodString;
@@ -87,6 +88,7 @@ export declare const entityFrontmatterSchema: z.ZodObject<{
87
88
  refactor: "refactor";
88
89
  }>>;
89
90
  kind: z.ZodOptional<z.ZodEnum<{
91
+ fix: "fix";
90
92
  note: "note";
91
93
  }>>;
92
94
  status: z.ZodOptional<z.ZodEnum<{
@@ -108,9 +110,11 @@ export declare const entityFrontmatterSchema: z.ZodObject<{
108
110
  'audited-hash': z.ZodOptional<z.ZodString>;
109
111
  released: z.ZodOptional<z.ZodString>;
110
112
  tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
113
+ idea: z.ZodOptional<z.ZodString>;
111
114
  subject: z.ZodOptional<z.ZodString>;
112
115
  order: z.ZodOptional<z.ZodNumber>;
113
- }, z.core.$strip>;
116
+ issueSource: z.ZodOptional<z.ZodString>;
117
+ }, z.core.$loose>;
114
118
  export declare const deskServiceSchema: z.ZodObject<{
115
119
  name: z.ZodString;
116
120
  cmd: z.ZodString;
@@ -144,7 +148,7 @@ export declare const deskConfigSchema: z.ZodObject<{
144
148
  }, z.core.$strip>>;
145
149
  }, z.core.$strip>;
146
150
  export declare const paperCampConfigSchema: z.ZodObject<{
147
- version: z.ZodString;
151
+ version: z.ZodNumber;
148
152
  projectName: z.ZodString;
149
153
  initializedAt: z.ZodString;
150
154
  nextId: z.ZodOptional<z.ZodObject<{
@@ -200,6 +204,14 @@ export declare const paperCampConfigSchema: z.ZodObject<{
200
204
  model: z.ZodOptional<z.ZodString>;
201
205
  effort: z.ZodOptional<z.ZodString>;
202
206
  }, z.core.$strip>>;
207
+ codeReview: z.ZodPreprocess<z.ZodObject<{
208
+ agent: z.ZodEnum<{
209
+ "claude-code": "claude-code";
210
+ opencode: "opencode";
211
+ }>;
212
+ model: z.ZodOptional<z.ZodString>;
213
+ effort: z.ZodOptional<z.ZodString>;
214
+ }, z.core.$strip>>;
203
215
  }, z.core.$strip>>;
204
216
  desk: z.ZodOptional<z.ZodObject<{
205
217
  services: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -1 +1 @@
1
- {"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../../../src/core/parse/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,iBAAiB;;;;;;;kBAO7B,CAAC;AAEF,eAAO,MAAM,UAAU,aAAiE,CAAC;AAIzF,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;iBAS3B,CAAC;AAKH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAmBhC,CAAC;AAEH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;iBAgB9B,CAAC;AAIL,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA8DhC,CAAC;AAEL,eAAO,MAAM,iBAAiB;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BhC,CAAC;AAEL,eAAO,MAAM,iBAAiB;;;;;iBAK5B,CAAC;AAEH,eAAO,MAAM,eAAe;;;iBAG1B,CAAC;AAEH,eAAO,MAAM,YAAY;;;;iBAIvB,CAAC;AAEH,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;iBAI3B,CAAC;AAEH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA+BhC,CAAC;AAIH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;iBASnC,CAAC;AAEH,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAC1D,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AACpE,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AACpE,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC"}
@@ -5,7 +5,12 @@ export declare function readEntities(ideasDir: string): Promise<ParseResult<Enti
5
5
  export declare function entityToPlan(e: EntityEntry, pr?: PrInfo, prLookupResolved?: boolean, hasMainActivity?: boolean): PlanEntry;
6
6
  export declare function entityToIdea(e: EntityEntry): IdeaEntry;
7
7
  export declare function readEntitiesWithDerivedStatus(ideasDir: string): Promise<ParseResult<EntityEntry>>;
8
- export declare function readWorkEntries(ideasDir: string): Promise<ParseResult<PlanEntry>>;
9
- export declare function findArchivableIdeas(ideasDir: string): Promise<ArchivableIdea[]>;
8
+ export declare function readWorkEntries(ideasDir: string, ttlMs?: number): Promise<ParseResult<PlanEntry> & {
9
+ resolved: boolean;
10
+ }>;
11
+ export declare function findArchivableIdeas(ideasDir: string): Promise<{
12
+ entries: ArchivableIdea[];
13
+ resolved: boolean;
14
+ }>;
10
15
  export declare function readNoteEntries(ideasDir: string): Promise<ParseResult<IdeaEntry>>;
11
16
  //# sourceMappingURL=readers.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"readers.d.ts","sourceRoot":"","sources":["../../src/core/readers.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,cAAc,EACd,WAAW,EACX,SAAS,EAET,WAAW,EAEX,SAAS,EAET,MAAM,EACP,MAAM,gBAAgB,CAAC;AAoCxB,wBAAsB,YAAY,CAChC,QAAQ,EAAE,MAAM,GACf,OAAO,CAAC,WAAW,CAAC,WAAW,CAAC,GAAG;IAAE,SAAS,EAAE,MAAM,CAAA;CAAE,CAAC,CA8B3D;AAKD,wBAAgB,YAAY,CAC1B,CAAC,EAAE,WAAW,EACd,EAAE,CAAC,EAAE,MAAM,EACX,gBAAgB,UAAQ,EACxB,eAAe,UAAQ,GACtB,SAAS,CA2BX;AAED,wBAAgB,YAAY,CAAC,CAAC,EAAE,WAAW,GAAG,SAAS,CAYtD;AAeD,wBAAsB,6BAA6B,CACjD,QAAQ,EAAE,MAAM,GACf,OAAO,CAAC,WAAW,CAAC,WAAW,CAAC,CAAC,CAOnC;AAED,wBAAsB,eAAe,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,WAAW,CAAC,SAAS,CAAC,CAAC,CAQvF;AAID,wBAAsB,mBAAmB,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,cAAc,EAAE,CAAC,CAMrF;AAED,wBAAsB,eAAe,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,WAAW,CAAC,SAAS,CAAC,CAAC,CAMvF"}
1
+ {"version":3,"file":"readers.d.ts","sourceRoot":"","sources":["../../src/core/readers.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,cAAc,EACd,WAAW,EACX,SAAS,EAET,WAAW,EAEX,SAAS,EAET,MAAM,EACP,MAAM,gBAAgB,CAAC;AAoCxB,wBAAsB,YAAY,CAChC,QAAQ,EAAE,MAAM,GACf,OAAO,CAAC,WAAW,CAAC,WAAW,CAAC,GAAG;IAAE,SAAS,EAAE,MAAM,CAAA;CAAE,CAAC,CA8B3D;AAKD,wBAAgB,YAAY,CAC1B,CAAC,EAAE,WAAW,EACd,EAAE,CAAC,EAAE,MAAM,EACX,gBAAgB,UAAQ,EACxB,eAAe,UAAQ,GACtB,SAAS,CA+BX;AAED,wBAAgB,YAAY,CAAC,CAAC,EAAE,WAAW,GAAG,SAAS,CAYtD;AAeD,wBAAsB,6BAA6B,CACjD,QAAQ,EAAE,MAAM,GACf,OAAO,CAAC,WAAW,CAAC,WAAW,CAAC,CAAC,CAOnC;AAED,wBAAsB,eAAe,CACnC,QAAQ,EAAE,MAAM,EAChB,KAAK,CAAC,EAAE,MAAM,GACb,OAAO,CAAC,WAAW,CAAC,SAAS,CAAC,GAAG;IAAE,QAAQ,EAAE,OAAO,CAAA;CAAE,CAAC,CAYzD;AAID,wBAAsB,mBAAmB,CACvC,QAAQ,EAAE,MAAM,GACf,OAAO,CAAC;IAAE,OAAO,EAAE,cAAc,EAAE,CAAC;IAAC,QAAQ,EAAE,OAAO,CAAA;CAAE,CAAC,CAS3D;AAED,wBAAsB,eAAe,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,WAAW,CAAC,SAAS,CAAC,CAAC,CAMvF"}
@@ -19,7 +19,7 @@ export declare function classifyRunOrderEntries(entries: {
19
19
  title: string;
20
20
  created: string;
21
21
  status?: string;
22
- kind?: 'note';
22
+ kind?: 'note' | 'fix';
23
23
  }[], work: {
24
24
  id?: string;
25
25
  status?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"run-order.d.ts","sourceRoot":"","sources":["../../src/core/run-order.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAI1D;oFACoF;AACpF,MAAM,WAAW,aAAa;IAC5B,EAAE,EAAE,MAAM,CAAC;IACX,KAAK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MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,wBAAgB,YAAY,CAAC,KAAK,EAAE,IAAI,CAAC,aAAa,EAAE,QAAQ,CAAC,GAAG,OAAO,CAE1E;AAED;;;;;GAKG;AACH,wBAAgB,uBAAuB,CACrC,OAAO,EAAE;IACP,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC;CACvB,EAAE,EACH,IAAI,EAAE;IAAE,EAAE,CAAC,EAAE,MAAM,CAAC;IAAC,MAAM,CAAC,EAAE,MAAM,CAAA;CAAE,EAAE,EACxC,cAAc,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK;IAAE,KAAK,EAAE,MAAM,GAAG,SAAS,CAAA;CAAE,GAAG,SAAS,GACzE,aAAa,EAAE,CAejB;AAED;;;;;;GAMG;AACH,wBAAgB,iBAAiB,CAC/B,IAAI,EAAE,iBAAiB,EAAE,EACzB,OAAO,EAAE,aAAa,EAAE,EACxB,KAAK,CAAC,EAAE;IAAE,EAAE,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,GACpC,iBAAiB,EAAE,CA6BrB;AAED,qFAAqF;AACrF,wBAAgB,YAAY,CAAC,CAAC,EAAE,iBAAiB,EAAE,EAAE,CAAC,EAAE,iBAAiB,EAAE,GAAG,OAAO,CAEpF"}
@@ -4,7 +4,6 @@ export declare class AlreadyInitializedError extends Error {
4
4
  }
5
5
  export interface InitOptions {
6
6
  projectName: string;
7
- intent?: string;
8
7
  }
9
8
  export declare function initProject(targetDir: string, options: InitOptions): Promise<void>;
10
9
  //# sourceMappingURL=scaffold.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"scaffold.d.ts","sourceRoot":"","sources":["../../../src/core/scaffold/scaffold.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,kBAAkB,UAAU,CAAC;AAE1C,qBAAa,uBAAwB,SAAQ,KAAK;gBACpC,SAAS,EAAE,MAAM;CAG9B;AAaD,MAAM,WAAW,WAAW;IAC1B,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,wBAAsB,WAAW,CAAC,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,WAAW,GAAG,OAAO,CAAC,IAAI,CAAC,CAmDxF"}
1
+ {"version":3,"file":"scaffold.d.ts","sourceRoot":"","sources":["../../../src/core/scaffold/scaffold.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,kBAAkB,UAAU,CAAC;AAE1C,qBAAa,uBAAwB,SAAQ,KAAK;gBACpC,SAAS,EAAE,MAAM;CAG9B;AAaD,MAAM,WAAW,WAAW;IAC1B,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,wBAAsB,WAAW,CAAC,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,WAAW,GAAG,OAAO,CAAC,IAAI,CAAC,CA4CxF"}