cursedbelt 6.30.1 → 6.31.1

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 (158) hide show
  1. package/dist/react/Toast.js +1 -1
  2. package/dist/react/Toast.js.map +1 -1
  3. package/dist/react/back/backName.d.ts +16 -0
  4. package/dist/react/back/backName.d.ts.map +1 -0
  5. package/dist/react/back/backName.js +19 -0
  6. package/dist/react/back/backName.js.map +1 -0
  7. package/dist/react/back/index.d.ts +1 -0
  8. package/dist/react/back/index.d.ts.map +1 -1
  9. package/dist/react/back/index.js +1 -0
  10. package/dist/react/back/index.js.map +1 -1
  11. package/dist/react/components/BuildFreshness.d.ts +3 -3
  12. package/dist/react/components/DataTable/ColumnChecklist.d.ts +1 -1
  13. package/dist/react/components/DataTable/ColumnChecklist.js +1 -1
  14. package/dist/react/components/DataTable/DataTable.d.ts +2 -2
  15. package/dist/react/components/DataTable/TableFilterBuilder.d.ts +1 -1
  16. package/dist/react/components/DataTable/TableFilterBuilder.js +1 -1
  17. package/dist/react/components/DataTable/filterQuery.d.ts +1 -1
  18. package/dist/react/components/DataTable/filterQuery.js +1 -1
  19. package/dist/react/components/DataTable/useTableViewMode.d.ts +1 -1
  20. package/dist/react/components/DataTable/useTableViewMode.js +1 -1
  21. package/dist/react/components/ElsewhereNotice.d.ts +3 -3
  22. package/dist/react/components/FileDropZone.d.ts +1 -1
  23. package/dist/react/components/FileDropZone.js +1 -1
  24. package/dist/react/components/NativeSelect.d.ts +1 -1
  25. package/dist/react/deep-link/links.js +1 -1
  26. package/dist/react/engagement/beaconClient.d.ts +1 -1
  27. package/dist/react/engagement/beaconClient.js +1 -1
  28. package/dist/react/file-tree/FileTree.d.ts +3 -3
  29. package/dist/react/file-tree/FileTree.js +2 -2
  30. package/dist/react/folder-tree/FolderTreeRail.js +1 -1
  31. package/dist/react/folder-tree/FolderTreeRail.js.map +1 -1
  32. package/dist/react/folder-tree/NewFolderControl.js +1 -1
  33. package/dist/react/lib/apiClient.d.ts +24 -0
  34. package/dist/react/lib/apiClient.d.ts.map +1 -0
  35. package/dist/react/lib/apiClient.js +46 -0
  36. package/dist/react/lib/apiClient.js.map +1 -0
  37. package/dist/react/master-lock/MasterLockDialog.js +3 -3
  38. package/dist/react/media/DenseGalleryShell.d.ts +1 -1
  39. package/dist/react/media/FrameGrabber.d.ts +2 -2
  40. package/dist/react/media/FrameGrabber.js +3 -3
  41. package/dist/react/media/PlayerStrip.js +2 -2
  42. package/dist/react/media/VideoCutEditor.d.ts +4 -4
  43. package/dist/react/media/VideoPlayer.d.ts +4 -4
  44. package/dist/react/media/VideoPlayer.d.ts.map +1 -1
  45. package/dist/react/media/VideoPlayer.js +15 -15
  46. package/dist/react/media/VideoPlayer.js.map +1 -1
  47. package/dist/react/media/VideoTurner.js +2 -2
  48. package/dist/react/media/cutTimelineMath.js +1 -1
  49. package/dist/react/media/pictureEdit.d.ts +1 -1
  50. package/dist/react/media/sourceFault.d.ts +1 -1
  51. package/dist/react/media/sourceFault.js +5 -5
  52. package/dist/react/media/surfaceGesture.d.ts +1 -1
  53. package/dist/react/media/surfaceGesture.js +1 -1
  54. package/dist/react/media/videoRegion.d.ts +1 -1
  55. package/dist/react/media/videoRegion.js +1 -1
  56. package/dist/react/media-gallery/GalleryTable.d.ts +3 -3
  57. package/dist/react/media-gallery/MediaGallery.d.ts +4 -4
  58. package/dist/react/media-gallery/MediaGallery.js +10 -10
  59. package/dist/react/media-gallery/MediaGallery.js.map +1 -1
  60. package/dist/react/media-gallery/galleryDeepLink.js +1 -1
  61. package/dist/react/media-gallery/galleryItemMedia.d.ts +1 -1
  62. package/dist/react/media-gallery/galleryItemMedia.js +1 -1
  63. package/dist/react/media-gallery/mediaMeta.d.ts +1 -1
  64. package/dist/react/media-gallery/playbackPreferences.d.ts +6 -6
  65. package/dist/react/media-gallery/playbackPreferences.js +1 -1
  66. package/dist/react/notifications/IssueViews.d.ts +2 -2
  67. package/dist/react/notifications/IssueViews.js +2 -2
  68. package/dist/react/notifications/IssuesPage.d.ts +3 -3
  69. package/dist/react/notifications/IssuesPage.d.ts.map +1 -1
  70. package/dist/react/notifications/IssuesPage.js +3 -3
  71. package/dist/react/notifications/IssuesPage.js.map +1 -1
  72. package/dist/react/notifications/issueCapture.js +1 -1
  73. package/dist/react/notifications/issueCapture.js.map +1 -1
  74. package/dist/react/notifications/issues.d.ts +9 -9
  75. package/dist/react/notifications/issues.d.ts.map +1 -1
  76. package/dist/react/notifications/issues.js +6 -6
  77. package/dist/react/notifications/issues.js.map +1 -1
  78. package/dist/react/shell-doors/index.d.ts +8 -0
  79. package/dist/react/shell-doors/index.d.ts.map +1 -0
  80. package/dist/react/shell-doors/index.js +8 -0
  81. package/dist/react/shell-doors/index.js.map +1 -0
  82. package/dist/react/shell-doors/shellDoors.d.ts +79 -0
  83. package/dist/react/shell-doors/shellDoors.d.ts.map +1 -0
  84. package/dist/react/shell-doors/shellDoors.js +95 -0
  85. package/dist/react/shell-doors/shellDoors.js.map +1 -0
  86. package/dist/react/workspace-shell/notificationSource.js +1 -1
  87. package/dist/react/workspace-shell/notificationSource.js.map +1 -1
  88. package/dist/styles-areas/workspace-shell.css +25 -10
  89. package/dist/styles-utilities.css +44 -0
  90. package/dist/testing/designAudit.js +1 -1
  91. package/dist/testing/designAudit.js.map +1 -1
  92. package/package.json +16 -3
  93. package/scripts/guardrailsEnforce.ts +4 -4
  94. package/scripts/paths.ts +1 -1
  95. package/scripts/safari.ts +1 -1
  96. package/scripts/styleAreas.ts +1 -1
  97. package/src/react/Toast.tsx +1 -1
  98. package/src/react/back/backName.spec.ts +27 -0
  99. package/src/react/back/backName.ts +24 -0
  100. package/src/react/back/index.ts +1 -0
  101. package/src/react/components/BuildFreshness.spec.tsx +1 -1
  102. package/src/react/components/BuildFreshness.tsx +3 -3
  103. package/src/react/components/DataTable/ColumnChecklist.tsx +1 -1
  104. package/src/react/components/DataTable/DataTable.tsx +2 -2
  105. package/src/react/components/DataTable/TableFilterBuilder.tsx +1 -1
  106. package/src/react/components/DataTable/filterQuery.ts +1 -1
  107. package/src/react/components/DataTable/useTableViewMode.ts +1 -1
  108. package/src/react/components/ElsewhereNotice.tsx +3 -3
  109. package/src/react/components/FileDropZone.tsx +1 -1
  110. package/src/react/components/NativeSelect.tsx +1 -1
  111. package/src/react/deep-link/links.ts +1 -1
  112. package/src/react/engagement/beaconClient.ts +1 -1
  113. package/src/react/file-tree/FileTree.spec.tsx +2 -2
  114. package/src/react/file-tree/FileTree.tsx +6 -6
  115. package/src/react/file-tree/fileTreeGeometry.spec.ts +2 -2
  116. package/src/react/folder-tree/FolderTreeRail.tsx +1 -1
  117. package/src/react/folder-tree/NewFolderControl.tsx +1 -1
  118. package/src/react/lib/apiClient.spec.ts +36 -0
  119. package/src/react/lib/apiClient.ts +57 -0
  120. package/src/react/master-lock/MasterLockDialog.tsx +3 -3
  121. package/src/react/master-lock/MasterLockProvider.spec.tsx +2 -2
  122. package/src/react/media/DenseGalleryShell.tsx +1 -1
  123. package/src/react/media/FrameGrabber.spec.tsx +1 -1
  124. package/src/react/media/FrameGrabber.tsx +3 -3
  125. package/src/react/media/PlayerStrip.tsx +2 -2
  126. package/src/react/media/VideoCutEditor.spec.tsx +1 -1
  127. package/src/react/media/VideoCutEditor.tsx +4 -4
  128. package/src/react/media/VideoPlayer.spec.tsx +5 -5
  129. package/src/react/media/VideoPlayer.tsx +16 -16
  130. package/src/react/media/VideoTurner.tsx +2 -2
  131. package/src/react/media/cutTimelineMath.ts +1 -1
  132. package/src/react/media/pictureEdit.ts +1 -1
  133. package/src/react/media/playerStrip.spec.tsx +1 -1
  134. package/src/react/media/sourceFault.tsx +5 -5
  135. package/src/react/media/surfaceGesture.spec.ts +1 -1
  136. package/src/react/media/surfaceGesture.ts +1 -1
  137. package/src/react/media/videoRegion.ts +1 -1
  138. package/src/react/media-gallery/GalleryTable.tsx +3 -3
  139. package/src/react/media-gallery/MediaGallery.spec.tsx +10 -10
  140. package/src/react/media-gallery/MediaGallery.tsx +16 -16
  141. package/src/react/media-gallery/galleryDeepLink.ts +1 -1
  142. package/src/react/media-gallery/galleryItemMedia.tsx +1 -1
  143. package/src/react/media-gallery/mediaMeta.ts +1 -1
  144. package/src/react/media-gallery/playbackPreferences.spec.ts +7 -7
  145. package/src/react/media-gallery/playbackPreferences.ts +6 -6
  146. package/src/react/notifications/IssueViews.spec.tsx +2 -2
  147. package/src/react/notifications/IssueViews.tsx +3 -3
  148. package/src/react/notifications/IssuesPage.tsx +4 -4
  149. package/src/react/notifications/issueCapture.ts +1 -1
  150. package/src/react/notifications/issues.spec.ts +1 -1
  151. package/src/react/notifications/issues.ts +12 -12
  152. package/src/react/shell-doors/index.ts +7 -0
  153. package/src/react/shell-doors/shellDoors.spec.tsx +93 -0
  154. package/src/react/shell-doors/shellDoors.tsx +150 -0
  155. package/src/react/workspace-shell/notificationSource.ts +1 -1
  156. package/src/styles-areas/workspace-shell.css +25 -10
  157. package/src/styles-utilities.css +44 -0
  158. package/src/testing/designAudit.ts +1 -1
