Skip to content

[Feature Request] Revisions: let clients supply a commit message (MCP write/edit and HTTP API) #2273

Backlog

Description

@aronsky

Problem

I'd like to use SilverBullet as the backend for a knowledge base that LLM agents maintain over MCP. Today I use a standard git repo, and the git history is the change log: every change is a commit whose message says what changed and why (e.g. task | Buy laptop charger plus a short prose body). With Revisions in Managed mode, commits are made automatically after edits go quiet, with no way for the writer to say what the change was. The history shows that pages changed, but not why, and changes from different agents and sessions end up mixed together in the same commits.

Proposal

  1. Add an optional message (commit message) parameter to the MCP write and edit tools, and an equivalent for HTTP API writes (e.g. an X-Commit-Message header on PUT/DELETE /.fs/*).
  2. Let a client group several edits into one commit with that message, e.g. an MCP commit tool (or a message body on POST /.revisions/) that commits everything outstanding immediately. That way a page and the index page it updates land in one commit.
  3. Changes that arrive without a message keep today's automatic, debounced commits.

Why this fits

Agents already do one logical change per batch of edits, and MCP clients can easily describe each change. This turns Revisions from a safety net into a readable audit log. That matters more as agents become the main writers in a space, and it lets git-based workflows that rely on meaningful history move to SilverBullet without losing it.

Activity

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