← Back to Pull requests

Program soup in the garden: public /soup/ page and a shared soup on the archipelago #127

Closed
unknown closed this pull request without merging on Nov 02, 2026 02:32 UTC
View on GitHub
unknown unknown commented on Oct 31, 2026 21:23 UTC
Author

Builds on #126 (the BFF program-soup tools). This branch is stacked on #126's branch, so until #126 merges this diff also shows its commits. The two commits added here are feff1c1b and 888278e7.

What changes

/soup/ ships with the site (feff1c1b)

  • The page is no longer removed in Dockerfile.site or blocked in deploy/Caddyfile.

  • It has a canonical link, a sitemap entry and a /soup redirect. soup-packaging.test.ts now checks the reverse of what it checked before.

  • It uses the site header, footer, paper/night theme and sun accent. The grid stays a dark jar in both themes.

  • The Worlds page lists it under "A different chemistry". It is not a lab preset, because the "Random soup" preset is a different world.

  • The copy stays honest: copiers grew on 1 of 2 grid seeds, after about 17,000 steps.
  • A shared soup on the archipelago (888278e7)

  • Coordinator.Soup is an isolated plane at /api/soup (Discovery is the model for that isolation). It reuses island identities.

  • A world's segments form a chain. A run's completion must name the hash of its own upload.

  • A share of segments, and always the last, is replayed by a different island. A mismatch marks the segment diverged and blocks the rest of the chain.

  • Uploads are one per lease, published durably, and removed once nothing refers to them.

  • A soup lease holds its island in the queue's island table until the lease ends.

  • tools/soup/snapshot.ts defines the BLSOUP v1 format. tools/soup_island.ts is a Deno island (WebGPU or CPU).

  • tests/deno/soup_island.ts runs two islands against a real coordinator. The chain's last snapshot equals a continuous run byte for byte, and a lying island is caught.
  • Design and scoping note: docs/soup-garden-2026-10-31.md. Part C covers tape genomes in the ecology and has no code.

    Checks


  • mix precommit: 597 tests, 0 failures.

  • pnpm typecheck: clean.

  • tests/deno/soup_island.ts: all checks pass.

  • The site image was built locally, and tools/test/site-image.test.ts passes 13/13, including /soup/ and its assets.

  • Full pnpm test: only three load-sensitive tests failed (hunt1-ops, lab execution, sim-ref shape). All three pass when run alone, and none are touched by this change.

  • The page was checked in the browser at phone and desktop widths, in day and night.

  • Three Codex Sol 6.1 High review passes; every finding was fixed.
  • Not in this PR


  • No deploy.

  • The browser island taking soup work.

  • A public view of the shared soup.

  • Gzip, pruning and a status page for soup snapshots.

  • An IslandBodyLimit for POST /api/soup/next.
  • <!-- This is an auto-generated comment: release notes by coderabbit.ai -->
    <!-- coderabbit-ai-generated:v1 -->

    Summary by CodeRabbit

  • New Features

  • - Added an interactive Program Soup simulation with controls for running, stepping, speed, display mode, seed, grid size, and mutation rate. Select and inspect programs, or plant a copier in the grid.
    - Added a CPU fallback when WebGPU is unavailable.
    - Added shared coordination for registering worlds, distributing and verifying simulation segments, and uploading and downloading snapshots.
    - Added command-line tools to run simulations, inspect snapshots, and process segments. The runner can resume from snapshots and save statistics and grid images.

  • Documentation

  • - Added an overview of the experiment and its setup to the Worlds page, with a link to the interactive simulation.
    <!-- end of auto-generated comment: release notes by coderabbit.ai -->

    Diff: 442 lines (+331 / -111) across 5 files Reviewer: treetopdevs Review duration: 1748m
    All Vouch review confidence checks passed
    Residual risk 0.18 = Change Risk (0.45) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.45 · 442 lines diff across 5 files
    0.45
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.17 · 1 substantive comment(s)
    0.17
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    60%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    Groq Risk Narration
    AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
    Model 1 · Change Risk Attribution
    SHAP Weights
    Diff Size diff_size
    0.365
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #127"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 60.5% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 45.3% (MEDIUM) · Higher = larger blast radius
    45.3%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 60.5% · Lower = rushed or shallow review
    60.5%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 17.9% · Safe to merge
    17.9%