@staff0rd/assist 0.354.2 → 0.355.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/claude/commands/devlog.md +10 -1
- package/dist/commands/sessions/web/bundle.js +79 -79
- package/dist/index.js +225 -195
- package/package.json +1 -1
|
@@ -38,6 +38,15 @@ ai-generated: <model name, e.g., "claude-opus-4-5">
|
|
|
38
38
|
<First-person summary of the day's work. Group related commits into cohesive paragraphs. Focus on what was accomplished and why, not implementation details. Wrap code symbols (function names, variable names, file names, commands, etc.) in backticks.>
|
|
39
39
|
```
|
|
40
40
|
|
|
41
|
+
## One post per version
|
|
42
|
+
|
|
43
|
+
Navigation is keyed by `version`, so **every version may appear in at most one devlog file**. Because `assist devlog next` reports the day's `major.minor` version, consecutive days that only shipped patch releases report the *same* version — these must not become separate posts.
|
|
44
|
+
|
|
45
|
+
Before creating a file, check `~/git/blog/src/content/devlog/` for an existing entry whose `version` matches the one being written:
|
|
46
|
+
|
|
47
|
+
- **If a post with that version already exists**, merge the new day's work into it as additional paragraph(s) instead of creating a new file. Keep the existing post's `date` (the date the version was first cut) and its `title`/`slug`; widen the title only if the merged scope no longer fits it.
|
|
48
|
+
- **If several unversioned days share one version** (catch-up mode), write a single post anchored on the earliest of those days and fold the later days' work into it.
|
|
49
|
+
|
|
41
50
|
## Tag Selection
|
|
42
51
|
|
|
43
52
|
Fetch existing tags from https://staffordwilliams.com/tags.json for use when selecting tags.
|
|
@@ -60,7 +69,7 @@ When `--all` is passed, loop through all unversioned days up to (excluding) toda
|
|
|
60
69
|
3. If there are no more unversioned days, **stop**
|
|
61
70
|
4. Analyze the commits for that day:
|
|
62
71
|
- **Trivial days**: automatically run `assist devlog skip YYYY-MM-DD` without prompting the user
|
|
63
|
-
- **Non-trivial days**: create the devlog entry as normal (following the single-day instructions above)
|
|
72
|
+
- **Non-trivial days**: create the devlog entry as normal (following the single-day instructions above), honouring the **One post per version** rule — if the reported version already has a post, merge into it rather than creating a new file
|
|
64
73
|
5. Go back to step 1
|
|
65
74
|
|
|
66
75
|
This continues until all past unversioned days have been processed. Do not process today's date.
|