feat: OptimizerV3 with direct 2D staking-to-LP parameter mapping
Core protocol changes for launch readiness:
- OptimizerV3: binary bear/bull mapping from (staking%, avgTax) — avoids
exploitable AW 30-90 kill zone. Bear: AS=30%, AW=100, CI=0, DD=0.3e18.
Bull: AS=100%, AW=20, CI=0, DD=1e18. UUPS upgradeable with __gap[48].
- Directional VWAP: only records prices on ETH inflow (buys), preventing
sell-side dilution of price memory
- Floor formula: unified max(scarcity, mirror, clamp) — VWAP mirror uses
distance from adjusted VWAP as floor distance, no branching
- PriceOracle (M-1 fix): correct fallback TWAP divisor (60000s, not 300s)
- Access control (M-2 fix): deployer-only guard on one-time setters
- Recenter rate limit (M-3 fix): 60-second cooldown for open recenters
- Safe fallback params: recenter() optimizer-failure defaults changed from
exploitable CI=50%/AW=50 to safe bear-mode CI=0/AW=100
- Recentered event for monitoring and indexing
- VERSION bump to 2, kraiken-lib COMPATIBLE_CONTRACT_VERSIONS updated
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-13 18:21:18 +00:00
|
|
|
# Claude Code Supervisor configuration
|
|
|
|
|
# Copy to ~/.config/claude-code-supervisor/config.yml
|
|
|
|
|
# or .claude-code-supervisor.yml in your project root.
|
|
|
|
|
|
|
|
|
|
triage:
|
|
|
|
|
# Command that accepts a prompt on stdin and returns text on stdout.
|
|
|
|
|
# Default: claude -p (uses Claude Code's own auth)
|
|
|
|
|
command: "claude -p --no-session-persistence"
|
fix: refactor AGENTS.md into progressive-disclosure structure (#184)
- Root AGENTS.md: 350+ lines → 68 lines (map, not encyclopedia)
- New docs/dev-environment.md (67 lines): Docker, dev.sh, ports, pitfalls
- New docs/ci-pipeline.md (73 lines): Woodpecker setup, monitoring, debugging
- New docs/testing.md (41 lines): Foundry, E2E, version validation
- New docs/codeberg-api.md (32 lines): .netrc auth, API usage
- Updated stale model refs in .claude-code-supervisor.yml files
- Sub-component AGENTS.md files unchanged
- Context docs (PRODUCT-TRUTH, ARCHITECTURE, UX-DECISIONS) unchanged
2026-02-23 09:46:35 +00:00
|
|
|
model: "claude-haiku-4-5-20251001"
|
feat: OptimizerV3 with direct 2D staking-to-LP parameter mapping
Core protocol changes for launch readiness:
- OptimizerV3: binary bear/bull mapping from (staking%, avgTax) — avoids
exploitable AW 30-90 kill zone. Bear: AS=30%, AW=100, CI=0, DD=0.3e18.
Bull: AS=100%, AW=20, CI=0, DD=1e18. UUPS upgradeable with __gap[48].
- Directional VWAP: only records prices on ETH inflow (buys), preventing
sell-side dilution of price memory
- Floor formula: unified max(scarcity, mirror, clamp) — VWAP mirror uses
distance from adjusted VWAP as floor distance, no branching
- PriceOracle (M-1 fix): correct fallback TWAP divisor (60000s, not 300s)
- Access control (M-2 fix): deployer-only guard on one-time setters
- Recenter rate limit (M-3 fix): 60-second cooldown for open recenters
- Safe fallback params: recenter() optimizer-failure defaults changed from
exploitable CI=50%/AW=50 to safe bear-mode CI=0/AW=100
- Recentered event for monitoring and indexing
- VERSION bump to 2, kraiken-lib COMPATIBLE_CONTRACT_VERSIONS updated
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-13 18:21:18 +00:00
|
|
|
max_tokens: 150
|
|
|
|
|
|
|
|
|
|
notify:
|
|
|
|
|
# Command that receives a JSON string as its last argument.
|
|
|
|
|
# Called when triage determines action is needed.
|
|
|
|
|
# Examples:
|
|
|
|
|
# openclaw: openclaw gateway call wake --params
|
|
|
|
|
# ntfy: curl -s -X POST https://ntfy.sh/my-topic -d
|
|
|
|
|
# webhook: curl -s -X POST https://example.com/hook -H 'Content-Type: application/json' -d
|
|
|
|
|
# script: /path/to/my-notify.sh
|
|
|
|
|
command: "openclaw gateway call wake --params"
|
|
|
|
|
|
|
|
|
|
# Quiet hours — suppress non-urgent escalations
|
|
|
|
|
quiet_hours:
|
|
|
|
|
start: "23:00"
|
|
|
|
|
end: "08:00"
|
|
|
|
|
timezone: "Europe/Berlin"
|