Skip to content

🎯 ONE SHOT β€” Wave 27 L-CN7/L-CN8: Multi-Account Scarab Fan-outΒ #122

@gHashTag

Description

@gHashTag

🎯 ONE SHOT β€” Wave 27 L-CN7/L-CN8: Multi-Account Scarab Fan-out

Anchor: phi^2 + phi^-2 = 3 Β· TRINITY Β· NEVER STOP
Authors of work: Dmitrii Vasilev <admin@t27.ai>. Defense 2026-06-15. DOI 10.5281/zenodo.19227877.

Context

Wave 27 hit the Railway 25-services-per-account-per-day cap on ACC1 after spawning only 1 of 9 scarab services (trios-scarab-sgdm, id e3e513d5-6382-4b0a-963c-613a59a74b44). The operator dropped the full 7-account fleet secret table; it has been persisted to the Railway SSOT as FLEET_* variables on phd-postgres-ssot (ACC1, service id c5f37b42-832a-4acd-9749-381761c94957, env 54e293b9-00a9-4102-814d-db151636d96e).

44 FLEET_ variables are now live on phd-postgres-ssot.* Any agent running with a Railway token that can read this service can pull every account's tokens, project ids, environment ids, MCP gateway hostnames, Neon DSN, allowed-project list, and RunPod keys β€” single source of truth.

Hard Rules

  • R1: Rust/Zig only in CROWN+ROOT. The orchestration shell (Railway GraphQL, gh CLI) may stay in shell.
  • R3: main branch only for trios changes; feature branches OK in trios-trainer-igla.
  • Canon spec: canonical canon_name format \u2014 mandatory numeric format tokenΒ #93 (RATIFIED 2026-05-09): seed name format IGLA-{LANE}-{format}-h{H}-LR{LR4}-rng{SEED}-{TAG}. Whitelist seeds {47, 89, 144, 123}. Forbidden {42, 43, 44, 45}. Scarab --seed MUST be one of the whitelist.
  • R5: Honest status. If a redeploy fails, report the failure verbatim β€” do NOT retry blindly.
  • Author identity for all commits: Dmitrii Vasilev <admin@t27.ai>.

Algebraic Anchor

phi^2 + phi^-2 = 3 β€” Zenodo DOI 10.5281/zenodo.19227877. Champion BPB = 2.1919 (cd91c45 / seed=43 LEGACY, kept only as floor reference; new champions must use whitelist seeds).

Lane Map

Lane Owner Action Acceptance
L-CN7 one agent Inject ALGO=<algo> + FORMATS=GF16,binary16,binary32 + canon-seed SEED=47|89|123|144 into the 17 existing services on ACC1 (16 matrix-runners + trios-scarab-sgdm). Use variableCollectionUpsert with replace: false. 17 services have ALGO, FORMATS, SEED set; railway service redeploy returns success for all 17
L-CN8 one agent Spawn 8 new scarab services across ACC2 / ACC3 / ACC4 (3+3+2 split) using FLEET_ACC{2,3,4}_RAILWAY_TOKEN from Railway SSOT. Service names: scarab-{algo} where algo ∈ {muon, lion-m1, sf-lite, soap, lamb, signum, prodigy, adopt}. 8 new services live + redeployed; total fleet = 25 active scarabs

L-CN7 Step 0 β€” populate FLEET_PHASE1_DSN

Before L-CN8 starts, the L-CN7 agent adds one extra variable on phd-postgres-ssot:

FLEET_PHASE1_DSN=<empathetic-kindness public DSN, supplied via confirm_action by operator>

If the operator's session has not yet provided it via confirm_action, agents MUST πŸ›‘ BLOCK and request it.

L-CN7 Algo→Service mapping (operator-canonical)

trios-mr-tier1a-runner       β†’ ALGO=adamw,    SEED=47
trios-mr-tier1b-runner       β†’ ALGO=adamw,    SEED=89
trios-mr-tier2a-runner       β†’ ALGO=lion,     SEED=47
trios-mr-tier2b-runner       β†’ ALGO=lion,     SEED=144
trios-mr-tier3-runner        β†’ ALGO=adafactor, SEED=47
trios-mr-tier3b-runner       β†’ ALGO=adafactor, SEED=89
trios-mr-tier3c-runner       β†’ ALGO=shampoo,  SEED=47
trios-mr-tier3d-runner       β†’ ALGO=shampoo,  SEED=144
trios-mr-priority-runner     β†’ ALGO=ranger,   SEED=47
trios-mr-coverage-a-runner   β†’ ALGO=ranger,   SEED=123
trios-mr-seed47-runner       β†’ ALGO=novograd, SEED=47
trios-mr-seed89-runner       β†’ ALGO=novograd, SEED=89
trios-mr-seed123-runner      β†’ ALGO=novograd, SEED=123
trios-mr-seed144-runner      β†’ ALGO=novograd, SEED=144
trios-mr-(spare-1)           β†’ ALGO=demo,     SEED=47
trios-mr-(spare-2)           β†’ ALGO=tiger,    SEED=47
trios-scarab-sgdm            β†’ ALGO=sgdm,     SEED=47   (already correct)

