Merge pull request 'chore: gardener housekeeping 2026-03-22' (#1097) from chore/gardener-20260322-0607 into master

Reviewed-on: https://codeberg.org/johba/harb/pulls/1097
Reviewed-by: Disinto_bot <disinto_bot@noreply.codeberg.org>
This commit is contained in:
johba 2026-03-22 08:47:28 +01:00
commit cb4525c46c
8 changed files with 15 additions and 7 deletions

View file

@ -1,4 +1,4 @@
<!-- last-reviewed: bf1a735481bb19fab25398ccf349553d668ea176 --> <!-- last-reviewed: 5f01d55cc7ce0f3499967536971878ef968d59ba -->
# Agent Brief: Harb Stack # Agent Brief: Harb Stack
## What is KRAIKEN? ## What is KRAIKEN?

6
gardener/dust.jsonl Normal file
View file

@ -0,0 +1,6 @@
{"issue":741,"group":"onchain/script","title":"Add Basescan URL comments for SWAP_ROUTER and WETH addresses","reason":"Two comment additions in AttackRunner.s.sol and FitnessEvaluator.t.sol","ts":"2026-03-22T06:05:49Z"}
{"issue":739,"group":"onchain/src","title":"Remove redundant double-cast uint256(uint256(...))","reason":"Single-line transpiler artifact no-op in OptimizerV3Push3.sol:63-64","ts":"2026-03-22T06:05:49Z"}
{"issue":627,"group":"onchain/src","title":"Clarify _validatePriceMovement NatSpec return doc","reason":"Single-line comment update in PriceOracle.sol:52","ts":"2026-03-22T06:05:49Z"}
{"issue":601,"group":"onchain/script","title":"Fix misleading taxRate comment in AttackRunner.s.sol","reason":"Single-line comment correction: raw rate value -> index into TAX_RATES[]","ts":"2026-03-22T06:05:49Z"}
{"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"}

View file

@ -1,4 +1,4 @@
<!-- last-reviewed: bf1a735481bb19fab25398ccf349553d668ea176 --> <!-- last-reviewed: 5f01d55cc7ce0f3499967536971878ef968d59ba -->
# Kraiken Library - Agent Guide # 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. Shared TypeScript helpers used by the landing app, txnBot, and other services to talk to KRAIKEN contracts and the Ponder GraphQL API.

View file

@ -1,4 +1,4 @@
<!-- last-reviewed: bf1a735481bb19fab25398ccf349553d668ea176 --> <!-- last-reviewed: 5f01d55cc7ce0f3499967536971878ef968d59ba -->
# Landing Interface - Agent Guide # Landing Interface - Agent Guide
Vue 3 + Vite application that delivers the public marketing site and forthcoming staking UI. Vue 3 + Vite application that delivers the public marketing site and forthcoming staking UI.

View file

@ -1,4 +1,4 @@
<!-- last-reviewed: bf1a735481bb19fab25398ccf349553d668ea176 --> <!-- last-reviewed: 5f01d55cc7ce0f3499967536971878ef968d59ba -->
# Agent Brief: Kraiken Protocol # Agent Brief: Kraiken Protocol
## Protocol Philosophy & Business Logic ## Protocol Philosophy & Business Logic
@ -69,3 +69,5 @@ The staking system traces a triangle in (staking%, avgTax) space:
- `token0isWeth` flips amount semantics — confirm ordering before interpreting liquidity. - `token0isWeth` flips amount semantics — confirm ordering before interpreting liquidity.
- Floor uses `vwapX96` directly (not sqrt) in fixed-point math. - Floor uses `vwapX96` directly (not sqrt) in fixed-point math.
- Outstanding supply excludes LM position balances and KRK held by `feeDestination` (only when `feeDestination != address(0) && feeDestination != address(this)`) and `stakingPool` (only when `stakingPoolAddr != address(0) && stakingPoolAddr != feeDestination`). - Outstanding supply excludes LM position balances and KRK held by `feeDestination` (only when `feeDestination != address(0) && feeDestination != address(this)`) and `stakingPool` (only when `stakingPoolAddr != address(0) && stakingPoolAddr != feeDestination`).
- `recenterAccess` is removed — `recenter()` always enforces cooldown and TWAP stability. No bypass path exists.
- `feeDestinationLocked` prevents CREATE2 bypass: once `feeDestination` is set to a contract address, it cannot be changed. `setFeeDestination` checks `.code.length > 0` to detect contract addresses.

View file

@ -1,4 +1,4 @@
<!-- last-reviewed: bf1a735481bb19fab25398ccf349553d668ea176 --> <!-- last-reviewed: 5f01d55cc7ce0f3499967536971878ef968d59ba -->
# Ponder Indexer - Agent Guide # Ponder Indexer - Agent Guide
Ponder-based indexer that records Kraiken protocol activity and exposes the GraphQL API consumed by the app and automation bot. Ponder-based indexer that records Kraiken protocol activity and exposes the GraphQL API consumed by the app and automation bot.

View file

@ -1,4 +1,4 @@
<!-- last-reviewed: bf1a735481bb19fab25398ccf349553d668ea176 --> <!-- last-reviewed: 5f01d55cc7ce0f3499967536971878ef968d59ba -->
# Transaction Bot - Agent Guide # Transaction Bot - Agent Guide
Automation service that maintains liquidity alignment and tax enforcement for the KRAIKEN protocol. Automation service that maintains liquidity alignment and tax enforcement for the KRAIKEN protocol.

View file

@ -1,4 +1,4 @@
<!-- last-reviewed: bf1a735481bb19fab25398ccf349553d668ea176 --> <!-- last-reviewed: 5f01d55cc7ce0f3499967536971878ef968d59ba -->
# Web App - Agent Guide # Web App - Agent Guide
Vue 3 + TypeScript staking interface for KRAIKEN, enabling users to stake tokens, manage positions, and interact with Harberger-tax mechanics. Vue 3 + TypeScript staking interface for KRAIKEN, enabling users to stake tokens, manage positions, and interact with Harberger-tax mechanics.