@odarino/haren 1.3.3 → 1.6.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.
Files changed (43) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +209 -33
  3. package/content/agents/architect.md +5 -2
  4. package/content/agents/developer.md +6 -6
  5. package/content/agents/ideator.md +2 -2
  6. package/content/agents/planner.md +4 -1
  7. package/content/agents/researcher.md +1 -1
  8. package/content/agents/reviewer.md +13 -4
  9. package/content/skills/audit-workspace/SKILL.md +2 -1
  10. package/content/skills/create-artifact/SKILL.md +2 -5
  11. package/content/skills/decompose/SKILL.md +10 -13
  12. package/content/skills/discover/SKILL.md +7 -2
  13. package/content/skills/discover/blueprint.md +1 -0
  14. package/content/skills/discover/explore.md +1 -0
  15. package/content/skills/discover/inherit.md +1 -0
  16. package/content/skills/discover/migration.md +38 -0
  17. package/content/skills/evaluate/SKILL.md +34 -3
  18. package/content/skills/extract/SKILL.md +43 -0
  19. package/content/skills/extract-stories/SKILL.md +1 -1
  20. package/content/skills/generate-mockup/SKILL.md +44 -5
  21. package/content/skills/ideate/SKILL.md +5 -3
  22. package/content/skills/implement/SKILL.md +21 -12
  23. package/content/skills/onboard/SKILL.md +17 -2
  24. package/content/skills/plan/SKILL.md +69 -6
  25. package/content/skills/read-context/SKILL.md +12 -1
  26. package/content/skills/release/SKILL.md +61 -0
  27. package/content/skills/research/SKILL.md +1 -1
  28. package/content/skills/resolve-next-id/SKILL.md +9 -1
  29. package/content/skills/ui-review/SKILL.md +64 -0
  30. package/content/skills/update-links/SKILL.md +1 -1
  31. package/content/skills/update-tracking/SKILL.md +77 -23
  32. package/content/skills/validate-artifact/SKILL.md +21 -0
  33. package/content/skills/visual-companion/SKILL.md +288 -0
  34. package/content/templates/design.md +28 -0
  35. package/content/templates/deviation-log.md +13 -0
  36. package/content/templates/legacy-semantics.md +11 -0
  37. package/content/templates/parity-evidence.md +32 -0
  38. package/content/templates/release-plan.md +29 -0
  39. package/content/templates/spec.md +10 -0
  40. package/content/templates/unit-map.md +20 -0
  41. package/content/templates/unit-spec.md +43 -0
  42. package/dist/index.js +3071 -128
  43. package/package.json +2 -2
@@ -0,0 +1,32 @@
1
+ ---
2
+ unit: {SCR_A001}
3
+ difference: {one line about the difference}
4
+ verdict: {matches-legacy | target-bug | approved-deviation}
5
+ ---
6
+
7
+ # Parity Evidence: {SCR_A001}
8
+
9
+ ## Environment
10
+ The user, tenant and locale must be equal on both sides.
11
+
12
+ | Side | User | Tenant | Locale |
13
+ |------|------|--------|--------|
14
+ | Legacy | {user} | {tenant} | {locale} |
15
+ | Target | {user} | {tenant} | {locale} |
16
+
17
+ ## Steps
18
+ 1. {step}
19
+
20
+ ## Legacy result
21
+ {What the legacy system showed.}
22
+
23
+ ## Target result
24
+ {What the target system showed.}
25
+
26
+ ## Evidence
27
+ - Screenshots: {paths}
28
+ - Network: {request and response}
29
+ - SQL: {query and rows, for example from ORDER_TBL}
30
+
31
+ ## Verdict
32
+ {matches-legacy | target-bug | approved-deviation}. {If approved-deviation, give the DEV-ID.}
@@ -0,0 +1,29 @@
1
+ ---
2
+ type: release-plan
3
+ date: {date}
4
+ status: draft
5
+ ---
6
+
7
+ # Release Plan
8
+
9
+ <!-- Newest release first. Keep old releases below. -->
10
+
11
+ ## Release {name or version} — {date}
12
+
13
+ **Modules:** {module-a}, {module-b}
14
+ **Status:** planned | in progress | released | rolled back
15
+
16
+ ### Preconditions
17
+ - [ ] Every feature of each module is `passing`
18
+ - [ ] Each module branch is merged into the repo's default branch
19
+ - [ ] Each dependency module is released or is in this release
20
+ - [ ] Seed data and fixtures use synthetic data only
21
+
22
+ ### Steps
23
+
24
+ | # | Module | Repo | Branch / tag | Preconditions | Deploy command | Verify command | Rollback | Owner | Result |
25
+ |---|--------|------|--------------|---------------|----------------|----------------|----------|-------|--------|
26
+ | 1 | {module} | {repo key} | {branch or tag} | {what must be true} | `{command}` | `{command}` | {how to undo} | {name} | pending |
27
+
28
+ ### Notes
29
+ - {compatibility notes, for example: old mobile clients still call the v1 endpoint}
@@ -41,8 +41,18 @@ owner: BA
41
41
  ### Required from other modules
