@bongos/core 1.19.656 → 1.19.657
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/.bongos-core.json +28 -23
- package/docs/copy-inventory.md +56 -56
- package/docs/copy-registry.json +57 -57
- package/docs/module-api-changelog.md +2 -0
- package/modules/hall-ui/public/board-lib.js +165 -0
- package/modules/hall-ui/public/board-room.css +5 -16
- package/modules/hall-ui/public/board-room.html +3 -0
- package/modules/hall-ui/public/board-room.js +26 -86
- package/modules/hall-ui/public/government.css +10 -8
- package/modules/hall-ui/public/government.html +3 -0
- package/modules/hall-ui/public/government.js +31 -85
- package/modules/hall-ui/public/oversight.css +31 -0
- package/package-lock.json +2 -2
- package/package.json +1 -1
- package/src/module-api.js +1 -1
- package/tests/government_board_room_copy.mjs +30 -14
- package/tests/government_constitution_view.mjs +7 -2
- package/tests/rank_tier_single_source.mjs +28 -16
|
@@ -107,23 +107,35 @@ const STATIC_LADDER_FILES = [
|
|
|
107
107
|
'modules/hall-ui/public/ranks.js',
|
|
108
108
|
'modules/hall-ui/public/profile.js',
|
|
109
109
|
'modules/hall-ui/public/watch.js',
|
|
110
|
-
// task 1003094: the Constitution panel
|
|
111
|
-
// form ("that rank and above") to render
|
|
112
|
-
//
|
|
113
|
-
//
|
|
114
|
-
// is what makes the copy provable
|
|
115
|
-
//
|
|
116
|
-
//
|
|
117
|
-
//
|
|
110
|
+
// task 1003094: the Constitution panel and the Board Room's sitting card both
|
|
111
|
+
// expand the `rank:<key>+` membership form ("that rank and above") to render
|
|
112
|
+
// who governs in plain language, so both need the ladder to expand against.
|
|
113
|
+
// Browser code cannot require the server module — the established mirror
|
|
114
|
+
// pattern here — and listing it in this array is what makes the copy provable
|
|
115
|
+
// rather than merely allowed.
|
|
116
|
+
//
|
|
117
|
+
// ONE ROW, not two, since task 1003761. ADR 0266 carved the Board Room onto
|
|
118
|
+
// its own page and the carve COPIED the ladder and the parser into both page
|
|
119
|
+
// files, so this array had to allowlist BOTH — which permitted a drift between
|
|
120
|
+
// them by construction: the exact-literal pin below proved each matched the
|
|
121
|
+
// canonical ladder, but nothing held the two parsers equal to EACH OTHER, and
|
|
122
|
+
// government_constitution_view.mjs lifted only one of them. board-lib.js is
|
|
123
|
+
// the single copy now. A second, government-specific pin lives in
|
|
124
|
+
// tests/government_constitution_view.mjs, which holds it against
|
|
125
|
+
// catalog.RANK_ORDER and runs the whole browser parser against the server one.
|
|
126
|
+
//
|
|
127
|
+
// This row used to claim tests/government_board_vote_ui.mjs pinned the
|
|
128
|
+
// board-room copy. It does not — that file asserts the sitting card, the
|
|
129
|
+
// ballot and the vote form, and has no parser assertion at all, so the second
|
|
130
|
+
// copy was guarded only by the exact-literal ladder match.
|
|
131
|
+
'modules/hall-ui/public/board-lib.js',
|
|
132
|
+
// government.js keeps a ladder literal of its own — the charter library's
|
|
133
|
+
// `seatsRanks` worked example for `rank:xenos+` (the full ladder, spelled out
|
|
134
|
+
// so a reader sees what the predicate resolves to). That is documentation of
|
|
135
|
+
// the grammar rather than a second implementation of it, and it must still
|
|
136
|
+
// match the canonical order or the example teaches a ladder that does not
|
|
137
|
+
// exist.
|
|
118
138
|
'modules/hall-ui/public/government.js',
|
|
119
|
-
// ADR 0266: the Board Room moved off the government page onto its own, and the
|
|
120
|
-
// sitting card's `decidedByHtml` expands the same `rank:<key>+` membership form
|
|
121
|
-
// to say who may vote on THAT sitting — so the carve took a copy of the ladder
|
|
122
|
-
// with it. Same reason as the row above (browser code cannot require the server
|
|
123
|
-
// module), and the same pinning: `tests/government_board_vote_ui.mjs` reads
|
|
124
|
-
// board-room.js and holds its predicate parser equal to the server's, and the
|
|
125
|
-
// pin below in this file holds the array itself against LIVE_RANK_LADDER.
|
|
126
|
-
'modules/hall-ui/public/board-room.js',
|
|
127
139
|
// task 1002487: the pure agent-definition validator applies the ADR 0043
|
|
128
140
|
// sub-Metic floor to an agent's declared scope, so it needs the ladder to
|
|
129
141
|
// compare against. It is one of the "dependency-free" cases this array exists
|