Add a local session proposal inbox for CLI and MCP - #7101
Merged
Conversation
Agents can stage summary or memo replacements without writing the meeting. Desktop review applies or declines them; hosted MCP stays read-only. Co-authored-by: John Jeong <ComputelessComputer@users.noreply.github.com>
✅ Deploy Preview for anarlog canceled.
|
Desktop tsconfig targets ES2020, so Object.hasOwn is not on ObjectConstructor. Use the existing hasOwnProperty.call pattern so js_ci typecheck passes. Co-authored-by: John Jeong <ComputelessComputer@users.noreply.github.com>
The test mutated the old "read-only" phrase, which this PR removed. Use a sentinel that still exists so the notEqual check detects non-link drift again. Co-authored-by: John Jeong <ComputelessComputer@users.noreply.github.com>
ComputelessComputer
marked this pull request as ready for review
August 26, 2026 02:18
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 22e5113. Configure here.
| type="button" | ||
| size="sm" | ||
| variant="outline" | ||
| onClick={() => resolve(false)} |
There was a problem hiding this comment.
Chat card hides apply failures
Medium Severity
Chat card Apply/Decline calls applyProposalReview / declineProposalReview with void and no error handling. Stale-apply and other failures are swallowed on the card, while the review tab surfaces them. Users can click Apply, see no feedback, and leave the proposal pending.
Additional Locations (1)
Reviewed by Cursor Bugbot for commit 22e5113. Configure here.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


Agents can clean a summary or memo today, but CLI and MCP are read-only, so they cannot save the result back into Anarlog.
This adds a local-only proposal inbox. CLI/MCP/chat can insert typed replacements. A human applies or declines them in desktop. There is no live write path, no TUI, and no apply tool on MCP.
What landed
session_proposalstable (additive, not CloudSync-enabled)summary_replace,memo_replacepending→applied|declinedanarlog proposals create|list|show|declinepropose_summary_edit,propose_memo_edit,list_proposals,get_proposal,decline_proposalupdated_atmoved after the proposal was createdOut of scope
Verification
pnpm -F desktop typecheckpnpm exec oxlint --quiet --format=github apps/desktop/src/cargo test --locked -p agent-access -p anarlog-cli -p db-app -p db-core --libcargo clippy --locked -p agent-access -p anarlog-cli -p db-app -p db-core --all-targets --no-deps -- -D warningsnode scripts/publish-anarlog-skill.mjs --checkCould not run the desktop app in this environment to click Apply/Decline end to end. Browser/desktop UI verification is still needed.