@@ -60,7 +60,7 @@ function recordErrorToast(message, data) {
60
60
  });
61
61
  }
62
62
  catch {
63
- // The record never stands between him and the toast.
63
+ // The record never stands between the owner and the toast.
64
64
  }
65
65
  }
66
66
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"Toast.js","sourceRoot":"","sources":["../../src/react/Toast.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;GAYG;AACH,OAAO,EAAsB,OAAO,IAAI,aAAa,EAAE,KAAK,IAAI,WAAW,EAAE,MAAM,QAAQ,CAAC;AAC5F,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAC/C,OAAO,EAAE,MAAM,EAAE,MAAM,2BAA2B,CAAC;AAInD;;;;;GAKG;AACH,SAAS,UAAU,CAAC,OAAqB,EAAE,IAAoB;IAC7D,IAAI,CAAC,IAAI,EAAE,MAAM,EAAE,CAAC;QAClB,WAAW,CACT,4BAA4B,EAC5B,yHAAyH;YACvH,6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7C,YAAY,EAAE,yDAAyD;gBACvE,YAAY,EAAE,uDAAuD;gBACrE,WAAW,EAAE,GAAG,aAAa,gDAAgD;gBAC7E,KAAK,EAAE,wDAAwD;gBAC/D,OAAO,EAAE,gDAAgD;gBACzD,OAAO,EAAE,gDAAgD;gBACzD,IAAI,EAAE,8CAA8C;aACrD;SACF,KACG,KAAK,GACT,CACH,CAAC;AACJ,CAAC"}
@@ -0,0 +1,16 @@
1
+ /**
2
+ * What a place is called in Back's "Back to …" — the `back.name` an app hands `WorkspaceShell` (forge task 5560; games,
3
+ * home and trivia each held this body). A record opened below a place is "Lists · one list", every other place its label.
4
+ */
5
+ /** The places table's lookup: a place by id, the first place when the id is unknown. */
6
+ export declare function placeLookup<P extends {
7
+ id: string;
8
+ }>(places: readonly P[]): (id: P['id']) => P;
9
+ /** `parse` is the app's `links.parse`; `placeOf` its place lookup. */
10
+ export declare function makeBackName<V extends string>(parse: (href: string) => {
11
+ view: V;
12
+ path: readonly string[];
13
+ }, placeOf: (id: V) => {
14
+ label: string;
15
+ }): (href: string) => string;
16
+ //# sourceMappingURL=backName.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"backName.d.ts","sourceRoot":"","sources":["../../../src/react/back/backName.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,wFAAwF;AACxF,wBAAgB,WAAW,CAAC,CAAC,SAAS;IAAE,EAAE,EAAE,MAAM,CAAA;CAAE,EAAE,MAAM,EAAE,SAAS,CAAC,EAAE,GAAG,CAAC,EAAE,EAAE,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAE9F;AAKD,sEAAsE;AACtE,wBAAgB,YAAY,CAAC,CAAC,SAAS,MAAM,EAC3C,KAAK,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK;IAAE,IAAI,EAAE,CAAC,CAAC;IAAC,IAAI,EAAE,SAAS,MAAM,EAAE,CAAA;CAAE,EAC7D,OAAO,EAAE,CAAC,EAAE,EAAE,CAAC,KAAK;IAAE,KAAK,EAAE,MAAM,CAAA;CAAE,GACpC,CAAC,IAAI,EAAE,MAAM,KAAK,MAAM,CAM1B"}
@@ -0,0 +1,19 @@
1
+ /**
2
+ * What a place is called in Back's "Back to …" — the `back.name` an app hands `WorkspaceShell` (forge task 5560; games,
3
+ * home and trivia each held this body). A record opened below a place is "Lists · one list", every other place its label.
4
+ */
5
+ /** The places table's lookup: a place by id, the first place when the id is unknown. */
6
+ export function placeLookup(places) {
7
+ return (id) => places.find((place) => place.id === id) ?? places[0];
8
+ }
9
+ /** `Lists` → `list`, `Libraries` → `library`: the singular a "one …" says. */
10
+ const singular = (label) => label.toLowerCase().replace(/ies$/, 'y').replace(/s$/, '');
11
+ /** `parse` is the app's `links.parse`; `placeOf` its place lookup. */
12
+ export function makeBackName(parse, placeOf) {
13
+ return (href) => {
14
+ const at = parse(href);
15
+ const place = placeOf(at.view);
16
+ return at.path.length ? `${place.label} · one ${singular(place.label)}` : place.label;
17
+ };
18
+ }
19
+ //# sourceMappingURL=backName.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"backName.js","sourceRoot":"","sources":["../../../src/react/back/backName.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,wFAAwF;AACxF,MAAM,UAAU,WAAW,CAA2B,MAAoB;IACxE,OAAO,CAAC,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,EAAE,KAAK,EAAE,CAAC,IAAK,MAAM,CAAC,CAAC,CAAO,CAAC;AAC7E,CAAC;AAED,8EAA8E;AAC9E,MAAM,QAAQ,GAAG,CAAC,KAAa,EAAU,EAAE,CAAC,KAAK,CAAC,WAAW,EAAE,CAAC,OAAO,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC,OAAO,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC;AAEvG,sEAAsE;AACtE,MAAM,UAAU,YAAY,CAC1B,KAA6D,EAC7D,OAAqC;IAErC,OAAO,CAAC,IAAI,EAAE,EAAE;QACd,MAAM,EAAE,GAAG,KAAK,CAAC,IAAI,CAAC,CAAC;QACvB,MAAM,KAAK,GAAG,OAAO,CAAC,EAAE,CAAC,IAAI,CAAC,CAAC;QAC/B,OAAO,EAAE,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,GAAG,KAAK,CAAC,KAAK,UAAU,QAAQ,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC;IACxF,CAAC,CAAC;AACJ,CAAC"}
@@ -2,4 +2,5 @@ export { type BackRow, type BackStep, backRows } from './backTrail.js';
2
2
  export { backReach, goBack, startBack, type StartBackOptions, useBackSteps } from './back.js';
