Skip to content

Commit Record

Record structured commit metadata (hash, files, test results, knowledge units updated) as an artifact. Called after a successful git commit to enable enriched commit cards in the dashboard.

MCP name: commit_record

Category: artifacts

Mutates state (retry policy: replay)

Parameters

Name Type Required Description
agent_session_id str No Session ID (auto-injected by gateway)
branch str No Branch name
commit_hash str Yes Git commit hash (7+ chars)
files_changed str No Comma-separated file paths
knowledge_units_updated str No Comma-separated knowledge store paths updated
message str Yes Commit message
summary str No 1-2 sentence summary of the commit
tests_failed int No Number of tests failed
tests_passed int No Number of tests passed
tests_run str No Comma-separated test file names