Compact a waiting worker's session before its prompt cache expires #587

Merged
lilleman merged 12 commits from item-310 into main 2026-11-19 04:58:55 +01:00

12 Commits

Author SHA1 Message Date
lilleman e019a6b78c Finish item 310 in the plan
CI / tests (pull_request) Successful in 4m58s
2026-11-19 04:53:47 +01:00
lilleman d9875ee460 File item 443: measure the compaction's saving
CI / tests (pull_request) Successful in 4m55s
2026-11-19 04:47:57 +01:00
lilleman e55b8826fb Merge remote-tracking branch 'origin/main' into item-310
# Conflicts:
#	bin/agent_cycle/interrupt.py
#	bin/agent_cycle/run.py
#	bin/agent_cycle/states.py
#	docs/reading-cost.md
#	todo.md
2026-11-19 04:47:53 +01:00
lilleman 1fe59960fb File item 398: measure the compaction's saving
CI / tests (pull_request) Successful in 3m12s
2026-11-19 04:45:19 +01:00
lilleman f0f9d91396 Answer product-owner round 1: 0 🔴, 1 🟡 (0 misread); announce the compaction on a line of its own, fixed in the stability answer 2026-11-19 04:44:37 +01:00
lilleman a2ea673822 Answer prose round 1: 0 🔴, 2 🟡 (0 misread); reword the timer's docstrings, comments and help, rename the no-compaction test 2026-11-19 04:44:37 +01:00
lilleman 708347382b Check the stopped timer once stop returns, not after a wait 2026-11-19 04:44:37 +01:00
lilleman 78dd557057 Answer stability round 1: 0 🔴, 2 🟡 (1 misread); compact on the worker's rung, announce the compaction and skip it once the cache expired 2026-11-19 04:42:14 +01:00
lilleman 30595cfdf4 Test the compaction's boundaries, an unreadable transcript, a usage limit and the timer's daemon thread
CI / tests (pull_request) Successful in 3m21s
2026-11-19 04:11:13 +01:00
lilleman 444f5824d9 Answer security round 1: 0 🔴, 0 🟡 (0 misread); no finding 2026-11-19 04:00:32 +01:00
lilleman e5258525e7 Sort interrupt's imports by their first binding
CI / tests (pull_request) Successful in 3m21s
2026-11-17 14:05:14 +01:00
lilleman e60e891251 Compact a waiting worker's session shortly before its prompt cache expires
CI / tests (pull_request) Failing after 3m16s
2026-11-17 13:00:25 +01:00