3
3
  export { type BackControl, NOWHERE_BACK, stepBack, useBack } from './useBack.js';
4
4
  export { BackButton, type BackButtonProps } from './BackButton.js';
5
+ export { makeBackName, placeLookup } from './backName.js';
5
6
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/react/back/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,OAAO,EAAE,KAAK,QAAQ,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AACvE,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,SAAS,EAAE,KAAK,gBAAgB,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAC9F,OAAO,EAAE,KAAK,WAAW,EAAE,YAAY,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACjF,OAAO,EAAE,UAAU,EAAE,KAAK,eAAe,EAAE,MAAM,iBAAiB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/react/back/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,OAAO,EAAE,KAAK,QAAQ,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AACvE,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,SAAS,EAAE,KAAK,gBAAgB,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAC9F,OAAO,EAAE,KAAK,WAAW,EAAE,YAAY,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACjF,OAAO,EAAE,UAAU,EAAE,KAAK,eAAe,EAAE,MAAM,iBAAiB,CAAC;AACnE,OAAO,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC"}
@@ -4,4 +4,5 @@ export { backRows } from './backTrail.js';
4
4
  export { backReach, goBack, startBack, useBackSteps } from './back.js';
5
5
  export { NOWHERE_BACK, stepBack, useBack } from './useBack.js';
6
6
  export { BackButton } from './BackButton.js';
7
+ export { makeBackName, placeLookup } from './backName.js';
7
8
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/react/back/index.ts"],"names":[],"mappings":"AAAA,8HAA8H;AAC9H,mEAAmE;AACnE,OAAO,EAA+B,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AACvE,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,SAAS,EAAyB,YAAY,EAAE,MAAM,WAAW,CAAC;AAC9F,OAAO,EAAoB,YAAY,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACjF,OAAO,EAAE,UAAU,EAAwB,MAAM,iBAAiB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/react/back/index.ts"],"names":[],"mappings":"AAAA,8HAA8H;AAC9H,mEAAmE;AACnE,OAAO,EAA+B,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AACvE,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,SAAS,EAAyB,YAAY,EAAE,MAAM,WAAW,CAAC;AAC9F,OAAO,EAAoB,YAAY,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACjF,OAAO,EAAE,UAAU,EAAwB,MAAM,iBAAiB,CAAC;AACnE,OAAO,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC"}
@@ -6,9 +6,9 @@
6
6
  * to grab"* and *"left and right sides of video have large next and previous overlays … the
7
7
  * giant vertical dark area around the arrows"*. Both had been fixed on 2026-08-25 (f3258c3e
8
8
  * in cursed-core) and both fixes were live — the served CSS contains `.cbmr-corner`'s
