@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/README.md +6 -5
- package/dist/gtd.bundle.mjs +333 -139
- package/package.json +1 -1
- package/src/workflows/prose.ts +5 -4
- package/src/workflows/text.ts +7 -5
package/package.json
CHANGED
package/src/workflows/prose.ts
CHANGED
|
@@ -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
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
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
|
package/src/workflows/text.ts
CHANGED
|
@@ -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,
|
|
625
|
-
checkboxes are for the human, not you).
|
|
626
|
-
|
|
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
|