@stage5/lumine 0.3.64 → 0.3.66
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/lib/admin-arena.js +3 -1
- package/lib/admin.js +2 -2
- package/package.json +1 -1
- package/sdk/LUMINE_ADMIN.md +7 -3
package/lib/admin-arena.js
CHANGED
|
@@ -109,7 +109,9 @@ export function formatArenaResult({ operation, data }) {
|
|
|
109
109
|
return [
|
|
110
110
|
...types.map(
|
|
111
111
|
(t) =>
|
|
112
|
-
`${t.examFamily} ${t.difficulty || "normal"} ${t.itemType}: ${t.live} live, ${t.
|
|
112
|
+
`${t.examFamily} ${t.difficulty || "normal"} ${t.itemType}: ${t.live} live, ${t.activeLearners ?? "unknown"} active learner(s), ${t.minFresh} unseen${
|
|
113
|
+
t.stockLow && !t.refillDue ? " (low stock; no active demand)" : ""
|
|
114
|
+
}${
|
|
113
115
|
t.refillDue ? ` -> write ${t.toWrite}` : ""
|
|
114
116
|
}`,
|
|
115
117
|
),
|
package/lib/admin.js
CHANGED
|
@@ -3016,7 +3016,7 @@ export function parseAdminOperation(options) {
|
|
|
3016
3016
|
if (namespace === "word-games") {
|
|
3017
3017
|
if (action === "status") return readOperation("word-games.status", "/cli/admin/word-games/status", { requiresRun: false });
|
|
3018
3018
|
if (action === "candidates") return readOperation("word-games.candidates", withQuery("/cli/admin/word-games/candidates", {
|
|
3019
|
-
level: parseRequiredInteger(target, "word level",
|
|
3019
|
+
level: parseRequiredInteger(target, "word level (0 means unassigned)", 0, 5), after: options.adminAfter || 0, limit: options.adminLimit || 50,
|
|
3020
3020
|
}), { requiresRun: false });
|
|
3021
3021
|
if (action === "import" && target) {
|
|
3022
3022
|
const raw = readAdminJsonFile(target, "<reviewed-words.json>", { maxBytes: 256 * 1024 });
|
|
@@ -3039,7 +3039,7 @@ export function parseAdminOperation(options) {
|
|
|
3039
3039
|
reason,
|
|
3040
3040
|
}, { requiresRun: false, mutates: true });
|
|
3041
3041
|
}
|
|
3042
|
-
throw cliValidationError("Use: lumine admin word-games status | candidates <
|
|
3042
|
+
throw cliValidationError("Use: lumine admin word-games status | candidates <0-5> (0 = unassigned) [--after <id>] [--limit <n>] | import <reviewed-words.json> [--dry-run] | champions --build <id> | confirm|disqualify <YYYY-MM> <userId> --build <id> --reason \"<evidence>\"");
|
|
3043
3043
|
}
|
|
3044
3044
|
if (namespace === "english") {
|
|
3045
3045
|
return buildEnglishOperation({ action, target, options });
|
package/package.json
CHANGED
package/sdk/LUMINE_ADMIN.md
CHANGED
|
@@ -3708,8 +3708,12 @@ live.
|
|
|
3708
3708
|
|
|
3709
3709
|
Preserve all downloaded evidence while any finding remains. Include the
|
|
3710
3710
|
reviewed file set, boundary-loss notices, findings/fixes, live-verification
|
|
3711
|
-
result, clear result, and any remaining todo in the final run report.
|
|
3712
|
-
error
|
|
3711
|
+
result, clear result, and any remaining todo in the final run report. Once
|
|
3712
|
+
every returned error byte is reviewed and every actionable finding is recorded,
|
|
3713
|
+
complete the guarded `finish --reviewed` and post-clear loop. Clearing means
|
|
3714
|
+
reviewed and recorded, not proved fixed; unresolved findings stay open in the
|
|
3715
|
+
report and carry-over todos. Never finish while returned evidence is unread or
|
|
3716
|
+
an actionable finding has not been recorded.
|
|
3713
3717
|
|
|
3714
3718
|
**Purpose and privacy boundary:** this audits how Twinkle's bots treated
|
|
3715
3719
|
members; it is not thought-policing or a moderation queue for members' private
|
|
@@ -5535,7 +5539,7 @@ need no app update. Keep prepared inventory distinct from verified live stock.
|
|
|
5535
5539
|
|
|
5536
5540
|
## Word Search vocabulary upkeep
|
|
5537
5541
|
|
|
5538
|
-
Every full daily website-management run adds reviewed Word Master words across all five difficulty bands, with accurate definitions and natural example sentences. Use `lumine admin word-games status`, `candidates <
|
|
5542
|
+
Every full daily website-management run adds reviewed Word Master words across all five difficulty bands, with accurate definitions and natural example sentences. Use `lumine admin word-games status`, `candidates <0-5> --after <id> --limit 100`, and `import <reviewed-words.json> --dry-run` followed by the reviewed import. File shape: `{items:[{wordId,word,wordLevel,definition,example}]}` (up to 100). Candidate level 0 includes unassigned words (zero or NULL), not a sixth difficulty; assign a reviewed level 1–5 on import. Candidate exports are unreviewed; use agent judgment and check the current censor table before importing. No paid batch APIs. The import is audited and preserves active generation and today's existing puzzles; future banks include the additions. The app receives all five ready banks in its normal HTML and has a bundled checked fallback, so word selection never creates a loading screen or separate word request. Report additions per difficulty and text corrections. Repository agents follow `agent-guides/word-search-vocabulary.md` for the full procedure. A scoped management request does not start this full-run duty.
|
|
5539
5543
|
|
|
5540
5544
|
## Word Search monthly champions
|
|
5541
5545
|
|