chore: gardener housekeeping 2026-03-25

AGENTS.md watermarks refreshed to HEAD (358f719). Content updates:
- scripts/harb-evaluator/AGENTS.md: documented wallet.ts auto-reconnect
  fix (wagmi EIP-6963 auto-connect handling, 10s disconnect timeout)
- All other AGENTS.md files: watermark bump only

Pending actions (3): promote #1155 pitch-deck to backlog.

Escalate: #1158 (Phase 1 completion accuracy) — needs planner/human decision.
This commit is contained in:
johba 2026-03-25 18:05:32 +00:00
parent 358f719e21
commit fce4b8b068
11 changed files with 37 additions and 13 deletions

View file

@ -1,4 +1,4 @@
<!-- last-reviewed: 209e0c798ea85204c5fe466ba7b54b874095e08f -->
<!-- last-reviewed: 358f719e2143ed0f99c738c61f1af9b544b03422 -->
# Agent Brief: harb-evaluator
The evaluator runtime executes formula-defined pipelines. Scripts in this
@ -18,7 +18,7 @@ and the adversarial agent harness.
| `export-attacks.py` | Extract cast send commands from agent stream log into `.jsonl` attack files |
| `red-team-program.md` | System prompt for the adversarial Claude agent |
| `holdout.config.ts` | Playwright config for holdout scenario execution |
| `helpers/` | TypeScript helpers: RPC, assertions, swap, stake, floor, market, reporting |
| `helpers/` | TypeScript helpers: RPC, assertions, swap, stake, floor, market, reporting, wallet |
| `scenarios/` | Holdout scenario scripts and the passive-confidence suite |
## Exit Code Convention
@ -52,6 +52,16 @@ Every script writes its evidence file to `evidence/{category}/{date}.json`
conforming to the schema in `evidence/README.md`. The `deliver` step in each
formula handles committing and posting an issue comment.
## Wallet Connection Helper
`helpers/wallet.ts``connectWallet(page)` handles the Playwright wallet
connection flow. Key behaviours:
- Detects auto-reconnect: if wagmi already reconnected from storage
(`.connect-button--connected` visible within 1 s), returns immediately.
- Opens the connectors panel via `.connect-button--disconnected` (10 s
timeout — wagmi needs time to settle into disconnected state after page load).
- Falls back to mobile hamburger menu if desktop button not found.
## Adding a New Evaluator Script
1. Place the script in this directory. Use `#!/usr/bin/env bash` and `set -euo pipefail`.