From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from sender6-of-o51.zoho.com (sender6-of-o51.zoho.com [165.173.180.51]) by hrrol.systemreboot.net (OpenSMTPD) with ESMTPS id 625a2748 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Fri, 6 Nov 2026 21:28:33 +0000 (UTC) ARC-Seal: i=1; a=rsa-sha256; t=1794000509; cv=none; d=zohomail.com; s=zohoarc; b=RxZ2ZiKNU8Ru/kXwk3t66RMafSTzI3QuI5Ehy0eUuT4Oe4nzOOlERZ1vONFDhMz071Ihx1bM5zVigG5y2YSvF/Ik+LB6RaIXRDM+PGGuzUBxuiR8XQqcZgvvzawdIDBoqulpHRSdS3Pt/+zuGxq+eLt1oTvLgVLXVU5XH/BodUA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1794000509; h=Content-Type:Cc:Cc:Date:Date:From:From:In-Reply-To:MIME-Version:Message-ID:Subject:Subject:To:To:Message-Id:Reply-To; bh=Ddqbm0qmasInI5cI7py8+hH5U7B8oJEkSeUBMujfPsw=; b=Xh8Rhzstqedf/YUyCyfXdBXwRRptrkd2gwHZR4ZYUP7JiXjjbKcenyOo3gpA38Rzu176XR0TQmljocnyaeDw8CrchAy25LZNFJMY6j6bkK3yAHYBSvqP1XXovcOtbZQMAftLa/4c2jP0tLIUJIPzF4QFX38su5WDCa0rDfvFCaA= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= DKIM-Signature: a=rsa-sha256; b=O9KMq2pEwga8YYmiaNUf9CcXfPLDWzPvI0+l3RkaMW9HEJI0ANTc5E4lR66q8wI/UnMEZj1MIvjv/+fAxZKJpILWILv2iHTamIkaFQ90AVupc51rFlUSW7tQCWDZV83F0to2fa164mEVV6DL/MYsqhTxsxx8xAHHvpzTfRNqLcg=; c=relaxed/relaxed; s=zoho; d=elephly.net; v=1; bh=Ddqbm0qmasInI5cI7py8+hH5U7B8oJEkSeUBMujfPsw=; h=Content-Description:Content-ID:Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Owner:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Resent-Sender:Resent-Cc:Resent-Date:Resent-To:Reply-To:Resent-Message-ID:Resent-From:Sender:Subject:To:Date:From:Message-Id:Reply-To:Subject:To:Cc; Received: by smtp.zohomail.com with SMTPS id 1794000506527439.3111164977695; Fri, 6 Nov 2026 13:28:26 -0800 (PST) From: Ricardo Wurmus To: Arun Isaac Cc: Ricardo Wurmus , kaagum@systemreboot.net Subject: Re: strategies for context management In-Reply-To: <87fqxerqg6.fsf@systemreboot.net> References: <87ld76e5w0.fsf@elephly.net> <87fqxerqg6.fsf@systemreboot.net> User-Agent: mu4e 1.14.4; emacs 31.1 Date: Fri, 06 Nov 2026 22:28:23 +0100 Message-ID: <87jympps3s.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; format=flowed X-ZohoMailClient: External List-Id: Hi Arun, > 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. it would be helpful to provide a means for users to delete or edit session messages to reduce the effective context. I don't know if kaagum's design makes this possible or if perhaps it is something that is not wanted due to design constraints. As far as I understand, however, it is up to agent harnesses to implement context management if they need it. > 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. My project involves processing research articles, so there's a lot of text. (I've got tools for running pdftotext and pdfimages in a Guix container to extract parts of articles.) Code search might help for navigating large software repositories, but my concern is with compacting all that text. Merely searching keywords and reading delimited chunks would not be sufficient, but reading chunks to summarize and write compacted progress would. -- Ricardo