@dendelion/paper-camp 0.12.0 → 0.13.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.
Files changed (65) hide show
  1. package/dist/app/assets/index-BMsByqaB.js +3 -0
  2. package/dist/app/assets/index-BMsByqaB.js.map +1 -0
  3. package/dist/app/assets/index-Bwc1cGPX.js +6 -0
  4. package/dist/app/assets/index-Bwc1cGPX.js.map +1 -0
  5. package/dist/app/assets/index-CQB12bDI.js +2 -0
  6. package/dist/app/assets/index-CQB12bDI.js.map +1 -0
  7. package/dist/app/assets/index-D-k_o5eq.js +2 -0
  8. package/dist/app/assets/index-D-k_o5eq.js.map +1 -0
  9. package/dist/app/assets/index-D6bamXbC.js +2 -0
  10. package/dist/app/assets/index-D6bamXbC.js.map +1 -0
  11. package/dist/app/assets/index-V3ou3lzT.js +4 -0
  12. package/dist/app/assets/index-V3ou3lzT.js.map +1 -0
  13. package/dist/app/assets/main-0sfOZaxl.js +207 -0
  14. package/dist/app/assets/main-0sfOZaxl.js.map +1 -0
  15. package/dist/app/assets/main-CZ1b3UwB.css +1 -0
  16. package/dist/app/assets/sidebar-section-DLMrMf9C.js +2 -0
  17. package/dist/app/assets/sidebar-section-DLMrMf9C.js.map +1 -0
  18. package/dist/app/assets/tokens-C9JyAXxm.js +2 -0
  19. package/dist/app/assets/tokens-C9JyAXxm.js.map +1 -0
  20. package/dist/app/index.html +2 -2
  21. package/dist/chunks/{scaffold.B_3sY6Rg.js → scaffold.CuJP4koY.js} +1832 -1914
  22. package/dist/chunks/scaffold.CuJP4koY.js.map +1 -0
  23. package/dist/cli/index.js +8845 -8571
  24. package/dist/cli/index.js.map +1 -1
  25. package/dist/core/git-pr/pr-lookup.d.ts.map +1 -1
  26. package/dist/core/git-pr/pr.d.ts.map +1 -1
  27. package/dist/core/index.js +74 -82
  28. package/dist/core/parse/parser.d.ts +2 -4
  29. package/dist/core/parse/parser.d.ts.map +1 -1
  30. package/dist/core/parse/schemas.d.ts +0 -20
  31. package/dist/core/parse/schemas.d.ts.map +1 -1
  32. package/dist/core/readers.d.ts.map +1 -1
  33. package/dist/core/roadmap.d.ts.map +1 -1
  34. package/dist/core/scaffold/templates.d.ts +1 -1
  35. package/dist/core/scaffold/templates.d.ts.map +1 -1
  36. package/dist/core/sections.d.ts +5 -1
  37. package/dist/core/sections.d.ts.map +1 -1
  38. package/dist/core/serialize/serializer.d.ts +4 -26
  39. package/dist/core/serialize/serializer.d.ts.map +1 -1
  40. package/dist/core/stats.d.ts +10 -0
  41. package/dist/core/stats.d.ts.map +1 -0
  42. package/dist/core/stats.test.d.ts +2 -0
  43. package/dist/core/stats.test.d.ts.map +1 -0
  44. package/dist/core/status/status.d.ts +1 -0
  45. package/dist/core/status/status.d.ts.map +1 -1
  46. package/dist/core/thread.d.ts +15 -0
  47. package/dist/core/thread.d.ts.map +1 -0
  48. package/dist/types/index.d.ts +92 -45
  49. package/dist/types/index.d.ts.map +1 -1
  50. package/dist/types/index.js.map +1 -1
  51. package/package.json +9 -4
  52. package/dist/app/assets/index-B6eOrr41.js +0 -4
  53. package/dist/app/assets/index-B6eOrr41.js.map +0 -1
  54. package/dist/app/assets/index-BajRXbXg.js +0 -2
  55. package/dist/app/assets/index-BajRXbXg.js.map +0 -1
  56. package/dist/app/assets/index-DAexv1XS.js +0 -3
  57. package/dist/app/assets/index-DAexv1XS.js.map +0 -1
  58. package/dist/app/assets/index-DFJlDY3W.js +0 -2
  59. package/dist/app/assets/index-DFJlDY3W.js.map +0 -1
  60. package/dist/app/assets/main-Bno8vU-0.js +0 -288
  61. package/dist/app/assets/main-Bno8vU-0.js.map +0 -1
  62. package/dist/app/assets/main-RP3LpwgH.css +0 -1
  63. package/dist/app/assets/sidebar-section-BrJbBK_b.js +0 -2
  64. package/dist/app/assets/sidebar-section-BrJbBK_b.js.map +0 -1
  65. package/dist/chunks/scaffold.B_3sY6Rg.js.map +0 -1
