Skip to content

Agent memory: declined and deferred review findings #108

Closed as not planned
Closed as not planned

Description

@lydakis

Findings on the memory PRs that were declined or deferred under the merge rule (fix ordinary-use bugs; log the rest here). One line each: link, class, reason.

From #104 (M1, memory skill and ~/.agent/memory script):

Round 1:

  • Namespace project memory beyond the display name (edge case). Two projects share a name only across separate --store setups on one machine, or as Foo/foo on a case-insensitive Mac. Keying memory by store plus a stable project id is the fix if that ever happens; today a project's name is its identity in the app.
  • Install the memory helper on remote hosts (feature gap). Windows opened with --host run tools on the SSH host, where ~/.agent/memory and the skill are not installed, so memory is local-only for now. Belongs with the remote daemons work, which also has to decide whose memory a remote bot reads.
  • Support worktrees whose common directory is not .git (edge case). Repositories made with --separate-git-dir or worktrees of a bare repository fall back to the worktree's own folder and get project_unknown; --project NAME works there. The app's own task worktrees come from ordinary clones.

Round 2 (all need fact or index files written by hand, outside the script, or a race with a read-only diagnostic). If these ever matter, one pass should make every command go through a single "render, check limit, write" step and make facts validate files fully:

Round 3:

From #120 (M2, memory indexes composed into a new agent's instructions):

  • Pass the planned project when composing a new coordinator (edge case). New project composes before .agents/project.toml is written, so its coordinator gets only the person's index. A brand-new project has no project memory; this only matters when facts were saved under the name first or a project is re-created. Fix: let compose take the planned name.

From #121 (M3, Memory sheet and memory lines in task updates):


Generated by Claude Code

Activity

  1. lydakis commented on Oct 10, 2026

    @lydakis
    OwnerAuthor

    From #123 (nightly memory cleanup):

    • Keep concurrent writes out of the guard revert. Class: race. It needs a save during the 03:30 cleanup and a cleanup that trips the loss guard at the same time. Reason for declining: the reverted change stays in git as the refused cleanup commit, and a fix would need the folder lock for the whole cleanup or a commit split by author.

    Generated by Claude Code

  2. lydakis commented on Oct 10, 2026

    @lydakis
    OwnerAuthor

    From #123, round 2:


    Generated by Claude Code

  3. lydakis commented on Oct 10, 2026

    @lydakis
    OwnerAuthor

    From #123, round 4:


    Generated by Claude Code

  4. lydakis commented on Oct 10, 2026

    @lydakis
    OwnerAuthor

    From #126 (memory eval, decision 7):

    • Forward authentication for selected Bedrock providers (feature gap). The eval runs on the ChatGPT plan or an OpenAI or Anthropic key. A Bedrock run would need the AWS profile, region and ~/.aws forwarded into each bot's HOME.
    • Keep CODEX_HOME out of bot shells (credential exposure under full access). Partly fixed in 3090bdf: only chatgpt runs get CODEX_HOME. A chatgpt run needs it, and its bots have the same full-access reach to Codex's login as any bot on that Mac.

    Generated by Claude Code

  5. lydakis commented on Oct 10, 2026

    @lydakis
    OwnerAuthor

    From #126, round 4 (merged after this round):


    Generated by Claude Code

  6. lydakis commented on Oct 31, 2026

    @lydakis
    OwnerAuthor

    Closing as part of a backlog cleanup. Most entries point at code that no longer exists: the Python ~/.agent/memory script (memory is now client/src/memory.rs), and the app's Memory sheet and Home. The rest are crash windows and hand-edited files, declined under the merge rule. The one that matters more now that so much runs overnight, a save during a cleanup being reverted with it by the loss guard, has its own issue: #471. Bedrock forwarding for the memory eval stays out, since we don't run Bedrock evals.


    Generated by Claude Code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions