Commit graph

21 commits

Author SHA1 Message Date
Carl Niklas Rydberg 8ea3ec861f asl/index-fs: add neg-cache, bloom precheck, and fix O(N²) load_segment
- Introduce a 256-entry ring-buffer negative cache (neg_cache) to short-circuit
  repeated NOT_FOUND lookups without touching disk.  Invalidated on put/tombstone-lift.
- Add bloom precheck in scan_segments: read only the 368-byte header+bloom prefix
  before committing to a full segment load; segments that definitively miss are skipped.
- Remove summary_lookup_hash from load_segment; the linear scan over 40-byte entries
  was O(N²) on large indexes and is now replaced by a direct SHA-256 of the segment bytes.
- Gitignore .codex and .claude tool artifacts.
- Add test_miss_latency_bounded: regression test that builds 200 segments and asserts
  miss-path latency stays within 5 s total across 20 trials.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-17 22:12:11 +02:00
Carl Niklas Rydberg 807816e0f2 asl/index-fs: add snapshot-anchor fast path for get and tests 2026-04-04 02:33:21 +02:00
Carl Niklas Rydberg 3473b19425 trow AI at it. 2026-02-22 00:25:56 +01:00
Carl Niklas Rydberg 7b3ef3eab4 test_projector_loop_stub 2026-02-21 20:07:57 +01:00
Carl Niklas Rydberg f4ddb17a58 Fixing tests. 2026-02-21 19:23:59 +01:00
Carl Niklas Rydberg a433f92f13 Fixed but not 2026-02-08 09:54:37 +01:00
Carl Niklas Rydberg c7a9e2f6aa Fix index-fs write locking and add index backend regressions 2026-02-08 00:06:42 +01:00
Carl Niklas Rydberg 948a156f5c Add PEL program builder and derivation indexing 2026-01-18 09:21:25 +01:00
Carl Niklas Rydberg 3198d8ddbe Fix derivation index fs test 2026-01-18 07:36:59 +01:00
Carl Niklas Rydberg 1d04c32401 Add derivation index CLI 2026-01-18 07:27:48 +01:00
Carl Niklas Rydberg 745cf89eb7 Add ASL index accel routing key 2026-01-18 06:20:48 +01:00
Carl Niklas Rydberg dde532d68f Improve ASL store index lifecycle 2026-01-18 05:54:31 +01:00
Carl Niklas Rydberg b506cc6c7c Extend FER/1 receipts and TGK store support 2026-01-17 21:34:24 +01:00
Carl Niklas Rydberg 83cbe28ede asl_store_index_fs: add perf/stress tests and summaries 2026-01-17 19:49:12 +01:00
Carl Niklas Rydberg 017bc87e04 asl_store_index_fs: stream log snapshot/truncate 2026-01-17 17:58:59 +01:00
Carl Niklas Rydberg 0667cee17d Add bloom filters to ASL index segments 2026-01-17 16:55:46 +01:00
Carl Niklas Rydberg 06a96f25db Add snapshot manifests and auto snapshot policy 2026-01-17 16:43:47 +01:00
Carl Niklas Rydberg 347d2e4dda Add filesystem-backed ASL index store 2026-01-17 14:08:41 +01:00
Carl Niklas Rydberg a91ab91e39 Add indexed ASL store ops and tests 2026-01-17 12:44:33 +01:00
Carl Niklas Rydberg 8e26d11e3b Fixed the test include so AMDUAT_ENC_ASL1_CORE_V1 is visible. Re-run:
cmake --build build --target amduat_test_asl_ref_derive && ./build/amduat_test_asl_ref_derive
2025-12-21 22:39:11 +01:00
Carl Niklas Rydberg 0188e10cee Add ASL ref-derive test and use central derivation 2025-12-21 22:36:08 +01:00