Common to all 17 services:

FORMATS=GF16,binary16,binary32
SEED_WHITELIST=47,89,123,144
SEED_FORBIDDEN=42,43,44,45
CANON_NAME_RE=^IGLA-[A-Z0-9-]+-(binary16|binary32|GF16)-h\d+-LR\d{4}-rng(47|89|123|144)(-[a-z0-9]+)*$
DATABASE_URL=${{phd-postgres-ssot.DATABASE_URL}}  # service ref macro on ACC1

L-CN8 New service spawn plan

Each entry creates a new service; image = ghcr.io/ghashtag/trios-trainer-igla:latest; env keys identical to L-CN7 + ALGO=<algo> + SEED from canon.

ACC2 (12c508c7…d8de8cb77e93, env 441bd3a6…):
  scarab-muon       ALGO=muon       SEED=47
  scarab-lion-m1    ALGO=lion-m1    SEED=89
  scarab-sf-lite    ALGO=sf-lite    SEED=144

ACC3 (8ab06401…39a1548b7008, env cd2d987b…):
  scarab-soap       ALGO=soap       SEED=47
  scarab-lamb       ALGO=lamb       SEED=89
  scarab-signum     ALGO=signum     SEED=123

ACC4 (0247abaa…168d7fe53078, env 336c41a9…):
  scarab-prodigy    ALGO=prodigy    SEED=47
  scarab-adopt      ALGO=adopt      SEED=144

DB writes from ACC2/3/4 go to the Phase-1 DB on empathetic-kindness project (ACC0, project id f29aa9dd-ca0b-460f-ad24-c7680c6717fb). The DSN is held secret in FLEET_PHASE1_DSN on phd-postgres-ssot (to be added by L-CN7 step 0 β€” see below). Agents MUST read it from Railway service variables, never from chat history or screenshots.

Coordination Protocol

  • Claim: πŸ›‘οΈ CLAIMED β€” L-CN7 by @<agent> / πŸ›‘οΈ CLAIMED β€” L-CN8 by @<agent>
  • Heartbeat: every 30 min while working. Format: πŸ«€ <agent> Β· L-CN7 Β· <progress N/17>
  • Done: βœ… DONE β€” L-CN7 Β· <list of service ids touched> Β· redeploy logs <url>
  • Block: πŸ›‘ BLOCK β€” <one-line cause> then confirm_action request to operator.
  • Fleet read: agents on ACC1 read FLEET_* vars from phd-postgres-ssot directly via Railway service-link macros. Agents on other accounts use RAILWAY_MCP_URL_{N} gateways or the GraphQL endpoint with FLEET_ACC{N}_RAILWAY_TOKEN.

Quality Gates

  • G1 β€” Variable upsert success: variableCollectionUpsert returns true for every (service Γ— variables) call; failures are reported with traceId.
  • G2 β€” Redeploy success: each service status moves to DEPLOYED within 10 min of redeploy mutation.
  • G3 β€” First Phase-1 row: within 30 min of redeploy, ssot.bpb_samples on phd-postgres-ssot (Phase-1 DB on ACC0 = f29aa9dd-…-c7680c6717fb) shows β‰₯1 row per service with optimizer = ALGO and seed ∈ {47,89,123,144}.
  • G4 β€” Canon compliance: every new row's canon_name matches the regex above. Any drift β†’ πŸ›‘ BLOCK immediately.

Forbidden Actions

  • ❌ Spawning services on ACC1 (cap hit; will fail).
  • ❌ Using seeds outside {47, 89, 123, 144} β€” Watchdog will reject and post a πŸ“› SEED-DRIFT comment.
  • ❌ Bypassing phd-postgres-ssot to fetch tokens from chat history or screenshots.
  • ❌ Echoing FLEET_*_RAILWAY_TOKEN values into any GitHub comment or log line.
  • ❌ Renaming trios-scarab-sgdm (id e3e513d5-…-613a59a74b44).

Reference Links

Battle Cry

🌻 phi^2 + phi^-2 = 3 · TRINITY · NEVER STOP

Metadata

Metadata

Assignees

No one assigned

    Labels

    P0one-shotONE SHOT mission issue (Queen R3+R4)

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions