@odarino/haren 1.3.0 → 1.3.3

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 CHANGED
@@ -430,6 +430,15 @@ philosophy into a phased, artifact-driven SDLC for product teams. Many thanks.
430
430
 
431
431
  ---
432
432
 
433
+ ## Support
434
+
435
+ If haren saves you time, you can support its development:
436
+
437
+ - [GitHub Sponsors](https://github.com/sponsors/odarino)
438
+ - [Ko-fi](https://ko-fi.com/odarino)
439
+
440
+ ---
441
+
433
442
  ## License
434
443
 
435
444
  MIT — see [LICENSE](./LICENSE).
@@ -47,7 +47,19 @@ These decisions affect ALL modules and must be resolved first.
47
47
  - `artifacts/03-modules/module-map.md` (use create-artifact skill)
48
48
  - `artifacts/03-modules/{module}/module.md` for each module (use create-artifact skill) — each module gets its own folder so that `spec.md` (BA-owned) can sit alongside it later
49
49
  9. Validate with validate-artifact skill (checks for cycles, missing interfaces)
50
- 10. Update progress.json — each module gets "decomposed" status
50
+ 10. Update progress.json — each module gets "decomposed" status. Write every module with this shape:
51
+ ```json
52
+ "<module>": {
53
+ "status": "decomposed",
54
+ "currentPhase": "decompose",
55
+ "features": {},
56
+ "lastCommit": {},
57
+ "branch": "feat/<module>",
58
+ "repos": ["<repo key from manifest>"],
59
+ "lastUpdated": "<ISO 8601 timestamp>"
60
+ }
61
+ ```
62
+ `features` stays `{}` until the plan phase adds tasks. `branch` and `repos` are optional. Without `branch`, haren uses `feat/<module>`.
51
63
 
52
64
  ## Module Map Format
53
65
 
package/dist/index.js CHANGED
@@ -1182,7 +1182,18 @@ var init_plan = __esm(() => {
1182
1182
  import { readFile as readFile5, writeFile as writeFile4 } from "fs/promises";
1183
1183
  async function readProgress(path) {
1184
1184
  const raw = await readFile5(path, "utf-8");
1185
- return JSON.parse(raw);
1185
+ const progress = JSON.parse(raw);
1186
+ progress.modules ??= {};
1187
+ for (const mod of Object.values(progress.modules)) {
1188
+ if (!isObject(mod.features))
1189
+ mod.features = {};
1190
+ if (!isObject(mod.lastCommit))
1191
+ mod.lastCommit = {};
1192
+ }
1193
+ return progress;
1194
+ }
1195
+ function isObject(value) {
1196
+ return typeof value === "object" && value !== null && !Array.isArray(value);
1186
1197
  }
1187
1198
  async function writeProgress(path, progress) {
1188
1199
  await writeFile4(path, JSON.stringify(progress, null, 2));
package/package.json CHANGED
@@ -1,11 +1,21 @@
1
1
  {
2
2
  "name": "@odarino/haren",
3
- "version": "1.3.0",
3
+ "version": "1.3.3",
4
4
  "description": "Minimal skill-based agentic SDLC framework",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "author": "Phung Vu",
8
8
  "homepage": "https://github.com/odarino/haren#readme",
9
+ "funding": [
10
+ {
11
+ "type": "github",
12
+ "url": "https://github.com/sponsors/odarino"
13
+ },
14
+ {
15
+ "type": "ko-fi",
16
+ "url": "https://ko-fi.com/odarino"
17
+ }
18
+ ],
9
19
  "repository": {
10
20
  "type": "git",
11
21
  "url": "git+https://github.com/odarino/haren.git"