From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=systemreboot.net; s=default; t=1793974875; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=h3FWqHkVWfil6uB7Ihag76PgWLBNnfSBhiXy2M2k3sk=; b=h1pCaXt/aMjsgrneP4zKgo4WvsNzgR2rFGKCFre+b+m0W3CyC7me2nZMxi3wlld6W4eG30 xujo1K3tqzq+BkseY36xM5bqb1eIUH+0ov/Qib6TkZtZCAXdCAyGRnNNFfZcsM7LH0pDYw XoatGLiVeJ3hnyR0tKsJSLO7v2QKLJBekSm/qDrGfLpirC6YJ4jpshVKmFrgvp+/ydRKSj j5h+ixGn/bTJPLxAFBlfRqFxDRwoU7WMJI84owIOnDnb7a1vPEAeBSMpxwiYr7KRQ7Yqp8 0tXRlaT69BS4MLpoXbFTRleFNB7+sECKPpef4JwB15XxbutQEOT42MypS1BIPQ== Received: from localhost ( [192.168.1.1]) by hrrol.systemreboot.net (OpenSMTPD) with ESMTPSA id 88566186 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Fri, 6 Nov 2026 14:21:15 +0000 (UTC) From: Arun Isaac To: Ricardo Wurmus , kaagum@systemreboot.net Subject: Re: strategies for context management In-Reply-To: <87ld76e5w0.fsf@elephly.net> References: <87ld76e5w0.fsf@elephly.net> Date: Fri, 06 Nov 2026 14:21:13 +0000 Message-ID: <87fqxerqg6.fsf@systemreboot.net> MIME-Version: 1.0 Content-Type: text/plain List-Id: Hi Ricardo, I haven't thought hard about context compaction or read much of the literature. But I'm open to ideas. Let me know what you have in mind. Something like Aider's repomap could be interesting: https://aider.chat/docs/repomap.html It might lessen the need for the LLM to read through lots of files. And, here's another idea of building a semantic code search database: https://github.com/zilliztech/claude-context This too might lessen the need for the LLM to read through lots of files. Some LLM providers such as OpenRouter provide context compaction on their end: https://openrouter.ai/docs/guides/features/message-transforms A really quick win could be to enable this in kaagum's LLM requests. Regards, Arun