From 545d645ca1b1dc45159de289398b62bf72ffa191 Mon Sep 17 00:00:00 2001 From: Jimuelle07 Date: Sat, 14 Nov 2026 14:02:30 +0800 Subject: [PATCH] Remove failing site deploy job; GIF at top of README --- .github/workflows/site.yml | 34 ++-------------------------------- CHANGELOG.md | 1 + README.md | 12 ++++++------ site/README.md | 16 +++++----------- 4 files changed, 14 insertions(+), 49 deletions(-) diff --git a/.github/workflows/site.yml b/.github/workflows/site.yml index d2debb0..06360a4 100644 --- a/.github/workflows/site.yml +++ b/.github/workflows/site.yml @@ -1,10 +1,7 @@ name: site -# CI: every PR touching the site or the files it reads runs the tests and the build. -# CD: every push to main (and manual runs on main) deploys site/dist to the -# Cloudflare Pages project `eclipse` (https://eclipse-9le.pages.dev/). -# Needs repo secrets CLOUDFLARE_API_TOKEN (Account > Cloudflare Pages > Edit) -# and CLOUDFLARE_ACCOUNT_ID; see site/README.md "Deploy". +# CI only: every PR and push to main touching the site or the files it reads runs the +# tests and the build. Deploys are manual with wrangler (see site/README.md "Deploy"). on: pull_request: @@ -43,30 +40,3 @@ jobs: - run: npm ci - run: npm test - run: npm run build - - uses: actions/upload-artifact@v4 - with: - name: site-dist - path: site/dist - retention-days: 7 - - deploy: - needs: build - if: github.ref == 'refs/heads/main' && (github.event_name == 'push' || github.event_name == 'workflow_dispatch') - runs-on: ubuntu-latest - environment: - name: production - url: https://eclipse-9le.pages.dev/ - concurrency: - group: site-deploy - cancel-in-progress: false - steps: - - uses: actions/download-artifact@v4 - with: - name: site-dist - path: dist - - uses: cloudflare/wrangler-action@v3 - with: - apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }} - accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }} - wranglerVersion: "4.161.0" - command: pages deploy dist --project-name eclipse --branch main --commit-hash ${{ github.sha }} diff --git a/CHANGELOG.md b/CHANGELOG.md index 44aafc4..4cb4838 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ Ledger of MAJOR updates only, newest first. What counts as MAJOR: [AGENTS.md §1 ## 2026-11-14 +- **Component:** site CI no longer deploys: the `deploy` job (Cloudflare Pages via wrangler) is removed from [`.github/workflows/site.yml`](.github/workflows/site.yml) because it failed on every push to main without the Cloudflare repo secrets; `build` still runs `npm test` and `npm run build`; deploys are manual ([site/README.md](site/README.md#deploy-manual-cloudflare-pages)). - **Rules:** Jim's decision 2026-11-14: the README GIF is a 15-second motion-graphics animation of testnet receipts #7 (Morse attack, block) and #6 (hosting invoice, allow), replacing the 20-second cut of the shot 4 recording; it no longer waits on A8 ([demo-storyboard.md](docs/build/demo-storyboard.md#readme-gif)). - **Component:** Remotion composition `ReadmeDemo` (`video/src/readme/`, 1920 × 1080, 25 fps, 375 frames), encoded with FFmpeg to `site/public/demo/eclipse-demo.gif` (1200 × 675); embedded at the top of [README.md](README.md) with links to the full demo video and the [X post](https://x.com/Jimuelle17/status/2121470442712236097) ([video/README.md](video/README.md#readme-gif)). - **Component:** live demo video. `injection_showdown.py` gains `--agent scripted` (the proposal is the scenario's `scripted_tool_call`, no agent-model call), `--tag`, `--wait-all`, `--step-delay`, `--inbox-lines`, `--start-at` and `t_start` / `t_verdict` in every JSONL row; `record.ps1` gains `-Side plain|eclipse` (one take per side, 4 tiled Windows Terminal windows), `-Rows`, `-Agent`, pacing flags and `capture-.json`; new `agent/tools/showdown/video_data.py` writes `run.json` (`eclipse.live-demo.v2`); new Remotion composition `EclipseLiveDemo` ([video/README.md](video/README.md#live-demo)). Dry-run only. diff --git a/README.md b/README.md index 4d8cbdf..47ff268 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,11 @@
+![Animation: a Morse-code X reply makes the agent propose 180 tUSDC to the lookalike account hostc0. The Guardian pauses the payment, the checker raises six flags, the verdict is block and 0 tUSDC moves. The normal 18 tUSDC invoice to hostco is then allowed and paid.](site/public/demo/eclipse-demo.gif) + +Animation of testnet receipts #6 (allow, paid) and #7 (block, refused) from 2026-11-13 (run log); not a screen recording. Jev's score varies between runs; this attempt scored above the hold threshold. + +**[Watch the full demo video](https://drive.google.com/file/d/13YEZlaN2TEu1yxlvRQc6oXd-9RrjCPc5/view?usp=sharing)** · [X post](https://x.com/Jimuelle17/status/2121470442712236097) + # Eclipse **Steps in front of the bad payment. Stays in the background otherwise.** @@ -15,12 +21,6 @@ A payment firewall for AI agents, on NEAR. [Live site](https://eclipse-9le.pages.dev/) · [Demo video](https://drive.google.com/file/d/13YEZlaN2TEu1yxlvRQc6oXd-9RrjCPc5/view?usp=sharing) · [X post](https://x.com/Jimuelle17/status/2121470442712236097) · [Quick start](#quick-start) · [Results](#results) · [How it works](#how-it-works) · [FAQ](#faq) · [Limits](#limits) · [Built with](#built-with) · [All docs](docs/index.md) -![Animation: a Morse-code X reply makes the agent propose 180 tUSDC to the lookalike account hostc0. The Guardian pauses the payment, the checker raises six flags, the verdict is block and 0 tUSDC moves. The normal 18 tUSDC invoice to hostco is then allowed and paid.](site/public/demo/eclipse-demo.gif) - -Animation of testnet receipts #6 (allow, paid) and #7 (block, refused) from 2026-11-13 (run log); not a screen recording. Jev's score varies between runs; this attempt scored above the hold threshold. - -**[Watch the full demo video](https://drive.google.com/file/d/13YEZlaN2TEu1yxlvRQc6oXd-9RrjCPc5/view?usp=sharing)** · [X post](https://x.com/Jimuelle17/status/2121470442712236097) -
Eclipse is a payment firewall for AI agents. The agent holds only a function-call key to a Guardian contract on NEAR; the contract holds the funds. Every payment request pauses while a checker (in OutLayer's TEE on testnet) fuses policy and provenance rules, a lookalike check, an injection classifier and a TypeSafe Jev decision into allow, hold or block, with no human step. Jev is the decision brain; NEAR is load-bearing (custody, key scope, exact-match verdicts, hard caps, settlement, receipts). diff --git a/site/README.md b/site/README.md index 7ad37c5..232d5d2 100644 --- a/site/README.md +++ b/site/README.md @@ -54,21 +54,15 @@ Open `/#results`. `src/components/ResultsSection.jsx` imports `../docs/results/r The section shows three headline numbers for the conformal row against no defense, a table of every configuration (false holds, false blocks, missed attacks, median latency, calls per payment, since cost is unpriced), the red-team round and the not-built MELON row, the missed-attacks / false-blocks chart, attacks caught per family (from `by_family`, the cascade row; `unseen_family_rotation` is not a detection rate at q̂), and the caveats (in-sample false holds above the 5% target, known families only, hard caps). `npm test` checks the numbers against the README; `npm run build` checks bundling. -## Deploy (CI/CD: GitHub Actions to Cloudflare Pages) +## Deploy (manual, Cloudflare Pages) -Live at https://eclipse-9le.pages.dev/ (Cloudflare Pages project `eclipse`, deployed 2026-11-13 from main `603babd` plus the site-URL switch). It replaced https://eclipse-20v.pages.dev/ (first deployed 2026-11-13 from main `38aeaf0`, another Cloudflare account, no longer updated). +Live at https://eclipse-9le.pages.dev/ (Cloudflare Pages project `eclipse`, last deployed 2026-11-14 from main `80a085a` (PR #46, demo video) plus the page-title change to "Eclipse", manually with wrangler because the repo secrets are not set). It replaced https://eclipse-20v.pages.dev/ (first deployed 2026-11-13 from main `38aeaf0`, another Cloudflare account, no longer updated). -[`.github/workflows/site.yml`](../.github/workflows/site.yml) runs on every PR and every push to `main` that touches `site/`, `docs/results/`, `schemas/`, `contract/guardian/src/lib.rs` (the tests and the build read them) or the workflow itself: +[`.github/workflows/site.yml`](../.github/workflows/site.yml) is CI only. It runs on every PR and every push to `main` that touches `site/`, `docs/results/`, `schemas/`, `contract/guardian/src/lib.rs` (the tests and the build read them) or the workflow itself, with one job: -- `build`: `npm ci`, `npm test`, `npm run build`, then uploads `site/dist` as the `site-dist` artifact. -- `deploy`: only for a push to `main` or a manual run on `main` (Actions → site → Run workflow). It deploys that artifact with `wrangler pages deploy dist --project-name eclipse --branch main` in the `production` environment. Deploys run one at a time; PRs never deploy. +- `build`: `npm ci`, `npm test`, `npm run build`. -One-time setup (human, repo admin): add two repository secrets (Settings → Secrets and variables → Actions): - -- `CLOUDFLARE_API_TOKEN`: a Cloudflare API token with **Account → Cloudflare Pages → Edit** on the account that owns `eclipse`. -- `CLOUDFLARE_ACCOUNT_ID`: that account's ID (`npx wrangler whoami`). - -Until both are set, `deploy` fails and `build` still checks PRs. +There is no automatic deploy job (removed 2026-11-14 on the user's request because the Cloudflare secrets are not set). Manual deploy, from `site/` on an up-to-date `main`: