Commit graph

930 commits

Author SHA1 Message Date
johba
a983c5cb16 Merge pull request 'fix: No-op varCounter assignment before false branch in processExecIf (#655)' (#803) from fix/issue-655 into master 2026-03-15 06:47:02 +01:00
openhands
73485c66ea fix: No-op varCounter assignment before false branch in processExecIf (#655) 2026-03-15 05:27:14 +00:00
openhands
38c476f71e fix: No-op varCounter assignment before false branch in processExecIf (#655) 2026-03-15 05:27:09 +00:00
johba
b4720e6f5c Merge pull request 'fix: evolve.sh does not write note field — schema drift between hand-written and evolved entries (#719)' (#802) from fix/issue-719 into master 2026-03-15 06:17:27 +01:00
openhands
4a47e8e2d1 fix: evolve.sh does not write \note\ field — schema drift between hand-written and evolved entries (#719)
- Pass seed basename into the admission Python block as argv[7]
- Add \`note\` field to every new evolved entry: "Evolved from <seed> (run<N> gen<G>)"
- Add migration comment noting entries admitted before this fix may have note: null

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-15 04:57:58 +00:00
johba
5b8c1cc485 Merge pull request 'fix: CID format change silently drops historical generation JSONL on re-admission (#757)' (#800) from fix/issue-757 into master 2026-03-15 05:47:02 +01:00
openhands
6694b2daa8 fix: CID format change silently drops historical generation JSONL on re-admission (#757)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-15 04:27:38 +00:00
johba
a9431c87ee Merge pull request 'fix: manifest.jsonl schema has no canonical machine-readable definition (#720)' (#799) from fix/issue-720 into master 2026-03-15 05:17:28 +01:00
openhands
2aad9e98f1 fix: manifest.jsonl schema has no canonical machine-readable definition (#720)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-15 03:57:31 +00:00
johba
bacc104bc9 Merge pull request 'fix: llm-origin entries in manifest have null fitness and no evaluation path (#724)' (#798) from fix/issue-724 into master 2026-03-15 04:49:41 +01:00
openhands
c508efa31f fix: address review findings for evaluate-seeds.sh (#724)
- Replace unquoted heredoc (shell-injection path) with a temp file: the
  shell loop now appends tab-separated filename/score lines to a temp
  file, which is passed as a plain path argument to the Python manifest-
  rewrite block.  Python reads only file contents, never executes shell-
  expanded strings.
- Add early abort on fitness.sh exit code 2 (infra error: Anvil down,
  missing tool).  Iterating past an infra failure produces no useful
  results; aborting immediately surfaces the real problem.
- Remove unused `os` import from the manifest-rewrite Python block.
- Fix inaccurate comment in evolve.sh --diverse-seeds sampling: the pool
  sampler does a flat random shuffle with no fitness weighting; null-
  fitness seeds are not "treated as 0" — they are sampled with equal
  probability to any other seed.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-15 03:29:47 +00:00
openhands
cb6e6708b6 fix: \llm\-origin entries in manifest have null fitness and no evaluation path (#724)
- Add evaluate-seeds.sh: standalone script that reads manifest.jsonl,
  finds every entry with fitness: null, runs fitness.sh against each
  seed file, and atomically writes results back to manifest.jsonl.
  Supports --dry-run to preview without evaluating.
- Add comment to --diverse-seeds sampling in evolve.sh documenting that
  null-fitness seeds are included with effective_fitness=0 and that
  evaluate-seeds.sh should be run to score them.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-15 03:08:29 +00:00
johba
93b16f3b1f Merge pull request 'fix: No generic flag dispatch: only token_value_inflation is ever zero-rated (#723)' (#797) from fix/issue-723 into master 2026-03-15 03:56:26 +01:00
openhands
4d47ef6f4b ci: retrigger after infra failure 2026-03-15 02:40:45 +00:00
openhands
79af57451d fix: No generic flag dispatch: only token_value_inflation is ever zero-rated (#723) 2026-03-15 02:37:02 +00:00
openhands
273615cfed fix: No generic flag dispatch: only \token_value_inflation\ is ever zero-rated (#723)
Define ZERO_RATED_FLAGS set near effective_fitness and check each flag
with any(...in flags...) instead of a single hard-coded substring test.
token_value_inflation behaviour is preserved; new flags can be added to
the set without touching the dispatch logic.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-15 02:36:57 +00:00
johba
5dfa824161 Merge pull request 'fix: fix: FitnessEvaluator.t.sol broken on Base mainnet fork (#780)' (#793) from fix/issue-780 into master 2026-03-15 03:27:55 +01:00
openhands
cef4c3038b fix: fix: FitnessEvaluator.t.sol broken on Base mainnet fork (#780)
Address review feedback:
- Add comment on FEE_DEST explaining why it differs from DeployBaseMainnet.sol:
  on a Base mainnet fork, 0xf6a3...D9011 has contract code which triggers
  feeDestinationLocked=true; keccak-derived address is a guaranteed EOA
- Expand bytecodes.txt EOF guard with a pipeline-mismatch warning log
- Fix STATE.md entry to use imperative verb form per project convention

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-15 02:13:04 +00:00
openhands
b3007e8f11 fix: fix: FitnessEvaluator.t.sol broken on Base mainnet fork (#780) 2026-03-15 01:51:08 +00:00
openhands
ef3f6945f2 fix: fix: FitnessEvaluator.t.sol broken on Base mainnet fork (#780)
- Replace Base Sepolia addresses with Base mainnet:
  - V3_FACTORY: 0x33128a8fC17869897dcE68Ed026d694621f6FDfD
  - SWAP_ROUTER: 0x2626664c2603336E57B271c5C0b26F421741e481
  - NPM_ADDR: 0x03a520b32C04BF3bEEf7BEb72E919cf822Ed34f1
- Fix FEE_DEST to keccak-derived EOA (0x8A9145E1...9383) to avoid
  feeDestination lock triggered by contract code at the old address
- Add vm.warp(block.timestamp + 600) alongside vm.roll in bootstrap
  retry loop so _isPriceStable() TWAP check accumulates 300s+ history
- Guard vm.readLine(bytecodesFile) with empty-string break to prevent
  vm.parseBytes("") revert on trailing EOF line

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-15 01:50:54 +00:00
johba
c1746a05fe Merge pull request 'fix: feat: add evolution run 8 champion to seed pool (#781)' (#789) from fix/issue-781 into master 2026-03-15 02:45:27 +01:00
openhands
7930770570 fix: feat: add evolution run 8 champion to seed pool (#781)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-15 01:31:06 +00:00
openhands
2fbf1c30f1 fix: feat: add evolution run 8 champion to seed pool (#781) 2026-03-15 01:07:15 +00:00
openhands
56aedfae49 fix: feat: add evolution run 8 champion to seed pool (#781)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-15 01:07:12 +00:00
johba
03bc45371a Merge pull request 'fix: fix: increase CALCULATE_PARAMS_GAS_LIMIT from 200k to 500k (#782)' (#787) from fix/issue-782 into master 2026-03-15 02:04:48 +01:00
openhands
0f2692efaf ci: retrigger after infra failure 2026-03-15 00:39:31 +00:00
openhands
8c50578be1 fix: update stale comments after CALCULATE_PARAMS_GAS_LIMIT bump to 500k
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-15 00:28:12 +00:00
openhands
cb10af703c fix: fix: increase CALCULATE_PARAMS_GAS_LIMIT from 200k to 500k (#782) 2026-03-15 00:01:14 +00:00
openhands
87a088bc66 fix: fix: increase CALCULATE_PARAMS_GAS_LIMIT from 200k to 500k (#782)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-15 00:00:56 +00:00
johba
fb92beea9d Merge pull request 'fix: fix: remove MAX_ANCHOR_WIDTH clamp in ThreePositionStrategy (#783)' (#785) from fix/issue-783 into master 2026-03-15 00:49:05 +01:00
openhands
9d4a9dad4c fix: fix: remove MAX_ANCHOR_WIDTH clamp in ThreePositionStrategy (#783) 2026-03-14 23:21:41 +00:00
openhands
ac4aa745f6 fix: fix: remove MAX_ANCHOR_WIDTH clamp in ThreePositionStrategy (#783)
Remove the MAX_ANCHOR_WIDTH=100 constant and the corresponding clamp on
anchorWidth in LiquidityManager.recenter(). The optimizer is now free to
choose any anchor width; evolution run 7 immediately exploited AW=153.

Update IOptimizer.sol NatSpec to reflect no clamping. Update the
testAnchorWidthAbove100IsClamped test to testAnchorWidthAbove100IsNotClamped,
asserting the tick range matches the full AW=150 width.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-14 23:21:30 +00:00
johba
cbd0ada9d7 Merge pull request 'fix: bootstrap.sh hardcodes BASE_SEPOLIA_LOCAL_FORK even on mainnet forks (#746)' (#779) from fix/issue-746 into master 2026-03-15 00:08:23 +01:00
openhands
9b7143af55 fix: bootstrap.sh hardcodes BASE_SEPOLIA_LOCAL_FORK even on mainnet forks (#746)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-14 22:36:52 +00:00
openhands
12fa97bae7 fix: bootstrap.sh hardcodes BASE_SEPOLIA_LOCAL_FORK even on mainnet forks (#746) 2026-03-14 22:07:29 +00:00
openhands
404bbd2b21 fix: bootstrap.sh hardcodes BASE_SEPOLIA_LOCAL_FORK even on mainnet forks (#746)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-14 22:07:22 +00:00
johba
f3fd3f2021 Merge pull request 'fix: llm_contrarian.push3 AW=150/250 clamped to 100 — three rounds unaddressed (#756)' (#778) from fix/issue-756 into master 2026-03-14 22:57:33 +01:00
openhands
7052dd8d94 fix: llm_contrarian.push3 AW=150/250 clamped to 100 — three rounds unaddressed (#756) 2026-03-14 21:40:40 +00:00
openhands
7a9b4206ae fix: llm_contrarian.push3 AW=150/250 clamped to 100 — three rounds unaddressed (#756)
Replace AW=250 (VERY AGGRESSIVE) with 100 and AW=150 (AGGRESSIVE) with 80
so neither value is silently clamped by LiquidityManager.MAX_ANCHOR_WIDTH=100.
Update header comment block to match the corrected values.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-14 21:40:31 +00:00
johba
bc0817b9b5 Merge pull request 'fix: DeployLocal.sol feeDest 0xf6a3... may have code on Base Sepolia fork (#760)' (#774) from fix/issue-760 into master 2026-03-14 22:26:37 +01:00
openhands
0e33d6cbba fix: DeployLocal.sol feeDest 0xf6a3... may have code on Base Sepolia fork (#760) 2026-03-14 20:58:34 +00:00
openhands
28a5059344 ci: retrigger after infra failure 2026-03-14 20:32:14 +00:00
openhands
9ae12acb9d chore: update STATE.md for #760 2026-03-14 20:21:40 +00:00
openhands
89580171b7 fix: DeployLocal.sol feeDest 0xf6a3... may have code on Base Sepolia fork (#760) 2026-03-14 20:21:32 +00:00
johba
99d6da7032 Merge pull request 'fix: batch-eval.sh MANIFEST_DIR (mktemp -d) has no cleanup trap (#763)' (#773) from fix/issue-763 into master 2026-03-14 21:06:17 +01:00
openhands
a19c2c9fa1 fix: batch-eval.sh MANIFEST_DIR (mktemp -d) has no cleanup trap (#763) 2026-03-14 19:46:56 +00:00
openhands
17c904aaa3 fix: batch-eval.sh MANIFEST_DIR (mktemp -d) has no cleanup trap (#763) 2026-03-14 19:46:50 +00:00
johba
5837af0ad7 Merge pull request 'fix: fitness.sh individual-scoring path still silences errors (#766)' (#772) from fix/issue-766 into master 2026-03-14 20:38:32 +01:00
openhands
e388b4de87 fix: fitness.sh individual-scoring path still silences errors (#766) 2026-03-14 19:07:36 +00:00
openhands
ab40930812 fix: fitness.sh individual-scoring path still silences errors (#766) 2026-03-14 19:07:17 +00:00