@odarino/haren 1.3.1 → 1.4.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.
@@ -23,14 +23,27 @@ Do these steps for each entry in `repos`:
23
23
  3. Decide these values:
24
24
  - `stack`: a short kebab-case name, for example `node-express`, `react-vite`, `nextjs`, `go`, `java-spring`, `python-fastapi`.
25
25
  - `test_cmd`: the command that runs the tests, from the package scripts or the build tool, for example `bun test`, `pnpm test`, `go test ./...`, `mvn test`, `pytest`. If you are not sure, leave it empty.
26
- - `default_branch`: run `git -C <repo> symbolic-ref --short refs/remotes/origin/HEAD` and remove the `origin/` prefix. If the command fails, use the current branch (see the detached HEAD rule below). Use "main" only if no branch can be found, and say so in the table.
26
+ - `default_branch`: keep an existing value. Else try these steps in order and stop at the first result:
27
+ 1. `git -C <repo> symbolic-ref --short refs/remotes/origin/HEAD`. Remove the `origin/` prefix.
28
+ 2. The first of `origin/main`, `origin/master`, `origin/develop` that exists. Test each with `git -C <repo> rev-parse --verify --quiet <ref>`. Remove the `origin/` prefix.
29
+ 3. The first local branch of `main`, `master` that exists (`git -C <repo> rev-parse --verify --quiet <branch>`).
30
+ 4. Ask the user.
31
+ Never use the current branch when it looks like a work branch (`feat/`, `feature/`, `fix/`, `bugfix/`, `hotfix/`, `chore/`, `release/`). Say in the table which step gave the value.
27
32
  - `role`: `frontend` for a UI app (React, Vue, Angular, Svelte, Next.js, Nuxt, a Vite web app). `backend` for an API or a service. `e2e` for a repo that holds mainly end-to-end tests. `other` for all other repos. Keep an existing `role`. If it looks wrong, ask the user.
28
33
  - Current branch: run `git -C <repo> branch --show-current`. If it prints nothing, the repo is on a detached HEAD. Report "detached HEAD at <short sha>" and get the sha with `git -C <repo> rev-parse --short HEAD`.
29
34
  4. Show one table to the user: repo, stack, test_cmd, default_branch, role. Mark the values that change.
30
35
  5. Ask: "Write these values into manifest.yaml?"
31
36
  6. Write only after the user agrees. Change only these fields of the `repos` entries. Write them in this order: `path`, `remote`, `default_branch`, `role`, `stack`, `test_cmd`. Keep every other line and every comment in `manifest.yaml`.
32
37
 
33
- If `repos` is empty, say so in the table output: "No repos listed in manifest.yaml." Suggest that the user adds repo entries (in the monorepo layout, folders such as `../backend`). `skill.md` "Repos and Git" has a "No repos listed" fallback: in the monorepo layout, the repo that holds the haren folder is the only repo, with the key `default`. Mention it. Then continue with steps 2-4.
38
+ If `repos` is empty, say so in the table output: "No repos listed in manifest.yaml." `skill.md` "Repos and Git" has a "No repos listed" fallback: in the monorepo layout, the repo that holds the haren folder is the only repo, with the key `default`. Mention it.
39
+
40
+ In the monorepo layout, propose `repos` entries:
41
+
42
+ 1. Find the package folders in the repo root. Read the `workspaces` field of `package.json`, `pnpm-workspace.yaml`, `go.work`, and the `<modules>` of a root `pom.xml`. Also check `apps/*`, `packages/*` and `services/*`.
43
+ 2. For each package folder, propose one entry. The key is the folder name. The `path` is relative to the haren folder (for example `../apps/backend`). Do steps 1.2 and 1.3 for each entry.
44
+ 3. Show the proposed entries as a table. Ask: "Add these repos to manifest.yaml?" Write only after the user agrees.
45
+
46
+ In the workspace layout, suggest that the user adds repo entries. Then continue with steps 2-4.
34
47
 
35
48
  ## 2. Health check
36
49
 
@@ -43,6 +56,8 @@ Check each repo in `repos`. In the workspace layout, also check the haren folder
43
56
  | Uncommitted changes | `git -C <repo> status --porcelain` prints lines | "uncommitted changes (N files)" |
