Statamic commits as Spock by default, and then has him write "Entry saved". Highly illogical.
Captain's Log replaces the one line Statamic's Git integration gives every commit with what actually happened. The same three commits:
Statamic
Entry savedEntry savedContent saved
Captain's Log, rules (no API key, nothing leaves your server)
Update "Ten Forward" (pages): contentAdd "Shore leave on Risa" (events)Update "Crew" (pages), add 2 missions, delete "red-shirt.jpg" (assets)
Captain's Log, AI (optional, your own key)
Add hot Earl Grey to Ten Forward's menuAdd the crew's seven-day shore leave on Risa eventAdd two missions and update crew and image content
Rules know which entry and which fields changed; AI reads the diff and says what changed in them. You can steer it:
- with the style instruction "Use Conventional Commits":
feat(events): add Shore leave on Risa event - on a Dutch site:
Evenement 'Shore leave on Risa' toegevoegd
A commit that covers several saves gets a subject and a list. With rules:
Update "Crew" (pages), add 2 missions, delete "red-shirt.jpg" (assets) - Update "Crew" (pages): content- Add "First contact" (missions)- Add "Tribble trouble" (missions)- Delete "red-shirt.jpg" (assets)
And the same commit with AI:
Add two missions and update crew and image content - Add missions to make contact with the Malcorians and handle tribbles- Update Worf's rank to Lieutenant Commander- Remove the red-shirt image
The AI examples are what OpenAI's cheapest model wrote for these changes.
What you get
- Rule-based messages, always on, no API key: built from what was created, updated, published, renamed, moved and deleted, with the fields that changed and a bullet list for batches. Also for delayed commits, which Statamic otherwise labels "Content saved".
- AI summaries (optional, bring your own key) through laravel/ai: Anthropic, OpenAI, Gemini, Mistral, Groq, DeepSeek, xAI, Cohere, OpenRouter, Azure OpenAI, Amazon Bedrock, Ollama or any OpenAI-compatible endpoint. Any failure falls back to the rule-based message.
- Messages in the language of your site, and your own style instructions for the AI. Rule-based messages come in English and Dutch, and you can publish the language files to add your own; AI summaries follow any locale.
- Your
statamic.git.commands, push setting and co-author trailers keep working.
Requirements
- Statamic 6 Pro, with the Git integration enabled
- PHP 8.3+ and Laravel 12.62+
- For AI summaries: a queue with a worker (Redis, database, ...) is best. Without a worker,
STATAMIC_GIT_QUEUE_CONNECTION=deferredcommits after the response is sent (PHP-FPM or LiteSpeed), or schedulephp please git:commit. With thesyncqueue, saves in the control panel get rule-based messages, so saving never waits on a model. - A Linux or macOS server. On Windows, Statamic's own messages are kept.
Privacy
Rule-based messages never leave your server. They contain titles of content, the handles of changed fields, and the name of the author when Git does not already commit as that user; users and form submissions are only counted ("1 user").
In AI mode the provider you choose receives:
- the list of changes: titles, collection, taxonomy or container handles and the handles of changed fields;
- the paths of the changed files;
- a trimmed diff of the text files among them: YAML, Markdown, JSON, HTML, text and CSV (about 12,000 characters at most);
- your style instructions.
It never receives form submissions, users, roles, user groups, addon settings (resources/addons) or author names, not even as file names. Content itself is sent as it is: if your entries hold personal data, so does the diff. Form definitions (resources/forms) are part of the diff, including any recipient addresses in them.
laravel/ai lets OpenAI store requests by default; set OPENAI_STORE=false to turn that off.
Commercial
Captain's Log is a commercial addon. One license per site, through the Statamic Marketplace.