@@ -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;AA0HD,sEAAsE;AACtE,wBAAsB,sBAAsB,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,YAAY,EAAE,CAAC,CAkB/F;AAgBD,+GAA+G;AAC/G,wBAAsB,mBAAmB,CAAC,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC,CAK1F;AAED,wBAAsB,mBAAmB,CACvC,IAAI,EAAE,MAAM,EACZ,QAAQ,EAAE,MAAM,EAChB,IAAI,EAAE,MAAM,GACX,OAAO,CAAC,OAAO,CAAC,CAKlB;AA4ED,gGAAgG;AAChG,wBAAsB,kBAAkB,CACtC,IAAI,EAAE,MAAM,EACZ,KAAK,SAAkB,GACtB,OAAO,CAAC,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,SAAS,CAAC,CAQ1C;AAED,wBAAgB,YAAY,IAAI,IAAI,CAEnC"}
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,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AG,WAAW,GAAG,YAAY,CAAC,CAoC7D"}
@@ -1,100 +1,92 @@
1
- import { A as e, C as r, a as t, b as n, P as i, S as o, c as d, d as l, e as m, f as p, g as E, h as c, i as P, j as S, k as T, l as y, m as I, n as v, o as f, p as h, q as C, r as F, s as R, t as N, u as _, v as g, w as A, x as u, y as L, z as O, B as D, D as b, E as G, F as M, G as k, H as U, I as j, J as w, K as x, L as B, M as Q, N as z, O as H, Q as K, R as V, T as W, U as q, V as J, W as Y, X, Y as Z, Z as $, _ as aa, $ as sa, a0 as ea, a1 as ra, a2 as ta, a3 as na, a4 as ia, a5 as oa, a6 as da, a7 as la, a8 as ma, a9 as pa, aa as Ea, ab as ca, ac as Pa, ad as Sa, ae as Ta, af as ya, ag as Ia, ah as va, ai as fa, aj as ha, ak as Ca, al as Fa, am as Ra, an as Na, ao as _a, ap as ga, aq as Aa, ar as ua, as as La, at as Oa, au as Da, av as ba, aw as Ga, ax as Ma } from "../chunks/scaffold.B_3sY6Rg.js";
2
- import { AGENT_IDS as Ua, AGENT_LABELS as ja, AGENT_OPTIONS as wa, DEFAULT_AGENTS as xa, PLAN_KINDS as Ba, PLAN_STATUSES as Qa, coerceAgentConfig as za } from "../types/index.js";
1
+ import { A as s, C as r, a as t, b as n, P as i, S as o, c as d, d as l, e as m, f as P, g as E, h as T, i as p, j as S, k as c, l as y, m as I, n as v, o as C, p as h, q as g, r as F, s as R, t as f, u as N, v as _, w as A, x as L, y as u, z as O, B as b, D as M, E as D, F as G, G as U, H as j, I as k, J as w, K as x, L as B, M as z, N as H, O as K, Q as V, R as W, T as J, U as Y, V as q, W as Q, X, Y as Z, Z as $, _ as aa, $ as ea, a0 as sa, a1 as ra, a2 as ta, a3 as na, a4 as ia, a5 as oa, a6 as da, a7 as la, a8 as ma, a9 as Pa, aa as Ea, ab as Ta, ac as pa, ad as Sa, ae as ca, af as ya, ag as Ia, ah as va, ai as Ca, aj as ha, ak as ga, al as Fa, am as Ra, an as fa, ao as Na, ap as _a } from "../chunks/scaffold.CuJP4koY.js";
2
+ import { AGENT_IDS as La, AGENT_LABELS as ua, AGENT_OPTIONS as Oa, DEFAULT_AGENTS as ba, PLAN_KINDS as Ma, PLAN_STATUSES as Da, coerceAgentConfig as Ga } from "../types/index.js";
3
3
  export {
4
- Ua as AGENT_IDS,
5
- ja as AGENT_LABELS,
6
- wa as AGENT_OPTIONS,
7
- e as AlreadyInitializedError,
4
+ La as AGENT_IDS,
5
+ ua as AGENT_LABELS,
6
+ Oa 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
- xa as DEFAULT_AGENTS,
11
+ ba as DEFAULT_AGENTS,
12
12
  i as PAPER_CAMP_VERSION,
13
- Ba as PLAN_KINDS,
14
- Qa as PLAN_STATUSES,
13
+ Ma as PLAN_KINDS,
14
+ Da as PLAN_STATUSES,
15
15
  o as SKILL_MD_CONTENT,
16
16
  d as SUGGESTION_ENTRY_RE,
17
17
  l as addRoadmapCandidate,
18
18
  m as addRoadmapItem,
19
- p as agentConfigSchema,
20
- E as appendBlock,
21
- c as applyEnvEntries,
22
- P as archiveEntityFile,
19
+ P as agentConfigSchema,
20
+ E as agentThreadMessage,
21
+ T as applyEnvEntries,
22
+ p as archiveEntityFile,
23
23
  S as assignEntityId,
24
- T as assignPlanId,
24
+ c as assignPlanId,
25
25
  y as branchName,
26
26
  I as clearPrCache,
27
- za as coerceAgentConfig,
27
+ Ga as coerceAgentConfig,
28
28
  v as computePlanContentHash,
29
- f as computePrTitle,
29
+ C as computePrTitle,
30
30
  h as dateString,
31
- C as decisionFieldsSchema,
32
- F as derivePrLabels,
33
- R as deriveRoadmapEvents,
34
- N as deriveSubjectVocabulary,
35
- _ as ensureSubject,
36
- g as entityFrontmatterSchema,
37
- A as entityToIdea,
38
- u as entityToPlan,
31
+ g as derivePrLabels,
32
+ F as deriveRoadmapEvents,
33
+ R as deriveSubjectVocabulary,
34
+ f as ensureSubject,
35
+ N as entityFrontmatterSchema,
36
+ _ as entityToIdea,
37
+ A as entityToPlan,
39
38
  L as fetchUnresolvedThreads,
40
- O as findArchivableIdeas,
41
- D as findConsistencyIssues,
39
+ u as findArchivableIdeas,
40
+ O as findConsistencyIssues,
42
41
  b as findReleaseLineForId,
43
- G as formatDecisionEntry,
44
- M as formatDecisions,
45
- k as formatEntitiesIndex,
46
- U as formatEntityFile,
47
- j as formatIdeaFile,
48
- w as formatOpenQuestionEntry,
49
- x as formatOpenQuestions,
50
- B as formatPlanEntry,
51
- Q as formatPlanFile,
52
- z as formatPlans,
53
- H as ideaFrontmatterSchema,
54
- K as initProject,
55
- V as isConventionalPrTitle,
56
- W as linkRoadmapItem,
57
- q as openQuestionFieldsSchema,
58
- J as paperCampConfigSchema,
59
- Y as parseDecisions,
60
- X as parseEntityFile,
61
- Z as parseEnv,
62
- $ as parseFrontmatter,
63
- aa as parseIdeaFile,
64
- sa as parseIdeas,
65
- ea as parseOpenQuestions,
66
- ra as parsePlanFile,
67
- ta as parsePlans,
68
- na as parseRawEntries,
69
- ia as parseRoadmap,
70
- oa as parseSuggestions,
71
- da as parseTaskLog,
72
- la as planFieldsSchema,
73
- ma as planFrontmatterSchema,
74
- pa as readEntities,
75
- Ea as readEntitiesWithDerivedStatus,
76
- ca as readNoteEntries,
77
- Pa as readWorkEntries,
78
- Sa as removeRoadmapItem,
79
- Ta as removeSuggestionLine,
80
- ya as renderConsistencyComment,
81
- Ia as renderPlanPhasesIntoBody,
82
- va as replyToReviewThread,
83
- fa as resolveEntityIdForCommit,
84
- ha as resolveEntityTrail,
85
- Ca as resolveIdFromCommitMessage,
86
- Fa as resolvePlanForPrRef,
87
- Ra as resolvePrimaryScope,
88
- Na as resolvePrsByEntity,
89
- _a as resolveReviewThread,
90
- ga as resolveRoadmap,
91
- Aa as serializeFrontmatter,
92
- ua as syncConsistencyCommentToPr,
93
- La as syncPlanPhasesToPr,
94
- Oa as syncPrLabelsToPr,
95
- Da as syncPrReadinessToPr,
96
- ba as syncPrTitleToPr,
97
- Ga as todayDateString,
98
- Ma as validatePrTitle
42
+ M as formatEntitiesIndex,
43
+ D as formatEntityFile,
44
+ G as formatIdeaFile,
45
+ U as formatPlanEntry,
46
+ j as formatPlanFile,
47
+ k as formatPlans,
48
+ w as ideaFrontmatterSchema,
49
+ x as initProject,
50
+ B as isConventionalPrTitle,
51
+ z as linkRoadmapItem,
52
+ H as paperCampConfigSchema,
53
+ K as parseEntityFile,
54
+ V as parseEnv,
55
+ W as parseFrontmatter,
56
+ J as parseIdeaFile,
57
+ Y as parseIdeas,
58
+ q as parsePlanFile,
59
+ Q as parsePlans,
60
+ X as parseRawEntries,
61
+ Z as parseRoadmap,
62
+ $ as parseSuggestions,
63
+ aa as parseTaskLog,
64
+ ea as planFieldsSchema,
65
+ sa as planFrontmatterSchema,
66
+ ra as readEntities,
67
+ ta as readEntitiesWithDerivedStatus,
68
+ na as readNoteEntries,
69
+ ia as readWorkEntries,
70
+ oa as removeRoadmapItem,
71
+ da as removeSuggestionLine,
72
+ la as renderConsistencyComment,
73
+ ma as renderPlanPhasesIntoBody,
74
+ Pa as replyToReviewThread,
75
+ Ea as resolveEntityIdForCommit,
76
+ Ta as resolveEntityTrail,
77
+ pa as resolveIdFromCommitMessage,
78
+ Sa as resolvePlanForPrRef,
79
+ ca as resolvePrimaryScope,
80
+ ya as resolvePrsByEntity,
81
+ Ia as resolveReviewThread,
82
+ va as resolveRoadmap,
83
+ Ca as serializeFrontmatter,
84
+ ha as syncConsistencyCommentToPr,
85
+ ga as syncPlanPhasesToPr,
86
+ Fa as syncPrLabelsToPr,
87
+ Ra as syncPrReadinessToPr,
88
+ fa as syncPrTitleToPr,
89
+ Na as todayDateString,
90
+ _a as validatePrTitle
99
91
  };