44
57
  | Branch | Only when `default_branch` is known. `git -C <repo> branch --show-current` is not `default_branch`. On a detached HEAD, report "detached HEAD at <short sha>". | "on `<branch>`, default is `<default_branch>`". If a module in `progress.json` uses this branch (`modules.*.branch`), add "(module `<module>`)" and do not show it as a problem. |
45
58
 
59
+ **Key drift.** For each repo key, check that the `path` is a real folder. For each module in `progress.json`, check its `repos` keys. Each key must exist in `manifest.yaml`. The module's code must be under that key's `path`: compare the files of its recorded commits (`git -C <repo> show --name-only --format= <sha>` for each `lastCommit` SHA) with the `path`. Report each mismatch, for example "module `share` uses key `types`, but its code is in `packages/shared`". Do not fix it. Suggest the change and ask.
60
+
46
61
  The haren folder has no `default_branch`. For the haren folder, report only its current branch. Do not compare it with a default branch.
47
62
 
48
63
  Do not fetch. Do not fix anything. Report only.
@@ -23,10 +23,16 @@ Create a complete, actionable plan for implementing a single module.
23
23
  <HARD-GATE>
24
24
  Before writing any artifact, identify all decision points in the module and
25
25
  resolve them with the user. Do NOT write spec.md or design.md with assumptions.
26
+ Decision points include technical decisions (database, framework, auth, APIs)
27
+ and UI/UX decisions (screen layout, navigation, empty and error states, how
28
+ content is grouped). If the module adds or changes screens, the user picks one
29
+ mockup option per changed screen before you write the spec or the design.
26
30
  </HARD-GATE>
27
31
 
28
32
  **Decision gathering process:**
29
- 1. List all technical decisions this module requires (database, framework, auth, APIs, etc.)
33
+ 1. List all decisions this module requires:
34
+ - Technical: database, framework, auth, APIs, etc.
35
+ - UI/UX: one decision for each screen that the module adds or changes
30
36
  2. For each decision, check if it's already resolved:
31
37
  - Specified in context-brief.md → use it, no need to ask
32
38
  - Specified in module definition → use it, no need to ask
@@ -39,6 +45,13 @@ resolve them with the user. Do NOT write spec.md or design.md with assumptions.
39
45
  4. **One question at a time** — don't dump all decisions in one message
40
46
  5. Document each decision in the design artifact with rationale
41
47
 
48
+ **UI decisions (only if the module adds or changes screens):**
49
+ 1. List the changed screens from the spec, the module definition and the stories
50
+ 2. For each screen, use the `generate-mockup` skill in options mode. Make 2-3 labeled options (A, B, C). Give each option a one-line trade-off and mark your recommendation
51
+ 3. Show the options side by side in one message. If the user wants a browser view, also write the HTML file that the skill describes
52
+ 4. Ask the user to pick one option. One screen at a time
53
+ 5. Record the chosen option and the rejected options with the reason in the `## Screens` section of the design. Add the same to the `## Screens` section of the spec, and add a Changelog row for that spec edit
54
+
42
55
  **Example flow:**
43
56
  ```
44
57
  You: "For the auth module, I need to decide on a few things.
@@ -51,6 +64,13 @@ You: "For the auth module, I need to decide on a few things.
51
64
  User: "go with A"
52
65
 
53
66
  You: "Got it, PostgreSQL. Next: for authentication strategy..."
67
+
68
+ You: "The module changes the Post detail screen. Here are 3 options:
69
+ A) One long text — simple, but long posts are hard to scan
70
+ B) Parts as separate cards — clear parts, more scrolling
71
+ C) Parts joined by a connector line — shows the thread, more work
72
+ [mockups A, B, C side by side]
73
+ I'd recommend B because [reason]. Which one?"
54
74
  ```
55
75
 
56
76
  ### Step 6: Write artifacts (after all decisions are resolved)
@@ -73,6 +93,7 @@ Using `templates/design.md`:
73
93
  - Architecture overview
74
94
  - Data model
75
95
  - **Key technical decisions with rationale** (from step 5 — include what was chosen and why)
96
+ - **Screens** (if the module adds or changes screens): the chosen mockup per screen and the rejected options with the reason
76
97
  - File structure plan
77
98
  - External dependencies
78
99
 
@@ -88,14 +109,19 @@ Using `templates/tasks.md`:
88
109
 
