Commit graph

1066 commits

Author SHA1 Message Date
johba
dc9a053db4 Merge pull request 'fix: Pre-existing: feeDestination source reference also points to wrong line (#913)' (#932) from fix/issue-913 into master 2026-03-17 21:38:36 +01:00
openhands
1d5390be96 fix: Pre-existing: feeDestination source reference also points to wrong line (#913)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-17 20:18:44 +00:00
johba
444da636ad Merge pull request 'fix: txnBot has zero test coverage after deleting recenterAccess.test.ts (#919)' (#930) from fix/issue-919 into master 2026-03-17 20:57:37 +01:00
openhands
074c94dc04 fix: txnBot has zero test coverage after deleting recenterAccess.test.ts (#919) 2026-03-17 19:35:13 +00:00
openhands
3d957bfb76 fix: txnBot has zero test coverage after deleting recenterAccess.test.ts (#919)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-17 19:34:58 +00:00
johba
80f6d94247 Merge pull request 'fix: Bare cd at line 293 in main loop (pre-existing) (#927)' (#929) from fix/issue-927 into master 2026-03-17 20:14:36 +01:00
openhands
db76d648de fix: Bare \cd\ at line 293 in main loop (pre-existing) (#927)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-17 18:47:14 +00:00
johba
415e94243e Merge pull request 'fix: MEMORY_FILE trim may discard DECREASED entries before 4c extraction (#875)' (#926) from fix/issue-875 into master 2026-03-17 19:27:09 +01:00
openhands
8b3fd340ac fix: MEMORY_FILE trim may discard DECREASED entries before 4c extraction (#875)
Address AI reviewer feedback on d1f75a7:

- Wrap cross_file append in try/except so a write failure never prevents
  the memory trim-write from running (bug fix)
- Stamp sweep_id on pre-trim exported entries using the SWEEP_ID env var;
  pass SWEEP_ID from red-team-sweep.sh so entries are attributable to a
  sweep run (data-consistency fix)
- Add inline comment explaining the 3-tuple dedup key (run, ts, strategy)
  and its relationship to step-4c's identity check (clarity nit)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-17 17:58:41 +00:00
johba
e31e7b16fa Merge pull request 'fix: Bare cd in smoke test permanently changes shell working directory (#877)' (#925) from fix/issue-877 into master 2026-03-17 18:46:44 +01:00
openhands
d1f75a790c fix: MEMORY_FILE trim may discard DECREASED entries before 4c extraction (#875)
Before trimming MEMORY_FILE to 50 entries, export any entries that would
be dropped (non-DECREASED entries outside the last 10) directly to
CROSS_PATTERNS_FILE. This ensures no entries are permanently lost before
red-team-sweep.sh step 4c reads the memory file.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-17 17:30:47 +00:00
openhands
315b7777f8 fix: Bare \cd\ in smoke test permanently changes shell working directory (#877)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-17 17:07:17 +00:00
johba
fb68595679 Merge pull request 'fix: sleep 1 polling loop violates AGENTS.md 'never use fixed delays' principle (#878)' (#924) from fix/issue-878 into master 2026-03-17 17:46:45 +01:00
openhands
f481509cf4 ci: retrigger after infra failure 2026-03-17 16:19:02 +00:00
openhands
e2554eb844 fix: \sleep 1\ polling loop violates AGENTS.md 'never use fixed delays' principle (#878)
Replace fixed \`sleep 1\` in the container teardown poll loop with exponential
backoff (100ms → 200ms → … → 2000ms cap). The 30s hard timeout is preserved.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-17 16:07:58 +00:00
johba
bce6d5ddce Merge pull request 'fix: compute_lm_total_eth awk parser reads only the line immediately after == Logs == (#879)' (#923) from fix/issue-879 into master 2026-03-17 16:46:42 +01:00
openhands
f87b6d1fbb ci: retrigger after infra failure 2026-03-17 15:18:24 +00:00
openhands
07b117c906 fix: \compute_lm_total_eth\ awk parser reads only the line immediately after \== Logs ==\ (#879)
Replace getline-once approach with a forward-scan that skips blank lines
and warning lines after the marker, finding the first digit-only line.
2026-03-17 15:07:30 +00:00
johba
390586156b Merge pull request 'fix: setFeeDestination in snippet uses stale AddressAlreadySet one-time-setter pattern (#886)' (#920) from fix/issue-886 into master 2026-03-17 15:36:52 +01:00
openhands
cd67e8c1fd fix: setFeeDestination in snippet uses stale AddressAlreadySet one-time-setter pattern (#886) 2026-03-17 14:08:45 +00:00
johba
5adf70518f Merge pull request 'fix: services/txnBot still has dead recenterAccess read infrastructure (#887)' (#917) from fix/issue-887 into master 2026-03-17 14:56:56 +01:00
openhands
8c31a68fa8 fix: restore test script in txnBot package.json (#887)
CI calls npm run test; removing the script entirely caused a hard failure.
Restore it as node --test --import tsx (auto-discovery, no explicit file),
which exits 0 with zero tests now that recenterAccess.test.ts is deleted.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-17 13:34:03 +00:00
openhands
ad680b8ced fix: address review findings from recenterAccess cleanup (#887)
- Remove permanently unreachable guard branches from evaluateRecenterOpportunity
- Remove orphaned getWalletAddress() from BlockchainService
- Simplify RecenterAccessStatus type: drop always-null recenterAccessAddress
  and slot fields, narrow hasAccess to boolean
- Update /status endpoint to match simplified type
- Remove test script (no test files remain)
- Revert unrelated kraiken-lib/package-lock.json churn

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-17 13:22:10 +00:00
openhands
f2ba1181f4 fix: services/txnBot still has dead recenterAccess read infrastructure (#887) 2026-03-17 12:51:07 +00:00
openhands
5741e84552 fix: services/txnBot still has dead recenterAccess read infrastructure (#887)
Remove recenterAccess.ts, recenterAccess.test.ts, the ABI entry, and
getRecenterAccessReader() from BlockchainService. Simplify
getRecenterAccessStatus in service.ts to return open access (hasAccess: true)
since the on-chain recenterAccess() guard no longer exists.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-17 12:50:58 +00:00
johba
0042ff1b5e Merge pull request 'fix: Staking pool exclusion also has an undocumented conditional guard (#889)' (#916) from fix/issue-889 into master 2026-03-17 13:38:05 +01:00
openhands
3770fa9554 fix: Staking pool exclusion also has an undocumented conditional guard (#889) 2026-03-17 12:16:45 +00:00
johba
5c68264127 Merge pull request 'fix: onchain/AGENTS.md:71 missing conditional guard on feeDestination/stakingPool exclusion (#891)' (#915) from fix/issue-891 into master 2026-03-17 13:06:39 +01:00
openhands
ad7a45a40e fix: onchain/AGENTS.md:71 missing conditional guard on feeDestination/stakingPool exclusion (#891) 2026-03-17 11:37:12 +00:00
johba
1ff2269d16 Merge pull request 'fix: ARCHITECTURE.md staking pool bullet missing its own conditional guard (#892)' (#912) from fix/issue-892 into master 2026-03-17 12:27:19 +01:00
openhands
7628e428c7 fix: ARCHITECTURE.md staking pool bullet missing its own conditional guard (#892) 2026-03-17 11:05:54 +00:00
openhands
296c7a2dea fix: ARCHITECTURE.md staking pool bullet missing its own conditional guard (#892) 2026-03-17 10:49:05 +00:00
openhands
f491f30f90 fix: ARCHITECTURE.md staking pool bullet missing its own conditional guard (#892) 2026-03-17 10:26:47 +00:00
johba
e12dad3a84 Merge pull request 'fix: onchain/analysis/PARAMETER_SEARCH_RESULTS.md shows stale unconditional pseudocode (#893)' (#910) from fix/issue-893 into master 2026-03-17 11:16:14 +01:00
openhands
a8e186caac fix: onchain/analysis/PARAMETER_SEARCH_RESULTS.md shows stale unconditional pseudocode (#893)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-17 09:47:37 +00:00
johba
4c040e6a30 Merge pull request 'fix: txn-bot has no depends_on: ponder in docker-compose (#898)' (#907) from fix/issue-898 into master 2026-03-17 09:24:36 +01:00
openhands
822683fd4f ci: retrigger after infra failure 2026-03-17 07:57:45 +00:00
openhands
f323a00f55 fix: txn-bot has no depends_on: ponder in docker-compose (#898) 2026-03-17 07:47:12 +00:00
johba
6a4831c51c Merge pull request 'fix: txn-bot port 43069 not published to host (#899)' (#906) from fix/issue-899 into master 2026-03-17 08:36:27 +01:00
openhands
1d121ab24f fix: txn-bot port 43069 not published to host (#899)
Add ports mapping 127.0.0.1:43069:43069 to txn-bot service in
docker-compose.yml, matching the pattern used by ponder. Add txnBot
status URL to ENVIRONMENT.md Common URLs section for consistency.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-17 07:07:31 +00:00
johba
9290975661 Merge pull request 'fix: fix: transpiler outputs raw int literals for uint24 anchorWidth — overflow crashes forge (#900)' (#903) from fix/issue-900 into master 2026-03-17 07:56:59 +01:00
openhands
1e75285579 fix: fix: transpiler outputs raw int literals for uint24 anchorWidth — overflow crashes forge (#900)
Clamp anchorWidth output with `% (2**24)` before the uint24 cast so that
large literal values (e.g. 1e18 from evolved constants) produce valid
Solidity instead of a compile-time overflow error.

Add test_transpiler_clamping.sh (Test 5) verifying that a Push3 program
outputting 1e18 for anchorWidth generates `uint24(... % (2**24))` and not
the raw overflowing literal. Update package.json to run both test suites.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-17 06:40:30 +00:00
johba
a2c60a29a0 Merge pull request 'fix: fix: batch-eval.sh aborts entire generation on single candidate compile failure (#901)' (#902) from fix/issue-901 into master 2026-03-17 07:29:14 +01:00
openhands
a23064f576 fix: batch-eval.sh aborts entire generation on single candidate compile failure (#901)
- Add skip_candidate() helper that emits fitness=0 JSON to stdout and
  tracks the failed score for the output-dir file, satisfying the
  downstream scorer's expectation of one JSON line per candidate.
- Unify all failure paths (transpile, forge build, bytecode extract,
  empty bytecode) through skip_candidate() with a distinct error key.
- Log message now reads "WARNING: <id> compile failed — scoring as 0"
  as required by the acceptance criteria.
- Output-dir scores.jsonl now merges successful + failed scores so the
  file is complete even when some candidates fail to compile.
- All-candidates-fail path (COMPILED_COUNT=0) still exits 2 (no viable
  population); true infra errors (missing tool, bad RPC) unchanged.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-17 06:09:18 +00:00
johba
f685f9a237 docs: add VISION.md — launch strategy and phase definitions (#894)
Three phases: quality gate → coordinated launch → operations.
Defines what "launched" means concretely for planner gap analysis.

From voice dump, distilled into actionable phases with concrete checkboxes.

Co-authored-by: openhands <openhands@all-hands.dev>
Reviewed-on: https://codeberg.org/johba/harb/pulls/894
Reviewed-by: review_bot <review_bot@noreply.codeberg.org>
2026-03-17 06:56:05 +01:00
johba
dbbbad99a5 Merge pull request 'fix: txnBot not covered by any phase documentation (#895)' (#896) from fix/issue-895 into master 2026-03-16 23:08:32 +01:00
openhands
2d942a8a24 ci: retrigger after infra failure 2026-03-16 21:43:51 +00:00
openhands
6a01d55ced fix: txnBot not covered by any phase documentation (#895) 2026-03-16 21:37:27 +00:00
johba
3ebec9cfaf Merge pull request 'fix: ARCHITECTURE.md omits conditional guard on feeDestination exclusion (#663)' (#890) from fix/issue-663 into master 2026-03-16 19:27:23 +01:00
openhands
dc2de3d470 fix: ARCHITECTURE.md omits conditional guard on feeDestination exclusion (#663) 2026-03-16 18:06:57 +00:00