From 4b146bef681fd54214c0f6ffdafb583f487bfa71 Mon Sep 17 00:00:00 2001 From: monsterrobotparty Date: Wed, 15 Jul 2026 23:31:10 +1000 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=91=20brief:=20MODELBEAST=20agent=20cr?= =?UTF-8?q?edential=20pre-provisioned=20=E2=80=94=20source=20agent.env,=20?= =?UTF-8?q?no=20friction=20(fable)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Fable 5 --- CLAUDE.md | 3 ++- SOLARGOD_BRIEF.md | 16 +++++++++++----- 2 files changed, 13 insertions(+), 6 deletions(-) diff --git a/CLAUDE.md b/CLAUDE.md index c9dfea3..4b94792 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -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 in `assets/textures/CREDITS.md` + the HUD footer. - 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). diff --git a/SOLARGOD_BRIEF.md b/SOLARGOD_BRIEF.md index c5d00a4..0c488b7 100644 --- a/SOLARGOD_BRIEF.md +++ b/SOLARGOD_BRIEF.md @@ -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): ```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: 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/ 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 -on `queued`. Finish assets with `fal_bg_remove` (alpha cutouts for sprites) and -`fal_upscale`/`seedvr2_upscale` where 1024 isn't enough. If `MB_TOKEN` isn't -available in the session, generate nothing and leave a TODO list of prompts in +on `queued`. If `data/agent.env` is missing, re-mint it with +`cd ~/Documents/MODELBEAST && uv run python scripts/agent_token.py`; if MODELBEAST +is down entirely, generate nothing and leave a TODO list of prompts in `assets/art/PROMPTS.md` instead — never block a stage on art. **The truth boundary (non-negotiable):** SOLARGOD is a scientific instrument.