89
110
  ### Step 7: Review with user
90
111
 
91
- Present each artifact section by section. Ask "does this look right?" after each.
112
+ **Small module:** the module has 3 tasks or fewer, each task changes about 30 lines or fewer, it adds no new external dependency and it has no schema migration. For a small module, show the design and the tasks in one message and ask for one approval. Write "Size: small" in the design. The implement skill then uses its fast path.
113
+
114
+ **Other modules:** present each artifact section by section. Ask "does this look right?" after each.
92
115
  Only proceed to the next artifact after the current one is approved.
93
116
 
117
+ The user can always ask for the full path. Then review section by section.
118
+
94
119
  ### Step 8: Finalize
95
120
 
96
121
  1. Validate all three artifacts with validate-artifact skill
97
- 2. Update progress.json — module status to "planned"
98
- 3. If `plugins.json` exists in the haren folder, run `haren plugin run after-plan --payload '{"module":"<module>","tasksFile":"<path of tasks.md relative to the haren folder>"}'` and show its output lines. A warning does not block the plan. The CLI adds the missing features to progress.json, so do not add them yourself
122
+ 2. Register each new artifact: `haren track artifact <id> --type <type> --path <path> --module <module>`
123
+ 3. Set the module status: `haren track status <module> planned`. Never edit progress.json by hand
124
+ 4. If `plugins.json` exists in the haren folder, run `haren plugin run after-plan --payload '{"module":"<module>","tasksFile":"<path of tasks.md relative to the haren folder>"}'` and show its output lines. A warning does not block the plan. The CLI adds the missing features to progress.json, so do not add them yourself
99
125
 
100
126
  ### Step 9: Iteration slicing (only if iterations enabled)
101
127
 
@@ -130,6 +156,7 @@ After creating the master spec and design, and after all tasks are defined:
130
156
  ## Rules
131
157
 
132
158
  - **Never silently pick a technology** — present options, let the user choose
159
+ - **Never silently pick a screen layout** — show 2-3 mockup options, let the user choose
133
160
  - **One question at a time** — don't overwhelm with multiple decisions
134
161
  - The spec is the contract the evaluator checks against — be precise and testable
135
162
  - Tasks should reference exact file paths in the target repo
@@ -0,0 +1,61 @@
1
+ ---
2
+ name: release
3
+ description: Plan the release order across completed modules and record each module as released
4
+ type: sequential
5
+ agent: architect
6
+ ---
7
+
8
+ # Release
9
+
10
+ Write one release plan for the modules that are ready to ship. The plan gives the order of the steps across modules and repos, for example DB migration → backend → mobile → web. Then record each module as `released` after the user confirms the deployment.
11
+
12
+ <HARD-GATE>
13
+ Never deploy, push, tag or run a migration yourself. The user runs each deploy step. Run a deploy command only when the user asks you to run that exact step.
14
+ </HARD-GATE>
15
+
16
+ ## Inputs
17
+
18
+ - `progress.json` — module status and the `dependencies` map
19
+ - `manifest.yaml` — `repos` with `path`, `default_branch` and `role`
20
+ - `artifacts/03-modules/module-map.md` and each `artifacts/03-modules/{module}/module.md`
21
+ - `artifacts/04-plans/{module}/design.md` — data model changes, migrations, external dependencies
22
+ - `artifacts/06-evaluation/{module}/` — reviews (every feature must pass)
23
+
24
+ ## Process
25
+
26
+ 1. Run read-context skill to orient
27
+ 2. List the modules in status `completed`. Ask the user which of them go into this release
28
+ 3. For each selected module, check:
29
+ - Every feature is `passing`
30
+ - The module branch is merged into each repo's `default_branch`, or the user tells you the merge plan
31
+ - Each dependency (progress.json `dependencies`) is released or is in this release
32
+ Report each failed check. Do not continue until the user decides
33
+ 4. Build the release order:
34
+ - Follow the `dependencies` map: a module comes after the modules it depends on
35
+ - Inside that order, use this default by kind of step: DB migration → shared packages → backend → mobile → web → feature flags or config
36
+ - A backend change that breaks old clients needs a note: old mobile versions stay in use after the release
37
+ 5. For each step, fill in: module, repo key, branch or tag, preconditions, deploy command, verify command, rollback, owner. Read the deploy and verify commands from the repo (scripts, CI files, README). If you cannot find one, write `ask the user` and ask
38
+ 6. Present the order to the user as a table. Ask "does this order look right?" Change it until the user approves
39
+ 7. Write `artifacts/03-modules/release-plan.md` from `templates/release-plan.md` with create-artifact skill. If the file exists, add a new release section at the top. Do not remove old releases
40
+ 8. Register it: `haren track artifact <id> --type release-plan --path artifacts/03-modules/release-plan.md`
41
+
42
+ ## During the release
43
+
44
+ For each step, in order:
45
+
46
+ 1. Tell the user the step, its preconditions and its deploy command
47
+ 2. Wait for the user to run it (or to ask you to run it)
48
+ 3. Ask the user to confirm the verify result
49
+ 4. Record it: `haren track event release-step --module <module> --phase release --data '{"step":<n>,"repo":"<repoKey>","result":"ok"}'`
50
+ 5. If a step fails, stop. Show the rollback for this step and for the steps before it that depend on it. Record `result` as `failed`. Ask the user what to do
51
+
52
+ After the user confirms that all steps of a module are deployed, run `haren track status <module> released`.
53
+
54
+ ## Rules
55
+
56
+ - One release plan file for all modules: `artifacts/03-modules/release-plan.md`
57
+ - Never deploy, push, tag or migrate unless the user asks for that exact step
58
+ - Every step has a rollback. If a step has no safe rollback (for example a destructive migration), mark it and ask the user to approve it
59
+ - Set `released` only after the user confirms the deployment
60
+ - Change status and events only with `haren track` (see update-tracking skill)
61
+ - Fixtures, seed data and examples in the plan use synthetic data only
@@ -22,7 +22,7 @@ Any time during the project lifecycle when a question needs investigation before
22
22
  2. **Resolve ID**: Use resolve-next-id skill to get next RESEARCH ID
23
23
  3. **Conduct research**: Investigate using available tools (web search, code reading, docs)
24
24
  4. **Document findings**: Write structured research artifact
25
- 5. **Update registry**: Use create-artifact skill to write file and update artifact-index.md
25
+ 5. **Update registry**: Use create-artifact skill to write the file. It registers the file with `haren track artifact`
26
26
 
27
27
  ## Output Format
28
28
 
@@ -26,7 +26,7 @@ Iteration file (07-iterations) | Link to iteration-scoped designs in 04-plans
26
26
  2. For each referenced artifact:
27
27
  - Open it
28
28
  - Add a link back to the new artifact in its "Related Artifacts" section
29
- 3. Update artifact-index.md if link relationships changed
29
+ 3. If link relationships changed, update the index row with `haren track artifact <id> --type <type> --path <path>`. Never edit artifact-index.md by hand
30
30
 
31
31
  ## Rules
32
32
 
@@ -1,42 +1,60 @@
1
1
  ---
2
2
  name: update-tracking
3
- description: Update progress.json and propagate status changes
3
+ description: Update progress.json, the artifact index and events with the haren track CLI
4
4
  type: utility
5
5
  ---
6
6
 
7
7
  # Update Tracking
8
8
 
9
- Update module and feature status in progress.json with validated transitions.
9
+ Record module status, feature status, commits, artifacts and events with the `haren track` CLI. The CLI validates each transition, updates `lastUpdated` and appends the matching event.
10
+
11
+ <HARD-GATE>
12
+ Never edit `progress.json`, `events/events.jsonl` or `artifacts/_registry/artifact-index.md` by hand, with sed, or with jq. Always use a `haren track` command. If a command fails, show the error to the user. Do not work around it with a hand edit.
13
+ </HARD-GATE>
14
+
15
+ Run every command from the haren folder.
16
+
17
+ ## Commands
18
+
19
+ | Goal | Command |
20
+ |------|---------|
21
+ | Set module status | `haren track status <module> <status>` |
22
+ | Add a feature (status `pending`) | `haren track feature <module> <feature>` |
23
+ | Set feature status | `haren track feature <module> <feature> <status>` |
24
+ | Record a commit | `haren track commit <module> <repoKey> <sha>` |
25
+ | Register an artifact | `haren track artifact <id> --type <type> --path <path> [--module <m>] [--status <s>]` |
26
+ | Append another event | `haren track event <type> [--module m] [--phase p] [--feature f] [--data '<json>']` |
27
+ | Open the code gate for a user request | `haren track override on --reason "<text>" [--hours <n>]` |
28
+ | Close the code gate again | `haren track override off` |
29
+
30
+ The `status`, `feature`, `commit`, `artifact` and `override` commands append their own events. Do not also run `haren track event` for the same change.
10
31
 
