@stage5/lumine 0.2.53 → 0.2.55
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +66 -5
- package/lib/admin-workflows.js +759 -59
- package/lib/admin.js +268 -4
- package/lib/agent/providers/claude-code.js +104 -3
- package/lib/agent/providers/codex.js +118 -14
- package/lib/agent.js +9 -1
- package/lib/auth.js +15 -9
- package/lib/commands.js +76 -28
- package/lib/constants.js +1 -0
- package/lib/sponsor.js +1292 -0
- package/package.json +1 -1
- package/sdk/LUMINE_ADMIN.md +43 -6
package/package.json
CHANGED
package/sdk/LUMINE_ADMIN.md
CHANGED
|
@@ -636,6 +636,40 @@ type DailyRunComplete = Success<{
|
|
|
636
636
|
type DailyRunFail = DailyRunComplete;
|
|
637
637
|
```
|
|
638
638
|
|
|
639
|
+
### Build Workshop sponsor applications and integrity
|
|
640
|
+
|
|
641
|
+
This is the approved Zero/Ciel Build Workshop sponsor role, not the ordinary
|
|
642
|
+
AI Energy sponsor flow. Applications originate only from `lumine sponsor`.
|
|
643
|
+
Website-management agents review them inside an active daily run:
|
|
644
|
+
|
|
645
|
+
```bash
|
|
646
|
+
lumine admin sponsor applications list --status pending --json
|
|
647
|
+
lumine admin sponsor applications review 12 --decision approve \
|
|
648
|
+
--note "Approved for probationary duty" --json
|
|
649
|
+
lumine admin sponsor status set 45 --status trusted \
|
|
650
|
+
--note "Cleared probationary handoffs" --json
|
|
651
|
+
lumine admin sponsor integrity scan --json
|
|
652
|
+
lumine admin sponsor integrity cases --status open --json
|
|
653
|
+
lumine admin sponsor integrity get 34 --json
|
|
654
|
+
lumine admin sponsor integrity review 34 --decision clear --json
|
|
655
|
+
```
|
|
656
|
+
|
|
657
|
+
Run `sponsor integrity scan` until its bounded snapshot reaches
|
|
658
|
+
`awaiting_review` or `completed`. Every pending completed handoff receives the
|
|
659
|
+
deterministic checks. Probationary work, hard-flagged evidence, and a stable
|
|
660
|
+
random sample become review cases; clean trusted work outside the sample is
|
|
661
|
+
cleared automatically. A case includes the approved structured relay, canonical
|
|
662
|
+
artifact snapshot, branch-notice evidence, and requested/resolved provider,
|
|
663
|
+
model, effort, service-tier, runtime, usage, and agent-tree records. It never
|
|
664
|
+
includes raw Zero/Ciel chat.
|
|
665
|
+
|
|
666
|
+
`clear` qualifies that unique handoff for its flat 50 KP award;
|
|
667
|
+
`disqualify` makes it ineligible. `hold` and `flag` require an evidence note and
|
|
668
|
+
remain open. The scan itself never changes sponsor status or applies a sanction.
|
|
669
|
+
Use the separate, audited `sponsor status set` command for an explicit human
|
|
670
|
+
decision. `daily-run complete` is rejected until the scan has covered its full
|
|
671
|
+
snapshot and no pending, held, or flagged case remains.
|
|
672
|
+
|
|
639
673
|
Record only qualifying escalations as they are confirmed. `daily-run report`
|
|
640
674
|
then composes the active run's canonical audit events, successful mutations,
|
|
641
675
|
completed queue scans, recorded escalations, and the most useful brief deltas
|
|
@@ -847,12 +881,15 @@ feed-ID high-water mark and the server timestamp, then traverse the indexed
|
|
|
847
881
|
row moved forward when it was reshared. Explicit legacy scans retain the
|
|
848
882
|
descending primary-key walk. A page
|
|
849
883
|
can be empty while `hasMore` remains true; continue until `exhausted`. `--all`
|
|
850
|
-
does that automatically
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
884
|
+
does that automatically, fsyncs each confirmed page to a private NDJSON
|
|
885
|
+
candidate spool, and writes only bounded cursor, boundary, count, byte-length,
|
|
886
|
+
and digest metadata to the private checkpoint. `--resume` continues only when
|
|
887
|
+
the checkpoint belongs to the same API, run, and exact request and its confirmed
|
|
888
|
+
spool prefix still matches those metadata; an unconfirmed fsynced tail is
|
|
889
|
+
discarded before the next request. The final JSON collection is streamed from
|
|
890
|
+
the spool and can be copied to a separate `--output` file, while `--checkpoint`
|
|
891
|
+
remains resumable operational state. Subject `--after` is inclusive, and every
|
|
892
|
+
opaque cursor is bound to its original filters.
|
|
856
893
|
|
|
857
894
|
For `--all --json`, stdout remains exactly one JSON value. Scan-start, first-
|
|
858
895
|
page, every-tenth-page, and exhaustion progress is written to **stderr** with
|