Skip to content

shelley: add durable project experience - #252

Open
hanzheng1954 wants to merge 3 commits into
boldsoftware:mainfrom
hanzheng1954:feature/project-experience
Open

shelley: add durable project experience#252
hanzheng1954 wants to merge 3 commits into
boldsoftware:mainfrom
hanzheng1954:feature/project-experience

Conversation

@hanzheng1954

Copy link
Copy Markdown

Summary

Add a durable project-experience layer for coding work:

  • Memory: project-scoped facts, decisions, preferences, and lessons with FTS5 search, source attribution, confidence, deduplicating upserts, and credential-like content rejection.
  • Task Journal: append-only structured checkpoints that restore after process restart or context recreation.
  • Dream: atomic end-of-task consolidation of verified lessons with an audit history.
  • Management UI: project-scoped Memory CRUD/search, checkpoint history and manual saves, Dream history, and a one-click Dream request.
  • Subagent integration: delegated work can search memory and checkpoint progress; the parent owns final Dream consolidation.
  • Localization: all new UI follows Shelley's active locale across every currently supported language.

Safety and data integrity

  • New standalone tables only; existing upstream tables are unchanged.
  • Memory writes are isolated by canonical git root. Cross-project/global model writes are unavailable without a future explicit approval UI.
  • PUT/DELETE operations require and filter by the current project path.
  • Memories are retrieved explicitly through a tool rather than injected automatically at system priority.
  • Checkpoint and memory payloads have strict shape and size limits.
  • Dream memory writes and their audit row commit in one transaction.
  • Stored recovery context is JSON encoded and marked as prior state rather than instructions.

Validation

  • pnpm --dir ui run type-check
  • pnpm --dir ui run type-check:vue
  • pnpm --dir ui run lint
  • pnpm --dir ui run test (31 test files)
  • go test ./db ./claudetool
  • go test ./server -count=1
  • Browser verification in Simplified Chinese with no console errors

hanzheng1954 and others added 3 commits August 11, 2026 21:54
Co-authored-by: Shelley <shelley@exe.dev>
Co-authored-by: Shelley <shelley@exe.dev>
Co-authored-by: Shelley <shelley@exe.dev>
@cla-bot

cla-bot Bot commented Aug 11, 2026

Copy link
Copy Markdown

We require contributors to sign our Contributor License Agreement, and we don't have you on file. In order for us to review and merge your code, please contact @crawshaw at david@bold.dev to get yourself added.

@philz

philz commented Aug 11, 2026

Copy link
Copy Markdown
Contributor

Hi. Thanks for the contribution. I can't tell what this is from the description, so closing. Please visit the discord or feel free to open with what you're trying to build.

If you're trying to build memory, I think you can get quite far with two to three lines in AGENTS.md indicating where memory lives on your file system (or even in sqlite).

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