11
32
  ## Operations
12
33
 
13
34
  ### Update Feature Status
14
- 1. Validate the transition is allowed (see state machine in spec section 10)
15
- 2. Update the feature's status in progress.json
16
- 3. If all features in a module are "passing", suggest module completion review
17
- 4. Append event to events/events.jsonl
18
- 5. If `plugins.json` exists in the haren folder, run `haren plugin run on-task-status --payload '{"module":"<module>","feature":"<feature>","status":"<new status>"}'`. Show its output lines. A warning does not undo the status change
35
+ 1. Run `haren track feature <module> <feature> <status>`. The CLI rejects an invalid transition
36
+ 2. If all features in a module are "passing", suggest module completion review
37
+ 3. If `plugins.json` exists in the haren folder, run `haren plugin run on-task-status --payload '{"module":"<module>","feature":"<feature>","status":"<new status>"}'`. Show its output lines. A warning does not undo the status change
19
38
 
20
39
  ### Update Module Status
21
- 1. Validate the transition is allowed
22
- 2. Update the module's status and currentPhase
23
- 3. Append event to events/events.jsonl
40
+ 1. Run `haren track status <module> <status>`. The CLI rejects an invalid transition
24
41
 
25
42
  ### Add Feature to Module
26
- 1. Add feature with "pending" status to the module's features map
27
- 2. Update progress.json
43
+ 1. Run `haren track feature <module> <feature>`. The feature starts as `pending`
28
44
 
29
45
  ### Record Commit
30
- 1. Set `lastCommit.<repoKey>` to the new commit SHA for the module. `lastCommit` is a map from repo key to SHA, never a plain string (see skill.md "Repos and Git")
31
- 2. If the module has no `branch` or `repos` yet, set them: `branch` is `feat/{module-slug}`, `repos` are the `repos:` keys in the module's `module.md`
32
- 3. Update `lastUpdated`
46
+ 1. Run `haren track commit <module> <repoKey> <sha>`. This sets `lastCommit.<repoKey>` for the module. `lastCommit` is a map from repo key to SHA, never a plain string (see skill.md "Repos and Git")
47
+ 2. The module `branch` is `feat/{module-slug}`. The module `repos` are the `repos:` keys in the module's `module.md`. If the module uses a different base branch (see skill.md "Dependent modules"), record it in the session log
48
+
49
+ ### Register Artifact
50
+ 1. Run `haren track artifact <id> --type <type> --path <path> --module <module>` after you write a new artifact. Add `--status <s>` when the artifact has a status
33
51
 
34
52
  ### Reconcile with Git
35
53
  1. For each module, and for each repo key in its `repos` (or in its `lastCommit` map): resolve the repo folder as in skill.md "Repos and Git"
36
54
  2. Read the tip of the module branch: `git -C <repo> rev-parse <branch>`, where `<branch>` is the module's recorded `branch` (fallback `feat/{module-slug}`, then `HEAD` if the branch does not exist)
37
55
  3. Compare it with `lastCommit.<repoKey>`. Treat the key `default` as described in skill.md "Repos and Git". Check `git -C <repo> merge-base --is-ancestor <recorded sha> <tip>`
38
56
  - If it succeeds, there is no drift. Later commits are normal, including haren-only commits in the monorepo layout
39
- 4. Only if it fails, report drift. After the user agrees, update `lastCommit.<repoKey>` to the latest commit on the branch that changed files outside the haren folder
57
+ 4. Only if it fails, report drift. After the user agrees, run `haren track commit <module> <repoKey> <sha>` with the latest commit on the branch that changed files outside the haren folder
40
58
  - Monorepo layout: `git -C <repo> log -1 --format=%H <tip> -- ':(top,exclude)<haren folder path relative to the repo root>'`
41
59
  - Workspace layout: the tip
42
60
  5. Flag any ambiguous state changes for human review
@@ -44,17 +62,45 @@ Update module and feature status in progress.json with validated transitions.
44
62
  ### Transition Iteration (only if iterations enabled)
