From 116164541516e37c5e352b03849f6e2d15cfe22a Mon Sep 17 00:00:00 2001 From: Anto01 Date: Sat, 11 Apr 2026 11:51:04 -0400 Subject: [PATCH] fix: raise project-memory budget ratio to 0.25 At 0.15 the effective per-call allowance (450 - 55 wrapper) was 395 chars, which is just under the length of a real paragraph-length project memory (~400 chars). Verified on live p04 probe: band was still absent after the flat-budget fix because the first memory entry was one character too long for the budget. Co-Authored-By: Claude Opus 4.6 (1M context) --- src/atocore/context/builder.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/atocore/context/builder.py b/src/atocore/context/builder.py index 2d4ad84..856bcd5 100644 --- a/src/atocore/context/builder.py +++ b/src/atocore/context/builder.py @@ -34,7 +34,7 @@ MEMORY_BUDGET_RATIO = 0.10 # 5% identity + 5% preference # for the Phase 9 reflection loop on the retrieval side. Budget sits # between identity/preference and retrieved chunks so a reinforced # memory can actually reach the model. -PROJECT_MEMORY_BUDGET_RATIO = 0.15 +PROJECT_MEMORY_BUDGET_RATIO = 0.25 PROJECT_MEMORY_TYPES = ["project", "knowledge", "episodic"] # Last built context pack for debug inspection