@babylonjs-toolkit/agent 1.2.4 → 1.2.6

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
@@ -1,4 +1,4 @@
1
- # Babylon Toolkit Desktop Agent (1.2.4)
1
+ # Babylon Toolkit Desktop Agent (1.2.6)
2
2
 
3
3
  The desktop agent owns the entire pipeline end to end — frontend and UI design, gameplay code, shaders, generated art and audio, 3D models in headless Blender, whole game levels and prefabs in a terminal-driven Unity Editor, the interactive glTF export, the web build, the dev server, and visual QA by screenshotting both Unity and the running browser.
4
4
 
@@ -343,7 +343,7 @@ activity logs at the bottom. The After Action Report is the whole plan's executi
343
343
  was built, how it was proven, what surprised, the run's figures — around **one before/after for the
344
344
  plan as a whole**, taken from the same camera before the first task and after the last — and a
345
345
  **Testing and verification** section: each test suite's final result from one last full run, what is
346
- not covered, and every task's tests, test cases, live check and verifier result. Every project keeps five default `.agents` folders, created together the first time any of them is needed and kept with a `.gitkeep` even while empty: `specs/` (the features being worked on), `complete/` (move a feature's whole folder here when its plan is done — the small set of finished work under active review), `archived/` (the long-running store of older completed work, moved on from `complete/` when you see fit), `profile/` and `recon/`. The agent never moves a feature folder; a feature missing from `specs/` is never treated as an error, a reopened plan runs from wherever its folder is, and a new slug never reuses one in any of the three. Recon docs
346
+ not covered, and every task's tests, test cases, live check and verifier result. Every project keeps six default `.agents` folders, created together the first time any of them is needed and kept with a `.gitkeep` even while empty: `specs/` (the features being worked on), `complete/` (move a feature's whole folder here when its plan is done — the small set of finished work under active review), `followup/` (finished features that still have open follow-ups to review — move one here, and on to `archived/` once they are addressed), `archived/` (the long-running store of older completed work, moved on from `complete/` when you see fit), `profile/` and `recon/`. The agent never moves a feature folder; a feature missing from `specs/` is never treated as an error, a reopened plan runs from wherever its folder is, a follow-up in a feature you moved still gets its commands and its status updates, and a new slug never reuses one in any of the four. Recon docs
347
347
  stay in `.agents/recon/`; older flat specs and plans in `.agents/specs/` keep working where they are.
348
348
 
349
349
  Add `--verbose` to `bt-execute` for a fully written-up dashboard: every task card gains its approach
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@babylonjs-toolkit/agent",
3
- "version": "1.2.4",
3
+ "version": "1.2.6",
4
4
  "description": "Installs the Babylon Toolkit Desktop Agent for Claude Code, Codex, GitHub Copilot, Gemini CLI and Antigravity.",
5
5
  "keywords": [
6
6
  "babylonjs",
@@ -85,7 +85,7 @@ Work in **phases**: the plan's `### Phase N` groups, else up to 3 consecutive ta
85
85
  snapshots/ tests/ recon/
86
86
  ```
87
87
 
88
- **The feature folder is wherever the plan is** (`<slug>` is its name); paths are relative to it. The user moves folders between `.agents/specs/`, `complete/` and `archived/`; a reopened plan runs where it is. **Never move a feature folder.** A legacy flat plan (`.agents/specs/<slug>_plan.md`) runs in place and gets `.agents/specs/<slug>/` for the dashboard files and `snapshots/`.
88
+ **The feature folder is wherever the plan is** (`<slug>` is its name); paths are relative to it. The user moves folders between `.agents/specs/`, `complete/`, `followup/` and `archived/`; a reopened plan runs where it is. **Never move a feature folder.** A legacy flat plan (`.agents/specs/<slug>_plan.md`) runs in place and gets `.agents/specs/<slug>/` for the dashboard files and `snapshots/`.
89
89
 
90
90
  The page, starter data and live file come from `templates/dashboard/` *(skills loaded through a tool: `load_skill` + `read_skill_resource`; as files: this skill's folder)*; `dashboard.html` is copied with `{{slug}}` replaced, never edited. **`data-schema.md` documents every field, status and snapshot shape — read it once per run; brief each role on its parts.** bt-plan writes all three; create any that is missing. **Every write goes through `scripts/dashboard.mjs`** (atomic, shape-checked; options in its header; no Node → `data-schema.md`'s fallback).
91
91
 
@@ -110,9 +110,9 @@ The snapshots are how a human sees what was built and how it came together. Choo
110
110
 
111
111
  ### Run start, phases, run end
112
112
 
113
- - **Run start:** create any missing `.agents/specs/`, `complete/`, `archived/`, `profile/`, `recon/` (each with an empty `.gitkeep`); re-copy `dashboard.html` and an existing `documents/<slug>_summary.html` from their templates; **sync the dashboard with the plan** — add missing phases and tasks in plan order as `pending` with an `updates` note (`Added to the plan after <phase 2 ran / it was complete> — <why>`), remove dropped ones with an `activity` line. Then `status <feature-folder> in-progress`, `runs` + 1, the run-log link, an `activity` line, and **the watchdog launched in the background**; in git, add `.agents/*/*/documents/*_live.js` to `.gitignore` once. Before T1 of the first run changes anything, save `snapshots/plan-before.png`, the plan-wide "before" (*Snapshots tell the story*).
113
+ - **Run start:** create any missing `.agents/specs/`, `complete/`, `archived/`, `followup/`, `profile/`, `recon/` (each with an empty `.gitkeep`); re-copy `dashboard.html` and an existing `documents/<slug>_summary.html` from their templates; **sync the dashboard with the plan** — add missing phases and tasks in plan order as `pending` with an `updates` note (`Added to the plan after <phase 2 ran / it was complete> — <why>`), remove dropped ones with an `activity` line. Then `status <feature-folder> in-progress`, `runs` + 1, the run-log link, an `activity` line, and **the watchdog launched in the background**; in git, add `.agents/*/*/documents/*_live.js` to `.gitignore` once. Before T1 of the first run changes anything, save `snapshots/plan-before.png`, the plan-wide "before" (*Snapshots tell the story*).
114
114
  - **Each phase, after its ticks:** status, times and minutes (its `⏱` line), verifier result, a 2–3 sentence summary, the phase's progression (its tasks' frames in build order from one camera, `snapshot P<N> --frame …`) when it spans tasks, `decisions`, `activeTime` (all runs: each `⏱ Run <n> end` line's `active` plus this run's), an `activity` line, a "so far" `outcome`, and `check` passing.
115
- - **Run end — the After Action Report.** Status from **re-reading the checkboxes**: all `- [x]` → `complete`; all ticked or ⏭️ DEFERRED → `incomplete`; else `paused` — never `in-progress`. **Follow-ups:** add each with `followup <feature-folder> --title "<one line>" --detail "…" --source "T<n> <role>" [--file <path>]…` — one per thing a human should look at next (a pre-existing problem the run logged, work outside the plan's scope, a gap no check covered), never a note about what went well. Each carries enough to be specced on its own: what is wrong, the evidence (numbers, where it showed), where to look, what fixing it involves. The helper numbers them `F1`, `F2` …, writes `documents/<slug>_followups.md`, and the dashboard offers a `/bt-spec Fix F<n> from …` command for each, and for any ticked together. A later run revises one with `--id F2 … --note "why"`, never by rewriting it. Then write `afterAction` (fields in `data-schema.md`): headline, body, highlights, **one plan-wide before/after** (`snapshot <feature-folder> comparison --before snapshots/plan-before.png --after snapshots/plan-after.png --caption "…"`), the "after" from the same camera in the final end-to-end session; the key progression in `afterAction.snapshots` if it tells the story best; and every run `afterAction.testing` — each suite the plan touched re-run **once in full** (one `suites` entry each, never summed from tasks), a `summary` and `gaps`. An early end writes it too (*Interim* while `paused`; revised next run with an `updates` entry); finishing a reopened plan rewrites it, notes the change and retakes the "after". Then open `dashboard.html` headless once: every snapshot shows.
115
+ - **Run end — the After Action Report.** Status from **re-reading the checkboxes**: all `- [x]` → `complete`; all ticked or ⏭️ DEFERRED → `incomplete`; else `paused` — never `in-progress`. **Follow-ups:** add each with `followup <feature-folder> --title "<one line>" --detail "…" --source "T<n> <role>" [--file <path>]…` — one per thing a human should look at next (a pre-existing problem the run logged, work outside the plan's scope, a gap no check covered), never a note about what went well. Each carries enough to be specced on its own: what is wrong, the evidence (numbers, where it showed), where to look, what fixing it involves. The helper numbers them `F1`, `F2` …, writes `documents/<slug>_followups.md`, and the dashboard offers a `/bt-spec Fix F<n> from …` command for each, and for any ticked together. A later run revises one with `--id F2 … --note "why"`, never by rewriting it. A feature specced *from* follow-ups (its `feature.addresses`, set by bt-spec) needs nothing extra: every `status` write and `check` carries its progress to the source follow-ups (in progress, done, partly done). Then write `afterAction` (fields in `data-schema.md`): headline, body, highlights, **one plan-wide before/after** (`snapshot <feature-folder> comparison --before snapshots/plan-before.png --after snapshots/plan-after.png --caption "…"`), the "after" from the same camera in the final end-to-end session; the key progression in `afterAction.snapshots` if it tells the story best; and every run `afterAction.testing` — each suite the plan touched re-run **once in full** (one `suites` entry each, never summed from tasks), a `summary` and `gaps`. An early end writes it too (*Interim* while `paused`; revised next run with an `updates` entry); finishing a reopened plan rewrites it, notes the change and retakes the "after". Then open `dashboard.html` headless once: every snapshot shows.
116
116
  - **Plan summary, only when `complete`:** copy `templates/summary/summary.html` to `documents/<slug>_summary.html` (`{{slug}}` replaced) and write `documents/<slug>_summary.js` per **`summary-guide.md`** and its worked example `summary.template.js` — the plan for people who never see the code, on-screen names in **bold**, real values, no file names, task IDs or test counts. Set `afterAction.planSummary`. A reopened plan keeps its summary until it completes again; then rewrite it, add the date to `stamp` (`Fixed on 2026-10-19; updated on 2026-11-02`) and say in the lead what changed.
117
117
  - **`--verbose`** changes what is written, never what is done: `detail: "verbose"`, each task's `details` from whoever has the facts (the builder at `built`, the verifier as it checks, you in fix rounds), and at run end `afterAction.sections` — fields and card order in `data-schema.md`. Later runs never thin it.
118
118
 
@@ -41,7 +41,10 @@
41
41
  * Follow-ups — what a human should look at next — are added with `followup`, which numbers them `F1`, `F2`, … and
42
42
  * rewrites `documents/<slug>_followups.md`: each follow-up in full, the document bt-spec reads when the dashboard's
43
43
  * `/bt-spec Fix F1 and F3 from @…_followups.md` command is run. A follow-up written as plain text is repaired into
44
- * one with an id by every write, and `check` rewrites the document.
44
+ * one with an id by every write, and `check` rewrites the document. A feature specced from follow-ups records them
45
+ * with `addresses` (bt-spec runs it); from then on every `status` write and `check` on that feature carries its
46
+ * progress back to the source follow-ups (specced → planned → in progress → done, or partly done).
47
+ * node dashboard.mjs addresses <feature-folder> --source <source-feature-folder> --ids F1,F3
45
48
  *
46
49
  * `check` is the gate at every phase boundary and at run end. Beyond the snapshots it fails, listing every problem in
47
50
  * one message, when a deliverable was skipped: a `documents/<slug>_plan.md` without `dashboard.html`, the dashboard
@@ -77,6 +80,12 @@ const FOLLOW_UP_ID = /^F(\d+)$/;
77
80
  const FOLLOW_UP_TEXT_WITH_ID = /^(F\d+)\s+[—–-]\s+([\s\S]*)$/;
78
81
  /** The longest title a follow-up repaired from plain text keeps; the whole text stays in its detail. */
79
82
  const MAXIMUM_FOLLOW_UP_TITLE = 100;
83
+ /** A source follow-up's state for each status of the feature that addresses it. */
84
+ const FOLLOW_UP_STATE_FOR_STATUS = { specified: 'specced', planned: 'planned', 'in-progress': 'in-progress', paused: 'in-progress', complete: 'done', incomplete: 'partial' };
85
+ /** How a follow-up's state reads in its update note and in the follow-ups document. */
86
+ const FOLLOW_UP_STATE_LABELS = { open: 'Open', specced: 'Specced', planned: 'Planned', 'in-progress': 'In progress', done: 'Done', partial: 'Partly done' };
87
+ /** How deep under `.agents/` a moved source feature is looked for (`archived/<group>/<slug>` is three). */
88
+ const MAXIMUM_FEATURE_SEARCH_DEPTH = 4;
80
89
  /** Image files a snapshot can show. */
81
90
  const SNAPSHOT_IMAGE_FILE = /\.(png|jpe?g|webp|gif|avif)$/i;
82
91
  /** The plan-wide "before" frame, saved before T1 of the first run. */
@@ -107,13 +116,28 @@ const SNAPSHOT_SHAPES_HELP = [
107
116
 
108
117
  const [command, featureFolder, ...rest] = process.argv.slice(2);
109
118
 
119
+ /**
120
+ * The feature's slug: the folder's name, as bt-spec creates it. A folder renamed after the fact keeps its files'
121
+ * original names, so when `documents/<folder name>_dashboard.js` is missing and the folder holds exactly one
122
+ * `documents/*_dashboard.js`, that file's prefix is the slug.
123
+ * @param {string} folder The feature folder.
124
+ * @returns {string}
125
+ */
126
+ function featureSlug(folder) {
127
+ const folderName = basename(folder.replace(/[\\/]+$/, ''));
128
+ const documentsFolder = join(folder, 'documents');
129
+ if (existsSync(join(documentsFolder, `${folderName}_dashboard.js`)) || !existsSync(documentsFolder)) return folderName;
130
+ const dataFiles = readdirSync(documentsFolder).filter((name) => name.endsWith('_dashboard.js'));
131
+ return dataFiles.length === 1 ? dataFiles[0].slice(0, -'_dashboard.js'.length) : folderName;
132
+ }
133
+
110
134
  /**
111
135
  * Reads the paths of a feature folder's two data files.
112
136
  * @param {string} folder The feature folder, `.agents/specs/<slug>`.
113
137
  * @returns {{ slug: string, dashboardPath: string, livePath: string }}
114
138
  */
115
139
  function dataPaths(folder) {
116
- const slug = basename(folder.replace(/[\\/]+$/, ''));
140
+ const slug = featureSlug(folder);
117
141
  return {
118
142
  slug,
119
143
  dashboardPath: join(folder, 'documents', `${slug}_dashboard.js`),
@@ -767,10 +791,194 @@ function repairFollowUps(dashboard) {
767
791
  * @returns {string}
768
792
  */
769
793
  function featureFolderFromRoot(folder) {
770
- const fromRoot = relative(process.cwd(), resolve(folder)).split('\\').join('/');
794
+ const fromRoot = relative(projectRootOf(folder), resolve(folder)).split('\\').join('/');
771
795
  return fromRoot.startsWith('.agents/') ? fromRoot : `.agents/specs/${dataPaths(folder).slug}`;
772
796
  }
773
797
 
798
+ /**
799
+ * The project root a feature folder sits in: everything before its `.agents/`, else the working directory.
800
+ * @param {string} folder The feature folder.
801
+ * @returns {string} An absolute path.
802
+ */
803
+ function projectRootOf(folder) {
804
+ const absolute = resolve(folder).split('\\').join('/');
805
+ const agentsAt = absolute.lastIndexOf('/.agents/');
806
+ return agentsAt >= 0 ? absolute.slice(0, agentsAt) : process.cwd();
807
+ }
808
+
809
+ /**
810
+ * Finds a feature folder from where it was recorded, or — when the user has moved it since (`specs/` → `complete/`
811
+ * → `archived/…`) — by its slug anywhere under the project's `.agents/`.
812
+ * @param {string} projectRoot The project root.
813
+ * @param {string} recordedFolder The folder as recorded, from the project root.
814
+ * @param {string} slug The feature's slug (its data file's prefix).
815
+ * @returns {string} The folder's absolute path, or `''` when it is gone.
816
+ */
817
+ function locateFeatureFolder(projectRoot, recordedFolder, slug) {
818
+ const holdsFeature = (candidate) => existsSync(join(candidate, 'documents', `${slug}_dashboard.js`));
819
+ const recorded = resolve(projectRoot, recordedFolder);
820
+ if (holdsFeature(recorded)) return recorded;
821
+ const search = (folder, depth) => {
822
+ if (depth > MAXIMUM_FEATURE_SEARCH_DEPTH) return '';
823
+ let entries;
824
+ try {
825
+ entries = readdirSync(folder, { withFileTypes: true });
826
+ } catch {
827
+ return '';
828
+ }
829
+ for (const entry of entries.filter((candidate) => candidate.isDirectory())) {
830
+ const child = join(folder, entry.name);
831
+ if (holdsFeature(child)) return child;
832
+ const found = search(child, depth + 1);
833
+ if (found) return found;
834
+ }
835
+ return '';
836
+ };
837
+ return search(join(projectRoot, '.agents'), 1);
838
+ }
839
+
840
+ /**
841
+ * Records that this feature addresses some of another feature's follow-ups — bt-spec runs it when a spec comes from
842
+ * `Fix F1 and F3 from @…_followups.md` — then marks them on the source dashboard (see `syncAddressedFollowUps`).
843
+ * The new feature's dashboard links the source follow-ups document.
844
+ * @param {string} folder This feature's folder.
845
+ * @param {string[]} argumentList `--source <source feature folder> --ids F1,F3`.
846
+ */
847
+ function writeAddresses(folder, argumentList) {
848
+ const { options } = parseOptions(argumentList);
849
+ const usage = 'usage: addresses <feature-folder> --source <source-feature-folder> --ids F1,F3';
850
+ if (typeof options.source !== 'string' || typeof options.ids !== 'string') throw new Error(usage);
851
+ const ids = options.ids.split(/[\s,]+/).filter(Boolean);
852
+ const sourceFolder = resolve(options.source.replace(/^@/, ''));
853
+ const source = dataPaths(sourceFolder);
854
+ if (!existsSync(source.dashboardPath)) throw new Error(`no feature dashboard in ${options.source} — expected ${source.dashboardPath}`);
855
+ const sourceData = readData(source.dashboardPath).data;
856
+ repairFollowUps(sourceData);
857
+ const sourceIds = (sourceData.followUps || []).map((followUp) => followUp.id);
858
+ const unknown = ids.filter((id) => !sourceIds.includes(id));
859
+ if (!ids.length || unknown.length) throw new Error(`${options.source} has no follow-up ${unknown.join(', ') || '(none given)'} — it has ${sourceIds.filter(Boolean).join(', ') || 'none'}`);
860
+ const { dashboardPath } = dataPaths(folder);
861
+ const { prefix, data } = readData(dashboardPath);
862
+ data.feature = data.feature && typeof data.feature === 'object' ? data.feature : {};
863
+ const entry = { folder: featureFolderFromRoot(sourceFolder), slug: source.slug, ids };
864
+ const others = (Array.isArray(data.feature.addresses) ? data.feature.addresses : []).filter((existing) => existing.slug !== source.slug);
865
+ data.feature.addresses = [...others, entry];
866
+ const followUpsPath = relative(resolve(folder), join(sourceFolder, 'documents', `${source.slug}_followups.md`)).split('\\').join('/');
867
+ data.documents = Array.isArray(data.documents) ? data.documents : [];
868
+ if (!data.documents.some((document) => document && document.path === followUpsPath)) data.documents.push({ label: 'Source follow-ups', path: followUpsPath });
869
+ data.updatedAt = localTime().stamp;
870
+ syncAddressedFollowUps(folder, data);
871
+ writeData(dashboardPath, prefix, data);
872
+ console.log(`${dataPaths(folder).slug} addresses ${joinFollowUpIds(ids)} of ${entry.folder} — marked there as ${FOLLOW_UP_STATE_LABELS[FOLLOW_UP_STATE_FOR_STATUS[data.status]] || 'Specced'}`);
873
+ }
874
+
875
+ /**
876
+ * The follow-ups this feature's own plan or spec says it takes on, for a feature that was never linked with
877
+ * `addresses` (an agent skipped the call): the first paragraph that cites another feature's `…_followups.md`, and the
878
+ * `F<n>` ids in that paragraph which the source really has.
879
+ * @param {string} folder This feature's folder.
880
+ * @returns {{ folder: string, slug: string, ids: string[] } | null}
881
+ */
882
+ function citedFollowUps(folder) {
883
+ const { slug } = dataPaths(folder);
884
+ const projectRoot = projectRootOf(folder);
885
+ for (const kind of ['plan', 'spec']) {
886
+ const path = join(folder, 'documents', `${slug}_${kind}.md`);
887
+ if (!existsSync(path)) continue;
888
+ for (const paragraph of readFileSync(path, 'utf8').split(/\n\s*\n/)) {
889
+ const citation = /(\.agents\/[^\s`)'"]+)\/documents\/([a-z0-9-]+)_followups\.md/.exec(paragraph);
890
+ if (!citation || citation[2] === slug) continue;
891
+ const sourceFolder = locateFeatureFolder(projectRoot, citation[1], citation[2]);
892
+ if (!sourceFolder) continue;
893
+ const source = readData(dataPaths(sourceFolder).dashboardPath).data;
894
+ repairFollowUps(source);
895
+ const sourceIds = (source.followUps || []).map((followUp) => followUp.id);
896
+ const ids = [...new Set(paragraph.match(/\bF\d+\b/g) || [])].filter((id) => sourceIds.includes(id));
897
+ if (ids.length) return { folder: featureFolderFromRoot(sourceFolder), slug: citation[2], ids };
898
+ }
899
+ }
900
+ return null;
901
+ }
902
+
903
+ /**
904
+ * Links a feature to the follow-ups its plan or spec cites, when nothing linked it yet (see `citedFollowUps`), and
905
+ * adds the Source follow-ups document link.
906
+ * @param {string} folder This feature's folder.
907
+ * @param {any} dashboard This feature's dashboard data.
908
+ * @returns {boolean} Whether a link was made.
909
+ */
910
+ function linkCitedFollowUps(folder, dashboard) {
911
+ dashboard.feature = dashboard.feature && typeof dashboard.feature === 'object' ? dashboard.feature : {};
912
+ if (Array.isArray(dashboard.feature.addresses) && dashboard.feature.addresses.length) return false;
913
+ const cited = citedFollowUps(folder);
914
+ if (!cited) return false;
915
+ dashboard.feature.addresses = [cited];
916
+ const followUpsPath = relative(resolve(folder), join(resolve(projectRootOf(folder), cited.folder), 'documents', `${cited.slug}_followups.md`)).split('\\').join('/');
917
+ dashboard.documents = Array.isArray(dashboard.documents) ? dashboard.documents : [];
918
+ if (!dashboard.documents.some((document) => document && document.path === followUpsPath)) dashboard.documents.push({ label: 'Source follow-ups', path: followUpsPath });
919
+ console.log(`linked from the plan: ${dataPaths(folder).slug} takes on ${joinFollowUpIds(cited.ids)} of ${cited.folder}`);
920
+ return true;
921
+ }
922
+
923
+ /**
924
+ * Carries this feature's progress to the follow-ups it addresses: each source follow-up's `status` follows this
925
+ * feature's (specified → specced, planned, in progress, complete → done, incomplete → partly done) and `addressedBy`
926
+ * names this feature and when the state last changed (`at`), and the source's follow-ups document is rewritten. A
927
+ * source the user has moved is found again by its slug. Runs on every `status` write and every `check`.
928
+ * @param {string} folder This feature's folder.
929
+ * @param {any} dashboard This feature's dashboard data; a moved source's new folder is recorded in it.
930
+ * @returns {boolean} Whether this feature's data changed (a source found in a new place).
931
+ */
932
+ function syncAddressedFollowUps(folder, dashboard) {
933
+ const entries = dashboard.feature && Array.isArray(dashboard.feature.addresses) ? dashboard.feature.addresses : [];
934
+ const state = FOLLOW_UP_STATE_FOR_STATUS[dashboard.status] || 'specced';
935
+ const projectRoot = projectRootOf(folder);
936
+ const addressedBy = { folder: featureFolderFromRoot(folder), slug: dataPaths(folder).slug, title: (dashboard.feature && dashboard.feature.title) || dataPaths(folder).slug };
937
+ let changed = false;
938
+ for (const entry of entries) {
939
+ const sourceFolder = locateFeatureFolder(projectRoot, entry.folder || '', entry.slug || '');
940
+ if (!sourceFolder) {
941
+ console.log(`note: the follow-ups' source ${entry.folder} is gone — its follow-ups were not updated`);
942
+ continue;
943
+ }
944
+ const sourceFromRoot = featureFolderFromRoot(sourceFolder);
945
+ if (sourceFromRoot !== entry.folder) {
946
+ entry.folder = sourceFromRoot;
947
+ changed = true;
948
+ }
949
+ const { dashboardPath, slug } = dataPaths(sourceFolder);
950
+ const { prefix, data: source } = readData(dashboardPath);
951
+ repairFollowUps(source);
952
+ const now = localTime();
953
+ let sourceChanged = false;
954
+ for (const followUp of (source.followUps || []).filter((candidate) => entry.ids.includes(candidate.id))) {
955
+ const previous = followUp.addressedBy;
956
+ const sameAddress = previous && previous.slug === addressedBy.slug && previous.folder === addressedBy.folder;
957
+ if (followUp.status === state && sameAddress) continue;
958
+ // The state is progress on the follow-up, not a revision of it: it is dated here, not added to `updates`.
959
+ const since = followUp.status === state && previous && previous.at ? previous.at : now.stamp;
960
+ followUp.status = state;
961
+ followUp.addressedBy = { ...addressedBy, at: since };
962
+ sourceChanged = true;
963
+ }
964
+ if (!sourceChanged) continue;
965
+ source.updatedAt = now.stamp;
966
+ writeData(dashboardPath, prefix, source);
967
+ writeFollowUpsDocument(sourceFolder, source);
968
+ console.log(`${slug}: ${joinFollowUpIds(entry.ids)} now ${FOLLOW_UP_STATE_LABELS[state].toLowerCase()}`);
969
+ }
970
+ return changed;
971
+ }
972
+
973
+ /**
974
+ * Whether a follow-up still waits for someone to address it: never specced, or addressed only in part.
975
+ * @param {any} followUp The follow-up.
976
+ * @returns {boolean}
977
+ */
978
+ function isOpenFollowUp(followUp) {
979
+ return !followUp.status || followUp.status === 'open' || followUp.status === 'partial';
980
+ }
981
+
774
982
  /**
775
983
  * Joins follow-up ids the way the bt-spec commands read: `F1`, `F1 and F2`, `F1, F2 and F3`.
776
984
  * @param {string[]} ids The ids.
@@ -792,19 +1000,23 @@ function followUpsDocument(folder, dashboard) {
792
1000
  const { slug } = dataPaths(folder);
793
1001
  const featureTitle = (dashboard.feature && dashboard.feature.title) || slug;
794
1002
  const source = `@${featureFolderFromRoot(folder)}/documents/${slug}_followups.md`;
795
- const ids = dashboard.followUps.map((followUp) => followUp.id);
1003
+ const ids = dashboard.followUps.filter(isOpenFollowUp).map((followUp) => followUp.id);
796
1004
  const documents = (Array.isArray(dashboard.documents) ? dashboard.documents : [])
797
1005
  .filter((document) => document && document.path && !/follow/i.test(document.label || ''))
798
1006
  .map((document) => `${String(document.label).toLowerCase()} \`${document.path}\``);
799
1007
  const lines = [
800
1008
  `# Follow-ups — ${featureTitle}`,
801
1009
  '',
802
- `What the bt-execute runs of **${featureTitle}** left for a human to look at next. Spec any of them on its own, or several together, with bt-spec:`,
803
- '',
804
- '```',
805
- `/bt-spec Fix ${ids[0]} from ${source}`,
806
- ...(ids.length > 1 ? [`/bt-spec Fix ${joinFollowUpIds(ids)} from ${source}`] : []),
807
- '```',
1010
+ ...(ids.length
1011
+ ? [
1012
+ `What the bt-execute runs of **${featureTitle}** left for a human to look at next. Spec any open one on its own, or several together, with bt-spec:`,
1013
+ '',
1014
+ '```',
1015
+ `/bt-spec Fix ${ids[0]} from ${source}`,
1016
+ ...(ids.length > 1 ? [`/bt-spec Fix ${joinFollowUpIds(ids)} from ${source}`] : []),
1017
+ '```',
1018
+ ]
1019
+ : [`What the bt-execute runs of **${featureTitle}** left for a human to look at next. Every one is already being addressed by a later feature (its **Status** line says which).`]),
808
1020
  '',
809
1021
  `Where they came from: this feature's ${documents.length ? documents.join(', ') : 'plan and run log'} (paths relative to \`${featureFolderFromRoot(folder)}/\`).`,
810
1022
  '',
@@ -812,11 +1024,13 @@ function followUpsDocument(folder, dashboard) {
812
1024
  ];
813
1025
  for (const followUp of dashboard.followUps) {
814
1026
  const raised = [followUp.at, followUp.source].filter(Boolean).join(' · ');
1027
+ const address = followUp.addressedBy;
815
1028
  lines.push('', `## ${followUp.id} — ${followUp.title || 'Untitled follow-up'}`, '');
1029
+ if (address) lines.push(`- **Status:** ${FOLLOW_UP_STATE_LABELS[followUp.status] || 'Open'} — addressed by ${address.title} (\`${address.folder}\`)`);
816
1030
  if (raised) lines.push(`- **Raised:** ${raised}`);
817
1031
  if (followUp.files.length) lines.push(`- **Files:** ${followUp.files.map((file) => `\`${file}\``).join(', ')}`);
818
1032
  for (const update of followUp.updates) lines.push(`- **Revised ${update.at || ''}${update.by ? ` by ${update.by}` : ''}:** ${update.note || ''}`);
819
- if (raised || followUp.files.length || followUp.updates.length) lines.push('');
1033
+ if (address || raised || followUp.files.length || followUp.updates.length) lines.push('');
820
1034
  lines.push(followUp.detail || followUp.title || '');
821
1035
  }
822
1036
  return `${lines.join('\n')}\n`;
@@ -989,6 +1203,8 @@ function writeStatus(folder, argumentList) {
989
1203
  const { prefix, data } = readData(dashboardPath);
990
1204
  data.status = status;
991
1205
  data.updatedAt = localTime().stamp;
1206
+ linkCitedFollowUps(folder, data);
1207
+ syncAddressedFollowUps(folder, data);
992
1208
  writeData(dashboardPath, prefix, data);
993
1209
  if (status !== 'planned') writeLiveForRun(folder, status);
994
1210
  }
@@ -1165,7 +1381,9 @@ function checkData(folder) {
1165
1381
  const followUpRepairs = repairFollowUps(data);
1166
1382
  const hasFollowUps = Array.isArray(data.followUps) && data.followUps.length > 0;
1167
1383
  const linkedFollowUps = hasFollowUps && linkFollowUpsDocument(folder, data);
1168
- if (repairs.length || decisionRepairs.length || followUpRepairs.length || linkedFollowUps) writeData(dashboardPath, prefix, data);
1384
+ const linkedFromPlan = linkCitedFollowUps(folder, data);
1385
+ const sourceMoved = syncAddressedFollowUps(folder, data);
1386
+ if (repairs.length || decisionRepairs.length || followUpRepairs.length || linkedFollowUps || linkedFromPlan || sourceMoved) writeData(dashboardPath, prefix, data);
1169
1387
  if (hasFollowUps) writeFollowUpsDocument(folder, data);
1170
1388
  if (repairs.length) {
1171
1389
  console.log(`repaired ${repairs.length} snapshot entr${repairs.length === 1 ? 'y' : 'ies'} the page could not show:\n ${repairs.join('\n ')}`);
@@ -1356,10 +1574,10 @@ function checkLive(dashboard, livePath, roots, projectRoot, quietMinutes, stallM
1356
1574
  console.log(`watchdog ${clock}: ${activity}`);
1357
1575
  }
1358
1576
 
1359
- const commands = { live: writeLive, task: writeTask, snapshot: writeSnapshot, followup: writeFollowUp, activity: writeActivity, status: writeStatus, check: checkData, watch };
1577
+ const commands = { live: writeLive, task: writeTask, snapshot: writeSnapshot, followup: writeFollowUp, addresses: writeAddresses, activity: writeActivity, status: writeStatus, check: checkData, watch };
1360
1578
 
1361
1579
  if (!commands[command] || !featureFolder) {
1362
- console.error('usage: node dashboard.mjs <live|task|snapshot|followup|activity|status|check|watch> <feature-folder> [options] — see the header of this file');
1580
+ console.error('usage: node dashboard.mjs <live|task|snapshot|followup|addresses|activity|status|check|watch> <feature-folder> [options] — see the header of this file');
1363
1581
  process.exit(2);
1364
1582
  }
1365
1583
  try {
@@ -190,7 +190,7 @@
190
190
  .status-done, .status-complete { color: var(--done); background: var(--done-soft); }
191
191
  .status-in-progress { color: var(--active); background: var(--active-soft); }
192
192
  .status-in-progress::before { animation: pulse 1.6s ease-in-out infinite; }
193
- .status-pending, .status-specified, .status-planned, .status-paused { color: var(--pending); background: var(--pending-soft); }
193
+ .status-pending, .status-specified, .status-specced, .status-planned, .status-paused { color: var(--pending); background: var(--pending-soft); }
194
194
  .status-deferred, .status-partial, .status-incomplete { color: var(--deferred); background: var(--deferred-soft); }
195
195
  .status-failed { color: var(--failed); background: var(--failed-soft); }
196
196
  .status-built, .status-verifying { color: var(--accent); background: var(--accent-soft); }
@@ -765,6 +765,22 @@
765
765
  .follow-up-bar { display: grid; gap: 10px; padding: 16px 22px 18px; border-top: 1px solid var(--line); }
766
766
  .follow-up-bar-head { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: baseline; justify-content: space-between; }
767
767
  .follow-up-bar .copy-command:disabled { opacity: 0.45; cursor: default; }
768
+ /* The switch between bt-spec and Quick Plan commands, at the top of the follow ups. */
769
+ .follow-up-tool { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; justify-content: space-between; padding: 10px 22px 12px; border-bottom: 1px solid var(--line); }
770
+ .follow-up-tool-choices { display: inline-flex; border: 1px solid var(--line-strong); border-radius: 999px; padding: 2px; }
771
+ .follow-up-tool-choice { padding: 5px 12px; border: 0; border-radius: 999px; background: transparent; color: var(--text-muted); font: 600 11.5px/1 var(--font-mono); cursor: pointer; }
772
+ .follow-up-tool-choice span { color: var(--text-faint); font-weight: 500; }
773
+ .follow-up-tool-choice.is-on { background: var(--accent-soft); color: var(--accent); }
774
+ .follow-up-tool-choice.is-on span { color: var(--accent); }
775
+ .follow-up-tool + .row { border-top: 0; }
776
+ /* The title on the left, its state and Updated badges flush right — the task rows' layout. */
777
+ .follow-up-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 6px 14px; }
778
+ .follow-up-head > strong { flex: 1 1 auto; min-width: 0; }
779
+ .follow-up-head .task-tags { flex: none; margin-left: auto; }
780
+ /* The link to the later feature that takes the follow-up on. */
781
+ .follow-up-address { margin-top: 8px; font-size: 13px; color: var(--text-muted); }
782
+ .follow-up-address a { color: var(--accent); }
783
+ .row.follow-up.is-addressed .follow-up-detail { color: var(--text-faint); }
768
784
  .timeline { position: relative; margin: 0; padding: 4px 0 4px 26px; list-style: none; }
769
785
  .timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
770
786
  .timeline li { position: relative; padding: 8px 0; }
@@ -831,6 +847,8 @@
831
847
  .row { grid-template-columns: 1fr; gap: 4px; padding: 12px 16px; }
832
848
  .row.follow-up { grid-template-columns: 22px minmax(0, 1fr); gap: 4px 10px; }
833
849
  .row.follow-up > div:last-child { grid-column: 2; }
850
+ .follow-up-head { flex-wrap: wrap; }
851
+ .follow-up-head .task-tags { margin-left: 0; }
834
852
  .follow-up-bar { padding: 14px 16px 16px; }
835
853
  .after-action { padding: 18px; }
836
854
  .after-action-columns { grid-template-columns: 1fr; }
@@ -887,9 +905,18 @@
887
905
  ];
888
906
  const planChoice = { heavy: false, parity: false, noTimeLimit: false, brief: '' };
889
907
  // The follow-ups ticked to spec together, kept when the page refreshes; one the page has not shown before arrives ticked.
890
- const followUpChoice = { selected: new Set(), seen: new Set() };
908
+ /** The two ways to take on follow-ups: spec them first, or a Quick Plan straight from them. */
909
+ const FOLLOW_UP_TOOLS = {
910
+ spec: { skill: 'bt-spec', label: 'Full Spec', hint: 'bt-spec writes a spec; plan it with bt-plan after' },
911
+ plan: { skill: 'bt-plan', label: 'Quick Plan', hint: 'bt-plan plans them straight away, with a short interview' },
912
+ };
913
+ /** Where the follow-up command switch is remembered in this browser (a convenience; the page works without it). */
914
+ const FOLLOW_UP_TOOL_STORAGE_KEY = 'bt-dashboard-follow-up-tool';
915
+ const followUpChoice = { selected: new Set(), seen: new Set(), tool: readFollowUpTool() };
891
916
  /** The longest title a follow-up written as plain text shows; the whole text stays below it — the helper's rule. */
892
917
  const MAXIMUM_FOLLOW_UP_TITLE = 100;
918
+ /** How each follow-up state reads, once a later feature addresses it (the helper keeps the state in step). */
919
+ const FOLLOW_UP_STATE_LABELS = { open: 'Open', specced: 'Specced', planned: 'Planned', 'in-progress': 'In progress', done: 'Done', partial: 'Partly done' };
893
920
  // A verifier result that names a live check: "live two-tab race in headless Chrome", "end-to-end on WebGPU".
894
921
  const LIVE_CHECK_WORDS = /\blive\b|chrome|browser|webgl|webgpu|unity editor|play ?mode/i;
895
922
  /** Where the Babylon Toolkit Desktop Agent, whose skills generate this dashboard, is published. */
@@ -1642,49 +1669,96 @@
1642
1669
  .filter((task) => task.status === 'deferred' || task.status === 'failed')
1643
1670
  .map((task) => `<div class="row"><div class="row-key">${escapeHtml(task.id || '')}</div><div><strong>${escapeHtml(task.title || '')}</strong>${task.deferredReason ? `<div class="row-source">${formatInline(task.deferredReason)}</div>` : ''}</div></div>`);
1644
1671
  const followUps = report.followUps || [];
1645
- const ids = followUps.map((followUp) => followUp.id);
1646
- for (const id of ids.filter((candidate) => !followUpChoice.seen.has(candidate))) {
1647
- followUpChoice.seen.add(id);
1648
- followUpChoice.selected.add(id);
1672
+ const openIds = followUps.filter(isOpenFollowUp).map((followUp) => followUp.id);
1673
+ for (const followUp of followUps.filter((candidate) => !followUpChoice.seen.has(candidate.id))) {
1674
+ followUpChoice.seen.add(followUp.id);
1675
+ if (isOpenFollowUp(followUp)) followUpChoice.selected.add(followUp.id);
1649
1676
  }
1650
1677
  const followUpRows = followUps.map((followUp) => {
1678
+ const isOpen = isOpenFollowUp(followUp);
1651
1679
  const raised = [followUp.source, followUp.at].filter(Boolean).join(' · ');
1652
1680
  const files = followUp.files.length ? `Files: ${followUp.files.map((file) => `\`${file}\``).join(', ')}` : '';
1653
1681
  const where = [raised && `Raised by ${raised}`, files].filter(Boolean).join(' — ');
1682
+ const pick = isOpen
1683
+ ? `<label class="follow-up-pick"><input type="checkbox" data-follow-up="${escapeAttribute(followUp.id)}"${followUpChoice.selected.has(followUp.id) ? ' checked' : ''} aria-label="Spec ${escapeAttribute(followUp.id)} together with the others ticked"></label>`
1684
+ : '<span class="follow-up-pick" aria-hidden="true"></span>';
1685
+ const badges = `${followUpStateBadge(followUp)}${updatedBadge(followUp.updates)}`;
1654
1686
  return `
1655
- <div class="row follow-up">
1656
- <label class="follow-up-pick"><input type="checkbox" data-follow-up="${escapeAttribute(followUp.id)}"${followUpChoice.selected.has(followUp.id) ? ' checked' : ''} aria-label="Spec ${escapeAttribute(followUp.id)} together with the others ticked"></label>
1687
+ <div class="row follow-up${isOpen ? '' : ' is-addressed'}">
1688
+ ${pick}
1657
1689
  <div class="row-key">${escapeHtml(followUp.id)}</div>
1658
1690
  <div>
1659
- <strong>${formatInline(followUp.title || '')}</strong> ${updatedBadge(followUp.updates)}
1691
+ <div class="follow-up-head"><strong>${formatInline(followUp.title || '')}</strong>${badges ? `<span class="task-tags">${badges}</span>` : ''}</div>
1660
1692
  ${followUp.detail ? `<div class="follow-up-detail">${formatInline(followUp.detail)}</div>` : ''}
1661
1693
  ${where ? `<div class="row-source">${formatInline(where)}</div>` : ''}
1694
+ ${followUpAddress(followUp)}
1662
1695
  ${updateNotes(followUp.updates)}
1663
- ${copyableCommand(followUpSpecCommand([followUp.id]))}
1696
+ ${isOpen ? copyableCommand(followUpCommand([followUp.id])) : ''}
1664
1697
  </div>
1665
1698
  </div>`;
1666
1699
  });
1667
- const together = ids.length > 1 ? `
1700
+ const together = openIds.length > 1 ? `
1668
1701
  <div class="follow-up-bar">
1669
- <div class="follow-up-bar-head"><span class="run-builder-title">Spec the ticked follow ups together</span><button type="button" class="copy-command" data-copy="${escapeAttribute(followUpSpecCommand(ids))}" data-label="Copy all ${ids.length}" title="${escapeAttribute(followUpSpecCommand(ids))}">Copy all ${ids.length}</button></div>
1702
+ <div class="follow-up-bar-head"><span class="run-builder-title">Take on the ticked follow ups together</span><button type="button" class="copy-command" data-copy="${escapeAttribute(followUpCommand(openIds))}" data-label="Copy all ${openIds.length} open" title="${escapeAttribute(followUpCommand(openIds))}">Copy all ${openIds.length} open</button></div>
1670
1703
  ${selectedFollowUpsCommand()}
1671
1704
  </div>` : '';
1672
1705
  const rows = deferredRows.concat(followUpRows).join('');
1673
- const note = followUps.length ? 'What a human should look at next — copy a command to spec any of them with bt-spec' : 'What a human should look at next';
1706
+ const addressedCount = followUps.length - openIds.length;
1707
+ const counts = addressedCount ? ` · ${openIds.length} open, ${addressedCount} taken on by a later feature` : '';
1708
+ const note = followUps.length ? `What a human should look at next — copy a command to spec or Quick Plan any open one${counts}` : 'What a human should look at next';
1709
+ const toolSwitch = openIds.length ? followUpToolSwitch() : '';
1674
1710
  return `
1675
1711
  <section id="follow-ups">
1676
1712
  <div class="section-head"><h2>Follow ups</h2><span class="section-note">${note}</span></div>
1677
- ${rows ? `<div class="card list-card">${rows}${together}</div>` : '<div class="empty">Nothing deferred, nothing outstanding.</div>'}
1713
+ ${rows ? `<div class="card list-card">${toolSwitch}${rows}${together}</div>` : '<div class="empty">Nothing deferred, nothing outstanding.</div>'}
1678
1714
  </section>`;
1679
1715
  }
1680
1716
 
1717
+ /** The follow-up command switch this browser last used, else bt-spec; storage can be missing or blocked. */
1718
+ function readFollowUpTool() {
1719
+ try {
1720
+ const stored = window.localStorage.getItem(FOLLOW_UP_TOOL_STORAGE_KEY);
1721
+ return stored === 'plan' ? 'plan' : 'spec';
1722
+ } catch (error) {
1723
+ return 'spec';
1724
+ }
1725
+ }
1726
+
1727
+ /** The switch between bt-spec and Quick Plan commands, shown while any follow-up is open. */
1728
+ function followUpToolSwitch() {
1729
+ const buttons = Object.entries(FOLLOW_UP_TOOLS).map(([key, tool]) => `<button type="button" class="follow-up-tool-choice${followUpChoice.tool === key ? ' is-on' : ''}" data-follow-up-tool="${key}" title="${escapeAttribute(tool.hint)}" aria-pressed="${followUpChoice.tool === key}">${escapeHtml(tool.label)} <span>/${escapeHtml(tool.skill)}</span></button>`).join('');
1730
+ return `<div class="follow-up-tool"><span class="run-builder-title">Take them on with</span><div class="follow-up-tool-choices" role="group" aria-label="Command for the follow ups">${buttons}</div></div>`;
1731
+ }
1732
+
1733
+ /** Whether a follow-up still waits for someone to address it: never specced, or addressed only in part. */
1734
+ function isOpenFollowUp(followUp) {
1735
+ return !followUp.status || followUp.status === 'open' || followUp.status === 'partial';
1736
+ }
1737
+
1738
+ /** The follow-up's state as a badge, once a later feature has taken it on; nothing while it is open. */
1739
+ function followUpStateBadge(followUp) {
1740
+ const state = followUp.status || 'open';
1741
+ if (state === 'open') return '';
1742
+ return `<span class="status status-${escapeAttribute(state)}">${escapeHtml(FOLLOW_UP_STATE_LABELS[state] || state)}</span>`;
1743
+ }
1744
+
1745
+ /** "Addressed by <feature>", linked to that feature's dashboard from this page's own folder. */
1746
+ function followUpAddress(followUp) {
1747
+ const address = followUp.addressedBy;
1748
+ if (!address || !address.folder) return '';
1749
+ const depth = featureFolderPath().split('/').filter(Boolean).length;
1750
+ const href = `${'../'.repeat(depth)}${address.folder}/dashboard.html`;
1751
+ const since = address.at ? ` · ${escapeHtml((FOLLOW_UP_STATE_LABELS[followUp.status] || '').toLowerCase())} since ${escapeHtml(address.at)}` : '';
1752
+ return `<div class="follow-up-address">Addressed by <a href="${safeUrl(href)}">${escapeHtml(address.title || address.slug || address.folder)}</a>${since} <span class="row-source">(${escapeHtml(address.folder)})</span></div>`;
1753
+ }
1754
+
1681
1755
  /** The command for the ticked follow-ups, or a disabled hint when none is ticked; redrawn as the boxes change. */
1682
1756
  function selectedFollowUpsCommand() {
1683
- const ids = (report.followUps || []).map((followUp) => followUp.id).filter((id) => followUpChoice.selected.has(id));
1757
+ const ids = (report.followUps || []).filter(isOpenFollowUp).map((followUp) => followUp.id).filter((id) => followUpChoice.selected.has(id));
1684
1758
  if (!ids.length) {
1685
1759
  return '<div class="run-copy" id="selected-follow-ups"><code class="run-command">Tick the follow ups to spec together</code><button type="button" class="copy-command" disabled>Copy</button></div>';
1686
1760
  }
1687
- return `<div id="selected-follow-ups">${copyableCommand(followUpSpecCommand(ids))}</div>`;
1761
+ return `<div id="selected-follow-ups">${copyableCommand(followUpCommand(ids))}</div>`;
1688
1762
  }
1689
1763
 
1690
1764
  function renderUpdateLog(allUpdates) {
@@ -2099,10 +2173,14 @@
2099
2173
  return `@${featureFolderPath()}/${relativePath}`;
2100
2174
  }
2101
2175
 
2102
- /** The bt-spec command for some follow-ups, worded like bt-profile's: `/bt-spec Fix F1, F2 and F4 from @…`. */
2103
- function followUpSpecCommand(ids) {
2176
+ /**
2177
+ * The command that takes on some follow-ups, worded like bt-profile's — bt-spec to spec them first, or bt-plan for a
2178
+ * Quick Plan, as the section's switch says: `/bt-spec Fix F1, F2 and F4 from @…`.
2179
+ */
2180
+ function followUpCommand(ids) {
2104
2181
  const joined = ids.length <= 1 ? ids.join('') : `${ids.slice(0, -1).join(', ')} and ${ids[ids.length - 1]}`;
2105
- return `/bt-spec Fix ${joined} from ${followUpsReference()}`;
2182
+ const skill = FOLLOW_UP_TOOLS[followUpChoice.tool].skill;
2183
+ return `/${skill} Fix ${joined} from ${followUpsReference()}`;
2106
2184
  }
2107
2185
 
2108
2186
  function copyableCommand(command, id = '', label = 'Copy') {
@@ -2124,6 +2202,14 @@
2124
2202
  if (navigator.clipboard && navigator.clipboard.writeText) navigator.clipboard.writeText(text).then(copied, () => { copyWithSelection(text); copied(); });
2125
2203
  else { copyWithSelection(text); copied(); }
2126
2204
  });
2205
+ document.addEventListener('click', (event) => {
2206
+ const choice = event.target.closest('[data-follow-up-tool]');
2207
+ if (!choice) return;
2208
+ followUpChoice.tool = choice.getAttribute('data-follow-up-tool') === 'plan' ? 'plan' : 'spec';
2209
+ try { window.localStorage.setItem(FOLLOW_UP_TOOL_STORAGE_KEY, followUpChoice.tool); } catch (error) { /* remembered for this visit only */ }
2210
+ const section = document.getElementById('follow-ups');
2211
+ if (section) section.outerHTML = renderFollowUps(collectTasks());
2212
+ });
2127
2213
  document.addEventListener('change', (event) => {
2128
2214
  const box = event.target.closest('[data-follow-up]');
2129
2215
  if (!box) return;
@@ -97,7 +97,7 @@ Top level:
97
97
  | Field | Meaning |
98
98
  |---|---|
99
99
  | `schema` | `1` |
100
- | `feature` | `{ "title", "slug", "branch", "origin": "spec" \| "quick-plan", "size", "proof", "summary" }` — `branch` is the branch that was checked out when the feature was specced (skills never create one); `summary` is one plain-language paragraph |
100
+ | `feature` | `{ "title", "slug", "branch", "origin": "spec" \| "quick-plan", "size", "proof", "summary" }` — `branch` is the branch that was checked out when the feature was specced (skills never create one); `summary` is one plain-language paragraph. A feature specced from another feature's follow-ups also has `addresses: [{ "folder", "slug", "ids": ["F1", "F3"] }]`, written by `dashboard.mjs addresses` (bt-spec runs it); every `status` write and `check` on this feature then updates those follow-ups on the source dashboard, finding a source the user has moved by its slug |
101
101
  | `documents` | `[{ "label", "path" }]` — Spec (omitted for a Quick Plan), Plan, and Run log once bt-execute has run |
102
102
  | `status` | see *Status* |
103
103
  | `detail` | `"normal"`, or `"verbose"` once any run used `bt-execute --verbose` (never set back) |
@@ -108,7 +108,7 @@ Top level:
108
108
  | `afterAction` | the After Action Report (below) |
109
109
  | `phases` | the plan's phases, each with its tasks (below) |
110
110
  | `decisions` | `[{ "id": "D1" \| "T7", "text", "source", "updates" }]` — objects, never plain `"D1 — …"` strings (the page and `check` repair one, but it is a slip) |
111
- | `followUps` | what a human should look at next: `[{ "id": "F1", "title", "detail", "source", "files": [], "at", "updates": [] }]`, added with `dashboard.mjs followup` (it numbers them and writes `documents/<slug>_followups.md`; `--id F2 … --note` revises one). `title` is one line; `detail` carries enough to spec it alone — what is wrong, the evidence, where to look, what fixing it involves; `source` names who raised it (`T2 verifier`). The page gives each a `/bt-spec Fix F1 from @…_followups.md` command, plus one for those ticked together. A plain string (older dashboards) is repaired into an entry with the next free id |
111
+ | `followUps` | what a human should look at next: `[{ "id": "F1", "title", "detail", "source", "files": [], "at", "updates": [] }]`, added with `dashboard.mjs followup` (it numbers them and writes `documents/<slug>_followups.md`; `--id F2 … --note` revises one). `title` is one line; `detail` carries enough to spec it alone — what is wrong, the evidence, where to look, what fixing it involves; `source` names who raised it (`T2 verifier`). The page gives each a `/bt-spec Fix F1 from @…_followups.md` command, plus one for those ticked together. A plain string (older dashboards) is repaired into an entry with the next free id. Once a later feature takes one on, the helper adds `status` (`specced` · `planned` · `in-progress` · `done` · `partial`; no status means open) and `addressedBy: { "folder", "slug", "title", "at" }` (`at`: when the state last changed — progress, not a revision, so no `updates` note); the page then shows a state badge and a link to that feature instead of the spec command (`partial` is open again) |
112
112
  | `activity` | `[{ "at", "text" }]`, oldest first — the milestones (the page shows newest first) |
113
113
 
114
114
  `afterAction` — empty while planned; written by bt-execute at the end of every run:
@@ -66,7 +66,7 @@ Then resolve every unfilled slot by exactly one of two paths:
66
66
 
67
67
  ## Step 2 — Write the hero brief (the save file)
68
68
 
69
- Write the resolved slots to `.agents/specs/<feature-name>/documents/<feature-name>_hero-brief.md` — the feature's folder (create it if needed, after you make sure the default `.agents` folders exist — `.agents/specs/`, `.agents/complete/`, `.agents/archived/`, `.agents/profile/` and `.agents/recon/`, each with an empty `.gitkeep` (write only the ones missing; never touch what a folder holds); inside a bt-spec run it is the spec's own folder). The brief is the **record**, not a gate: the user never has to touch it, but `/bt-hero @<brief-file>` later must rebuild the same hero with zero questions — that is what makes a hero repeatable, shareable, and tweakable (edit a line, re-run). Record **only Tier 3 answers and explicit Tier 2 overrides** — never Tier 1 mechanics; the brief describes the film, not the engine.
69
+ Write the resolved slots to `.agents/specs/<feature-name>/documents/<feature-name>_hero-brief.md` — the feature's folder (create it if needed, after you make sure the default `.agents` folders exist — `.agents/specs/`, `.agents/complete/`, `.agents/archived/`, `.agents/followup/`, `.agents/profile/` and `.agents/recon/`, each with an empty `.gitkeep` (write only the ones missing; never touch what a folder holds); inside a bt-spec run it is the spec's own folder). The brief is the **record**, not a gate: the user never has to touch it, but `/bt-hero @<brief-file>` later must rebuild the same hero with zero questions — that is what makes a hero repeatable, shareable, and tweakable (edit a line, re-run). Record **only Tier 3 answers and explicit Tier 2 overrides** — never Tier 1 mechanics; the brief describes the film, not the engine.
70
70
 
71
71
  ```markdown
72
72
  ---
@@ -11,6 +11,7 @@ Turn a feature spec into `.agents/specs/<slug>/documents/<slug>_plan.md`: an ord
11
11
 
12
12
  /bt-plan @.agents/specs/mute-game-audio/documents/mute-game-audio_spec.md
13
13
  /bt-plan "add a settings toggle to mute all game audio" # no spec file → Quick Plan: short interview, creates the feature folder, then plans
14
+ /bt-plan Fix F3 from @.agents/specs/<slug>/documents/<slug>_followups.md # Quick Plan for a finished feature's follow-ups (its dashboard's copy buttons)
14
15
  /bt-plan --heavy @.agents/specs/<slug>/documents/<slug>_spec.md # decision-complete plan for a long or cheaper-model run
15
16
  /bt-plan --heavy --parity @.agents/specs/<slug>/documents/<slug>_spec.md # numeric parity gates against the reference (slow)
16
17
  /bt-plan --no-time-limit @.agents/specs/<slug>/documents/<slug>_spec.md # turn off the default TIME MATTERS mode
@@ -35,7 +36,11 @@ Turn a feature spec into `.agents/specs/<slug>/documents/<slug>_plan.md`: an ord
35
36
  4. Sibling-skill pattern (e.g. bt-design's 3D-Hero-Scroll): read that skill's reference **and templates** *(where skills load through a tool: `load_skill` + `read_skill_resource`, never a guessed path; where they are files: the skills directory this skill was loaded from, e.g. `~/.claude/skills/`, `~/.agents/skills/` or the project's equivalent)*. The plan **copies and configures the template engine — never re-implements it**; each behavioral option the spec records (e.g. `sweep: page`) becomes an Acceptance item stated in observable terms. Prefer copying and wiring the template as the first task, so later tasks only configure it.
36
37
  5. Too ambiguous to plan responsibly → ask the user. **Already built?** If the research shows some or all of the feature already exists, say so first and plan only what is missing (often just tests and the live check).
37
38
 
38
- **Quick Plan (no spec file):** after the analysis, ask a small round of high-leverage questions (scope, behavior, edge cases, which systems it touches); skip anything the brief or code already answers. Unanswered items fall back to: feature name from the brief — the `<slug>`: lowercase kebab-case, `a-z 0-9 -` only, max 40 chars, with `-02`, `-03` … appended if a folder of that name already exists in `.agents/specs/`, `.agents/complete/` or anywhere under `.agents/archived/`; `spec_impact` and `size` inferred from the analysis; `proof: functional` unless `--parity`. List the assumptions in Codebase Analysis. **A Quick Plan is a creation point:** it first makes sure the default `.agents` folders exist — `.agents/specs/`, `.agents/complete/`, `.agents/archived/`, `.agents/profile/` and `.agents/recon/`, each with an empty `.gitkeep` (write only the ones missing; never touch what a folder holds), then creates the feature folder `.agents/specs/<slug>/` (with `documents/`), exactly as bt-spec would, and the plan, report and tests live there.
39
+ **Quick Plan (no spec file):** after the analysis, ask a small round of high-leverage questions (scope, behavior, edge cases, which systems it touches); skip anything the brief or code already answers. Unanswered items fall back to: feature name from the brief — the `<slug>`: lowercase kebab-case, `a-z 0-9 -` only, max 40 chars, with `-02`, `-03` … appended if a folder of that name already exists in `.agents/specs/`, `.agents/complete/`, `.agents/followup/` or anywhere under `.agents/archived/`; `spec_impact` and `size` inferred from the analysis; `proof: functional` unless `--parity`. List the assumptions in Codebase Analysis. **A Quick Plan is a creation point:** it first makes sure the default `.agents` folders exist — `.agents/specs/`, `.agents/complete/`, `.agents/archived/`, `.agents/followup/`, `.agents/profile/` and `.agents/recon/`, each with an empty `.gitkeep` (write only the ones missing; never touch what a folder holds), then creates the feature folder `.agents/specs/<slug>/` (with `documents/`), exactly as bt-spec would, and the plan, report and tests live there.
40
+
41
+ **A Quick Plan of follow-ups** (`Fix F3 from @<source-folder>/documents/<slug>_followups.md`, the dashboard's Quick Plan copy command): the cited follow-ups are the brief, read in full with what they point at in the source feature (its plan's Decisions, the run-log lines and files named, its `recon/` copies when they touch that code). Plan only them, as one new feature named for what they fix, never `fix-f3` or the source's slug. The plan's opening paragraph names them with the file: `Quick Plan for follow-up **F3** of <source title> (\`<source-folder>/documents/<slug>_followups.md\`).` — the helper's `check` links an unlinked feature from that line, so it must be there. A cited id the file lacks: list the ids it has, and stop. A cited follow-up whose **Status** line says a later feature already addresses it (anything but *partly done*): name that feature and ask before planning it again. Step 4 links the new feature to them.
42
+
43
+ **A Quick Plan of profile fixes** (`Fix F1 and F3 from @.agents/profile/<slug>/findings.md using @<recon>`, bt-profile's Quick Plan copy command): the cited fixes in `findings.md` are the brief — each one's cause, evidence, code, proposed fix, gain, risk and how to verify it, and the Verify becomes the task's proof. Read every cited recon in full, whatever its scope says, and **copy each into the new feature's `recon/` folder** (as bt-spec does), so the feature holds what it rests on after the profile is archived; turn what a recon says must not break into Acceptance or named tests. A cited recon that does not exist yet: say so, give its `/bt-recon` command (the report's **Copy recon command**), and carry on with your own analysis. Plan only the cited fixes, as one new feature named for what they fix, never `fix-f1` or the profile's slug; the plan's opening paragraph names them with the file (`Quick Plan for fixes **F1** and **F3** of profile <slug> (\`.agents/profile/<slug>/findings.md\`).`). Add a last task that re-profiles the same scenario (`/bt-profile --slug:<slug>`) and compares the phases the findings name — that re-measure is how the profile learns the fixes worked.
39
44
 
40
45
  **The feature folder.** Every feature has one: `.agents/specs/<slug>/` holding `dashboard.html` (the feature dashboard), `documents/` (`<slug>_spec.md`, `<slug>_plan.md`, bt-execute's `<slug>_autopilot.md`, the dashboard data `<slug>_dashboard.js` and live status `<slug>_live.js`), `snapshots/` and `tests/`. From a spec, `<slug>` is its folder name. A **legacy flat spec** (`.agents/specs/<slug>_spec.md`) is read where it is and left there; the plan and report still go into the new `.agents/specs/<slug>/` folder, and the report's Spec link points back to the flat file.
41
46
 
@@ -134,7 +139,7 @@ Each task above is a checkbox. To implement:
134
139
 
135
140
  ## Step 4. Write and check the dashboard (planned state)
136
141
 
137
- Print `🗂️ [bt-plan] Writing the feature dashboard …`. **A spec from bt-spec already has a dashboard, in its `specified` state** (showing the bt-plan commands): read its `<slug>_dashboard.js` first and keep its `feature`, `decisions` and `activity`; everything below then fills it in and moves it to `planned`. A Quick Plan, or a spec with no dashboard, creates it here. From bt-execute's `templates/dashboard/` *(where skills load through a tool: `load_skill('bt-execute')` + `read_skill_resource`; where they are files: the sibling `bt-execute/` folder in the skills directory this skill was loaded from)*:
142
+ Print `🗂️ [bt-plan] Writing the feature dashboard …`. **A spec from bt-spec already has a dashboard, in its `specified` state** (showing the bt-plan commands): read its `<slug>_dashboard.js` first and keep its `feature` (with any `addresses` — the follow-ups it takes on), `decisions`, `activity` and any **Source follow-ups** document link; everything below then fills it in and moves it to `planned`. A Quick Plan, or a spec with no dashboard, creates it here. From bt-execute's `templates/dashboard/` *(where skills load through a tool: `load_skill('bt-execute')` + `read_skill_resource`; where they are files: the sibling `bt-execute/` folder in the skills directory this skill was loaded from)*:
138
143
 
139
144
  - copy `dashboard.html` to `.agents/specs/<slug>/dashboard.html`, replacing `{{slug}}` with the slug and changing nothing else (always — over a copy bt-spec wrote too, so the page is the current template);
140
145
  - write `.agents/specs/<slug>/documents/<slug>_dashboard.js` from the starter `dashboard.template.js`, written whole as strict JSON behind its `window.FEATURE_DASHBOARD =` prefix — double-quoted keys, no comments, no trailing commas (`data-schema.md` documents every field): `feature` (title, slug, branch, `origin` `spec` or `quick-plan`, size, proof, a plain-language summary), `documents` (Spec — omitted for a Quick Plan — and Plan), `status: "planned"`, `updatedAt` from the shell clock (`date '+%Y-%m-%d %H:%M'`; with no shell, the current local time), `estimate` (the Total line), every phase and task from the plan as `pending` (id, title, kind from the estimate table, verify level), an empty `afterAction` and no snapshots, the plan’s Decisions as `decisions` (Heavy Plan; otherwise the spec’s), each an object `{ "id": "D1", "text": "…", "updates": [] }` (never a plain `"D1 — …"` string, which shows as an empty row), and one more `activity` line: `Plan written — <n> tasks in <k> phases, estimated <range>` (after bt-spec's `Spec written` line when there is one);
@@ -143,6 +148,8 @@ Print `🗂️ [bt-plan] Writing the feature dashboard …`. **A spec from bt-sp
143
148
 
144
149
  Re-planning an existing feature rewrites the data file's phases and tasks from the new plan but keeps the results of tasks already done, its `afterAction` and its `activity` history, adding a `Plan revised` line; new tasks are `pending` with an `updates` note, and a `complete` status becomes `paused`. The dashboard is a deliverable: if the template cannot be found, say so and stop — the plan is not finished until the check below passes.
145
150
 
151
+ **A Quick Plan of follow-ups**, once its dashboard is written: from the project root, run `node <skills>/bt-execute/scripts/dashboard.mjs addresses .agents/specs/<slug> --source <source-folder> --ids F3[,F5]`. It records on this feature which follow-ups it takes on and links their document, and marks them **Planned** on the source dashboard with a link back here; bt-execute then carries the feature's progress to them (in progress, done). It fails on an id the source lacks — fix the ids, never skip it. (A plan of a spec bt-spec made from follow-ups is already linked; its `addresses` stays in `feature`.)
152
+
146
153
  **Check, then stop.** Run `node <skills>/bt-execute/scripts/dashboard.mjs check .agents/specs/<slug>` (`<skills>`: the skills directory this skill was loaded from). It fails when a deliverable is missing — a dashboard file absent, or the dashboard's tasks out of step with the plan's checklist (ids and order) — or a data file is malformed. Fix what it names and re-run; **never finish while it fails**, whoever wrote the plan — this skill or an agent by hand. Where Node cannot run the helper, make the same checks by reading the files, and say so.
147
154
 
148
155
  Then **stop**. Final message: a short summary, the estimated time, and:
@@ -118,7 +118,7 @@ One folder per profiled moment — everything a slug's runs produce stays inside
118
118
  .tools/ the installed scripts + node_modules (git-ignored, shared)
119
119
  <slug>/
120
120
  dashboard.html the dashboard — live while a run goes on, the report once it is done
121
- findings.md the diagnosis as a spec-ready document, with the recon and spec commands
121
+ findings.md the diagnosis as a spec-ready document, with the recon and Full Spec / Quick Plan commands
122
122
  recon/ this profile's bt-recon docs, one per subsystem (--recon, or the report's commands)
123
123
  data/
124
124
  progress.js the run's live progress, written by progress.mjs (git-ignored)
@@ -146,7 +146,7 @@ The project is just **the root folder of the web app**: where its source lives (
146
146
  ## Phase 0 — Preflight
147
147
 
148
148
  ```bash
149
- for folder in specs complete archived profile recon; do mkdir -p "$PROJ/.agents/$folder"; [ -e "$PROJ/.agents/$folder/.gitkeep" ] || : > "$PROJ/.agents/$folder/.gitkeep"; done # the default .agents folders
149
+ for folder in specs complete archived followup profile recon; do mkdir -p "$PROJ/.agents/$folder"; [ -e "$PROJ/.agents/$folder/.gitkeep" ] || : > "$PROJ/.agents/$folder/.gitkeep"; done # the default .agents folders
150
150
  mkdir -p "$TOOLS" "$DATA/runs" "$DATA/logs"
151
151
  cp -R "$SKILL_DIR"/scripts/* "$TOOLS/" # refresh on every skill update
152
152
  node "$TOOLS/progress.mjs" start "$S" --title "<Project> — <scenario> performance" --brief "<the user's words>" --project "$PROJ" --url "<url, or the dev server's / until known>" --open true
@@ -336,7 +336,7 @@ What a heavy function usually means, and where to look. Always confirm with `cal
336
336
  |---|---|
337
337
  | `.agents/profile/.tools/` | The installed scripts and their node_modules, shared by every slug (git-ignored) |
338
338
  | `.agents/profile/<slug>/dashboard.html` | The dashboard — follows the run live, then holds the report |
339
- | `.agents/profile/<slug>/findings.md` | The diagnosis as a spec-ready document: the recon command per subsystem and the spec command per fix |
339
+ | `.agents/profile/<slug>/findings.md` | The diagnosis as a spec-ready document: the recon command per subsystem and the Full Spec (`/bt-spec`) or Quick Plan (`/bt-plan`) command per fix |
340
340
  | `.agents/profile/<slug>/recon/` | This profile's bt-recon docs, one per subsystem — quick ones from `--recon`, deep ones from the report's commands |
341
341
  | `.agents/profile/<slug>/data/progress.js` | The run's live progress: status, stages, fixes, numbers, what is happening now (written only by `progress.mjs`; git-ignored) |
342
342
  | `.agents/profile/<slug>/data/profile.config.json` | URL, scenario, owner rules and source roots |
@@ -239,6 +239,12 @@ td.nw { white-space: nowrap; }
239
239
  .copy-spec { background: var(--surface-2); color: var(--text-secondary); border: 1px solid var(--surface-3); border-radius: 6px; font-size: 12px; padding: 4px 10px; cursor: pointer; }
240
240
  .copy-spec:disabled { opacity: 0.5; cursor: default; }
241
241
  .spec-bar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 12px; }
242
+ .fix-tool { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; justify-content: space-between; margin: 0 0 10px; color: var(--text-secondary); font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; }
243
+ .fix-tool-choices { display: inline-flex; border: 1px solid var(--surface-3); border-radius: 999px; padding: 2px; text-transform: none; letter-spacing: 0; }
244
+ .fix-tool-choice { background: transparent; border: 0; border-radius: 999px; padding: 5px 12px; color: var(--text-secondary); font: 600 12px var(--mono); cursor: pointer; }
245
+ .fix-tool-choice span { opacity: 0.6; font-weight: 500; }
246
+ .fix-tool-choice.is-on { background: var(--surface-3); color: var(--accent); }
247
+ .fix-tool-choice.is-on span { opacity: 1; }
242
248
  .spec-bar code { flex: 1 1 320px; font: 12px var(--mono); background: var(--surface-0); border: 1px solid var(--surface-3); border-radius: 6px; padding: 6px 10px; overflow-wrap: anywhere; }
243
249
  @media print { .pick, .act, .spec-bar, #fixes .hint { display: none !important; } }
244
250
  .actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
@@ -436,8 +442,9 @@ function renderTimeline() {
436
442
  /**
437
443
  * The fixes, listed whether or not they were applied, in two steps: recon the code behind them (one bt-recon per
438
444
  * subsystem, so the spec has the callers, invariants and tests mapped), then spec one (its row's button) or a group
439
- * (tick them) with bt-spec. The spec command points bt-spec at findings.md, which carries each fix's cause, evidence,
440
- * code, gain, risk and check, and cites the recon docs it rests on.
445
+ * (tick them) with bt-spec — a Full Spec — or bt-plan — a Quick Plan — as the switch above the table says. The
446
+ * command points the skill at findings.md, which carries each fix's cause, evidence, code, gain, risk and check, and
447
+ * cites the recon docs it rests on.
441
448
  */
442
449
  function renderFixes() {
443
450
  const wrap = $("#fixes-wrap");
@@ -449,7 +456,17 @@ function renderFixes() {
449
456
  const join = (ids) => ids.length <= 1 ? ids.join("") : ids.slice(0, -1).join(", ") + " and " + ids[ids.length - 1];
450
457
  const groupsFor = (ids) => [...new Set(ids.map(groupOf).filter(Boolean))];
451
458
  const using = (ids) => { const paths = groupsFor(ids).map((g) => "@" + g.path); return paths.length ? " using " + join(paths) : ""; };
452
- const specCommand = (ids) => "/bt-spec Fix " + join(ids) + " from " + source + using(ids);
459
+ // The two ways to take on fixes; the choice is remembered in this browser when storage allows.
460
+ const FIX_TOOLS = {
461
+ spec: { skill: "bt-spec", label: "Full Spec", noun: "spec", hint: "bt-spec writes a spec; plan it with bt-plan after" },
462
+ plan: { skill: "bt-plan", label: "Quick Plan", noun: "plan", hint: "bt-plan plans the fixes straight away, with a short interview" },
463
+ };
464
+ const TOOL_STORAGE_KEY = "bt-profile-fix-tool";
465
+ let fixTool = "spec";
466
+ try { if (window.localStorage.getItem(TOOL_STORAGE_KEY) === "plan") fixTool = "plan"; } catch (error) { /* storage blocked — default to Full Spec */ }
467
+ const specCommand = (ids) => "/" + FIX_TOOLS[fixTool].skill + " Fix " + join(ids) + " from " + source + using(ids);
468
+ const toolSwitch = '<div class="fix-tool"><span>Take them on with</span><div class="fix-tool-choices" role="group" aria-label="Command for the fixes">' +
469
+ Object.entries(FIX_TOOLS).map(([key, tool]) => '<button type="button" class="fix-tool-choice" data-fix-tool="' + key + '" title="' + esc(tool.hint) + '">' + esc(tool.label) + ' <span>/' + esc(tool.skill) + '</span></button>').join("") + '</div></div>';
453
470
  const reconCommands = (ids) => groupsFor(ids).map((g) => g.command).join("\n");
454
471
  // A fix is done once it is in the code: "kept" (applied and proven by the fix loop) or "fixed".
455
472
  const isDone = (f) => f.status === "kept" || f.status === "fixed";
@@ -467,23 +484,40 @@ function renderFixes() {
467
484
  '<td>' + reconCell(f) + '</td>' +
468
485
  '<td>' + esc(f.gain || f.cost || "–") + '</td><td>' + esc(f.risk || "–") + '</td>' +
469
486
  '<td class="act"><button type="button" class="copy-spec" data-kind="recon" data-ids="' + esc(f.id) + '">Copy recon command</button>' +
470
- '<button type="button" class="copy-spec" data-kind="spec" data-ids="' + esc(f.id) + '">Copy spec command</button></td></tr>').join("");
487
+ '<button type="button" class="copy-spec" data-kind="spec" data-ids="' + esc(f.id) + '" data-label="Copy {noun} command">Copy spec command</button></td></tr>').join("");
471
488
  $("#fixes").innerHTML = '<div class="panel"><p class="hint"><strong>1. Recon</strong> the code behind the fixes with <code>/bt-recon</code>: it maps how that code works, every caller, and what a change must not break. Fixes in the same code share one recon; run each command on its own. ' +
472
- '<strong>2. Spec</strong> them one at a time or several together with <code>/bt-spec</code>; the command cites the recon docs. ' +
473
- (open.length ? open.length + " not fixed yet." : "All of them are fixed.") + '</p>' +
489
+ '<strong>2. Spec or Quick Plan</strong> them one at a time or several together — a Full Spec with <code>/bt-spec</code>, or a Quick Plan straight away with <code>/bt-plan</code>; either command cites the recon docs. ' +
490
+ (open.length ? open.length + " not fixed yet." : "All of them are fixed.") + '</p>' + toolSwitch +
474
491
  '<div class="scroll"><table class="fixes"><thead><tr><th class="pick"></th><th>ID</th><th>Fix</th><th>Status</th><th>Cause</th><th>Recon</th><th>Expected gain</th><th>Risk</th><th class="act"></th></tr></thead><tbody>' + rows + '</tbody></table></div>' +
475
492
  '<div class="spec-bar"><code id="recon-selected"></code><button type="button" class="copy-spec" data-kind="recon" id="copy-recon-selected">1. Copy recon for the selected</button></div>' +
476
- '<div class="spec-bar"><code id="spec-selected"></code><button type="button" class="copy-spec" data-kind="spec" id="copy-selected">2. Copy spec for the selected</button>' +
477
- (open.length ? '<button type="button" class="copy-spec" data-kind="spec" data-ids="' + esc(open.join(" ")) + '">Copy spec for all open fixes</button>' : "") + '</div></div>';
493
+ '<div class="spec-bar"><code id="spec-selected"></code><button type="button" class="copy-spec" data-kind="spec" id="copy-selected" data-label="2. Copy {noun} for the selected">2. Copy spec for the selected</button>' +
494
+ (open.length ? '<button type="button" class="copy-spec" data-kind="spec" data-ids="' + esc(open.join(" ")) + '" data-label="Copy {noun} for all open fixes">Copy spec for all open fixes</button>' : "") + '</div></div>';
478
495
  const selected = () => [...document.querySelectorAll("#fixes input[type=checkbox]:checked")].map((box) => box.value);
479
496
  const refresh = () => {
480
497
  const ids = selected();
481
498
  $("#recon-selected").textContent = ids.length ? reconCommands(ids) : "Tick the fixes to recon together";
482
- $("#spec-selected").textContent = ids.length ? specCommand(ids) : "Tick the fixes to spec together";
499
+ $("#spec-selected").textContent = ids.length ? specCommand(ids) : "Tick the fixes to " + FIX_TOOLS[fixTool].noun + " together";
483
500
  $("#copy-selected").disabled = $("#copy-recon-selected").disabled = !ids.length;
484
501
  };
502
+ // The switch re-words the spec buttons and the selected command in place; the listeners below stay as they are.
503
+ const applyTool = () => {
504
+ document.querySelectorAll("#fixes .fix-tool-choice").forEach((choice) => {
505
+ const isOn = choice.dataset.fixTool === fixTool;
506
+ choice.classList.toggle("is-on", isOn);
507
+ choice.setAttribute("aria-pressed", String(isOn));
508
+ });
509
+ document.querySelectorAll("#fixes .copy-spec[data-label]").forEach((button) => { button.textContent = button.dataset.label.replace("{noun}", FIX_TOOLS[fixTool].noun); });
510
+ refresh();
511
+ };
485
512
  $("#fixes").addEventListener("change", refresh);
486
513
  $("#fixes").addEventListener("click", (event) => {
514
+ const choice = event.target.closest(".fix-tool-choice");
515
+ if (choice) {
516
+ fixTool = choice.dataset.fixTool === "plan" ? "plan" : "spec";
517
+ try { window.localStorage.setItem(TOOL_STORAGE_KEY, fixTool); } catch (error) { /* remembered for this visit only */ }
518
+ applyTool();
519
+ return;
520
+ }
487
521
  const button = event.target.closest(".copy-spec");
488
522
  if (!button) return;
489
523
  const ids = button.id === "copy-selected" || button.id === "copy-recon-selected" ? selected() : button.dataset.ids.split(" ");
@@ -492,7 +526,7 @@ function renderFixes() {
492
526
  const done = () => { const label = button.textContent; button.textContent = "Copied"; setTimeout(() => { button.textContent = label; }, 1500); };
493
527
  if (navigator.clipboard && navigator.clipboard.writeText) navigator.clipboard.writeText(text).then(done, done); else done();
494
528
  });
495
- refresh();
529
+ applyTool();
496
530
  }
497
531
 
498
532
  function renderFindings() {
@@ -842,7 +876,7 @@ function findingsMarkdown(findings, analysis, slugName, recon) {
842
876
  const cell = (text) => String(text || "–").replace(/\|/g, "\\|").replace(/\n/g, " ");
843
877
  push(`## The fixes (${open.length} not fixed yet)`);
844
878
  push();
845
- push("Two steps: **recon** the code behind the fixes (bt-recon maps how it works, every caller and what a change must not break), then **spec** them one at a time or several together. Each spec command points bt-spec at this file, which carries every fix's cause, evidence, code, gain, risk and how to verify it, and cites the recon docs as its grounding.");
879
+ push("Two steps: **recon** the code behind the fixes (bt-recon maps how it works, every caller and what a change must not break), then take them on one at a time or several together — a **Full Spec** with `/bt-spec`, or a **Quick Plan** straight away with `/bt-plan` (the same command with `/bt-plan` in place of `/bt-spec`). Each command points the skill at this file, which carries every fix's cause, evidence, code, gain, risk and how to verify it, and cites the recon docs as its grounding.");
846
880
  push();
847
881
  // The recon docs a set of fixes rests on, as bt-spec's `using` clause.
848
882
  const using = (ids) => {
@@ -850,6 +884,7 @@ function findingsMarkdown(findings, analysis, slugName, recon) {
850
884
  return paths.length ? ` using ${join(paths)}` : "";
851
885
  };
852
886
  const specCommand = (ids) => `/bt-spec Fix ${join(ids)} from ${source}${using(ids)}`;
887
+ const quickPlanCommand = (ids) => `/bt-plan Fix ${join(ids)} from ${source}${using(ids)}`;
853
888
  if (fixable.length) {
854
889
  push("### 1. Recon the code behind them");
855
890
  push();
@@ -859,14 +894,16 @@ function findingsMarkdown(findings, analysis, slugName, recon) {
859
894
  push("|---|---|---|---|");
860
895
  for (const group of recon.groups) push(`| ${cell(group.name)} | ${group.ids.join(", ")} | ${group.exists ? `\`${group.path}\` (${group.depth})` : "not yet"} | \`${cell(group.command)}\` |`);
861
896
  push();
862
- push("### 2. Spec them");
897
+ push("### 2. Spec or Quick Plan them");
898
+ push();
899
+ push("The commands below are Full Specs. For a Quick Plan, use `/bt-plan` in place of `/bt-spec` — the rest stays the same.");
863
900
  push();
864
901
  push("| ID | Fix | Status | Cause | Expected gain | Risk | Spec it |");
865
902
  push("|---|---|---|---|---|---|---|");
866
903
  for (const finding of fixable) push(`| ${finding.id} | ${cell(finding.title)} | ${finding.status || "proposed"} | ${finding.confidence || "–"} | ${cell(finding.gain || finding.cost)} | ${cell(finding.risk)} | \`${specCommand([finding.id])}\` |`);
867
904
  push();
868
905
  const openIds = open.filter((finding) => finding.fix).map((finding) => finding.id);
869
- if (openIds.length > 1) { push(`**All open fixes together:** \`${specCommand(openIds)}\``); push(); }
906
+ if (openIds.length > 1) { push(`**All open fixes together:** Full Spec \`${specCommand(openIds)}\` · Quick Plan \`${quickPlanCommand(openIds)}\``); push(); }
870
907
  // The example group names real fixes: the first and last open ones, or the first two in the table.
871
908
  const exampleIds = openIds.length > 2 ? [openIds[0], openIds[openIds.length - 1]] : fixable.slice(0, 2).map((finding) => finding.id);
872
909
  if (exampleIds.length > 1) push(`**A group of your choice:** \`${specCommand(exampleIds)}\` (any IDs from the table)`);
@@ -28,7 +28,7 @@ Run reconnaissance on existing code nobody has documented — one subsystem or t
28
28
  ## Ground rules
29
29
 
30
30
  - **Thorough by default.** Unlike the other bt-* skills, recon has no TIME MATTERS default: the whole point is that nothing is missed. Print `🔬 [bt-recon] Deep recon` at the start (`--quick`: `⚡ [bt-recon] Quick recon`). Still do not re-read what you already have.
31
- - **Read-only on the project.** Research only. The files you write are the recon doc, the guide, and screenshots under `.agents/recon/<slug>_recon/` — nothing else, except that before the first of them you make sure the default `.agents` folders exist — `.agents/specs/`, `.agents/complete/`, `.agents/archived/`, `.agents/profile/` and `.agents/recon/`, each with an empty `.gitkeep` (write only the ones missing; never touch what a folder holds) (unless `--out` points elsewhere). No source edits, no builds, no installs, no tests, no shell commands beyond the read-only `git` commands above.
31
+ - **Read-only on the project.** Research only. The files you write are the recon doc, the guide, and screenshots under `.agents/recon/<slug>_recon/` — nothing else, except that before the first of them you make sure the default `.agents` folders exist — `.agents/specs/`, `.agents/complete/`, `.agents/archived/`, `.agents/followup/`, `.agents/profile/` and `.agents/recon/`, each with an empty `.gitkeep` (write only the ones missing; never touch what a folder holds) (unless `--out` points elsewhere). No source edits, no builds, no installs, no tests, no shell commands beyond the read-only `git` commands above.
32
32
  - **Evidence or it is unknown.** Every factual claim cites `path:line` (or `path:start-end`) and carries one confidence tag: `[code]` read in the source · `[live]` seen in the running app · `[history]` from git history · `[inferred]` deduced, with the reason in the same line. Anything you cannot establish goes in `## Unknowns` with what would settle it. Never fill a gap with a plausible guess — an inherited system is exactly where a confident wrong guess does the most damage.
33
33
  - **Write the system, not the review process.** The recon describes what the code does and why. It never records how the recon was carried out (subagent counts, tool lists, audit logs).
34
34
  - **Babylon work:** if the scope uses BabylonJS or the Babylon Toolkit and you have not read the Babylon Toolkit Agent Reference in this session, read it once: https://raw.githubusercontent.com/babylontoolkit/agent/main/reference.md — it is the authority for the API and conventions the code is built on, so it tells you what is toolkit behavior and what is project code. Read its sub-documents only when relevant. If it cannot be read, stop and tell the user.
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: bt-spec
3
3
  description: "The Babylon Toolkit Spec Skill creates a feature spec file from a short idea, plus the feature's dashboard (`.agents/specs/<slug>/dashboard.html`), which shows the bt-plan commands to copy until the feature is planned. Use when asked to spec, spec out, plan, or scaffold a new feature (\"spec out a mute toggle\", \"let's spec this\")."
4
- allowed-tools: Read, Grep, Glob, Write, WebFetch(domain:raw.githubusercontent.com), Bash(git switch:*), AskUserQuestion, Agent, Task
4
+ allowed-tools: Read, Grep, Glob, Write, WebFetch(domain:raw.githubusercontent.com), Bash(git switch:*), Bash(node:*), AskUserQuestion, Agent, Task
5
5
  ---
6
6
 
7
7
  Turn a short feature idea into a spec file that `bt-plan` can plan from. Follow the project's agent instructions (AGENTS.md / CLAUDE.md / .github/copilot-instructions.md). The user's message after the skill name is the `arguments`.
@@ -24,14 +24,14 @@ Turn a short feature idea into a spec file that `bt-plan` can plan from. Follow
24
24
  ## Ground rules
25
25
 
26
26
  - **TIME MATTERS** — on by default; `--no-time-limit` turns it off. Treat the arguments as ending with `TIME MATTERS`: the user is waiting on this run, so finish quickly — research only what the spec needs, keep subagents few and their questions narrow, and do not re-read what you already have. Begin every subagent prompt with `TIME MATTERS.` Print `⏱️ [bt-spec] TIME MATTERS` at the start (`--no-time-limit`: print `⏱️ [bt-spec] No time limit`, and do not add it). Speed never skips a required step or lowers the quality of the spec.
27
- - **Planning only.** Research read-only and write only the spec file and the feature dashboard into the new feature folder (Step 6; plus `SPEC.md` from the scaffold, if the user says yes below, a builder skill's intake file in the same `documents/` folder — Step 3 — and the one `.gitignore` line Step 6 names). No source edits, no builds, no tests, no other shell commands.
27
+ - **Planning only.** Research read-only and write only the spec file and the feature dashboard into the new feature folder (Step 6; plus `SPEC.md` from the scaffold, if the user says yes below, a builder skill's intake file in the same `documents/` folder — Step 3 — and the one `.gitignore` line Step 6 names). No source edits, no builds, no tests, no other shell commands — except, for a spec of follow-ups, the one `dashboard.mjs addresses` call in Step 6.
28
28
  - **Babylon work:** if you have not read the Babylon Toolkit Agent Reference in this session, read it once: https://raw.githubusercontent.com/babylontoolkit/agent/main/reference.md — it is the authority for conventions and API; read its sub-documents only when relevant, and again only if a context compaction made you forget it. If it cannot be read, stop and tell the user — do not guess at the API.
29
29
  - **Say what you are doing.** Before any step that takes more than a few seconds (a fetch, a big read, subagents) print one short line — `🔎 [bt-spec] <what> …` — and one line when it returns. A silent run looks like a hang and gets cancelled.
30
30
  - **Subagents:** running this skill is the user's request to use them where this skill says so. Use whatever subagent tool your host provides (its name varies by host — e.g. `Agent` or `Task`); if there is none, do the work inline and say so. Tell research subagents they need not read the Agent Reference.
31
31
 
32
32
  ## Step 1. Arguments and name
33
33
 
34
- From the flag-stripped brief derive `feature_title` (Title Case), `feature_slug` (lowercase kebab-case, `a-z 0-9 -` only, max 40 chars) and `branch_name` = the branch currently checked out (`git rev-parse --abbrev-ref HEAD`; empty without git), recorded for reference only. If a folder of that name already exists in `.agents/specs/`, `.agents/complete/` or anywhere under `.agents/archived/` (the user moves finished features from `specs/` to `complete/` for review, and later on to `archived/`), append `-02`, `-03` … to the slug, so any of them can be moved back. If you cannot infer a sensible title, ask. Make a first estimate of the feature's `size` (defined in Step 5) — it sizes the research in Step 2.
34
+ From the flag-stripped brief derive `feature_title` (Title Case), `feature_slug` (lowercase kebab-case, `a-z 0-9 -` only, max 40 chars) and `branch_name` = the branch currently checked out (`git rev-parse --abbrev-ref HEAD`; empty without git), recorded for reference only. If a folder of that name already exists in `.agents/specs/`, `.agents/complete/`, `.agents/followup/` or anywhere under `.agents/archived/` (the user moves finished features from `specs/` to `complete/` for review, to `followup/` while follow-ups are still open, and later on to `archived/`), append `-02`, `-03` … to the slug, so any of them can be moved back. If you cannot infer a sensible title, ask. Make a first estimate of the feature's `size` (defined in Step 5) — it sizes the research in Step 2.
35
35
 
36
36
  **Never touch git.** Do not create, switch or delete a branch, and never commit, stage, stash or discard anything: the spec is written on whatever branch is checked out, and uncommitted or untracked files are the user's, left exactly as they are. The user creates branches and commits when they choose. Without git (no binary, a sandboxed host such as the Babylon Toolkit App Builder), leave `branch_name` empty and do not mention git.
37
37
 
@@ -42,7 +42,7 @@ From the flag-stripped brief derive `feature_title` (Title Case), `feature_slug`
42
42
  - **`DESIGN.md`** (only if the feature has UI): it is the single source of truth for design — never Figma or invented values. Cite the tokens and shared components the feature uses in 3–8 bullets. Missing → note `"No DESIGN.md design system found — follow the existing UI conventions already in the codebase."` No UI → say no design tokens apply. When the feature has a HUD, overlay, menu, splash or landing page, add one bullet naming its live values and their cadence under the Agent Reference's **Game UI Performance — ENFORCED** (state on events, telemetry through the frame loop, throttled readouts, decorative motion in CSS, no frame loop on menus / splash / landing pages), so the plan builds it that way.
43
43
  - **Recon docs (`.agents/recon/*_recon.md`, written by bt-recon):** if any recon's `scope` covers a system this feature touches, read its Summary, Architecture, the relevant Feature Inventory / UI Reference / External Interfaces sections, Known Issues and Extension Points — it is the grounding for code nobody else documented, so build on it instead of re-deriving it. Cite it in `## Research Notes`. If its `commit:` is well behind HEAD for the files this feature touches, note the drift there and suggest `bt-recon --refresh`.
44
44
  - **Recons the brief cites (`… using @<path>_recon.md`):** bt-profile's fix commands cite the recon of the code behind the fixes, kept in the profile's own folder (`.agents/profile/<slug>/recon/`) or in `.agents/recon/`. Always read a cited recon in full, whatever its scope says. It is the map of the code the fix changes: callers, invariants, tests, extension points. Turn what it says must not break into Acceptance Criteria or named test cases. **Copy each cited recon into this feature's `recon/` folder** and cite the copy in `## Research Notes`. The feature folder then holds everything it rests on, and still works after the profile is archived or moved. A cited recon that does not exist yet: say so, give the `/bt-recon` command that makes it (the profile report's **Copy recon command**), and carry on with your own research.
45
- - **Follow-ups the brief cites (`Fix F1 and F3 from @<feature-folder>/documents/<slug>_followups.md`):** a finished feature's dashboard offers this command for what its bt-execute runs left for a human to look at next. Read each cited follow-up in full: it is the brief (what is wrong, the evidence, where to look, what fixing it involves). Then read what it points at in the source feature: its plan's Decisions, the run-log lines and files it names, and the source feature's `recon/` copies when it touches that code. Spec only the cited follow-ups, as **one new feature** with its own slug, named for what they fix (`network-hud-banner-fix`), never `fix-f1` and never the source feature's slug. Cite the source feature folder and the follow-up ids in `## Research Notes`, and say there which follow-ups the spec covers. A cited id the file does not have: list the ids it does have, and stop.
45
+ - **Follow-ups the brief cites (`Fix F1 and F3 from @<feature-folder>/documents/<slug>_followups.md`):** a finished feature's dashboard offers this command for what its bt-execute runs left for a human to look at next. Read each cited follow-up in full: it is the brief (what is wrong, the evidence, where to look, what fixing it involves). Then read what it points at in the source feature: its plan's Decisions, the run-log lines and files it names, and the source feature's `recon/` copies when it touches that code. Spec only the cited follow-ups, as **one new feature** with its own slug, named for what they fix (`network-hud-banner-fix`), never `fix-f1` and never the source feature's slug. Cite the follow-ups file (`<source-folder>/documents/<slug>_followups.md`) with the ids in one paragraph of `## Research Notes`, saying which follow-ups the spec covers — the helper's `check` links an unlinked feature from that paragraph. A cited id the file does not have: list the ids it does have, and stop. A cited follow-up whose **Status** line says a later feature already addresses it (specced, planned, in progress or done — only *partly done* is open again): name that feature and ask whether to spec it again before writing anything. Step 6 links the new feature to the follow-ups, so the source dashboard shows them taken on.
46
46
  - **Research the codebase, sized to the feature.** Find the closest existing feature to mirror, the real conventions, and the integration points. For a `small` feature do this inline; fan out to up to 3 **read-only** subagents only for `medium` / `large` (they report findings and file paths, never draft the spec; if a finding contradicts SPEC.md, raise it with the user rather than resolving it silently). Record the result in the spec's `## Research Notes` so bt-plan starts from it.
47
47
 
48
48
  ## Step 3. Sibling-skill patterns
@@ -81,7 +81,7 @@ Interview the user until the design is decided, after Steps 2–3 so questions a
81
81
  recon/ copies of the recons the brief cites (`using @…_recon.md`), when it cites any
82
82
  ```
83
83
 
84
- Print `✍️ [bt-spec] Drafting .agents/specs/<feature_slug>/documents/<feature_slug>_spec.md …`, then make sure the default `.agents` folders exist — `.agents/specs/`, `.agents/complete/`, `.agents/archived/`, `.agents/profile/` and `.agents/recon/`, each with an empty `.gitkeep` (write only the ones missing; never touch what a folder holds), and write the spec to `.agents/specs/<feature_slug>/documents/<feature_slug>_spec.md` (creating the folders) using the project's `FEATURE.md` template if it exists (add any header field or section below that it lacks), otherwise this structure. No implementation detail or code examples. Then go straight to Step 6 for this feature.
84
+ Print `✍️ [bt-spec] Drafting .agents/specs/<feature_slug>/documents/<feature_slug>_spec.md …`, then make sure the default `.agents` folders exist — `.agents/specs/`, `.agents/complete/`, `.agents/archived/`, `.agents/followup/`, `.agents/profile/` and `.agents/recon/`, each with an empty `.gitkeep` (write only the ones missing; never touch what a folder holds), and write the spec to `.agents/specs/<feature_slug>/documents/<feature_slug>_spec.md` (creating the folders) using the project's `FEATURE.md` template if it exists (add any header field or section below that it lacks), otherwise this structure. No implementation detail or code examples. Then go straight to Step 6 for this feature.
85
85
 
86
86
  ```markdown
87
87
  # Spec for <feature-name>
@@ -139,7 +139,8 @@ Print `🗂️ [bt-spec] Writing the feature dashboard …`. The feature's dashb
139
139
  - copy `dashboard.html` to `.agents/specs/<feature_slug>/dashboard.html`, replacing `{{slug}}` with the slug and changing nothing else;
140
140
  - write `.agents/specs/<feature_slug>/documents/<feature_slug>_dashboard.js` from the starter `dashboard.template.js`, written whole as strict JSON behind its `window.FEATURE_DASHBOARD =` prefix — double-quoted keys, no comments, no trailing commas (`data-schema.md` documents every field): `feature` (title, slug, branch, `origin: "spec"`, size, proof, a plain-language summary from the spec's Summary), `documents` (the Spec alone), **`status: "specified"`**, `updatedAt` (the current local time, `YYYY-MM-DD HH:MM`), `estimate` empty, **no phases**, an empty `afterAction`, the spec’s Decisions as `decisions` when it has any, each an object `{ "id": "D1", "text": "…", "updates": [] }` (never a plain `"D1 — …"` string, which shows as an empty row), no follow ups, and one `activity` line: `Spec written — <size>, <proof> proof`;
141
141
  - write `.agents/specs/<feature_slug>/documents/<feature_slug>_live.js` from `live.template.js`, the same way: no task, `role: "orchestrator"`, `title: "Spec written — waiting for bt-plan"`, no steps;
142
- - in a git repository, make sure `.gitignore` (at the repository root) contains the line `.agents/*/*/documents/*_live.js` — append it once if missing.
142
+ - in a git repository, make sure `.gitignore` (at the repository root) contains the line `.agents/*/*/documents/*_live.js` — append it once if missing;
143
+ - **a spec of follow-ups** (`Fix F1 and F3 from @<source-folder>/documents/<slug>_followups.md`): from the project root, run `node <skills>/bt-execute/scripts/dashboard.mjs addresses .agents/specs/<feature_slug> --source <source-folder> --ids F1,F3` (`<skills>`: the skills directory this skill was loaded from). It records on this feature which follow-ups it addresses and links their document, and marks them **Specced** on the source dashboard with a link back here; from then on bt-plan and bt-execute carry the feature's progress to them (planned, in progress, done) through the same helper. It fails on an id the source does not have — fix the ids, never skip it. No Node: say so in the report, with the command to run.
143
144
 
144
145
  If the template cannot be found, skip the dashboard and say so — bt-plan creates it with the plan.
145
146