45
63
  1. Check if all tasks in the current iteration have status "passing"
46
64
  2. If yes:
47
- - Increment `currentIteration` in progress.json
65
+ - Ask the user to confirm the move to the next iteration. Increment `currentIteration` in progress.json only through the CLI if it has a command for it; otherwise ask the user to make the change
48
66
  - Update the iteration file (`07-iterations/iteration-{N}.md`) status to `complete`
49
67
  - If next iteration exists (already planned), set its status to `in-progress`
50
68
  - If no next iteration exists, suggest running the plan skill to slice the next iteration from the master plan
51
- - Append event to events/events.jsonl
69
+ - Run `haren track event iteration-complete --data '{"iteration":<N>}'`
52
70
  3. Iteration transitions cannot be skipped — iteration N must complete before N+1 starts
53
71
 
72
+ ## Event Schema (`events/events.jsonl`)
73
+
74
+ Each line is one JSON object. Common fields:
75
+
76
+ | Field | Required | Value |
77
+ |-------|----------|-------|
78
+ | `type` | yes | Event type, kebab-case (for example `feature-ready`) |
79
+ | `timestamp` | yes | ISO 8601 time. The CLI sets it |
80
+ | `module` | when the event is about a module | Module slug |
81
+ | `phase` | when known | One of the phase values below |
82
+ | `feature` | when the event is about a feature | Feature key from `progress.json` |
83
+
84
+ Per-type fields come from the command, or from `--data` for `haren track event`. The `--data` JSON is merged into the line. Common event types:
85
+
86
+ | Type | Written by | Extra fields |
87
+ |------|------------|--------------|
88
+ | `module-status` | `haren track status` | `from`, `to`, `phase` |
89
+ | `feature-status` | `haren track feature` | `from`, `to` |
90
+ | `commit` | `haren track commit` | `repo`, `sha` |
91
+ | `artifact` | `haren track artifact` | `id`, `artifactType`, `path`, `status` |
92
+ | `gate-override` | `haren track override` | `action` (`on`/`off`), `reason`, `until` |
93
+ | `feature-ready` | `haren track event feature-ready` | optional `repos` and SHAs |
94
+ | `escalate-human` | `haren track event escalate-human` | `attempt`, reason |
95
+ | `iteration-complete` | `haren track event iteration-complete` | `iteration` |
96
+ | `release-step` | `haren track event release-step` | `step`, `repo`, result |
97
+
98
+ **Phase values:** `ideate`, `discover`, `research`, `decompose`, `plan`, `implement`, `evaluate`, `release`, `blocked`.
99
+
54
100
  ## Valid Module Transitions
55
101
 
56
102
  ```
57
- discovered → decomposed → planned → implementing → evaluating → completed
103
+ discovered → decomposed → planned → implementing → evaluating → completed → released
58
104
  ↑ |
59
105
  └── fix ───────┘
60
106
  |
@@ -73,7 +119,6 @@ pending → in-progress → evaluating → passing
73
119
 
74
120
  ## Rules
75
121
 
76
- - Always validate transitions — reject invalid ones with clear error messages
77
- - Always update lastUpdated timestamp
78
- - Always append an event after any status change
79
- - Never silently change status — log everything
122
+ - Always use `haren track`. Never edit `progress.json`, `events/events.jsonl` or `artifact-index.md` with sed, jq or a text editor
123
+ - The CLI validates transitions. Show its error to the user when it rejects one
124
+ - Every status change appends an event. Never change status silently
@@ -16,6 +16,20 @@ date: {date}
16
16
  | Decision | Choice | Alternatives Considered | Rationale |
17
17
  |----------|--------|------------------------|-----------|
18
18
 
19
+ ## Screens
20
+ <!-- Only if the module adds or changes screens. -->
21
+
22
+ ### Screen: {screen name}
23
+ **Chosen:** option {A|B|C}
24
+
25
+ ```
26
+ {ASCII wireframe of the chosen option}
27
+ ```
28
+
29
+ | Option | Trade-off | Result |
30
+ |--------|-----------|--------|
31
+ | A | {one line} | chosen / rejected: {reason} |
32
+
19
33
  ## File Structure
20
34
  ```
21
35
  {planned file layout in target repo}
@@ -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