🔑 brief: MODELBEAST agent credential pre-provisioned — source agent.env, no friction (fable)

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
monsterrobotparty 2026-07-15 23:31:10 +10:00
parent b9faa76ee1
commit 4b146bef68
2 changed files with 13 additions and 6 deletions

View File

@ -18,5 +18,6 @@ Horizons ground truth, the stage plan, and the known traps.
- Keep committed assets lean (~25 MB texture budget) and attribute CC BY sources - Keep committed assets lean (~25 MB texture budget) and attribute CC BY sources
in `assets/textures/CREDITS.md` + the HUD footer. in `assets/textures/CREDITS.md` + the HUD footer.
- Local unlimited image generation: MODELBEAST at `/Users/m3ultra/Documents/MODELBEAST` - Local unlimited image generation: MODELBEAST at `/Users/m3ultra/Documents/MODELBEAST`
(FLUX on-device via `mb` CLI) — see brief §7b. Truth boundary: real worlds get real (FLUX on-device via `mb` CLI) — see brief §7b. Credential is pre-provisioned:
`source ~/Documents/MODELBEAST/data/agent.env`. Truth boundary: real worlds get real
NASA textures; FLUX only paints the aesthetic layer (splash, grimoire cards, sprites). NASA textures; FLUX only paints the aesthetic layer (splash, grimoire cards, sprites).

View File

@ -300,18 +300,24 @@ queue/load manager with an on-device FLUX operator (`flux_local`, mflux/MLX,
headless with the `mb` CLI (see `MODELBEAST/AGENTS.md` for the full reference): headless with the `mb` CLI (see `MODELBEAST/AGENTS.md` for the full reference):
```sh ```sh
export MB_HOST=http://localhost:8777 MB_TOKEN=mbt_... # token: ⚙ Settings → Users # shared agent credential — pre-provisioned, just source it (never commit/paste it):
source ~/Documents/MODELBEAST/data/agent.env # sets MB_HOST + MB_TOKEN
MB=~/Documents/MODELBEAST/mb
# house workflow — run 5 seeds, pick the best: # house workflow — run 5 seeds, pick the best:
for S in 1 2 3 4 5; do for S in 1 2 3 4 5; do
./mb run flux_local -p prompt="$PROMPT" -p model=flux2-klein-4b \ $MB run flux_local -p prompt="$PROMPT" -p model=flux2-klein-4b \
-p seed=$S -p width=1024 -p height=1024 --wait --download art/candidates/ -p seed=$S -p width=1024 -p height=1024 --wait --download art/candidates/
done done
``` ```
The credential is the `agents` guest user (verified working 2026-07-15: submit →
generate ≈ 7 s/image → download). Guest = **local operators only** — flux_local,
`bg_remove_local` (alpha cutouts), `seedvr2_upscale` — all free; the owner's paid
fal/OpenRouter operators are blocked server-side, so generate without cost anxiety.
The `gpu` lane runs one job at a time — queue all 5 and wait, don't spam retries The `gpu` lane runs one job at a time — queue all 5 and wait, don't spam retries
on `queued`. Finish assets with `fal_bg_remove` (alpha cutouts for sprites) and on `queued`. If `data/agent.env` is missing, re-mint it with
`fal_upscale`/`seedvr2_upscale` where 1024 isn't enough. If `MB_TOKEN` isn't `cd ~/Documents/MODELBEAST && uv run python scripts/agent_token.py`; if MODELBEAST
available in the session, generate nothing and leave a TODO list of prompts in is down entirely, generate nothing and leave a TODO list of prompts in
`assets/art/PROMPTS.md` instead — never block a stage on art. `assets/art/PROMPTS.md` instead — never block a stage on art.
**The truth boundary (non-negotiable):** SOLARGOD is a scientific instrument. **The truth boundary (non-negotiable):** SOLARGOD is a scientific instrument.