Open
Conversation
Integrate with the Change Intelligence service (github.com/Runbook-Agent/change-intelligence) to surface recent changes during incident triage, correlate changes with affected services, and predict blast radius. The integration is optional and disabled by default. - Add HTTP adapter with inlined types (no new dependencies) - Register 4 agent tools: query_change_events, correlate_changes, predict_blast_radius, get_change_velocity - Gate tools behind providers.changeIntelligence.enabled config (default: false) - Wire correlate_changes into investigation orchestrator triage sources - Add deployment_issues causal query patterns for change correlation - Add tool summarizers for change correlation and event query results - Detect mutations in postToolUse hook and register as change events - Expose query_changes and predict_change_impact via MCP server - Add `runbook changes` CLI subcommands (list, register, correlate, blast-radius, velocity) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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.
Summary
providers.changeIntelligence.enabled: false) — zero impact on existing usersWhat's included
src/providers/change-intelligence/adapter.tssrc/utils/config.tsproviders.changeIntelligenceschema (enabled, baseUrl, apiKey)src/tools/registry.tsquery_change_events,correlate_changes,predict_blast_radius,get_change_velocitysrc/cli/runtime-tools.tschangeIntelligence.enabledis truesrc/agent/investigation-orchestrator.tscorrelate_changeswired as a triage sourcesrc/agent/causal-query.tsdeployment_issuespatternsrc/agent/tool-summarizer.tssrc/integrations/hook-handlers.tssrc/mcp/server.tsquery_changes,predict_change_impactsrc/cli.tsxrunbook changessubcommands: list, register, correlate, blast-radius, velocityHow to enable
Test plan
npm run typecheckpassesrunbook changes list→ verify connectivityrunbook changes register -s api-gateway --type deployment --summary "Deploy v2"→ verify event storedrunbook investigatewith change-intelligence enabled → verify correlation appears in triage🤖 Generated with Claude Code