@fusebase/harness-lead 0.2.42 → 0.3.2

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/CHANGELOG.md CHANGED
@@ -1,5 +1,38 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.3.2 — 2026-12-03
4
+
5
+ - `workspace overview --json` lists each repository's initiatives: epic and link, flag, one-pager, milestones, repositories (home or reference, and whether a checkout is available), task counts and the tracker records adopted for it, counted per milestone. Read-only, like the rest of the overview.
6
+ - Codee: a QA sub-task blocked on a dependency that is still open is traced to its cause; a suitable To Do dependency goes to Codee with evidence and a verification check, and only the eligible QA sub-tasks move after the fix is verified.
7
+ - `/lead status` reviews a delegated issue in human review (diff and pipeline) and reports a verdict per issue instead of only listing it as waiting.
8
+
9
+ ## Unreleased
10
+
11
+ - `lead inbox [--json]` lists what waits for a person in a project: blocked tasks, open questions of the One Pager and the backlog, proposals to accept and draft specification sections to confirm, each with its source and the decision a yes stands for.
12
+ - `lead docs [--json] [--key KEY]` lists a project's documents for an interface, the One Pager first, with their group, date and FuseBase note, and prints one of them.
13
+
14
+ ## 0.3.1 — 2026-12-03
15
+
16
+ From the improvement notes collected across the connected projects:
17
+
18
+ - `status` no longer asks to confirm a spec section that is still the untouched installed template; a freshly scaffolded project goes to planning instead.
19
+ - `finish --merged` says when the shell was inside the worktree it removed and where to run the next commands.
20
+ - The Codee handoff rule now says a Sub-task goes under a Story only when that Story is assigned to Codee; otherwise create a separate Story.
21
+ - `/lead status` offers to resolve actionable blockers as its first option while still changing nothing.
22
+ - A merge request the session did not open can be merged in auto mode when the user named it, or asked to merge the existing reviewed requests, and every other merge condition holds.
23
+
24
+ ## 0.3.0 — 2026-12-03
25
+
26
+ Initiatives: a large feature that spans milestones and, possibly, several repositories. Everything is optional; a repository without `work/initiatives/` or `.lead/adapters/` behaves as before.
27
+
28
+ - `lead initiative [id]` shows an initiative: epic link, flag, milestones, repositories (home or reference, and whether a checkout is available), tasks and the tracker records adopted for it. `--in <repo>` limits it to one repository. State is committed in the home repository (`work/initiatives/<id>/`); machine-specific paths come from the workspace catalog only.
29
+ - Initiative tasks live in `work/initiatives/<id>/tasks/` with an optional `repo`. `blocked_by` takes `T-001` or `<repo>:T-001`; the latter is read from that repository's own lead state, read-only. Equal paths in different repositories never conflict. `lead initiative check` and `lead initiative waves <id> [--write]` check and order them.
30
+ - `lead adopt` adopts an existing tracker epic: the agent saves an inventory, adopt previews milestones, repositories and open decisions, and `--write` creates the initiative, a project adapter and observe-only records. Tracker statuses never become lead statuses. `map:` in `initiative.md` keeps a person's decisions across runs; a re-run shows what changed and keeps records that left the epic.
31
+ - `lead adapters [name]` lists project adapters in `.lead/adapters/<id>/SKILL.md`: rules for reading a project's existing records. A kit update does not touch them.
32
+ - The tracker is not written by any of this.
33
+ - In a workspace repository the `SessionStart` hook says that the project runs with lead, where its launcher and kit are, and the session id, also where lead is not enabled locally. The entry skill uses it and skips the search, so `/lead` is not needed and a status answer starts sooner.
34
+ - A workspace catalog entry may be `{path, title, apps: {folder: title}}`. `workspace overview --json` returns a `title` for each repository and a `path` and `title` for each app; without a title one is made from the folder name.
35
+
3
36
  ## 0.2.42 — 2026-12-03
4
37
 
5
38
  - `finish --merged` refuses a task that was not handed off. A freshly started branch counted as merged, so an untouched task could be closed and its worktree removed. Delegated tasks are not affected.
package/README.md CHANGED
@@ -61,6 +61,19 @@ A service of your own is a skill in `.lead/delegates/<id>/`. A kit update does n
61
61
 
62
62
  A task counts as demo-ready after it is merged. With `can_show: deployed` in config, it appears on the one-pager only after someone has also marked that they saw it on dev.
63
63
 
64
+ ## Large features and several repositories
65
+
66
+ A big feature, often created in the tracker before lead, is an **initiative**: `work/initiatives/<id>/` in the repository that leads it (its home). It has milestones in its own one-pager, tasks with an optional `repo`, and the tracker records adopted as read-only observations. The other repositories it touches are named, not installed: lead is added there only when a task needs it.
67
+
68
+ | Command | What it does |
69
+ |---|---|
70
+ | `/lead adopt` | Adopt a tracker epic: preview the milestones, repositories and open decisions, then write the initiative, an adapter and observed records. See `skills/lead/references/adopt.md` |
71
+ | `lead initiative [id]` | Milestones, repositories, tasks and observed records; `--in <repo>` for one repository |
72
+ | `lead initiative check` / `waves <id> [--write]` | Check and order tasks across repositories (`blocked_by` takes `T-001` or `<repo>:T-001`) |
73
+ | `lead adapters [name]` | Project adapters in `.lead/adapters/`: rules for reading a project's existing records |
74
+
75
+ A tracker status is an observation: it never marks a lead task done. Plan: [docs/initiatives-plan.md](docs/initiatives-plan.md).
76
+
64
77
  ## Where things are
65
78
 
66
79
  | Path | Owner | What |
@@ -122,7 +135,7 @@ Kit files are replaced. These are kept: `.lead/config.yml`, `.lead/local.md`, `.
122
135
 
123
136
  If hooks stay silent, lead is off for that person (`/lead enable`) or the folder is not trusted. `node .lead/lead.mjs doctor` checks the setup. FuseBase and Jira sync uses the person's own access; without it lead works locally and says what is missing.
124
137
 
125
- For several independent checkouts, create a workspace catalog `.lead/workspace.yml` at their common parent with `version: 1` and a `repositories` mapping from names to relative checkout paths. Run the built CLI with `workspace deploy --cwd /path/to/workspace`, then use `workspace attach <repo>` for each new checkout. Attached repositories keep their project state and portable launcher, and the workspace owns the runtime. In a workspace-root thread, `workspace use <repo> --session <id>` binds activity to that repository. Use `workspace overview` to read across the catalog. See [Lead workspace](skills/lead/references/workspace.md) for client routing and app selection.
138
+ For several independent checkouts, create a workspace catalog `.lead/workspace.yml` at their common parent with `version: 1` and a `repositories` mapping from names to relative checkout paths. An entry may instead be `{path: sites, title: Web Studio, apps: {forms-manager: Forms manager}}` to give the names an interface shows; `workspace overview --json` returns them, and makes one from the folder name where none is given. Run the built CLI with `workspace deploy --cwd /path/to/workspace`, then use `workspace attach <repo>` for each new checkout. Attached repositories keep their project state and portable launcher, and the workspace owns the runtime. In a workspace-root thread, `workspace use <repo> --session <id>` binds activity to that repository. Use `workspace overview` to read across the catalog. See [Lead workspace](skills/lead/references/workspace.md) for client routing and app selection.
126
139
 
127
140
  ## Registry access and publication
128
141