Peter Steinberger
5de9419748
test(cli): add status/health/sessions registrar coverage
2026-02-21 21:40:39 +00:00
Peter Steinberger
938fb652b5
fix(cli): honor dashboard no-open and expand maintenance coverage
2026-02-21 21:40:39 +00:00
Peter Steinberger
6de7f9d9b0
test(cli): dedupe config-guard harness and cover invalid-config gates
2026-02-21 21:40:39 +00:00
Peter Steinberger
4503bd0591
test(cli): expand command-registry grouped and subcommand coverage
2026-02-21 21:40:39 +00:00
Peter Steinberger
037da5d8a8
test(cli): extend command option inheritance edge coverage
2026-02-21 21:40:39 +00:00
Peter Steinberger
cdb92494d1
test(cli): dedupe inspect runner and cover snapshot/screenshot mode defaults
2026-02-21 21:40:39 +00:00
Peter Steinberger
81ddc98e12
test(cli): dedupe browser state command runner and cover input validation
2026-02-21 21:40:39 +00:00
Peter Steinberger
8581e6b52d
test(cli): dedupe route assertions and cover missing-flag guards
2026-02-21 21:40:39 +00:00
Peter Steinberger
adedacbfe1
test(cron): dedupe delivery-target whatsapp stubs and cover sessionKey fallback
2026-02-21 21:40:39 +00:00
Peter Steinberger
04a23f45b7
test(channels): dedupe whatsapp heartbeat fixtures and cover recipient sources
2026-02-21 21:40:39 +00:00
Peter Steinberger
42e181dd4b
test(web): dedupe inbound cfg fixtures and cover reply/from formatting
2026-02-21 21:40:39 +00:00
Peter Steinberger
2d62685ff0
test(cli): dedupe memory runtime spies and cover json/search fallback flows
2026-02-21 21:40:39 +00:00
Peter Steinberger
e46634db9a
test(media): dedupe server fixture helpers and cover 404/id validation
2026-02-21 21:40:39 +00:00
Peter Steinberger
dc7ec65c8f
test(web): dedupe mention assertions and cover diagnostics helpers
2026-02-21 21:40:39 +00:00
Peter Steinberger
e2a50228a1
test(browser): dedupe chrome mocks and cover SIGKILL escalation
2026-02-21 21:40:39 +00:00
Peter Steinberger
00ab894feb
test(cli): dedupe acp program setup and cover token-file errors
2026-02-21 21:40:39 +00:00
Peter Steinberger
7bfbbd6309
test(version): dedupe fixture setup and cover invalid URL/version metadata
2026-02-21 21:40:39 +00:00
Peter Steinberger
bd74d49169
test(cli): dedupe camera temp fixtures and cover clip url error paths
2026-02-21 21:40:39 +00:00
Peter Steinberger
59189750e4
test(browser): dedupe path fixture calls and cover root resolvers
2026-02-21 21:40:39 +00:00
Peter Steinberger
0f9ea0229a
test(infra): dedupe install-source fixtures and cover npm pack parsing
2026-02-21 21:40:39 +00:00
Peter Steinberger
f9e21d5720
test(infra): dedupe gateway-lock setup and cover guard paths
2026-02-21 21:40:39 +00:00
Peter Steinberger
b01335830d
test(pairing): dedupe fixture writers and expand store coverage
2026-02-21 21:40:39 +00:00
Peter Steinberger
c45ef5f8b5
test(line): dedupe event fixtures and cover room postback routing
2026-02-21 21:40:39 +00:00
Peter Steinberger
1794f42ac0
test(config): dedupe io fixture wiring and cover legacy config-path override
2026-02-21 21:40:39 +00:00
Peter Steinberger
d35a8b48f5
test(infra): dedupe archive case setup and cover packed-root multi-dir failure
2026-02-21 21:40:39 +00:00
Peter Steinberger
544a1142b0
test(agents): dedupe skill helper fixtures and cover empty-body rendering
2026-02-21 21:40:39 +00:00
Peter Steinberger
822688dc13
test(infra): dedupe store temp fixtures and cover json5 voicewake sanitization
2026-02-21 21:40:39 +00:00
Peter Steinberger
a418c6db06
test(agents): dedupe agent-path fixtures and cover env override precedence
2026-02-21 21:40:39 +00:00
Peter Steinberger
6fd31fc0b0
test(browser): dedupe invalid-path assertions and cover blank path rejection
2026-02-21 21:40:39 +00:00
Peter Steinberger
2000dcdcd0
test(memory): dedupe temp-dir lifecycle hooks and cover overlapping path dedupe
2026-02-21 21:40:39 +00:00
Peter Steinberger
6051dc10ff
test(scripts): dedupe a2ui temp fixture and cover skip-missing env path
2026-02-21 21:40:39 +00:00
Peter Steinberger
d6c2fd5453
test(web): dedupe logout fixture setup and cover non-legacy oauth removal
2026-02-21 21:40:39 +00:00
Peter Steinberger
bdfb979940
test(cli): dedupe camera fetch stubs and cover empty-body download rejection
2026-02-21 21:40:39 +00:00
Peter Steinberger
31a0449f69
test(core): dedupe temp dirs in utils tests and cover lid lookup error fallback
2026-02-21 21:40:39 +00:00
Peter Steinberger
c93fc3786c
test(infra): dedupe brew fixtures and cover explicit brew file precedence
2026-02-21 21:40:39 +00:00
Peter Steinberger
2042a69211
test(infra): dedupe dotenv fixture setup and cover fallback-only load
2026-02-21 21:40:39 +00:00
Peter Steinberger
c394c5fa99
test(daemon): dedupe schtasks install fixture and cover empty env omission
2026-02-21 21:40:39 +00:00
Peter Steinberger
d015dc9216
test(cron): dedupe run-log temp fixtures and cover invalid line filtering
2026-02-21 21:40:39 +00:00
Peter Steinberger
7036352d94
test(config): dedupe temp roots and cover legacy state-dir fallback
2026-02-21 21:40:39 +00:00
Peter Steinberger
5d61afb362
test(commands): dedupe signal install extract fixture and cover zip extract
2026-02-21 21:40:39 +00:00
Peter Steinberger
3274a1b804
test(gateway): dedupe control-ui fixture setup and cover query asset 404
2026-02-21 21:40:39 +00:00
Peter Steinberger
8f1b467646
test(agents): dedupe exec preflight fixtures and cover quoted-path skip
2026-02-21 21:40:39 +00:00
Peter Steinberger
8f11868cc2
test(gateway): dedupe boot workspace setup and cover boot failures
2026-02-21 21:40:38 +00:00
Peter Steinberger
0e49eec056
test(commands): dedupe auth-sync fixture and cover invalid profile handling
2026-02-21 21:40:38 +00:00
Peter Steinberger
e978297c28
test(agents): dedupe workspace template temp roots and cover fallback resolution
2026-02-21 21:40:38 +00:00
Peter Steinberger
c481b22245
test(reply): reuse compaction fixture setup and cover numeric fallback defaults
2026-02-21 21:40:38 +00:00
Peter Steinberger
1bbeedfab2
test(infra): dedupe heartbeat ghost reminder temp/mocks setup
2026-02-21 21:40:38 +00:00
Peter Steinberger
ac6c344d9b
test(browser): dedupe fixture lifecycle and cover directory-path rejection
2026-02-21 21:40:38 +00:00
Peter Steinberger
626d8e9f62
test(web): dedupe temp dir setup in web auto-reply utils tests
2026-02-21 21:40:38 +00:00
Val Alexander
b703ea3675
fix: prevent compaction "prompt too long" errors ( #22921 )
...
* includes: prompt overhead in compaction safeguard calculation.
Subtracts SUMMARIZATION_OVERHEAD_TOKENS from maxChunkTokens in both the main summarization path and the dropped-messages summarization path.
This ensures the chunk budget leaves room for the prompt overhead that generateSummary wraps around each chunk.
* adds: budget for overhead tokens to use an effectiveMax instead of maxTokens naïvely.
- Added `SUMMARIZATION_OVERHEAD_TOKENS = 4096` — a budget for the tokens that `generateSummary` adds on top of the serialized conversation (system prompt, `<conversation>` tags, summarization instructions, `<previous-summary>` block, and reasoning: "high" thinking budget).
- `chunkMessagesByMaxTokens` now divides `maxTokens` by `SAFETY_MARGIN` (1.2) before comparing against estimated token counts. Previously, the safety margin was only used in `computeAdaptiveChunkRatio` and `isOversizedForSummary` but not in the actual chunking loop — so chunks could be built that fit the estimated budget but exceeded the real budget once the API tokenized them properly.
2026-02-21 14:42:18 -06:00