@bongos/core 1.19.1014 → 1.19.1015

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (59) hide show
  1. package/.bongos-core.json +61 -81
  2. package/docs/adr/0227-a-task-network-map-is-refused-the-goal-graph-is-the-map.md +4 -1
  3. package/docs/adr/0331-the-sky-is-the-ideators-home.md +6 -1
  4. package/docs/copy-inventory.md +139 -110
  5. package/docs/copy-registry.json +872 -296
  6. package/docs/module-api-changelog.md +2 -0
  7. package/modules/hall-ui/public/atlas.html +1 -1
  8. package/modules/hall-ui/public/blockers.html +1 -1
  9. package/modules/hall-ui/public/board-room.html +1 -1
  10. package/modules/hall-ui/public/collab.html +1 -1
  11. package/modules/hall-ui/public/copy-desk.html +1 -1
  12. package/modules/hall-ui/public/deploy.html +1 -1
  13. package/modules/hall-ui/public/diagrams.html +1 -1
  14. package/modules/hall-ui/public/drachmae.html +1 -1
  15. package/modules/hall-ui/public/fleet.html +1 -1
  16. package/modules/hall-ui/public/gate.html +1 -1
  17. package/modules/hall-ui/public/goal-map.html +125 -52
  18. package/modules/hall-ui/public/goal-map.states.json +29 -5
  19. package/modules/hall-ui/public/goals.html +1 -1
  20. package/modules/hall-ui/public/government.html +1 -1
  21. package/modules/hall-ui/public/idea.html +1 -1
  22. package/modules/hall-ui/public/ideas.html +1 -1
  23. package/modules/hall-ui/public/index.html +1 -1
  24. package/modules/hall-ui/public/modules.html +1 -1
  25. package/modules/hall-ui/public/people.html +1 -1
  26. package/modules/hall-ui/public/primer.html +1 -1
  27. package/modules/hall-ui/public/profile.html +1 -1
  28. package/modules/hall-ui/public/project-settings.html +1 -1
  29. package/modules/hall-ui/public/ranks.html +1 -1
  30. package/modules/hall-ui/public/roadmap.html +1 -1
  31. package/modules/hall-ui/public/roster.html +1 -1
  32. package/modules/hall-ui/public/sessions.html +1 -1
  33. package/modules/hall-ui/public/settings.html +1 -1
  34. package/modules/hall-ui/public/shell.js +11 -0
  35. package/modules/hall-ui/public/sky-data.js +19 -1
  36. package/modules/hall-ui/public/sky-interaction.js +14 -7
  37. package/modules/hall-ui/public/sky-layout.js +2 -1
  38. package/modules/hall-ui/public/sky-tour.js +10 -6
  39. package/modules/hall-ui/public/studio.html +1 -1
  40. package/modules/hall-ui/public/task.html +1 -1
  41. package/modules/hall-ui/public/thinking.css +6 -3
  42. package/modules/hall-ui/public/thinking.html +16 -10
  43. package/modules/hall-ui/public/watch.html +1 -1
  44. package/modules/hall-ui/public/work.html +1 -1
  45. package/package-lock.json +2 -2
  46. package/package.json +1 -1
  47. package/src/bongos/serve-internal.js +4 -0
  48. package/src/module-api.js +1 -1
  49. package/tests/goal_map_page.mjs +346 -211
  50. package/tests/hall_audit.mjs +1 -0
  51. package/tests/hall_nav.mjs +6 -1
  52. package/tests/hall_page_gate_map.mjs +3 -2
  53. package/tests/helpers.mjs +21 -5
  54. package/tests/nav_permission_atoms.mjs +1 -1
  55. package/tests/render_check.mjs +6 -4
  56. package/modules/hall-ui/public/goal-map-lib.js +0 -349
  57. package/modules/hall-ui/public/goal-map.css +0 -117
  58. package/modules/hall-ui/public/goal-map.js +0 -232
  59. package/tests/goal_map_lib.mjs +0 -214
@@ -2502,5 +2502,7 @@ is load-bearing: the script throws rather than guess if it is missing, and
2502
2502
  landed since 1.19.1012 with no explicit bump. run 36072935774. (task 1002620)
2503
2503
  1.19.1014 — CI auto-patch (publish-on-merge, ADR 0161): carrier for merges
2504
2504
  landed since 1.19.1013 with no explicit bump. run 36076310606. (task 1002620)
2505
+ 1.19.1015 — CI auto-patch (publish-on-merge, ADR 0161): carrier for merges
2506
+ landed since 1.19.1014 with no explicit bump. run 36078214605. (task 1002620)
2505
2507
  ---------------------------------------------------------------------------