42
42
  {What this module needs from dependencies}
43
43
 
44
+ ## Screens
45
+ <!-- Only if the module adds or changes screens. One block per screen. -->
46
+
47
+ ### Screen: {screen name}
48
+ - Chosen: option {A|B|C} — {one-line description}
49
+ - Rejected: option {X} — {reason}
50
+ - Mockup: see design.md "Screens" {or the HTML file path}
51
+
44
52
  ## Definition of Done
45
53
  - [ ] {checklist item}
54
+ - [ ] Changed screens match the chosen mockup
55
+ - [ ] Fixtures, examples, seeds and screenshots use synthetic data. They contain no real third-party personal data
46
56
 
47
57
  <!-- SPEC EDIT RULE: Any edit to this file that changes business logic,
48
58
  requirements, stories, or acceptance criteria MUST add a new row to the
@@ -0,0 +1,20 @@
1
+ ---
2
+ type: unit-map
3
+ ---
4
+
5
+ # Unit Map
6
+
7
+ Generated by `haren migrate inventory`. Edit only the Module column.
8
+
9
+ | Unit | Parent | Family | Title | Module |
10
+ |------|--------|--------|-------|--------|
11
+ | SCR_A001 | - | {family} | {title} | {module} |
12
+ | SCR_A001_P1 | SCR_A001 | {family} | {title} | {module} |
13
+
14
+ ## Shared components
15
+
16
+ A re-run of `haren migrate inventory` writes the unit table again and keeps this section.
17
+
18
+ | Component | Used by units | Module |
19
+ |-----------|---------------|--------|
20
+ | {ORDER_TBL or a shared routine} | SCR_A001, SCR_A002 | {module} |
@@ -0,0 +1,43 @@
1
+ ---
2
+ unit: {SCR_A001}
3
+ module: {module}
4
+ source: {legacy path of the unit}
5
+ ---
6
+
7
+ # Unit Spec: {SCR_A001}
8
+
9
+ ## Purpose
10
+ {What the user does on this unit. One paragraph.}
11
+
12
+ ## Fields
13
+ | Field | Type | Required | Default | Validation |
14
+ |-------|------|----------|---------|------------|
15
+
16
+ ## Bindings
17
+ | Binding | Source (table.column or query) | Read or write |
18
+ |---------|-------------------------------|---------------|
19
+
20
+ ## Writes
21
+ | Table | Operation | Condition |
22
+ |-------|-----------|-----------|
23
+ | {ORDER_TBL} | insert | {when} |
24
+
25
+ Side effects (notification, mail, file, external API, audit log, numbering):
26
+ - {side effect}
27
+
28
+ ## Behavior
29
+ 1. {event} → {result}
30
+
31
+ ## Legacy traps
32
+ - {Rule ID from `artifacts/01-research/legacy-semantics.md`}: {how it applies here}
33
+
34
+ ## Parity checklist
35
+ - [ ] {observable behavior to compare on legacy and target}
36
+
37
+ ## Manual gate
38
+ Use this section only when the workspace has no adapter gate.
39
+
40
+ - [ ] Every binding is covered in the spec
41
+ - [ ] Every write is covered in the spec
42
+ - Reviewer: {name}
43
+ - Date: {date}