feat: shared MEMORY.md per workspace#13
Conversation
|
Warning Review limit reached
Your plan includes 1 review of capacity. Refill in 3 minutes and 18 seconds. Your organization has run out of usage credits. Purchase more in the billing tab. ⌛ How to resolve this issue?After more review capacity refills, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than trial, open-source, and free plans. In all cases, review capacity refills continuously over time. Please see our FAQ for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (4)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
e563ea3 to
4270b2b
Compare
Closes #3.
Summary
<workspace.cwd>/.argus/MEMORY.mdfile. Empty save deletes it.runAgent()reads memory and prepends it (in a labeled fence) ahead of the agent's own system prompt via--append-system-prompt. Missing or blank file means no flag added, behaves identical to today.GET / POST /api/workspaces/[id]/memoryendpoint. Validates the workspace exists, its cwd is absolute, and the directory exists on disk before touching FS.SharedMemoryFormclient component (textarea, save, status line). Server component pre-loads the file contents so first paint shows what's on disk.Build fix bundled
The new route added one more parallel worker to
next build's page-data-collection phase, which tipped SQLite over withSQLITE_BUSY(multiple processes racing to set WAL mode). Fixed defensively:busy_timeout = 5000on connection open, plus SQLITE_BUSY swallowed inensureMigrated()since the schema is idempotent. Necessary to make CI pass; small enough to keep in this PR.Test plan
.argus/MEMORY.mdappears in the workspace folder on disk.--append-system-promptarg or check the run output)..argus/MEMORY.mdis deleted.