@pmelab/gtd 14.1.0 → 15.1.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pmelab/gtd",
3
- "version": "14.1.0",
3
+ "version": "15.1.0",
4
4
  "private": false,
5
5
  "description": "Git-aware CLI that emits the next prompt for an autonomous coding agent based on the current repository state",
6
6
  "bin": {
@@ -180,10 +180,11 @@ export const fixFeedbackPrompt = `- The only state file this turn writes is \`.g
180
180
 
181
181
  export const footnoteRules = `- Leave a footnote anywhere: mark the exact spot with \`[^name]\` (any
182
182
  name, no whitespace or \`]\`), then define it below as \`[^name]:
183
- explain what you mean\` — indent a longer comment's continuation
184
- lines. (The literal words "your comment" are this format's seeded
185
- placeholder body — a definition still holding them exactly is
186
- flagged as unfilled, so write your own words there)
183
+ explain what you mean\` — indent continuation lines by 4 spaces or
184
+ more. (A newly seeded definition starts with an empty body — a
185
+ definition whose body is still empty or whitespace-only is flagged
186
+ as unfilled, so write your own words there; words left under-indented
187
+ are flagged separately, naming the indent as the fix)
187
188
  - A footnote is a comment on that exact spot — the hunk, line, or
188
189
  paragraph it marks — never a whole-file remark
189
190
  - \`name\` is yours to pick; only a definition's name must be unique in
@@ -621,17 +621,19 @@ review the changes:
621
621
  - At least one \`## <Chunk Title>\` heading grouping hunks
622
622
  semantically (same feature/refactor/fix, across files), each
623
623
  with a short explanation of what changed and why, then one
624
- pointer per hunk (\`./\`-relative path, optional \`#line\`;
625
- checkboxes are for the human, not you). Put the note's
626
- opening line right on the pointer's line:
624
+ pointer per hunk (\`./\`-relative path, mandatory \`#start-end\`;
625
+ checkboxes are for the human, not you). A pointer into a NEW file
626
+ gets a range covering only the region the note is about — never
627
+ the whole file. Put the note's opening line right on the
628
+ pointer's line:
627
629
 
628
- - [ ] ./path/to/file.ts#42 — what this hunk does
630
+ - [ ] ./path/to/file.ts#42-70 — what this hunk does
629
631
 
630
632
  Continue a longer note below the pointer, indented exactly two spaces
631
633
  — never four or more, which reads as a code block and never
632
634
  reflows:
633
635
 
634
- - [ ] ./path/to/file.ts#42 — what this hunk does
636
+ - [ ] ./path/to/file.ts#42-70 — what this hunk does
635
637
  and here is more detail, continued below it
636
638
 
637
639
  A note sitting entirely on the line(s) beneath the pointer is