100
92
  //# sourceMappingURL=index.js.map
@@ -1,9 +1,7 @@
1
1
  import { z } from 'zod';
2
- import { ConsistencyIssue, DecisionEntry, EntityEntry, IdeaEntry, OpenQuestionEntry, ParseResult, ParseWarning, PlanEntry, RawEntry, SuggestionEntry, TaskLogEntry } from '../../types/index';
2
+ import { ConsistencyIssue, EntityEntry, IdeaEntry, ParseResult, ParseWarning, PlanEntry, RawEntry, SuggestionEntry, TaskLogEntry } from '../../types/index';
3
3
  export declare function parseRawEntries(markdown: string): RawEntry[];
4
4
  export declare function parsePlans(markdown: string): ParseResult<PlanEntry>;
5
- export declare function parseDecisions(markdown: string): ParseResult<DecisionEntry>;
6
- export declare function parseOpenQuestions(markdown: string): ParseResult<OpenQuestionEntry>;
7
5
  export declare function parseFrontmatter<T>(content: string, schema: z.ZodType<T>): {
8
6
  data: T | null;
9
7
  body: string;
@@ -13,7 +11,7 @@ export declare function parseEntityFile(content: string): ParseResult<EntityEntr
13
11
  export declare function parsePlanFile(content: string): ParseResult<PlanEntry>;
14
12
  export declare function parseIdeaFile(content: string): ParseResult<IdeaEntry>;
15
13
  export declare function parseIdeas(markdown: string): IdeaEntry[];
16
- export declare function findConsistencyIssues(decisions: DecisionEntry[], openQuestions: OpenQuestionEntry[], plans: PlanEntry[], subjectVocabulary?: string[]): ConsistencyIssue[];
14
+ export declare function findConsistencyIssues(plans: PlanEntry[], subjectVocabulary?: string[]): ConsistencyIssue[];
17
15
  /** tasks.log is JSON Lines — one TaskLogEntry per line. Skip lines that fail to parse rather than fail the whole read (a truncated last line from a crash shouldn't hide the rest). */
18
16
  export declare function parseTaskLog(raw: string): TaskLogEntry[];
19
17
  export declare const SUGGESTION_ENTRY_RE: RegExp;
@@ -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,aAAa,EACb,WAAW,EACX,SAAS,EAIT,iBAAiB,EACjB,WAAW,EACX,YAAY,EAEZ,SAAS,EACT,QAAQ,EACR,eAAe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M,GAAG,YAAY,EAAE,CAUxD;AAED,eAAO,MAAM,mBAAmB,QAAkD,CAAC;AAGnF,wBAAgB,gBAAgB,CAAC,QAAQ,EAAE,MAAM,GAAG,eAAe,EAAE,CASpE"}
@@ -34,24 +34,6 @@ export declare const planFieldsSchema: z.ZodObject<{
34
34
  updated: z.ZodOptional<z.ZodString>;
35
35
  tags: z.ZodOptional<z.ZodString>;
36
36
  }, z.core.$strip>;
37
- export declare const decisionFieldsSchema: z.ZodObject<{
38
- date: z.ZodString;
39
- status: z.ZodEnum<{
40
- decided: "decided";
41
- superseded: "superseded";
42
- }>;
43
- 'superseded-by': z.ZodOptional<z.ZodString>;
44
- tags: z.ZodOptional<z.ZodString>;
45
- }, z.core.$strip>;
46
- export declare const openQuestionFieldsSchema: z.ZodObject<{
47
- status: z.ZodEnum<{
48
- open: "open";
49
- resolved: "resolved";
50
- }>;
51
- raised: z.ZodString;
52
- 'resolved-by': z.ZodOptional<z.ZodString>;
53
- blocks: z.ZodOptional<z.ZodString>;
54
- }, z.core.$strip>;
55
37
  export declare const planFrontmatterSchema: z.ZodObject<{
56
38
  id: z.ZodString;
57
39
  title: z.ZodString;
@@ -180,8 +162,6 @@ export declare const paperCampConfigSchema: z.ZodObject<{
180
162
  }, z.core.$strip>>;
181
163
  }, z.core.$strip>;
182
164
  export type PlanFields = z.infer<typeof planFieldsSchema>;
183
- export type DecisionFields = z.infer<typeof decisionFieldsSchema>;
184
- export type OpenQuestionFields = z.infer<typeof openQuestionFieldsSchema>;
185
165
  export type PlanFrontmatter = z.infer<typeof planFrontmatterSchema>;
186
166
  export type IdeaFrontmatter = z.infer<typeof ideaFrontmatterSchema>;
187
167
  export type EntityFrontmatter = z.infer<typeof entityFrontmatterSchema>;
@@ -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,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= "---\nname: paper-camp\ndescription: Work inside a project that has a papercamp/ folder \u2014 its unified idea entities (each holding its plan as a section), decisions log, and open questions. Use this whenever the working directory contains papercamp/ (papercamp/ideas/, papercamp/decisions.md, papercamp/open-questions.md), and especially before starting, continuing, or completing any plan phase, drafting an idea, logging a decision, or answering \"what are we working on / what's next\".\n---\n\n# Paper Camp\n\nPaper Camp is this project's planning methodology: plans, ideas, decisions, and\nopen questions live as markdown files under `papercamp/`. This skill tells you\nhow to read that state before acting and how to keep it honest as you work.\n\nIf a `papercamp` MCP server is connected in this session, prefer its tools\n(list/get plans, update phase, etc.) over raw file access \u2014\nthey enforce the same guards (id allocation, branch conflicts) that the file\ngrammar below assumes. Everything in this skill still applies conceptually;\nonly the mechanism changes.\n\n## Before doing any work\n\nRead, in this order, whatever exists:\n\n1. `papercamp/ideas/index.md` \u2014 every entity's id/title/type/status/tags, at\n a glance. Ideas and plans are one thing: an entity is an *idea* for its\n whole life, and its plan is a `### Phases` section inside the same file.\n2. The specific entity file at `papercamp/ideas/<ID>.md` (e.g. `IDEA-43.md`)\n for the work you're about to do \u2014 YAML frontmatter (`id`, `title`,\n `type`, `status`, `tags`, ...) plus prose rationale, then optionally a\n `### Phases` list of `- [ ]`/`- [x]` checkboxes with an indented\n description under each. Done/dropped entities live in\n `papercamp/ideas/archive/`.\n3. `papercamp/decisions.md` \u2014 settled calls that constrain your approach.\n Don't re-litigate a logged decision without flagging it to the user first.\n4. `papercamp/open-questions.md` \u2014 unresolved questions that might block or\n redirect the work you're about to start.\n\nSkip files that don't exist yet (a fresh project may have empty logs).\n\n## While working\n\n- Work one plan phase at a time unless told otherwise \u2014 don't cascade into\n later phases just because they look quick.\n- If a phase's boundary or intent is unclear, ask before continuing.\n- Prose in plans and ideas is more current than your memory of past\n conversations. If they conflict, the files win \u2014 say so and resync.\n\n## Keep the project current as you go\n\n- **Plan phases**: when you finish a phase, flip its checkbox from `- [ ]` to\n `- [x]` in the plan's frontmatter file. Change only that line \u2014 don't touch\n other phases or prose.\n- **Plan status**: keep the plan's `status:` frontmatter honest\n (`planned` / `in-progress` / `review` / `done`). When every phase is\n checked, set status to `review` \u2014 never `done`. `done` is a human-only\n promotion after review; an agent finishing the last phase does not close\n the plan itself.\n- **Decisions / open questions**: if you settle something ambiguous while\n working, log it in `papercamp/decisions.md`; if you surface a question you\n can't resolve yourself, add it to `papercamp/open-questions.md` rather than\n guessing silently.\n\n## What this skill deliberately does not do\n\nIt does not maintain a separate \"current focus\" file \u2014 that's derived at\nsession start from live plan data, not hand-maintained here. It does\nnot define the file formats in full; treat the existing files under\n`papercamp/` as the grammar reference (mirror their structure exactly rather\nthan inventing a new shape).\n";
1
+ export declare const SKILL_MD_CONTENT = "---\nname: paper-camp\ndescription: Work inside a project that has a papercamp/ folder \u2014 its unified idea entities (each holding its plan as a section), with decisions and open questions logged as notes on the idea they bind. Use this whenever the working directory contains papercamp/ (papercamp/ideas/), and especially before starting, continuing, or completing any plan phase, drafting an idea, logging a decision, or answering \"what are we working on / what's next\".\n---\n\n# Paper Camp\n\nPaper Camp is this project's planning methodology: plans and ideas are one\nthing, a unified entity file under `papercamp/ideas/`, with decisions and\nopen questions logged as notes bound to the idea they concern. This skill\ntells you how to read that state before acting and how to keep it honest as\nyou work.\n\nIf a `papercamp` MCP server is connected in this session, prefer its tools\n(list/get plans, update phase, etc.) over raw file access \u2014\nthey enforce the same guards (id allocation, branch conflicts) that the file\ngrammar below assumes. Everything in this skill still applies conceptually;\nonly the mechanism changes.\n\n## Before doing any work\n\nRead, in this order, whatever exists:\n\n1. `papercamp/ideas/index.md` \u2014 every entity's id/title/type/status/tags, at\n a glance. Ideas and plans are one thing: an entity is an *idea* for its\n whole life, and its plan is a `### Phases` section inside the same file.\n2. The specific entity file at `papercamp/ideas/<ID>.md` (e.g. `IDEA-43.md`)\n for the work you're about to do \u2014 YAML frontmatter (`id`, `title`,\n `type`, `status`, `tags`, ...) plus prose rationale, then optionally a\n `### Phases` list of `- [ ]`/`- [x]` checkboxes with an indented\n description under each. Done/dropped entities live in\n `papercamp/ideas/archive/`.\n Its notes carry any decision or open question bound to it \u2014 settled calls\n you shouldn't re-litigate without flagging it to the user first, and\n unresolved questions that might block or redirect the work you're about\n to start.\n\nSkip files that don't exist yet (a fresh project may have empty logs).\n\n## While working\n\n- Work one plan phase at a time unless told otherwise \u2014 don't cascade into\n later phases just because they look quick.\n- If a phase's boundary or intent is unclear, ask before continuing.\n- Prose in plans and ideas is more current than your memory of past\n conversations. If they conflict, the files win \u2014 say so and resync.\n\n## Keep the project current as you go\n\n- **Plan phases**: when you finish a phase, flip its checkbox from `- [ ]` to\n `- [x]` in the plan's frontmatter file. Change only that line \u2014 don't touch\n other phases or prose.\n- **Plan status**: keep the plan's `status:` frontmatter honest\n (`planned` / `in-progress` / `review` / `done`). When every phase is\n checked, set status to `review` \u2014 never `done`. `done` is a human-only\n promotion after review; an agent finishing the last phase does not close\n the plan itself.\n- **Decisions / open questions**: if you settle something ambiguous while\n working, log it as a decision note on the idea it bounds; if you surface a\n question you can't resolve yourself, add it as a question note on that idea\n rather than guessing silently.\n\n## What this skill deliberately does not do\n\nIt does not maintain a separate \"current focus\" file \u2014 that's derived at\nsession start from live plan data, not hand-maintained here. It does\nnot define the file formats in full; treat the existing files under\n`papercamp/` as the grammar reference (mirror their structure exactly rather\nthan inventing a new shape).\n";
2
2
  export declare const CLAUDE_SETTINGS_JSON: string;
3
3
  //# sourceMappingURL=templates.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"templates.d.ts","sourceRoot":"","sources":["../../../src/core/scaffold/templates.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,gBAAgB,kmHAmE5B,CAAC;AAIF,eAAO,MAAM,oBAAoB,QAa5B,CAAC"}
1
+ {"version":3,"file":"templates.d.ts","sourceRoot":"","sources":["../../../src/core/scaffold/templates.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,gBAAgB,moHAqE5B,CAAC;AAIF,eAAO,MAAM,oBAAoB,QAa5B,CAAC"}
@@ -1,4 +1,4 @@
1
- import { LogEntry, MarginNote, PhaseItem } from '../types/index';
1
+ import { LogEntry, MarginNote, PhaseItem, ThreadMessage } from '../types/index';
2
2
  declare const SUB_HEADING_RE: RegExp;
3
3
  /** A section's parse and format sides share the same heading, so this is the one
4
4
  * table both `core/parse/parser.ts` and `core/serialize/serializer.ts` drive from.
@@ -12,9 +12,13 @@ export interface SectionDef<T> {
12
12
  formatLines: (entries: T[]) => string[];
13
13
  }
14
14
  export declare const PHASES_SECTION: SectionDef<PhaseItem>;
15
+ /** Same grammar as Phases — a checkbox list — but for post-build findings that
16
+ * append below Phases without rewriting the plan's finished phase history. */
17
+ export declare const FIXES_SECTION: SectionDef<PhaseItem>;
15
18
  export declare const LOG_SECTION: SectionDef<LogEntry>;
16
19
  export declare const CLARIFICATIONS_SECTION: SectionDef<LogEntry>;
17
20
  export declare const NOTES_SECTION: SectionDef<MarginNote>;
18
21
  export declare const REVIEW_SECTION: SectionDef<LogEntry>;
22
+ export declare const THREAD_SECTION: SectionDef<ThreadMessage>;
19
23
  export { SUB_HEADING_RE };
20
24
  //# sourceMappingURL=sections.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"sections.d.ts","sourceRoot":"","sources":["../../src/core/sections.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,UAAU,EAAoB,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAExF,QAAA,MAAM,cAAc,QAAe,CAAC;AAqGpC;;;;;4EAK4E;AAC5E,MAAM,WAAW,UAAU,CAAC,CAAC;IAC3B,SAAS,EAAE,MAAM,CAAC;IAClB,YAAY,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC,EAAE,CAAC;IACnE,WAAW,EAAE,CAAC,OAAO,EAAE,CAAC,EAAE,KAAK,MAAM,EAAE,CAAC;CACzC;AAED,eAAO,MAAM,cAAc,EAA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AU,CAAC,aAAa,CAIpD,CAAC;AAEF,OAAO,EAAE,cAAc,EAAE,CAAC"}
@@ -1,5 +1,6 @@
1
- import { EntityEntry, LogEntry, MarginNote, PhaseItem, SuggestionEntry } from '../../types/index';
1
+ import { EntityEntry, LogEntry, MarginNote, PhaseItem, SuggestionEntry, ThreadMessage } from '../../types/index';
2
2
  export declare function todayDateString(): string;
3
+ export declare function agentThreadMessage(text: string, kind?: ThreadMessage['kind']): ThreadMessage;
3
4
  export declare function assignPlanId(configPath: string, kind: string): Promise<string | undefined>;
4
5
  interface NewPlanInput {
5
6
  title: string;
@@ -18,28 +19,7 @@ interface NewPlanInput {
18
19
  notes?: MarginNote[];
19
20
  }
20
21
  export declare function formatPlanEntry(input: NewPlanInput): string;
21
- interface NewDecisionInput {
22
- title: string;
23
- date: string;
24
- status: string;
25
- supersededBy?: string;
26
- tags?: string[];
27
- body?: string;
28
- }
29
- export declare function formatDecisionEntry(input: NewDecisionInput): string;
30
- interface NewOpenQuestionInput {
31
- title: string;
32
- raised: string;
33
- status: string;
34
- resolvedBy?: string;
35
- blocks?: string;
36
- body?: string;
37
- }
38
- export declare function formatOpenQuestionEntry(input: NewOpenQuestionInput): string;
39
22
  export declare function formatPlans(entries: NewPlanInput[]): string;
40
- export declare function formatDecisions(entries: NewDecisionInput[]): string;
41
- export declare function formatOpenQuestions(entries: NewOpenQuestionInput[]): string;
42
- export declare function appendBlock(filePath: string, block: string): Promise<void>;
43
23
  export declare function serializeFrontmatter(data: Record<string, unknown>): string;
44
24
  interface NewPlanFileInput {
45
25
  id: string;
@@ -76,10 +56,8 @@ interface NewEntityFileInput {
76
56
  order?: number;
77
57
  body?: string;
78
58
  phases?: PhaseItem[];
79
- log?: LogEntry[];
80
- clarifications?: LogEntry[];
81
- notes?: MarginNote[];
82
- review?: LogEntry[];
59
+ fixes?: PhaseItem[];
60
+ thread?: ThreadMessage[];
83
61
  }
84
62
  export declare function formatEntityFile(input: NewEntityFileInput): string;
85
63
  export declare function assignEntityId(configPath: string): Promise<string | undefined>;
@@ -1 +1 @@
1
- {"version":3,"file":"serializer.d.ts","sourceRoot":"","sources":["../../../src/core/serialize/serializer.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,WAAW,EACX,QAAQ,EACR,UAAU,EACV,SAAS,EACT,eAAe,EAChB,MAAM,mBAAmB,CAAC;AAU3B,wBAAgB,eAAe,IAAI,MAAM,CAExC;AAkCD,wBAAsB,YAAY,CAAC,UAAU,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAwBhG;AAED,UAAU,YAAY;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;IAChB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,SAAS,EAAE,CAAC;IACrB,GAAG,CAAC,EAAE,QAAQ,EAAE,CAAC;IACjB,cAAc,CAAC,EAAE,QAAQ,EAAE,CAAC;IAC5B,KAAK,CAAC,EAAE,UAAU,EAAE,CAAC;CACtB;AAED,wBAAgB,eAAe,CAAC,KAAK,EAAE,YAAY,GAAG,MAAM,CAwB3D;AAED,UAAU,gBAAgB;IACxB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;IAChB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,wBAAgB,mBAAmB,CAA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AC,CAexF;AAID,wBAAgB,oBAAoB,CAAC,QAAQ,EAAE,MAAM,EAAE,MAAM,EAAE,eAAe,GAAG,MAAM,CAkBtF;AAED,wBAAgB,mBAAmB,CAAC,QAAQ,EAAE,WAAW,EAAE,GAAG,MAAM,CAgBnE"}
@@ -0,0 +1,10 @@
1
+ import { EntityEntry, EntityStatus, ProjectStats, TaskLogEntry, TasksPerWeek } from '../types/index';
2
+ export declare function countEntitiesByStatus(entities: EntityEntry[]): Partial<Record<EntityStatus, number>>;
3
+ export declare function countThreadNotes(entities: EntityEntry[]): {
4
+ openQuestions: number;
5
+ decisions: number;
6
+ };
7
+ export declare function isoWeekKey(dateStr: string): string;
8
+ export declare function tasksPerWeek(entries: TaskLogEntry[]): TasksPerWeek[];
9
+ export declare function computeProjectStats(root: string): Promise<ProjectStats>;
10
+ //# sourceMappingURL=stats.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"stats.d.ts","sourceRoot":"","sources":["../../src/core/stats.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAEV,WAAW,EACX,YAAY,EACZ,YAAY,EACZ,YAAY,EACZ,YAAY,EACb,MAAM,gBAAgB,CAAC;AAoExB,wBAAgB,qBAAqB,CACnC,QAAQ,EAAE,WAAW,EAAE,GACtB,OAAO,CAAC,MAAM,CAAC,YAAY,EAAE,MAAM,CAAC,CAAC,CAOvC;AAED,wBAAgB,gBAAgB,CAAC,QAAQ,EAAE,WAAW,EAAE,GAAG;IACzD,aAAa,EAAE,MAAM,CAAC;IACtB,SAAS,EAAE,MAAM,CAAC;CACnB,CAUA;AAKD,wBAAgB,UAAU,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,CAOlD;AAED,wBAAgB,YAAY,CAAC,OAAO,EAAE,YAAY,EAAE,GAAG,YAAY,EAAE,CASpE;AAED,wBAAsB,mBAAmB,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,YAAY,CAAC,CAoB7E"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=stats.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"stats.test.d.ts","sourceRoot":"","sources":["../../src/core/stats.test.ts"],"names":[],"mappings":""}
@@ -3,6 +3,7 @@ export interface StatusDerivationInput {
3
3
  kind?: 'note';
4
4
  status?: EntityStatus;
5
5
  phases: PhaseItem[];
6
+ fixes?: PhaseItem[];
6
7
  }
7
8
  export interface ArchivabilityInput extends StatusDerivationInput {
8
9
  archived?: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"status.d.ts","sourceRoot":"","sources":["../../../src/core/status/status.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAEzE,MAAM,WAAW,qBAAqB;IACpC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,YAAY,CAAC;IACtB,MAAM,EAAE,SAAS,EAAE,CAAC;CACrB;AAED,MAAM,WAAW,kBAAmB,SAAQ,qBAAqB;IAC/D,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAQD,wBAAgB,YAAY,CAC1B,MAAM,EAAE,qBAAqB,EAC7B,EAAE,EAAE,MAAM,GAAG,SAAS,EACtB,gBAAgB,EAAE,OAAO,GACxB,YAAY,GAAG,SAAS,CAgB1B;AAID,wBAAgB,YAAY,CAAC,MAAM,EAAE,kBAAkB,EAAE,EAAE,EAAE,MAAM,GAAG,SAAS,GAAG,OAAO,CAIxF"}
1
+ {"version":3,"file":"status.d.ts","sourceRoot":"","sources":["../../../src/core/status/status.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAEzE,MAAM,WAAW,qBAAqB;IACpC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,YAAY,CAAC;IACtB,MAAM,EAAE,SAAS,EAAE,CAAC;IACpB,KAAK,CAAC,EAAE,SAAS,EAAE,CAAC;CACrB;AAED,MAAM,WAAW,kBAAmB,SAAQ,qBAAqB;IAC/D,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAUD,wBAAgB,YAAY,CAC1B,MAAM,EAAE,qBAAqB,EAC7B,EAAE,EAAE,MAAM,GAAG,SAAS,EACtB,gBAAgB,EAAE,OAAO,GACxB,YAAY,GAAG,SAAS,CAgB1B;AAID,wBAAgB,YAAY,CAAC,MAAM,EAAE,kBAAkB,EAAE,EAAE,EAAE,MAAM,GAAG,SAAS,GAAG,OAAO,CAIxF"}
@@ -0,0 +1,15 @@
1
+ import { LogEntry, MarginNote, ThreadMessage, ThreadMessageKind } from '../types/index';
2
+ /** Folds the four legacy sections into one ordered thread: dated entries (log,
3
+ * clarification, review) sort chronologically; notes never carried a date, so they
4
+ * land after, in their original order. A phase anchor has no place in a flat thread —
5
+ * its context is folded into the message text instead of lost. */
6
+ export declare function threadFromLegacy(log?: LogEntry[], clarifications?: LogEntry[], notes?: MarginNote[], review?: LogEntry[]): ThreadMessage[];
7
+ export declare function logFromThread(thread?: ThreadMessage[]): LogEntry[];
8
+ export declare function clarificationsFromThread(thread?: ThreadMessage[]): LogEntry[];
9
+ export declare function reviewFromThread(thread?: ThreadMessage[]): LogEntry[];
10
+ export declare function notesFromThread(thread?: ThreadMessage[]): MarginNote[];
11
+ /** Replaces every message of the given kinds with `next`, keeping the rest of the
12
+ * thread untouched — used when a legacy write path (PATCH log/notes/review) sends a
13
+ * full replacement array for one of the old sections. */
14
+ export declare function replaceThreadKinds(thread: ThreadMessage[] | undefined, kinds: ThreadMessageKind[], next: ThreadMessage[]): ThreadMessage[];
15
+ //# sourceMappingURL=thread.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"thread.d.ts","sourceRoot":"","sources":["../../src/core/thread.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,UAAU,EAAE,aAAa,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAE7F;;;kEAGkE;AAClE,wBAAgB,gBAAgB,CAC9B,GAAG,GAAE,QAAQ,EAAO,EACpB,cAAc,GAAE,QAAQ,EAAO,EAC/B,KAAK,GAAE,UAAU,EAAO,EACxB,MAAM,GAAE,QAAQ,EAAO,GACtB,aAAa,EAAE,CAcjB;AAMD,wBAAgB,aAAa,CAAC,MAAM,GAAE,aAAa,EAAO,GAAG,QAAQ,EAAE,CAEtE;AAED,wBAAgB,wBAAwB,CAAC,MAAM,GAAE,aAAa,EAAO,GAAG,QAAQ,EAAE,CAEjF;AAED,wBAAgB,gBAAgB,CAAC,MAAM,GAAE,aAAa,EAAO,GAAG,QAAQ,EAAE,CAEzE;AAED,wBAAgB,eAAe,CAAC,MAAM,GAAE,aAAa,EAAO,GAAG,UAAU,EAAE,CAY1E;AAED;;yDAEyD;AACzD,wBAAgB,kBAAkB,CAChC,MAAM,EAAE,aAAa,EAAE,GAAG,SAAS,EACnC,KAAK,EAAE,iBAAiB,EAAE,EAC1B,IAAI,EAAE,aAAa,EAAE,GACpB,aAAa,EAAE,CAEjB"}