Skip to content

App: Memory sheet, and task updates say what changed in memory (M3) - #121

Merged
lydakis merged 5 commits into
mainfrom
claude/app-rich-rendering-896e1a
Oct 10, 2026
Merged

lydakis merged 5 commits into
mainfrom
claude/app-rich-rendering-896e1a

Conversation

@lydakis

@lydakis lydakis commented Oct 10, 2026 •

Copy link
Copy Markdown
Owner

Before: agents save facts with the memory skill, but nothing in the app shows them. A project's lead composes its instructions when it is created, so it never hears of a fact a task saved later.

After: Memory, at the foot of the list at Home and in a project, opens a sheet of what agents saved. At Home it shows yours and every project's; in a project, that project's facts and then yours. Each list is newest first, and a fact opens in a tab. A lead's task update now ends with the facts saved or removed since it last heard.

Memory at Home demo's memory
A fact in a tab The lead told that plan saved session-cookie

The memory lines ride on a message the lead gets anyway, after its start, so they never wake a lead and the cached prompt prefix stays. A fact whose source is one of the lead's own turns is left out.

How:

  • memory::view returns each fact with its file and when it was last written. With a folder, it returns your facts and that folder's project's; without one, yours and every project's (up to 100 folders, the rest counted). A folder that isn't all facts reports its error in place of its facts. It is reached through the memory_view Tauri command, which refuses a window on a host.
  • wake() reads memory before sending a task update and compares it with what that lead was last told (path and write time), or with the window's open time the first time. A folder that can't be read is skipped rather than reported as emptied. Lines are capped at 20.
  • In the sheet, a fact opens as an ordinary file tab. Markdown files in tabs now show their front matter as a table above the text, which also helps skills and profiles.
  • The demo's plan task saves a fact, which is where the screenshots come from.

Plan picks (PLAN.md, decision #6 unanswered): I used the recommended picks. Project memory lives outside the repo, and every agent may save. The plan's nightly cleanup and its "inbox" are not part of this PR. Home gets no task updates, so it reads memory itself. No daemon change.

Checks: node --test app/tests/state.test.cjs passes all 220 tests. The new ones cover the wake lines (saved, told once, removed, a bad folder, an unreadable memory), the sheet (order, opening a fact, Home), and front matter. memory.rs passes cargo test and clippy in a scratch crate, including a new view test. The Tauri crate doesn't build on Linux, so main.rs is unbuilt here.

🤖 Generated with Claude Code

Memory, at the foot of the list at Home and in a project, lists the facts
agents saved (memory_view), newest first; a fact opens in a tab, its front
matter as a table. A lead's task update ends with the facts saved or removed
since it last heard, never its own and never on its own.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01L7djWGZLxGzzTF3RkEShDN
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for security reviews. Please try again later.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 10, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-10T09:09:47.777007Z 47f5f68 New commits
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: ac39844321

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread app/ui/app.js Resolved
Comment thread app/ui/app.js Resolved
Comment thread app/src-tauri/src/memory.rs Resolved
Comment thread app/ui/app.js Resolved
Comment thread app/src-tauri/src/memory.rs Resolved
…say so

A malformed .agents/project.toml now shows as an error scope instead of
"no project"; memory lines a conflicting submit never sent wait for the
next task update; a slower earlier Memory sheet read no longer overwrites
a newer one.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01L7djWGZLxGzzTF3RkEShDN
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for security reviews. Please try again later.

lydakis commented Oct 10, 2026

Copy link
Copy Markdown
Owner Author

@codex review


Generated by Claude Code

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for security reviews. Please try again later.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 58fe2eaffb

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread app/ui/app.js Resolved
Comment thread app/src-tauri/src/memory.rs Resolved
Comment thread app/ui/app.js Resolved
Comment thread app/src-tauri/src/memory.rs Resolved
Comment thread app/ui/app.js Resolved
A lead is NAME.lead, so the app asks memory_view for that project's
facts by name: no git subprocess or project-file read per task update,
and a coordinator only ever hears of its own project's memory.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01L7djWGZLxGzzTF3RkEShDN
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for security reviews. Please try again later.

lydakis commented Oct 10, 2026

Copy link
Copy Markdown
Owner Author

@codex review


Generated by Claude Code

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for security reviews. Please try again later.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 4f897cc09a

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread app/ui/app.js Resolved
Past the 20-line cap, saved facts are still listed by memory show and
removed ones are not, so removals lead.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01L7djWGZLxGzzTF3RkEShDN

lydakis commented Oct 10, 2026

Copy link
Copy Markdown
Owner Author

@codex review


Generated by Claude Code

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for security reviews. Please try again later.

1 similar comment
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for security reviews. Please try again later.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 93185a3875

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread app/ui/app.js Resolved
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for security reviews. Please try again later.

@lydakis
lydakis merged commit fae16e0 into main Oct 10, 2026
1 check passed
@lydakis lydakis mentioned this pull request Oct 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants