diff --git a/AGENTS.md b/AGENTS.md index ae37c13..373caa2 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -1,4 +1,4 @@ - + # Agent Brief: Harb Stack ## What is KRAIKEN? diff --git a/formulas/AGENTS.md b/formulas/AGENTS.md index 986f119..b22e872 100644 --- a/formulas/AGENTS.md +++ b/formulas/AGENTS.md @@ -1,4 +1,4 @@ - + # Agent Brief: Formulas Formulas are TOML files that declare automated pipeline jobs for the harb evaluator. diff --git a/gardener/dust.jsonl b/gardener/dust.jsonl index 64697c8..e69de29 100644 --- a/gardener/dust.jsonl +++ b/gardener/dust.jsonl @@ -1,2 +0,0 @@ -{"issue":1086,"group":"evidence","title":"Update evidence/README.md schema with candidate_commit and methodology fields","reason":"Small schema addition to README.md","ts":"2026-03-22T06:05:49Z"} -{"issue":1083,"group":"evidence","title":"Document snapshot-isolation methodology for lm_eth fields","reason":"Schema clarification in evidence/README.md","ts":"2026-03-22T06:05:49Z"} diff --git a/gardener/pending-actions.json b/gardener/pending-actions.json index fe51488..efb0acd 100644 --- a/gardener/pending-actions.json +++ b/gardener/pending-actions.json @@ -1 +1,17 @@ -[] +[ + { + "action": "remove_label", + "issue": 1155, + "label": "underspecified" + }, + { + "action": "add_label", + "issue": 1155, + "label": "backlog" + }, + { + "action": "comment", + "issue": 1155, + "body": "Promoting to backlog: body already has acceptance criteria and affected files. Well-specified for dev-agent pickup." + } +] diff --git a/kraiken-lib/AGENTS.md b/kraiken-lib/AGENTS.md index 21ee8ab..14ca8d4 100644 --- a/kraiken-lib/AGENTS.md +++ b/kraiken-lib/AGENTS.md @@ -1,4 +1,4 @@ - + # Kraiken Library - Agent Guide Shared TypeScript helpers used by the landing app, txnBot, and other services to talk to KRAIKEN contracts and the Ponder GraphQL API. diff --git a/landing/AGENTS.md b/landing/AGENTS.md index 3d29943..4e101a8 100644 --- a/landing/AGENTS.md +++ b/landing/AGENTS.md @@ -1,4 +1,4 @@ - + # Landing Interface - Agent Guide Vue 3 + Vite application that delivers the public marketing site and forthcoming staking UI. diff --git a/onchain/AGENTS.md b/onchain/AGENTS.md index 077c02d..c3899a3 100644 --- a/onchain/AGENTS.md +++ b/onchain/AGENTS.md @@ -1,4 +1,4 @@ - + # Agent Brief: Kraiken Protocol ## Protocol Philosophy & Business Logic diff --git a/scripts/harb-evaluator/AGENTS.md b/scripts/harb-evaluator/AGENTS.md index 5cc0ac9..2550188 100644 --- a/scripts/harb-evaluator/AGENTS.md +++ b/scripts/harb-evaluator/AGENTS.md @@ -1,4 +1,4 @@ - + # 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`. diff --git a/services/ponder/AGENTS.md b/services/ponder/AGENTS.md index 128a85c..8e9554e 100644 --- a/services/ponder/AGENTS.md +++ b/services/ponder/AGENTS.md @@ -1,4 +1,4 @@ - + # Ponder Indexer - Agent Guide Ponder-based indexer that records Kraiken protocol activity and exposes the GraphQL API consumed by the app and automation bot. diff --git a/services/txnBot/AGENTS.md b/services/txnBot/AGENTS.md index 3d2ee25..9614b83 100644 --- a/services/txnBot/AGENTS.md +++ b/services/txnBot/AGENTS.md @@ -1,4 +1,4 @@ - + # Transaction Bot - Agent Guide Automation service that maintains liquidity alignment and tax enforcement for the KRAIKEN protocol. diff --git a/web-app/AGENTS.md b/web-app/AGENTS.md index b51fed7..492de1d 100644 --- a/web-app/AGENTS.md +++ b/web-app/AGENTS.md @@ -1,4 +1,4 @@ - + # Web App - Agent Guide Vue 3 + TypeScript staking interface for KRAIKEN, enabling users to stake tokens, manage positions, and interact with Harberger-tax mechanics.