@fusebase/harness-lead 0.2.42 → 0.3.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/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.3.0 — 2026-12-03
4
+
5
+ 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.
6
+
7
+ - `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.
8
+ - 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.
9
+ - `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.
10
+ - `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.
11
+ - The tracker is not written by any of this.
12
+ - 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.
13
+ - 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.
14
+
3
15
  ## 0.2.42 — 2026-12-03
4
16
 
5
17
  - `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