9
- * `z-index: 12` and contains no `.cbgd-stage-nav` at all. He was looking at a build from
10
- * before the deploy, in a tab that had never been reloaded, and **nothing on the surface he
11
- * was looking at could tell him that.** So two fixed bugs were re-reported, and the session
9
+ * `z-index: 12` and contains no `.cbgd-stage-nav` at all. The owner was looking at a build from
10
+ * before the deploy, in a tab that had never been reloaded, and **nothing on the surface the owner
11
+ * was looking at could tell them that.** So two fixed bugs were re-reported, and the session
12
12
  * that answers them spends its time proving a negative instead of doing work.
13
13
  *
14
14
  * ── Why {@link StaleDeployHealer} does not already cover it ──────────────────
@@ -23,7 +23,7 @@ export interface ColumnChecklistProps {
23
23
  * 🔴 It is a shared component rather than two similar lists because unit
24
24
  * `45-cursedbelt-tables` asks for the same affordance twice — item 2 (*"Every
25
25
  * column filterable, and selectable with select-all / deselect-all"*) and item 6
26
- * (*"a subset he picks through the same select-all / deselect-all column list
26
+ * (*"a subset the owner picks through the same select-all / deselect-all column list
27
27
  * item 2 owes"*, the owner's word being **same**). Two lists that look alike and
28
28
  * drift is the exact failure this queue exists to end, one level below where it
29
29
  * usually happens.
@@ -10,7 +10,7 @@ import { RAW_BUTTON } from '../../lib/cn.js';
10
10
  * 🔴 It is a shared component rather than two similar lists because unit
11
11
  * `45-cursedbelt-tables` asks for the same affordance twice — item 2 (*"Every
12
12
  * column filterable, and selectable with select-all / deselect-all"*) and item 6
13
- * (*"a subset he picks through the same select-all / deselect-all column list
13
+ * (*"a subset the owner picks through the same select-all / deselect-all column list
14
14
  * item 2 owes"*, the owner's word being **same**). Two lists that look alike and
15
15
  * drift is the exact failure this queue exists to end, one level below where it
16
16
  * usually happens.
@@ -413,7 +413,7 @@ export interface DataTableProps<TRow extends Record<string, unknown>> {
413
413
  * asked for it everywhere at once (2026-08-23): *"The tables can have a
414
414
  * switcher from table view to other view like roms app has where I can see
415
415
  * the roms list as a compact table or as a set of cards for each entry."* A
416
- * per-app switcher is the shape that produces the divergence he keeps
416
+ * per-app switcher is the shape that produces the divergence the owner keeps
417
417
  * reporting — one app grows a good version, the next re-implements a worse
418
418
  * one, and a fix to either helps nobody else.
419
419
  *
@@ -453,7 +453,7 @@ export interface DataTableProps<TRow extends Record<string, unknown>> {
453
453
  * almost nothing passed a `toolbar` at all, so almost nothing had a search
454
454
  * box. Present-by-default means the DEFAULT TOOLBAR renders when the caller
455
455
  * gave none, which is the only form of "by default" that reaches the tables
456
- * he already has in front of him.
456
+ * the owner already has in front of them.
457
457
  *
458
458
  * A caller that DOES pass `toolbar` owns that line: the default is not added
459
459
  * on top (two search boxes is the one outcome the unit rules out), and
@@ -52,7 +52,7 @@ export interface TableFilterBuilderProps {
52
52
  * condition after the first. Nobody has to know a precedence rule.
53
53
  * - **Exactly two levels.** There is no "add nested group", because the moment
54
54
  * nesting exists the reader has to hold a tree in their head. Two levels
55
- * express his own worked example and everything shaped like it.
55
+ * express the owner's own worked example and everything shaped like it.
56
56
  * - **Every row is removable, and so is the whole thing.** `Clear all` is
57
57
  * always reachable; a filter you cannot get out of is worse than none.
58
58
  *
@@ -55,7 +55,7 @@ const OP_OPTIONS = Object.keys(FILTER_OP_LABELS).map((op) => ({
55
55
  * condition after the first. Nobody has to know a precedence rule.
56
56
  * - **Exactly two levels.** There is no "add nested group", because the moment
57
57
  * nesting exists the reader has to hold a tree in their head. Two levels
58
- * express his own worked example and everything shaped like it.
58
+ * express the owner's own worked example and everything shaped like it.
59
59
  * - **Every row is removable, and so is the whole thing.** `Clear all` is
60
60
  * always reachable; a filter you cannot get out of is worse than none.
61
61
  *
@@ -11,7 +11,7 @@
11
11
  * So the shape is exactly two levels and no more: a GROUP is an AND of
12
12
  * conditions, and the QUERY is an OR of groups. `(A and B) or (C and D)` is the
13
13
  * whole grammar. Arbitrary nesting would be more expressive and is the thing
14
- * that makes a builder unfinishable — the last clause of his sentence is the
14
+ * that makes a builder unfinishable — the last clause of the owner's sentence is the
15
15
  * acceptance test, not a nice-to-have.
16
16
  *
17
17
  * 🔴 This module is PURE and holds no React. The evaluator is the part that must
@@ -11,7 +11,7 @@
11
11
  * So the shape is exactly two levels and no more: a GROUP is an AND of
12
12
  * conditions, and the QUERY is an OR of groups. `(A and B) or (C and D)` is the
13
13
  * whole grammar. Arbitrary nesting would be more expressive and is the thing
14
- * that makes a builder unfinishable — the last clause of his sentence is the
14
+ * that makes a builder unfinishable — the last clause of the owner's sentence is the
15
15
  * acceptance test, not a nice-to-have.
16
16
  *
17
17
  * 🔴 This module is PURE and holds no React. The evaluator is the part that must
@@ -54,7 +54,7 @@ export declare const tableViewResumeKey: (id: string) => string;
54
54
  * per-user scoping. There is no localStorage fallback on purpose: `localStorage`
55
55
  * is exactly the thing that cannot answer *"or logon somewhere else"*, and a
56
56
  * silent fallback to it would make the feature look like it works while failing
57
- * the half he actually asked for.
57
+ * the half the owner actually asked for.
58
58
  *
59
59
  * Failure is swallowed into "use the initial view", for the same reason
60
60
  * `useResume` swallows its own: a table that will not render because its
@@ -29,7 +29,7 @@ export const tableViewResumeKey = (id) => `table-view.${id.replace(/[^A-Za-z0-9.
29
29
  * per-user scoping. There is no localStorage fallback on purpose: `localStorage`
30
30
  * is exactly the thing that cannot answer *"or logon somewhere else"*, and a
31
31
  * silent fallback to it would make the feature look like it works while failing
32
- * the half he actually asked for.
32
+ * the half the owner actually asked for.
33
33
  *
34
34
  * Failure is swallowed into "use the initial view", for the same reason
35
35
  * `useResume` swallows its own: a table that will not render because its
@@ -5,8 +5,8 @@ import { type AlertTone } from './Alert.js';
5
5
  *
6
6
  * ── The measured bug it exists to stop ───────────────────────────────────────
7
7
  * The owner spent about an hour on 2026-08-13 unable to find station's vault
8
- * unlock control. The app was behaving exactly as designed: he was on the prod
9
- * mirror, where the values do not exist, and the page told him so —
8
+ * unlock control. The app was behaving exactly as designed: the owner was on the prod
9
+ * mirror, where the values do not exist, and the page told them so —
10
10
  *
11
11
  * "Values, unlocking, minting and apply-to-app stay on the Mac —
12
12
  * open the local station for those."
@@ -28,7 +28,7 @@ import { type AlertTone } from './Alert.js';
28
28
  * The destination is usually a loopback address the reader is standing in front
29
29
  * of (`http://127.0.0.1:3024/#/vault/auth%2Fprod`). A real anchor middle-clicks,
30
30
  * opens in a new tab, and — read on a phone, where it genuinely cannot resolve —
31
- * still SHOWS the address, so the owner knows what to type when he gets home.
31
+ * still SHOWS the address, so the owner knows what to type when they get home.
32
32
  */
33
33
  export interface ElsewhereNoticeProps {
34
34
  /** Bold heading. Say what cannot happen here, not that something went wrong. */
@@ -118,7 +118,7 @@ export interface FileDropZoneProps {
118
118
  * as a single refusal. Found in roms: the owner double-clicked a `.7z` in Finder
119
119
  * and dropped the folder it unpacked to (a PlayStation disc's `.cue` and thirty
120
120
  * `.bin`s, one level down) and got "not a file this accepts" for the lot, when
121
- * what he dropped was exactly the files the zone takes. Finder's "unpack, then
121
+ * what the owner dropped was exactly the files the zone takes. Finder's "unpack, then
122
122
  * drag the result" is the ordinary way a person hands over a set of files.
123
123
  *
124
124
  * So a folder is walked (`webkitGetAsEntry`, the only door every browser ships)
@@ -115,7 +115,7 @@ const DIRECTORY_PICKER = { webkitdirectory: '' };
115
115
  * as a single refusal. Found in roms: the owner double-clicked a `.7z` in Finder
116
116
  * and dropped the folder it unpacked to (a PlayStation disc's `.cue` and thirty
117
117
  * `.bin`s, one level down) and got "not a file this accepts" for the lot, when
118
- * what he dropped was exactly the files the zone takes. Finder's "unpack, then
118
+ * what the owner dropped was exactly the files the zone takes. Finder's "unpack, then
119
119
  * drag the result" is the ordinary way a person hands over a set of files.
120
120
  *
121
121
  * So a folder is walked (`webkitGetAsEntry`, the only door every browser ships)
@@ -25,7 +25,7 @@ export interface NativeSelectProps extends Omit<ComponentPropsWithRef<'select'>,
25
25
  * from a constant: an empty list with only a placeholder in it is a dead end, and
26
26
  * the `choice-needs-empty-state` guardrail reports one. The owner met that dead end
27
27
  * in music on 2026-08-21 and could not tell whether the control was broken, whether
28
- * he had nothing, or what a category even was. Rendered as a disabled row, so it
28
+ * the owner had nothing, or what a category even was. Rendered as a disabled row, so it
29
29
  * cannot be picked.
30
30
  *
31
31
  * When making one is possible from here, prefer {@link ChoiceMenu} — it puts a
@@ -202,7 +202,7 @@ export function defineDeepLinks(options) {
202
202
  * `#/` is NOT bare, and that distinction is the whole safety of resume. It is the
203
203
  * link somebody sends when they mean "the app's front screen", and if it restored,
204
204
  * every such link in the fleet would silently bounce its reader to wherever THEY
205
- * were last — the exact bug the owner named when he asked for this. A person who
205
+ * were last — the exact bug the owner named when they asked for this. A person who
206
206
  * wants their place back opens the bookmark (`https://music…/`), which is bare.
207
207
  */
208
208
  const isBare = (raw) => {
@@ -143,7 +143,7 @@ export declare function flushEngagementActions(options?: {
143
143
  * 🔴 BATCHED (forge task 4034): an action is queued, and the queue goes as ONE request after
144
144
  * {@link ACTION_QUIET_MS} of quiet, {@link ACTION_MAX_WAIT_MS} after its first action at most, at
145
145
  * {@link ACTION_BATCH_MAX}, and when the page is left ({@link flushEngagementActions}). So a
146
- * feature the owner adds to the record costs no request per click — his words: *"batching some
146
+ * feature the owner adds to the record costs no request per click — their words: *"batching some
147
147
  * interactions with debounces will lower traffic"*.
148
148
  *
149
149
  * NOT de-duplicated, unlike `reportPlace`: three plays are three uses. Only call it from apps
@@ -296,7 +296,7 @@ async function sendActions(url, actions, queue, leaving) {
296
296
  * 🔴 BATCHED (forge task 4034): an action is queued, and the queue goes as ONE request after
297
297
  * {@link ACTION_QUIET_MS} of quiet, {@link ACTION_MAX_WAIT_MS} after its first action at most, at
298
298
  * {@link ACTION_BATCH_MAX}, and when the page is left ({@link flushEngagementActions}). So a
299
- * feature the owner adds to the record costs no request per click — his words: *"batching some
299
+ * feature the owner adds to the record costs no request per click — their words: *"batching some
300
300
  * interactions with debounces will lower traffic"*.
301
301
  *
302
302
  * NOT de-duplicated, unlike `reportPlace`: three plays are three uses. Only call it from apps
@@ -126,7 +126,7 @@
126
126
  * `data-ancestor`/`data-holds-open` and the scroll — and the one thing missing was the one
127
127
  * thing this file had DECIDED against: limit 1 of the reveal, *a shut folder stays shut*.
128
128
  *
129
- * He named VS Code, whose `explorer.autoReveal` is `true` and expands, and he named the exact
129
+ * The owner named VS Code, whose `explorer.autoReveal` is `true` and expands, and they named the exact
130
130
  * gesture. So the ask wins over the default, and the decision is recorded in full on the
131
131
  * effect itself rather than here: {@link FileTreeProps.expandOnReveal} is OFF unless a
132
132
  * consumer wires it, and what it opens goes into an overlay of this component's own
@@ -209,7 +209,7 @@ export interface FileTreeProps {
209
209
  *
210
210
  * Owner, `ideas/collections-09-14.md`: *"clicking a file in media gallery content window
211
211
  * should show that file in the file tree by like vscode does when you select a tab with a
212
- * file in it."* He named the application and he named the gesture, so this is what the
212
+ * file in it."* The owner named the application and they named the gesture, so this is what the
213
213
  * reveal does when it is asked for by name — see limit 1 on the reveal effect for the
214
214
  * argument this prop is the opt-in half of, and why it stays the default.
215
215
  *
@@ -218,7 +218,7 @@ export interface FileTreeProps {
218
218
  * persisted is still the collapse it persisted — on the next mount the tree reads it back
219
219
  * unchanged. Shutting one of them by hand drops it from the overlay and the persisted value
220
220
  * decides again; nothing about it is ever written out. That is the whole of the objection
221
- * limit 1 records, answered without giving up the behavior he asked for.
221
+ * limit 1 records, answered without giving up the behavior the owner asked for.
222
222
  *
223
223
  * Off unless it is wired, like every other verb here: a consumer that passes nothing gets
224
224
  * byte for byte today's reveal.
@@ -549,8 +549,8 @@ export function FileTree({ nodes, selectedId, onSelect, selectedIds, onSelection
549
549
  * `collapsed` here is often a CONTROLLED value the consumer persists, so expanding would
550
550
  * write it open for good. Then the owner asked for it BY NAME — *"show that file in the
551
551
  * file tree by like vscode does when you select a tab with a file in it"* — and named the
552
- * application whose default is `true`. His ask wins over the default this file chose for
553
- * him, so the behavior is here.
552
+ * application whose default is `true`. The owner's ask wins over the default this file chose for
553
+ * them, so the behavior is here.
554
554
  *
555
555
  * What survives is the half of the objection that was never taste: **the persisted value
556
556
  * is not rewritten.** The expansion goes into `revealOpened`, an overlay of this tree's
@@ -123,7 +123,7 @@ export function FolderTreeRail({ nodes, selected, onSelect, count, renderAccesso
123
123
  walk(nodes);
124
124
  // 🔴 An EMPTY tree still renders when a create is on offer. Returning null there
125
125
  // is what made "no folders yet" and "this app cannot make folders" look identical
126
- // — which is the state the owner was looking at when he reported this.
126
+ // — which is the state the owner was looking at when they reported this.
127
127
  if (nodes.length === 0 && !onCreate)
128
128
  return null;
129
129
  return (_jsxs("nav", { ...rest, className: `flex flex-col gap-0.5 ${className ?? ""}`, "aria-label": ariaLabel, children: [rows, rows.length === 0 ? (_jsx("p", { className: "px-1.5 py-1 text-sm text-muted-foreground", children: "No folders yet" })) : null, onCreate ? (_jsx(NewFolderControl, { parent: selectedPath, siblings: siblingsOfSelection, onCreate: onCreate, label: selectedPath.length > 0 ? `New folder in ${selectedPath.at(-1)}` : "New folder", className: "mt-1" })) : null] }));
@@ -1 +1 @@
1
- {"version":3,"file":"FolderTreeRail.js","sourceRoot":"","sources":["../../../src/react/folder-tree/FolderTreeRail.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,OAAO,EAAoD,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAC5F,OAAO,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAC;AAEpE,OAAO,EAAE,SAAS,EAAE,WAAW,EAAuB,MAAM,oCAAoC,CAAC;AACjG,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAC5C,OAAO,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AACnD,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;A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N,CAAC;AACH,CAAC;AAED,yEAAyE;AACzE,SAAS,QAAQ,CAAC,KAA4B,EAAE,UAAkB;IACjE,KAAK,MAAM,IAAI,IAAI,KAAK,EAAE,CAAC;QAC1B,IAAI,IAAI,CAAC,UAAU,KAAK,UAAU;YAAE,OAAO,IAAI,CAAC;QAChD,MAAM,GAAG,GAAG,QAAQ,CAAC,IAAI,CAAC,QAAQ,EAAE,UAAU,CAAC,CAAC;QAChD,IAAI,GAAG;YAAE,OAAO,GAAG,CAAC;IACrB,CAAC;IACD,OAAO,IAAI,CAAC;AACb,CAAC;AAED,SAAS,WAAW,CAAC,KAA4B;IAChD,MAAM,GAAG,GAAa,EAAE,CAAC;IACzB,MAAM,IAAI,GAAG,CAAC,IAA2B,EAAE,EAAE;QAC5C,KAAK,MAAM,CAAC,IAAI,IAAI,EAAE,CAAC;YACtB,GAAG,CAAC,IAAI,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC;YAChB,IAAI,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC;QAClB,CAAC;IACF,CAAC,CAAC;IACF,IAAI,CAAC,KAAK,CAAC,CAAC;IACZ,OAAO,GAAG,CAAC;AACZ,CAAC"}
@@ -7,7 +7,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
7
7
  * have any clear way to create or use the folders. The standardized component
8
8
  * should fix this."*
9
9
  *
10
- * He is describing a gap that three apps have at once, for the same structural
10
+ * The owner is describing a gap that three apps have at once, for the same structural
11
11
  * reason. Every folder system in the fleet DERIVES its tree from the paths its
12
12
  * items carry — the vault, notes and collections each wrote the argument down
13
13
  * independently — and a derived tree has no obvious moment for a folder to be
@@ -0,0 +1,24 @@
1
+ /**
2
+ * An app's one road to its own `/api`: a typed JSON `request` that sends the session cookie, reads a refusal's own words
3
+ * and throws an `ApiError` carrying the status (forge task 5560 — games, home and trivia each held this body).
4
+ *
5
+ * 🔴 A non-JSON body is an error page in a costume (a 502 from a proxy, an Access redirect): the status says what
6
+ * happened, so the reason falls back to "The server answered 502." rather than to the page's HTML or a parse error.
7
+ */
8
+ /** A request the server refused or could not answer: `status` is the HTTP status; the message is the server's `error` words. */
9
+ export declare class ApiError extends Error {
10
+ readonly status: number;
11
+ constructor(status: number, message: string);
12
+ }
13
+ export type ApiRequest = <T>(method: string, path: string, body?: unknown) => Promise<T>;
14
+ export interface ApiRequestOptions {
15
+ /** Headers sent on every call (trivia's reader zone). A function is asked afresh for each call. */
16
+ headers?: Record<string, string> | (() => Record<string, string>);
17
+ /** The `fetch` to call; the global one by default. */
18
+ fetch?: typeof fetch;
19
+ }
20
+ /** A `request` with its own always-on headers. A 204 answers `undefined`; JSON is sent for any body that is not `undefined`. */
21
+ export declare function createRequest(options?: ApiRequestOptions): ApiRequest;
22
+ /** The plain `request`: no extra headers. */
23
+ export declare const request: ApiRequest;
24
+ //# sourceMappingURL=apiClient.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"apiClient.d.ts","sourceRoot":"","sources":["../../../src/react/lib/apiClient.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,gIAAgI;AAChI,qBAAa,QAAS,SAAQ,KAAK;IAE/B,QAAQ,CAAC,MAAM,EAAE,MAAM;gBAAd,MAAM,EAAE,MAAM,EACvB,OAAO,EAAE,MAAM;CAIlB;AAED,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,OAAO,KAAK,OAAO,CAAC,CAAC,CAAC,CAAC;AAEzF,MAAM,WAAW,iBAAiB;IAChC,mGAAmG;IACnG,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,CAAC,MAAM,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC;IAClE,sDAAsD;IACtD,KAAK,CAAC,EAAE,OAAO,KAAK,CAAC;CACtB;AAED,gIAAgI;AAChI,wBAAgB,aAAa,CAAC,OAAO,GAAE,iBAAsB,GAAG,UAAU,CAyBzE;AAED,6CAA6C;AAC7C,eAAO,MAAM,OAAO,EAAE,UAA4B,CAAC"}
@@ -0,0 +1,46 @@
1
+ /**
2
+ * An app's one road to its own `/api`: a typed JSON `request` that sends the session cookie, reads a refusal's own words
3
+ * and throws an `ApiError` carrying the status (forge task 5560 — games, home and trivia each held this body).
4
+ *
5
+ * 🔴 A non-JSON body is an error page in a costume (a 502 from a proxy, an Access redirect): the status says what
6
+ * happened, so the reason falls back to "The server answered 502." rather than to the page's HTML or a parse error.
7
+ */
8
+ /** A request the server refused or could not answer: `status` is the HTTP status; the message is the server's `error` words. */
9
+ export class ApiError extends Error {
10
+ status;
11
+ constructor(status, message) {
12
+ super(message);
13
+ this.status = status;
14
+ }
15
+ }
16
+ /** A `request` with its own always-on headers. A 204 answers `undefined`; JSON is sent for any body that is not `undefined`. */
17
+ export function createRequest(options = {}) {
18
+ return async function request(method, path, body) {
19
+ const doFetch = options.fetch ?? fetch;
20
+ const always = typeof options.headers === 'function' ? options.headers() : (options.headers ?? {});
21
+ const response = await doFetch(path, {
22
+ method,
23
+ credentials: 'same-origin',
24
+ headers: { ...always, ...(body === undefined ? {} : { 'content-type': 'application/json' }) },
25
+ ...(body === undefined ? {} : { body: JSON.stringify(body) }),
26
+ });
27
+ if (response.status === 204)
28
+ return undefined;
29
+ const text = await response.text();
30
+ let parsed = null;
31
+ try {
32
+ parsed = text ? JSON.parse(text) : null;
33
+ }
34
+ catch {
35
+ // A non-JSON body is an error page in a costume; the status says what happened.
36
+ }
37
+ if (!response.ok) {
38
+ const reason = parsed && typeof parsed === 'object' && 'error' in parsed ? String(parsed.error) : `The server answered ${response.status}.`;
39
+ throw new ApiError(response.status, reason);
40
+ }
41
+ return parsed;
42
+ };
43
+ }
44
+ /** The plain `request`: no extra headers. */
45
+ export const request = createRequest();
46
+ //# sourceMappingURL=apiClient.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"apiClient.js","sourceR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AAI,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC;QAC1C,CAAC;QAAC,MAAM,CAAC;YACP,gFAAgF;QAClF,CAAC;QACD,IAAI,CAAC,QAAQ,CAAC,EAAE,EAAE,CAAC;YACjB,MAAM,MAAM,GACV,MAAM,IAAI,OAAO,MAAM,KAAK,QAAQ,IAAI,OAAO,IAAI,MAAM,CAAC,CAAC,CAAC,MAAM,CAAE,MAA6B,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,uBAAuB,QAAQ,CAAC,MAAM,GAAG,CAAC;YACvJ,MAAM,IAAI,QAAQ,CAAC,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;QAC9C,CAAC;QACD,OAAO,MAAW,CAAC;IACrB,CAAC,CAAC;AACJ,CAAC;AAED,6CAA6C;AAC7C,MAAM,CAAC,MAAM,OAAO,GAAe,aAAa,EAAE,CAAC"}
@@ -85,13 +85,13 @@ export function MasterLockDialog({ open, kdf, idleMs, className, onClose, onChan
85
85
  * along — the shape the wire had before accounts existed, when one app meant one
86
86
  * password. Every account on an app now derives under ONE shared descriptor, so a
87
87
  * fresh salt here would store a verifier hash nothing could ever match: the owner
88
- * sets a new password, the rotation logs him out, and neither the old nor the new
88
+ * sets a new password, the rotation logs the owner out, and neither the old nor the new
89
89
  * one opens the app. It would also invalidate every SIBLING account's stored hash
90
- * at once — rotating account 2 would silently lock him out of account 1.
90
+ * at once — rotating account 2 would silently lock the owner out of account 1.
91
91
  *
92
92
  * `cursedbelt-server`'s guard refuses the old shape with `409 {"error":"stale-client"}`
93
93
  * rather than honoring it, so this dialog did not corrupt anything; it simply
94
- * stopped working, and the owner could not change his master password from inside
94
+ * stopped working, and the owner could not change their master password from inside
95
95
  * any app. The salt never rotating is the accepted cost — it is 16 random bytes
96
96
  * whose job is to stop precomputation across apps, and it does that for as long as
97
97
  * it exists. `MasterLockChangeRequest` in `cursedbelt-core` carries the same note.
@@ -245,7 +245,7 @@ export interface DenseGalleryDetailProps {
245
245
  * Draw the related region as something OTHER than a tile grid — a rows table, typically.
246
246
  *
247
247
  * 🔴 Added 2026-09-10, and it exists because a view toggle stopped working. Owner:
248
- * *"toggling to rows from thumbnails did not work in the gallery with a video active."* He
248
+ * *"toggling to rows from thumbnails did not work in the gallery with a video active."* The owner
249
249
  * was right, and it was not the toggle: the detail view rendered a tile grid unconditionally
250
250
  * and had no way to be told otherwise, so the control was live, the preference was written,
251
251
  * and nothing on screen could change. A pressed button that provably does nothing is worse
@@ -94,14 +94,14 @@ export interface FrameGrabberProps {
94
94
  * ── 🔴 STILL A DIALOG, and the owner asked for a page. Here is the reasoning ──────────────
95
95
  * `ideas/collections-09-14.md`, 2026-09-14, ends: *"Let's put the thumbnail selector on it's own
96
96
  * page to make this less confusing."* Read with the sentence before it, that is a proposed FIX
97
- * for four complaints, not a fifth want — the footer he could not reach, the folders that would
97
+ * for four complaints, not a fifth want — the footer the owner could not reach, the folders that would
98
98
  * not respond, the selection that did not clear this away, and the space bar.
99
99
  *
100
100
  * It stays a dialog, because all four are now answered where they belong and a page would cost
101
101
  * the one thing this shape buys: **the gallery's player stays mounted behind it**, which is what
102
102
  * makes "open at the moment I was watching" a carried number rather than a second load and a
103
103
  * second seek of a two-hour film. A route would also have to invent a way back, and "back" from
104
- * a route is the browser's history — the control that, in the report one file over, took him out
104
+ * a route is the browser's history — the control that, in the report one file over, took the owner out
105
105
  * of the app.
106
106
  *
107
107
  * · the footer cannot leave the screen: `Modal` caps the card and pins the action bar, and
@@ -66,14 +66,14 @@ import { cn, RAW_BUTTON } from '../lib/cn.js';
66
66
  * ── 🔴 STILL A DIALOG, and the owner asked for a page. Here is the reasoning ──────────────
67
67
  * `ideas/collections-09-14.md`, 2026-09-14, ends: *"Let's put the thumbnail selector on it's own
68
68
  * page to make this less confusing."* Read with the sentence before it, that is a proposed FIX
69
- * for four complaints, not a fifth want — the footer he could not reach, the folders that would
69
+ * for four complaints, not a fifth want — the footer the owner could not reach, the folders that would
70
70
  * not respond, the selection that did not clear this away, and the space bar.
71
71
  *
72
72
  * It stays a dialog, because all four are now answered where they belong and a page would cost
73
73
  * the one thing this shape buys: **the gallery's player stays mounted behind it**, which is what
74
74
  * makes "open at the moment I was watching" a carried number rather than a second load and a
75
75
  * second seek of a two-hour film. A route would also have to invent a way back, and "back" from
76
- * a route is the browser's history — the control that, in the report one file over, took him out
76
+ * a route is the browser's history — the control that, in the report one file over, took the owner out
77
77
  * of the app.
78
78
  *
79
79
  * · the footer cannot leave the screen: `Modal` caps the card and pins the action bar, and
@@ -307,7 +307,7 @@ export function FrameGrabber({ src, hlsUrl, resolving = false, name, startAt = 0
307
307
  * 🔴 The way OUT, stated. Owner, 2026-09-14: *"I did not see the 'Done' button for a
308
308
  * while and thought that refreshing was the only way I could find to get out of it."*
309
309
  *
310
- * The button was on screen (that is measured now, at his window height), so this is not
310
+ * The button was on screen (that is measured now, at the owner's window height), so this is not
311
311
  * a layout fix wearing a sentence — it is the other defect in the same report. The
312
312
  * dialog is a wide two-column workspace whose one exit is a pill in the bottom corner,
313
313
  * and a reader hunting for it has no reason to believe the corner is where it lives.
@@ -9,7 +9,7 @@ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-run
9
9
  * sizes, the hit targets and the Space rule all live here, and an app supplies only its own
10
10
  * data and its own actions.
11
11
  *
12
- * ── The owner's three-column architecture, in his words ─────────────────────────────────
12
+ * ── The owner's three-column architecture, in their words ─────────────────────────────────
13
13
  * *"Left Column (Track Metadata): permanently anchor the album art, song name and artist to
14
14
  * the left edge with a standard gap of 12px to 16px. Center Column (Core Playback &
15
15
  * Timeline): vertically stack the media controls OVER the track timeline. Right Column
@@ -32,7 +32,7 @@ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-run
32
32
  *
33
33
  * ── Hit targets ─────────────────────────────────────────────────────────────────────────
34
34
  * `DESIGN.md` §5 requires 44×44 and wins over the owner's own "at least 40x40" here, which
35
- * he anticipated. Every control is an `IconButton size="lg"`, whose footprint comes from
35
+ * the owner anticipated. Every control is an `IconButton size="lg"`, whose footprint comes from
36
36
  * `--control-h-lg`; the ICON inside is 22px, so the target is transparent space around a
37
37
  * glyph rather than a big painted button.
38
38
  */
@@ -33,17 +33,17 @@ import { type VideoCut } from 'cursedbelt-core/media/video-cuts';
33
33
  * I make one cut in the middle then I can choose the left of it and click 'x' to indicate the
34
34
  * left should be the deleted side."*
35
35
  *
36
- * He is right, and the first design was in/out PAIRS. Pairs are ambiguous the moment there is
36
+ * The owner is right, and the first design was in/out PAIRS. Pairs are ambiguous the moment there is
37
37
  * more than one: a row of identical markers does not say which gap is a cut and which is
38
38
  * footage, so `-[--|-|-]-` has to be interpreted, and two people interpret it differently.
39
39
  *
40
40
  * So: ✂ splits the clip at the playhead, and every piece between two splits is a segment you
41
41
  * click ✗ on to remove. Nothing is paired, nothing is ordered, and every point in the video
42
- * belongs to exactly one segment whose fate is STATED. It also collapses his two cases into
42
+ * belongs to exactly one segment whose fate is STATED. It also collapses the owner's two cases into
43
43
  * one — "cut once and delete the left" and "take four sections out of the middle" are the
44
44
  * same gesture repeated, with no special handling of the head or the tail.
45
45
  *
46
- * The style is Shotcut's, which is what he asked for: a strip of pieces, the removed ones
46
+ * The style is Shotcut's, which is what the owner asked for: a strip of pieces, the removed ones
47
47
  * struck through, and the control on the piece rather than in a menu about the piece.
48
48
  *
49
49
  * ── Keeping it out of the way when it is not in use ───────────────────────────────────
@@ -56,7 +56,7 @@ import { type VideoCut } from 'cursedbelt-core/media/video-cuts';
56
56
  * ── A PAGE, with a zoomable timeline, down to the frame (owner, 2026-11-03) ───────────
57
57
  * *"a full Trim page with a zoomable timeline, down to frame-by-frame selection."* It was a
58
58
  * `size='lg'` modal with one fixed strip, so on a two-hour film a pixel was several seconds
59
- * and the frame he wanted could not be marked at all. Now it is the shape of an NLE's trim
59
+ * and the frame the owner wanted could not be marked at all. Now it is the shape of an NLE's trim
60
60
  * view (YouTube Studio's editor, Resolve's cut page): the picture on top, the transport and a
61
61
  * full-width timeline under it, the actions bottom-right.
62
62
  * · It COVERS the viewport and has an address of its own when the app gives it one