From 50db7ed7b37d2bcbc3aebcf969c81df0a03d40d1 Mon Sep 17 00:00:00 2001 From: Theodore Song Date: Fri, 21 Aug 2026 17:34:23 -0400 Subject: [PATCH] Share adaptive evidence across autonomous agents --- .github/workflows/autonomous-cycle.yml | 4 +- README.md | 15 ++-- index.html | 104 +++++++++++++++++++------ scripts/run-autonomous-cycle.mjs | 2 +- scripts/test-autonomous-runtime.mjs | 9 ++- sw.js | 2 +- 6 files changed, 101 insertions(+), 35 deletions(-) diff --git a/.github/workflows/autonomous-cycle.yml b/.github/workflows/autonomous-cycle.yml index e3cad11..9e2bb5f 100644 --- a/.github/workflows/autonomous-cycle.yml +++ b/.github/workflows/autonomous-cycle.yml @@ -2,7 +2,7 @@ name: Autonomous paper cycle on: schedule: - - cron: "7 * * * *" + - cron: "7,22,37,52 * * * *" workflow_dispatch: push: branches: [main] @@ -34,7 +34,7 @@ jobs: - run: node scripts/run-autonomous-cycle.mjs env: ARENA_URL: https://polymarket-site-eta.vercel.app - EXPECTED_BUILD: "91" + EXPECTED_BUILD: "92" RUNTIME_BRANCH: runtime-state RUNTIME_STATE_PATH: runtime/state.json GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/README.md b/README.md index f944571..906fb2a 100644 --- a/README.md +++ b/README.md @@ -20,17 +20,22 @@ market snapshots. During an outage, cycles continue locally; cached entries are allowed for 90 minutes, older snapshots become mark-only, and all cached data expires after 24 hours. -Build 91 adds a headless GitHub Actions runtime that checks the production site -at seven minutes past every hour, continues from the previous agent snapshot, +Build 92 runs the headless GitHub Actions runtime every 15 minutes, continues +from the previous agent snapshot, and runs the next due paper cycle even when no browser is open. It writes a sanitized snapshot to the `runtime-state` branch and `/api/state` uses that as a read-only fallback while Neon or Vercel Blob is unavailable. The public snapshot contains only `pma_agents_v2` and `pma_suggestions_v5`, with suggestions capped at 300 to keep cross-device loads small. Paper accounts, passwords, email settings, investment allocations, chat history, wallet information, and live-money -settings are explicitly excluded. Manual cycles can still run locally, but the -next autonomous hourly result is the shared public authority until managed -storage is restored. +settings are explicitly excluded. While that fallback is active, ordinary +phones and computers are display-only and cannot fork the public portfolio with +their local timer; only the headless runner advances it. The next autonomous +result is the shared public authority until managed storage is restored. The +five shock-strategy adopters now learn from one shared, +event-deduplicated forward ledger. A trade allocated to one agent therefore +teaches the other four without copying its cash or P&L; shared positive evidence +can promote bounded size and shared negative evidence disables the lane. Build 73 distinguishes a temporary order-book pause from settlement. Exact market refreshes still mark paused positions to the latest published price, but diff --git a/index.html b/index.html index a284534..3924e60 100644 --- a/index.html +++ b/index.html @@ -341,7 +341,7 @@ footer{margin-top:34px;padding-top:22px;border-top:1px solid var(--border);color