2506
2508
  ```
@@ -91,7 +91,7 @@
91
91
 
92
92
  <div id="toast" class="toast" role="status" aria-live="polite" data-visible="0"></div>
93
93
 
94
- <script src="/builders/shell.js?v=2026-09-24-fleetcosts1"></script>
94
+ <script src="/builders/shell.js?v=2026-09-25-sky4b"></script>
95
95
  <!-- jump palette (Ctrl/Cmd-K). Optional by design: without it the shell's slot stays hidden. -->
96
96
  <script src="/builders/palette.js" defer></script>
97
97
  <script src="/builders/atlas.js?v=2026-09-02-index" defer></script>
@@ -50,7 +50,7 @@
50
50
 
51
51
  <!-- The app shell (sidebar + top bar). Dependency-free; loaded FIRST so the
52
52
  chrome exists before the page script runs. -->
53
- <script src="/builders/shell.js?v=2026-09-24-fleetcosts1"></script>
53
+ <script src="/builders/shell.js?v=2026-09-25-sky4b"></script>
54
54
  <!-- jump palette (Ctrl/Cmd-K). Optional by design: without it the shell's slot stays hidden. -->
55
55
  <script src="/builders/palette.js" defer></script>
56
56
  <!-- shared frontend toolkit (window.OTB — rank labels, number formats) + the
@@ -60,7 +60,7 @@
60
60
 
61
61
  <div id="toast" class="toast" role="status" aria-live="polite" data-visible="0"></div>
62
62
 
63
- <script src="/builders/shell.js?v=2026-09-24-fleetcosts1"></script>
63
+ <script src="/builders/shell.js?v=2026-09-25-sky4b"></script>
64
64
  <!-- jump palette (Ctrl/Cmd-K). Optional by design: without it the shell's slot stays hidden. -->
65
65
  <script src="/builders/palette.js" defer></script>
66
66
  <script src="/builders/dom-utils.js?v=2026-06-16-board"></script>
@@ -148,7 +148,7 @@
148
148
 
149
149
  <div id="toast" class="toast" role="status" aria-live="polite" data-visible="0"></div>
150
150
 
151
- <script src="/builders/shell.js?v=2026-09-24-fleetcosts1"></script>
151
+ <script src="/builders/shell.js?v=2026-09-25-sky4b"></script>
152
152
  <script src="/builders/palette.js" defer></script>
153
153
  <script src="/builders/dom-utils.js?v=2026-06-23-contrib"></script>
154
154
  <script src="/builders/collab-lib.js?v=2026-09-24-archive"></script>
@@ -177,7 +177,7 @@
177
177
 
178
178
  <div id="toast" class="toast" role="status" aria-live="polite" data-visible="0"></div>
179
179
 
180
- <script src="/builders/shell.js?v=2026-09-24-fleetcosts1"></script>
180
+ <script src="/builders/shell.js?v=2026-09-25-sky4b"></script>
181
181
  <script src="/builders/palette.js" defer></script>
182
182
  <script src="/builders/dom-utils.js?v=2026-06-23-contrib"></script>
183
183
  <script src="/builders/hall-kit.js"></script>
@@ -60,7 +60,7 @@
60
60
 
61
61
  <div id="toast" class="toast" role="status" aria-live="polite" data-visible="0"></div>
62
62
 
63
- <script src="/builders/shell.js?v=2026-09-24-fleetcosts1"></script>
63
+ <script src="/builders/shell.js?v=2026-09-25-sky4b"></script>
64
64
  <script src="/builders/palette.js" defer></script>
65
65
  <script src="/builders/dom-utils.js?v=2026-06-16-gate"></script>
66
66
  <script src="/builders/hall-kit.js"></script>
@@ -97,7 +97,7 @@
97
97
 
98
98
  <!-- The app shell (sidebar + top bar + footer). Dependency-free; runs at parse
99
99
  time so the chrome exists before the deferred page scripts execute. -->
100
- <script src="/builders/shell.js?v=2026-09-24-fleetcosts1"></script>
100
+ <script src="/builders/shell.js?v=2026-09-25-sky4b"></script>
101
101
  <!-- jump palette (Ctrl/Cmd-K). Optional by design: without it the shell's slot stays hidden. -->
102
102
  <script src="/builders/palette.js" defer></script>
103
103
  <script src="/builders/diagram-viewer.js?v=2026-06-14-diagviewer-1" defer></script>
@@ -98,7 +98,7 @@
98
98
 
99
99
  <div id="toast" class="toast" role="status" aria-live="polite" data-visible="0"></div>
100
100
 
101
- <script src="/builders/shell.js?v=2026-09-24-fleetcosts1"></script>
101
+ <script src="/builders/shell.js?v=2026-09-25-sky4b"></script>
102
102
  <!-- jump palette (Ctrl/Cmd-K). Optional by design: without it the shell's slot stays hidden. -->
103
103
  <script src="/builders/palette.js" defer></script>
104
104
  <script src="/builders/md-reader.js?v=2026-09-02-mdreader-2"></script>
@@ -54,7 +54,7 @@
54
54
 
55
55
  <div id="toast" class="toast" role="status" aria-live="polite" data-visible="0"></div>
56
56
 
57
- <script src="/builders/shell.js?v=2026-09-24-fleetcosts1"></script>
57
+ <script src="/builders/shell.js?v=2026-09-25-sky4b"></script>
58
58
  <script src="/builders/palette.js" defer></script>
59
59
  <script src="/builders/dom-utils.js?v=2026-06-16-gate"></script>
60
60
  <script src="/builders/hall-kit.js"></script>
@@ -76,7 +76,7 @@
76
76
  <div id="gate-modal-root"></div>
77
77
  <div id="toast" class="toast" role="status" aria-live="polite" data-visible="0"></div>
78
78
 
79
- <script src="/builders/shell.js?v=2026-09-24-fleetcosts1"></script>
79
+ <script src="/builders/shell.js?v=2026-09-25-sky4b"></script>
80
80
  <!-- jump palette (Ctrl/Cmd-K). Optional by design: without it the shell's slot stays hidden. -->
81
81
  <script src="/builders/palette.js" defer></script>
82
82
  <script src="/builders/dom-utils.js?v=2026-06-16-gate"></script>
@@ -2,69 +2,142 @@
2
2
  <html lang="en">
3
3
  <head>
4
4
  <meta charset="utf-8">
5
- <meta name="viewport" content="width=device-width, initial-scale=1">
6
- <title>Goal map — {{worldName}}</title>
7
- <meta name="description" content="Which goals wait on which other goals: the goals that are tied together drawn as a map, the goals that stand alone listed beside it, and every goal in a table.">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
6
+ <title>The sky — {{worldName}}</title>
7
+ <meta name="description" content="The whole project, drawn from the ledger: every goal a gravity well sized by its credits, the routes between goals that wait on each other, and a ledger drawer that lists all of it.">
8
8
  <link rel="icon" href="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'><text x='16' y='24' font-size='24' text-anchor='middle' font-family='sans-serif'>⌂</text></svg>">
9
9
  <link rel="preconnect" href="https://fonts.googleapis.com">
10
10
  <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
11
- <link rel="stylesheet" href="/builders/style.css?v=2026-07-02-shell1">
12
- <link rel="stylesheet" href="/builders/goal-map.css">
11
+ <!-- The faces (Manrope, JetBrains Mono) come from the branding pack's font
12
+ links, injected into this head by the server like every hall page's
13
+ (tests/hall_tokens.mjs: no hall page hardcodes a web-font stylesheet). -->
14
+ <link rel="stylesheet" href="/builders/thinking.css?v=2026-09-25-sky4">
13
15
  </head>
14
- <!-- THE GOAL MAP (task 1003479, goal 1000089; ADR 0227 §6 item 3 + §10.4). The
15
- picture is the ENHANCEMENT and the table is the page: every fact the map
16
- draws is a cell in the table under it, on screen by default and not behind a
17
- toggle (ADR 0227 §5). It takes no nav slot — like the sky, it is reached from
18
- the page it maps (Goals) and is never the only path to anything it shows. -->
19
- <body data-page="goal-map" data-page-title="Goal map">
16
+ <!-- THE PROJECT SKY (task 1004232 / sky part 4 of 5, goal 1000095; ADR 0331,
17
+ ADR 0227 §11). The SAME page as /thinking — docs/design/mocks/sky/
18
+ sky.template.html, the prototype the owner adopted as the design of record
19
+ — opened in its "the whole project" lens: goals as wells sized by credits,
20
+ settled and collapsed goals with mass, alive wells glowing, routes as rim
21
+ arrows charted by a shuttle, explore on by default, the clock, "my ideas"
22
+ off by default, and the ledger drawer (L) — every goal, both directions of
23
+ each dependency by name — which is what the old goal map's table said and
24
+ is the accessible path. It replaced that goal map (task 1003479) at this
25
+ URL and took the nav slot the map was denied, under Goals (owner,
26
+ 2026-09-24; ADR 0227 §11).
20
27
 
21
- <div class="app">
22
- <aside class="app-sidebar" id="app-sidebar" aria-label="Primary"></aside>
23
- <div class="app-scrim" id="app-scrim" hidden></div>
24
- <div class="app-body">
25
- <header class="app-topbar" id="app-topbar"></header>
26
- <div class="app-content">
27
- <div class="page-head page-head--board">
28
- <h1 class="page-head__h">Goal map</h1>
29
- <p class="page-head__sub" id="gm-sub">Reading the goals…</p>
30
- </div>
28
+ The markup is thinking.html's, verbatim but for three things: the body
29
+ says which lens is home (`data-sky-lens="all"` — sky-tour.js boots into it
30
+ and the tour hands back to it), the brand line and the lens switcher start
31
+ in that lens, and the canvas's own words say what this sky draws. The
32
+ sheet and the seven sky-*.js files are SHARED with /thinking, never
33
+ copied: the switcher's "simple" and "your thinking" leave for /thinking,
34
+ and /thinking's "the whole project" leaves for here. The same rule as
35
+ /thinking on chrome: none — the sky is a full-screen surface with its own
36
+ header, and the hall's doors (the goal, the task, the record) open from
37
+ the panel.
31
38
 
32
- <main id="hall-main">
33
- <section class="scroll" id="gm-graph-scroll" aria-labelledby="gm-graph-h">
34
- <h2 id="gm-graph-h" class="scroll__h">Goals that wait on each other</h2>
35
- <div id="gm-graph"><p class="profile__placeholder">Loading…</p></div>
36
- <ul id="gm-legend" class="gm-legend" aria-label="Categories" hidden></ul>
37
- </section>
39
+ ADR 0227 §1's refusal stands here: tasks are drawn only inside ONE goal
40
+ once its well is past the zoom threshold (dust density on its rings below
41
+ it), never for every goal at once, and there is no "show every task"
42
+ control — tests/goal_map_page.mjs pins both. -->
43
+ <body data-page="goal-map" data-page-title="The sky" data-sky-lens="all">
38
44
 
39
- <section class="scroll" id="gm-alone-scroll" aria-labelledby="gm-alone-h" hidden>
40
- <h2 id="gm-alone-h" class="scroll__h">Goals that stand alone</h2>
41
- <p class="scroll__lede" id="gm-alone-lede"></p>
42
- <ul id="gm-alone" class="gm-alone"></ul>
43
- </section>
45
+ <!-- The one <main> landmark the kit's a11y floor asks of every hall page
46
+ (one-header-main-h1). The canvas is the page's content, and the landmark
47
+ wraps it with no rule of its own, so nothing moves — the canvas is
48
+ position: fixed. -->
49
+ <main>
50
+ <canvas id="sky" tabindex="0" role="img" aria-label="The sky, drawn from the ledger: every goal a gravity well, every dependency a route. Every goal here is also a row in the ledger; press L to open it, ? to take the tour."></canvas>
51
+ </main>
44
52
 
45
- <section class="scroll" id="gm-table-scroll" aria-labelledby="gm-table-h" hidden>
46
- <h2 id="gm-table-h" class="scroll__h">Every goal, as a table</h2>
47
- <p class="scroll__lede">The same facts as the map, and more of them: with this many separate clusters the table holds more of the structure than the picture does. Each goal lists, by name, the goals it waits on and the goals that wait on it, with how many tasks the dependency runs through.</p>
48
- <div id="gm-table"></div>
49
- </section>
50
- </main>
51
-
52
- <footer class="app-foot" id="app-foot"></footer>
53
- </div>
53
+ <!-- The <header> is the BRAND (the h1 and the figures) and the lens and tools
54
+ stay its siblings inside the same .top strip — the kit's phone floor
55
+ (top-bar-80px) measures the page's <header>. thinking.html's shape. -->
56
+ <div class="top">
57
+ <header class="brand">
58
+ <h1>the sky <em id="lensWord">— the whole project</em></h1>
59
+ <div class="stats" id="stats"></div>
60
+ </header>
61
+ <div class="lens" role="group" aria-label="Filter" id="lensGroup">
62
+ <button type="button" id="lensSimple" aria-pressed="false">simple</button>
63
+ <button type="button" id="lensMine" aria-pressed="false">your thinking</button>
64
+ <button type="button" id="lensAll" aria-pressed="true">the whole project</button>
65
+ </div>
66
+ <div class="tools" id="tools">
67
+ <button type="button" class="pill" id="roomBtn" aria-pressed="false" title="The same sky, as a list (L)">list</button>
68
+ <button type="button" class="pill" id="recentBtn" aria-pressed="false" hidden title="Only the thoughts of the last thirty days.">recent</button>
69
+ <button type="button" class="pill" id="claudeBtn" aria-pressed="false" hidden title="Show the thoughts a session filed under your name. Off by default: only what a person filed.">claude layer</button>
70
+ <button type="button" class="pill" id="influenceBtn" aria-pressed="false" hidden title="Only the goals your thoughts touched — everything else fades.">my influence</button>
71
+ <button type="button" class="pill" id="exploreBtn" aria-pressed="true" title="Explore: the sky reveals itself as you follow routes from where you begin.">explore</button>
72
+ <button type="button" class="pill" id="ideasBtn" aria-pressed="false" title="Lay your thoughts over the project map.">my ideas</button>
73
+ <button type="button" class="pill" id="rehearse" aria-pressed="false" hidden title="What if: invents removals, dimming and nods — none has happened in the ledger yet — so you can see how the dead would read. Sizes are never invented.">what if</button>
74
+ <button type="button" class="pill icon" id="clockBtn" title="Show or hide the clock" aria-label="Show or hide the clock">◷</button>
75
+ <button type="button" class="pill icon" id="tourBtn" title="How to read the sky (?)" aria-label="How to read the sky">?</button>
76
+ <button type="button" class="pill icon" id="fitBtn" title="Fit the sky (0)" aria-label="Fit the whole sky">⌂</button>
54
77
  </div>
55
78
  </div>
56
79
 
57
- <div id="toast" class="toast" role="status" aria-live="polite" data-visible="0"></div>
80
+ <div class="jump">
81
+ <input type="search" id="jump" placeholder="jump to a goal or a thought" autocomplete="off" aria-label="Jump to a goal or a thought">
82
+ <ul id="jumpList" hidden></ul>
83
+ </div>
84
+
85
+ <div class="composer" id="composerWrap">
86
+ <form id="file" autocomplete="off">
87
+ <input type="text" id="thought" placeholder="release a thought — one line" aria-label="Release a thought" maxlength="180">
88
+ <button type="button" class="mode" id="fullToggle" aria-pressed="false" title="File it as a Full Idea: the line, then five questions, scored on completeness. Off = a quick idea, one line.">full idea</button>
89
+ <button type="submit" class="go" id="fileGo">file</button>
90
+ </form>
91
+ <div class="gravity" id="gravity" aria-live="polite">gravity — the goal that catches it lights as you type; letting it float is a real answer</div>
92
+ <div class="steps" id="fullSteps" hidden></div>
93
+ <div class="receipt" id="receipt" hidden role="status"><span class="dot"></span><span id="receiptText"></span><button type="button" id="receiptGo">see it</button><button type="button" id="receiptX" aria-label="Dismiss">×</button></div>
94
+ </div>
95
+
96
+ <div class="card glass" id="card" role="tooltip" aria-hidden="true"></div>
97
+ <div class="menu glass" id="menu" hidden role="menu" aria-label="Chart the routes"></div>
98
+
99
+ <aside class="room" id="room" hidden aria-label="The list">
100
+ <div class="head"><h2 id="roomTitle">the ledger</h2><span class="lbl" id="roomCount"></span></div>
101
+ <div class="filters" id="filters" role="group" aria-label="Filter"></div>
102
+ <div class="rows" id="rows"></div>
103
+ </aside>
104
+
105
+ <aside class="panel" id="panel" hidden aria-live="polite"></aside>
106
+
107
+ <div class="start glass" id="start" hidden role="dialog" aria-label="Where do you begin?">
108
+ <span class="lbl">explore</span>
109
+ <h3>Where do you begin?</h3>
110
+ <p>The sky reveals itself as you go. Pick a well to start in; every route you chart brings the goal at its far end into view.</p>
111
+ <div class="opts" id="startOpts"></div>
112
+ </div>
113
+
114
+ <div class="tour glass" id="tour" hidden role="dialog" aria-label="How to read the sky">
115
+ <div class="step"><span class="lbl" id="tourN"></span><span class="dots" id="tourDots"></span></div>
116
+ <h3 id="tourH"></h3>
117
+ <p id="tourP"></p>
118
+ <div class="acts"><button type="button" class="door primary" id="tourNext">next</button><button type="button" class="door" id="tourBack">back</button><button type="button" class="skip" id="tourSkip">skip the tour</button></div>
119
+ </div>
120
+
121
+ <footer class="foot">
122
+ <div class="time" id="time">
123
+ <button type="button" class="play" id="play" aria-pressed="false" aria-label="Replay the sky from the first day">▶</button>
124
+ <input type="range" id="clock" min="0" max="1000" value="1000" aria-label="The day the sky is drawn for">
125
+ <span class="when" id="when">today</span>
126
+ <button type="button" class="hide" id="timeHide" aria-label="Hide the clock">×</button>
127
+ </div>
128
+ <div class="footrow">
129
+ <div class="legend" id="legend"></div>
130
+ <div class="alt" id="alt"></div>
131
+ </div>
132
+ </footer>
58
133
 
59
- <script src="/builders/shell.js?v=2026-09-24-fleetcosts1"></script>
60
- <script src="/builders/palette.js" defer></script>
61
- <script src="/builders/dom-utils.js?v=2026-06-23-contrib"></script>
62
- <script src="/builders/hall-kit.js"></script>
63
- <!-- The model and layout are a pure lib so a test runs the real arithmetic; the
64
- page script keeps only the drawing and the table. Lib BEFORE page. -->
65
- <script src="/builders/goal-map-lib.js"></script>
66
- <!-- task 1004204: measured-width text fitting, shared with the goal forest. -->
67
- <script src="/builders/text-fit.js"></script>
68
- <script src="/builders/goal-map.js"></script>
134
+ <script src="/builders/idea-objects.js?v=2026-09-25-sky4"></script>
135
+ <script src="/builders/sky-data.js?v=2026-09-25-sky4"></script>
136
+ <script src="/builders/sky-layout.js?v=2026-09-25-sky4"></script>
137
+ <script src="/builders/sky-draw.js?v=2026-09-25-sky4"></script>
138
+ <script src="/builders/sky-interaction.js?v=2026-09-25-sky4"></script>
139
+ <script src="/builders/sky-panel.js?v=2026-09-25-sky4"></script>
140
+ <script src="/builders/sky-composer.js?v=2026-09-25-sky4"></script>
141
+ <script src="/builders/sky-tour.js?v=2026-09-25-sky4"></script>
69
142
  </body>
70
143
  </html>
@@ -1,14 +1,38 @@
1
1
  {
2
- "_": "THE GOAL MAP (task 1003479, goal 1000089; ADR 0227 §6 item 3) through modules/ui-design/kit/render.js. The page reads ONE authenticated aggregate, GET /goals/graph, so against the kit's own stub it renders its signed-out / failed-read state — a state the floors must hold in and is rendered here deliberately. To look at the populated map (the layered picture, the stand-alone chips, the table), run it against the hall-preview harness, whose goals__graph.json fixture carries one large cluster, a triple, pairs, a mutual pair (a loop) and a private goal beside the stand-alone majority:\n\n node scripts/hall-preview/server.js --port 4620 --fixture-me\n node modules/ui-design/kit/render.js --states modules/hall-ui/public/goal-map.states.json --base-in http://localhost:4620 --base-out http://localhost:4620",
2
+ "_": "THE PROJECT SKY (task 1004232 / sky part 4 of 5, goal 1000095; ADR 0331, ADR 0227 §11) through modules/ui-design/kit/render.js — the same page as /thinking (thinking.states.json) opened in its 'the whole project' lens. The page draws GET /sky + GET /sky/mine; against the kit's own stub neither exists, so every state below renders the EMPTY sky — a real state the floors must hold in (the lenses, the tools, the ledger drawer and the tour all exist with no goal read). To look at the populated sky — the wells sized by credits, the routes, the shuttle menu, explore's 'where do you begin' — run it against the hall-preview harness, whose sky.json + sky__mine.json fixtures carry the wells and the routes:\n\n node scripts/hall-preview/server.js --port 4620 --fixture-me\n node modules/ui-design/kit/render.js --states modules/hall-ui/public/goal-map.states.json --base-in http://localhost:4620 --base-out http://localhost:4620\n\nThe tour opens by itself on a first visit (sky-tour-seen), so states that want the bare sky skip it first; explore is on by default and asks where you begin the first time (sky-seen), so the 'sky' state renders that prompt on purpose.",
3
3
  "page": "/builders/goal-map",
4
4
  "surface": "hall-ui",
5
5
  "stub": { "prefix": "/builders/" },
6
+ "modes": ["dark"],
6
7
  "modeQuery": false,
7
- "ignoreRequests": ["/api/(gds|bongos)/"],
8
- "ignoreConsole": ["/api/(gds|bongos)/", "\\b401\\b", "\\b404\\b", "Unauthorized", "Not Found", "load failed"],
8
+ "ignoreRequests": ["/api/(gds|bongos)/", "fonts\\.g(oogleapis|static)\\.com"],
9
+ "ignoreConsole": ["/api/(gds|bongos)/", "\\b401\\b", "\\b404\\b", "Unauthorized", "Not Found", "load failed", "fonts\\.g(oogleapis|static)\\.com"],
9
10
  "states": {
10
- "map": { "auth": true, "actions": [["wait", 1200]], "expect": { "visible": ["#gm-graph"] } },
11
+ "tour": {
12
+ "auth": true,
13
+ "_": "The first visit: the project sky with the tour's first step over it.",
14
+ "actions": [["wait", 1400]],
15
+ "expect": { "visible": ["#sky", "#tour"] }
16
+ },
17
+ "sky": {
18
+ "auth": true,
19
+ "_": "The 'the whole project' lens, bare: the brand line, the lenses, explore + my ideas + the clock in the tools, the legend — and explore's 'where do you begin' prompt on a first visit.",
20
+ "actions": [["wait", 1200], ["clickIfVisible", "#tourSkip"], ["wait", 300]],
21
+ "expect": { "visible": ["#sky", "#exploreBtn", "#ideasBtn"] }
22
+ },
23
+ "wells": {
24
+ "auth": true,
25
+ "_": "The whole sky at once: 'show me everything' answers the prompt, explore goes off, and every well is drawn — the shot to compare with the old goal map.",
26
+ "actions": [["wait", 1200], ["clickIfVisible", "#tourSkip"], ["wait", 200], ["clickIfVisible", "#startOpts [data-start=\"all\"]"], ["wait", 700]],
27
+ "expect": { "visible": ["#sky", "#exploreBtn"] }
28
+ },
29
+ "ledger": {
30
+ "auth": true,
31
+ "_": "The ledger drawer — every goal as a row, with the alive / wells / settled / collapsed / with-routes filters — opened by the L key.",
32
+ "actions": [["wait", 1200], ["clickIfVisible", "#tourSkip"], ["wait", 200], ["press", "l"], ["wait", 300]],
33
+ "expect": { "visible": ["#room", "#rows"] }
34
+ },
11
35
  "out": { "auth": false, "actions": [["wait", 600]] }
12
36
  },
13
- "reducedMotion": { "auth": true, "actions": [["wait", 1200]] }
37
+ "reducedMotion": { "auth": true, "actions": [["wait", 1200], ["clickIfVisible", "#tourSkip"], ["wait", 200]] }
14
38
  }
@@ -235,7 +235,7 @@
235
235
 
236
236
  <div id="toast" class="toast" role="status" aria-live="polite" data-visible="0"></div>
237
237
 
238
- <script src="/builders/shell.js?v=2026-09-24-fleetcosts1"></script>
238
+ <script src="/builders/shell.js?v=2026-09-25-sky4b"></script>
239
239
  <!-- jump palette (Ctrl/Cmd-K). Optional by design: without it the shell's slot stays hidden. -->
240
240
  <script src="/builders/palette.js" defer></script>
241
241
  <script src="/builders/dom-utils.js?v=2026-06-14-domutils"></script>
@@ -134,7 +134,7 @@
134
134
 
135
135
  <div id="toast" class="toast" role="status" aria-live="polite" data-visible="0"></div>
136
136
 
137
- <script src="/builders/shell.js?v=2026-09-24-fleetcosts1"></script>
137
+ <script src="/builders/shell.js?v=2026-09-25-sky4b"></script>
138
138
  <!-- jump palette (Ctrl/Cmd-K). Optional by design: without it the shell's slot stays hidden. -->
139
139
  <script src="/builders/palette.js" defer></script>
140
140
  <script src="/builders/dom-utils.js?v=2026-06-16-gate"></script>
@@ -52,7 +52,7 @@
52
52
 
53
53
  <div id="toast" class="toast" role="status" aria-live="polite" data-visible="0"></div>
54
54
 
55
- <script src="/builders/shell.js?v=2026-09-24-fleetcosts1"></script>
55
+ <script src="/builders/shell.js?v=2026-09-25-sky4b"></script>
56
56
  <script src="/builders/palette.js" defer></script>
57
57
  <script src="/builders/dom-utils.js?v=2026-06-23-contrib" defer></script>
58
58
  <!-- task-detail.js still owns the #/idea/N and #/blocker/N overlay, so a ref
@@ -225,7 +225,7 @@
225
225
 
226
226
  <div id="toast" class="toast" role="status" aria-live="polite" data-visible="0"></div>
227
227
 
228
- <script src="/builders/shell.js?v=2026-09-24-fleetcosts1"></script>
228
+ <script src="/builders/shell.js?v=2026-09-25-sky4b"></script>
229
229
  <script src="/builders/palette.js" defer></script>
230
230
  <script src="/builders/dom-utils.js?v=2026-06-23-contrib"></script>
231
231
  <!-- task 1003069 (R08) — the quick-filing form's routed result links a task
@@ -102,7 +102,7 @@
102
102
  <script src="/builders/brand-apply.js?v=2026-06-27-r75" defer></script>
103
103
  <!-- The app shell (sidebar + top bar + view router). Dependency-free; loaded
104
104
  BEFORE builders.js so the chrome ids exist when events are wired. -->
105
- <script src="/builders/shell.js?v=2026-09-24-fleetcosts1" defer></script>
105
+ <script src="/builders/shell.js?v=2026-09-25-sky4b" defer></script>
106
106
  <!-- jump palette (Ctrl/Cmd-K). Optional by design: without it the shell's slot stays hidden. -->
107
107
  <script src="/builders/palette.js" defer></script>
108
108
  <!-- task 2166: the shared component kit (window.OTBKit) — pager/ledger/rail.
@@ -80,7 +80,7 @@
80
80
 
81
81
  <div id="toast" class="toast" role="status" aria-live="polite" data-visible="0"></div>
82
82
 
83
- <script src="/builders/shell.js?v=2026-09-24-fleetcosts1"></script>
83
+ <script src="/builders/shell.js?v=2026-09-25-sky4b"></script>
84
84
  <!-- jump palette (Ctrl/Cmd-K). Optional by design: without it the shell's slot stays hidden. -->
85
85
  <script src="/builders/palette.js" defer></script>
86
86
  <script src="/builders/dom-utils.js?v=2026-06-23-contrib"></script>
@@ -55,7 +55,7 @@
55
55
 
56
56
  <!-- The app shell (sidebar + top bar). Dependency-free; loaded FIRST so the
57
57
  chrome exists before the page script runs. -->
58
- <script src="/builders/shell.js?v=2026-09-24-fleetcosts1"></script>
58
+ <script src="/builders/shell.js?v=2026-09-25-sky4b"></script>
59
59
  <!-- jump palette (Ctrl/Cmd-K). Optional by design: without it the shell's slot stays hidden. -->
60
60
  <script src="/builders/palette.js" defer></script>
61
61
  <!-- shared frontend toolkit (window.OTB — rank labels, number formats) + the
@@ -115,7 +115,7 @@
115
115
 
116
116
  <div id="toast" class="toast" role="status" aria-live="polite" data-visible="0"></div>
117
117
 
118
- <script src="/builders/shell.js?v=2026-09-24-fleetcosts1"></script>
118
+ <script src="/builders/shell.js?v=2026-09-25-sky4b"></script>
119
119
  <!-- jump palette (Ctrl/Cmd-K). Optional by design: without it the shell's slot stays hidden. -->
120
120
  <script src="/builders/palette.js" defer></script>
121
121
  <!-- the shared markdown reader (window.OTBMdReader) — primer.js renders through
@@ -187,7 +187,7 @@
187
187
 
188
188
  <!-- The app shell (sidebar + top bar). Dependency-free; loaded FIRST so the
189
189
  chrome exists before the page script runs. -->
190
- <script src="/builders/shell.js?v=2026-09-24-fleetcosts1"></script>
190
+ <script src="/builders/shell.js?v=2026-09-25-sky4b"></script>
191
191
  <!-- jump palette (Ctrl/Cmd-K). Optional by design: without it the shell's slot stays hidden. -->
192
192
  <script src="/builders/palette.js" defer></script>
193
193
  <!-- shared frontend toolkit (window.OTB) — loaded before profile.js, which pulls from it. -->
@@ -58,7 +58,7 @@
58
58
 
59
59
  <div id="toast" class="toast" role="status" aria-live="polite" data-visible="0"></div>
60
60
 
61
- <script src="/builders/shell.js?v=2026-09-24-fleetcosts1"></script>
61
+ <script src="/builders/shell.js?v=2026-09-25-sky4b"></script>
62
62
  <!-- jump palette (Ctrl/Cmd-K). Optional by design: without it the shell's slot stays hidden. -->
63
63
  <script src="/builders/palette.js" defer></script>
64
64
  <script src="/builders/dom-utils.js?v=2026-06-16-gate"></script>
@@ -68,7 +68,7 @@
68
68
 
69
69
  <!-- The app shell (sidebar + top bar). Dependency-free; loaded FIRST so the
70
70
  chrome exists before the page script runs. -->
71
- <script src="/builders/shell.js?v=2026-09-24-fleetcosts1"></script>
71
+ <script src="/builders/shell.js?v=2026-09-25-sky4b"></script>
72
72
  <!-- jump palette (Ctrl/Cmd-K). Optional by design: without it the shell's slot stays hidden. -->
73
73
  <script src="/builders/palette.js" defer></script>
74
74
  <!-- shared frontend toolkit (window.OTB) — loaded before ranks.js, which pulls from it. -->
@@ -41,7 +41,7 @@
41
41
 
42
42
  <div id="toast" class="toast" role="status" aria-live="polite" data-visible="0"></div>
43
43
 
44
- <script src="/builders/shell.js?v=2026-09-24-fleetcosts1"></script>
44
+ <script src="/builders/shell.js?v=2026-09-25-sky4b"></script>
45
45
  <!-- jump palette (Ctrl/Cmd-K). Optional by design: without it the shell's slot stays hidden. -->
46
46
  <script src="/builders/palette.js" defer></script>
47
47
  <script src="/builders/dom-utils.js?v=2026-06-14-domutils"></script>
@@ -50,7 +50,7 @@
50
50
 
51
51
  <!-- The app shell (sidebar + top bar). Dependency-free; loaded FIRST so the
52
52
  chrome exists before the page script runs. -->
53
- <script src="/builders/shell.js?v=2026-09-24-fleetcosts1"></script>
53
+ <script src="/builders/shell.js?v=2026-09-25-sky4b"></script>
54
54
  <!-- jump palette (Ctrl/Cmd-K). Optional by design: without it the shell's slot stays hidden. -->
55
55
  <script src="/builders/palette.js" defer></script>
56
56
  <!-- shared frontend toolkit (window.OTB — rank labels, number formats) + the
@@ -99,7 +99,7 @@
99
99
 
100
100
  <!-- The app shell (sidebar + top bar). Dependency-free; loaded FIRST so the
101
101
  chrome exists before the page script runs. -->
102
- <script src="/builders/shell.js?v=2026-09-24-fleetcosts1"></script>
102
+ <script src="/builders/shell.js?v=2026-09-25-sky4b"></script>
103
103
  <!-- jump palette (Ctrl/Cmd-K). Optional by design: without it the shell's slot stays hidden. -->
104
104
  <script src="/builders/palette.js" defer></script>
105
105
  <!-- shared frontend toolkit (window.OTB) — loaded BEFORE sessions.js so it can pull from it. -->
@@ -416,7 +416,7 @@
416
416
 
417
417
  <!-- The app shell (sidebar + top bar). Dependency-free; loaded FIRST so the
418
418
  chrome exists before the page scripts run. -->
419
- <script src="/builders/shell.js?v=2026-09-24-fleetcosts1"></script>
419
+ <script src="/builders/shell.js?v=2026-09-25-sky4b"></script>
420
420
  <!-- jump palette (Ctrl/Cmd-K). Optional by design: without it the shell's slot stays hidden. -->
421
421
  <script src="/builders/palette.js" defer></script>
422
422
  <!-- shared frontend toolkit (window.OTB) — loaded before consuming IIFEs. -->
@@ -155,6 +155,17 @@
155
155
  { id: 'home', label: 'Home', icon: 'home', href: '/', view: 'home', gate: 'always' },
156
156
  { id: 'roadmap', label: 'Roadmap', icon: 'roadmap', href: '/roadmap', gate: 'member' },
157
157
  { id: 'goals', label: 'Goals', icon: 'goals', href: '/goals', gate: 'member' },
158
+ // task 1004232 (sky part 4 of 5, goal 1000095; ADR 0227 §11, ADR 0331):
159
+ // THE PROJECT SKY — the whole project drawn from the ledger, at the URL
160
+ // the goal map held. The map took no nav slot on purpose (task 1003479:
161
+ // reachable from Goals, never load-bearing); the owner granted the sky
162
+ // that slot on 2026-09-24, directly under Goals because it is the goals
163
+ // seen as one picture — the same audience, the project. gate 'member' as
164
+ // Goals is: cosmetic, like every gate here — the page gate is the wall
165
+ // (requireBuilderPage, the tier the map sat on). The id stays 'goal-map'
166
+ // because the href does: Goals' own "see which goals wait on each other"
167
+ // link and every bookmark land here unchanged.
168
+ { id: 'goal-map', label: 'Sky', icon: 'goals', href: '/goal-map', gate: 'member' },
158
169
  // task 1966: Tasks (the board formerly labelled "Work") is visible to ANY
159
170
  // signed-in builder (incl. newcomer Xenos). Claimability is controlled
160
171
  // per-task, not by hiding the page — every row carries a rank tag and the
@@ -25,6 +25,24 @@
25
25
  // "must not ship" rows): the "claude layer" pill and every born-of mark. The
26
26
  // code that draws them is kept, and it reads `filed_via` / `bornOf` that are
27
27
  // simply absent today — so part 5 turns them on by shipping the facts.
28
+ //
29
+ // ONE PAGE, TWO DOORS (part 4, task 1004232). /thinking and /goal-map are the
30
+ // same seven files over the same markup; the body's `data-sky-lens` says which
31
+ // lens is HOME — 'mine' on /thinking (the ideator's sky), 'all' on /goal-map
32
+ // (the project sky). `S.home` is read once here; sky-tour.js boots into it and
33
+ // hands back to it after the tour, and sky-interaction.js's switcher leaves
34
+ // for the other page rather than switching when the lens asked for lives
35
+ // there. Every lens still exists inside either page, because the tour walks
36
+ // all three.
37
+ //
38
+ // ONE PAGE, TWO DOORS (part 4, task 1004232). /thinking and /goal-map are the
39
+ // same seven files over the same markup; the body's `data-sky-lens` says which
40
+ // lens is HOME — 'mine' on /thinking (the ideator's sky), 'all' on /goal-map
41
+ // (the project sky). `S.home` is read once here; sky-tour.js boots into it and
42
+ // hands back to it after the tour, and sky-interaction.js's switcher leaves
43
+ // for the other page rather than switching when the lens asked for lives
44
+ // there. Every lens still exists inside either page, because the tour walks
45
+ // all three.
28
46
 
29
47
  (() => {
30
48
  'use strict';
@@ -78,7 +96,7 @@
78
96
  baseIdeas: [], ideas: [], becameGoal: new Map(), becameCrit: new Map(), T0: NOW - 86400000,
79
97
  hasFiledVia: false, canNod: false, template: null, buildingVersionIds: [], loaded: false,
80
98
  rehearsal: false, claudeLayer: false, influence: false, ideasOnMap: false, recentOnly: false,
81
- lens: 'mine', picked: null, hover: null, filter: 'all', gfilter: 'all', dirty: true, gravityGoal: null, flying: null, tourSpot: null,
99
+ lens: 'mine', home: document.body.dataset.skyLens === 'all' ? 'all' : 'mine', picked: null, hover: null, filter: 'all', gfilter: 'all', dirty: true, gravityGoal: null, flying: null, tourSpot: null,
82
100
  clock: NOW, playing: false, clockHidden: store.get('sky-clock') === 'off',
83
101
  charted: new Map(), focusSet: null, explore: { on: store.get('sky-explore') !== 'off', seen: new Set(JSON.parse(store.get('sky-seen') || '[]')) },
84
102
  cam: { x: 0, y: 0, k: 0.12 }, flight: null, W: 0, H: 0, DPR: 1, t0: 0, shuttles: [],