DebugBundle

DebugBundle@debugbundle

OpenClaw tools for runtime error reporting, incident response, live app monitoring, health checks, debug bundles, and product analytics.

Tools

debugbundle_accept_organization_invite
debugbundle_accept_organization_ownership_transfer
debugbundle_activate_probe
debugbundle_analyze
debugbundle_apply_customer_offer
debugbundle_apply_customer_referral
debugbundle_apply_project_merge
debugbundle_archive_analytics_flow
debugbundle_archive_saved_analytics_funnel
debugbundle_billing_offer_change
debugbundle_billing_plan_change
debugbundle_block_offer_code
debugbundle_cancel_capacity_reduction
debugbundle_cancel_organization_invite
debugbundle_cancel_organization_ownership_transfer
debugbundle_cancel_project_member_invite
debugbundle_cancel_project_merge
debugbundle_cancel_report
debugbundle_checkout_offer_purchase
debugbundle_claim_creator_code
debugbundle_claim_referral_payout
debugbundle_configure_offer_provider
debugbundle_correct_creator_code
debugbundle_create_agent_token
debugbundle_create_alert
debugbundle_create_capture_rule
debugbundle_create_capture_rule_from_incident_suggestion
debugbundle_create_github_dispatch_rule
debugbundle_create_health_check
debugbundle_create_member_token
debugbundle_create_offer_programme_draft
debugbundle_create_offer_promotion_code
debugbundle_create_project
debugbundle_create_project_token
debugbundle_create_report_definition
debugbundle_create_saved_analytics_funnel
debugbundle_create_service_definition
debugbundle_create_webhook
debugbundle_create_weekly_report_channel
debugbundle_deactivate_probe
debugbundle_delete_alert
debugbundle_delete_capture_rule
debugbundle_delete_github_dispatch_rule
debugbundle_delete_health_check
debugbundle_delete_project
debugbundle_delete_report
debugbundle_delete_report_definition
debugbundle_delete_slack_destination
debugbundle_delete_webhook
debugbundle_delete_weekly_report_channel
debugbundle_disconnect_github_installation
debugbundle_doctor
debugbundle_generate_analytics_bundle
debugbundle_generate_report
debugbundle_get_action_metrics
debugbundle_get_alert_group
debugbundle_get_analytics_bundle
debugbundle_get_analytics_filter_options
debugbundle_get_analytics_flow_report
debugbundle_get_analytics_journey_sample
debugbundle_get_analytics_opportunity
debugbundle_get_analytics_settings
debugbundle_get_billing_summary
debugbundle_get_bundle
debugbundle_get_capture_policy
debugbundle_get_creator_code_status
debugbundle_get_creator_payout_preferences
debugbundle_get_creator_programme
debugbundle_get_creator_referral_analytics
debugbundle_get_customer_offer
debugbundle_get_customer_referral
debugbundle_get_device_breakdown
debugbundle_get_funnel_analysis
debugbundle_get_github_status
debugbundle_get_health_check
debugbundle_get_improvement
debugbundle_get_improvement_bundle
debugbundle_get_improvement_review
debugbundle_get_improvement_review_allowance
debugbundle_get_improvement_review_bundle
debugbundle_get_improvement_review_plan
debugbundle_get_improvement_review_settings
debugbundle_get_improvement_settings
debugbundle_get_incident
debugbundle_get_incident_context
debugbundle_get_incident_impact
debugbundle_get_journey_patterns
debugbundle_get_logs
debugbundle_get_notification_preferences
debugbundle_get_offer_capabilities
debugbundle_get_offer_programme_performance
debugbundle_get_organization_ownership_transfer
debugbundle_get_project_merge
debugbundle_get_public_status_page
debugbundle_get_referral_earnings
debugbundle_get_referral_partner
debugbundle_get_referral_payout_instructions
debugbundle_get_referral_payout_policy
debugbundle_get_referral_programme_payout_balances
debugbundle_get_referrer_metrics
debugbundle_get_report
debugbundle_get_report_allowance
debugbundle_get_report_content
debugbundle_get_report_definition
debugbundle_get_report_html
debugbundle_get_report_pdf
debugbundle_get_reproduction
debugbundle_get_route_metrics
debugbundle_get_service_definition
debugbundle_get_slack_connect_url
debugbundle_get_usage_summary
debugbundle_grant_early_offer_purchase
debugbundle_increase_capacity
debugbundle_invite_organization_member
debugbundle_invite_project_member
debugbundle_join_creator_programme
debugbundle_join_referral_program
debugbundle_leave_project
debugbundle_list_active_probes
debugbundle_list_agent_tokens
debugbundle_list_alert_groups
debugbundle_list_alerts
debugbundle_list_analytics_bundles
debugbundle_list_analytics_flows
debugbundle_list_analytics_journey_samples
debugbundle_list_analytics_opportunities
debugbundle_list_capture_rules
debugbundle_list_funnel_metrics
debugbundle_list_github_deliveries
debugbundle_list_github_dispatch_rules
debugbundle_list_github_repositories
debugbundle_list_health_check_daily_rollups
debugbundle_list_health_check_results
debugbundle_list_health_checks
debugbundle_list_improvement_reviews
debugbundle_list_improvements
debugbundle_list_incidents
debugbundle_list_member_tokens
debugbundle_list_offer_operator_claims
debugbundle_list_offer_operator_codes
debugbundle_list_offer_operator_grants
debugbundle_list_offer_operator_programmes
debugbundle_list_offer_programmes
debugbundle_list_organization_invites
debugbundle_list_organization_people
debugbundle_list_organizations
debugbundle_list_project_member_invites
debugbundle_list_project_members
debugbundle_list_project_tokens
debugbundle_list_projects
debugbundle_list_public_status_page_options
debugbundle_list_referral_clients
debugbundle_list_referral_operator_balances
debugbundle_list_referral_operator_payouts
debugbundle_list_referral_payouts
debugbundle_list_report_definitions
debugbundle_list_report_deliveries
debugbundle_list_reports
debugbundle_list_saved_analytics_funnels
debugbundle_list_service_definitions
debugbundle_list_services
debugbundle_list_slack_destinations
debugbundle_list_webhook_deliveries
debugbundle_list_webhooks
debugbundle_list_weekly_report_channels
debugbundle_mark_referral_payout_uncertain
debugbundle_pause_notifications
debugbundle_prepare_referral_programme_payout
debugbundle_prepare_report_pdf
debugbundle_preview_offer
debugbundle_preview_offer_purchase
debugbundle_preview_project_merge
debugbundle_preview_public_status_page
debugbundle_record_referral_payout
debugbundle_remove_customer_offer
debugbundle_remove_organization_member
debugbundle_remove_project_github_repo
debugbundle_remove_project_member
debugbundle_reopen_improvement
debugbundle_reopen_incident
debugbundle_reopen_incidents
debugbundle_request_organization_ownership_transfer
debugbundle_resend_organization_invite
debugbundle_resolve_improvement
debugbundle_resolve_incident
debugbundle_resolve_incidents
debugbundle_resume_notifications
debugbundle_resume_project_merge
debugbundle_retry_github_delivery
debugbundle_retry_signup_offer
debugbundle_retry_webhook_delivery
debugbundle_revoke_agent_token
debugbundle_revoke_early_offer_purchase
debugbundle_revoke_member_token
debugbundle_revoke_offer_claim
debugbundle_revoke_project_token
debugbundle_rotate_alert_webhook_secret
debugbundle_save_analytics_flow
debugbundle_save_creator_payout_preferences
debugbundle_save_public_status_page
debugbundle_schedule_capacity_reduction
debugbundle_set_offer_programme_state
debugbundle_set_project_github_repo
debugbundle_smoke
debugbundle_snooze_improvement
debugbundle_start_trial
debugbundle_suggest_capture_rules_from_incident
debugbundle_switch_organization
debugbundle_test_health_check
debugbundle_test_slack_destination
debugbundle_test_webhook
debugbundle_test_webhook_event
debugbundle_update_alert
debugbundle_update_analytics_settings
debugbundle_update_capture_policy
debugbundle_update_capture_rule
debugbundle_update_github_dispatch_rule
debugbundle_update_health_check
debugbundle_update_improvement_review_settings
debugbundle_update_improvement_settings
debugbundle_update_notification_preferences
debugbundle_update_organization_member
debugbundle_update_project
debugbundle_update_project_member_role
debugbundle_update_report_definition
debugbundle_update_saved_analytics_funnel
debugbundle_update_service_definition
debugbundle_update_webhook
debugbundle_update_weekly_report_channel
debugbundle_validate
debugbundle_verify_app_event
debugbundle_verify_cloud
debugbundle_verify_local
debugbundle_verify_project_merge

Readme

@debugbundle/openclaw-plugin

Local artifact safety in 1.19.4

Retained bundle and reproduction paths must stay in their canonical local artifact directories. Unsafe metadata returns invalid_local_artifact_path without reading, rewriting or deleting unrelated files. Symlinked files/directories fail closed. Normal local stores and their existing size allowance are preserved; local state and processing writes use guarded atomic replacement. This supersedes earlier clients.

Cloud cache safety in 1.19.3

Upgrade to 1.19.3 for incident-ID validation before cloud requests and cache writes. Unsafe IDs return invalid_incident_id; UUIDs and existing opaque IDs remain supported. Cloud cache reads, writes and retention reject symbolic links; writes use guarded atomic replacement. This corrects a path traversal present in earlier clients.

Installation guidance in 1.19.2

Prefer one project per system across service repositories, reuse existing connections, and keep separate projects for different access or privacy policies. Inspect existing projects before first-time connect; name matching does not infer system membership.

Local correlation safety in 1.19.1

Trace correlation crosses services only within the same project and environment. If an older cache contains mixed retained source events, reads and incremental processing fail with local_incident_scope_mismatch. Preserve the local store, then explicitly rebuild from its retained event files using debugbundle process --preset <minimal|balanced|investigative> with the desired capture preset. This rebuild regenerates local incident/artifact state; it does not change cloud records or the retained event files.

Project/service consolidation 1.19.1

Add logical service context and checked project-merge preview, apply, status, verification, resume and cancellation. Existing identities, credentials and restricted scopes remain compatible. Merge apply requires a qualified compatible core 1.21.0 runtime and remains disabled by default.

Connected doctor diagnostics check API health and saved access-token authentication with a one-incident probe restricted to cloud_project_id. Missing or blank connected project scope fails before any request. Incident contents are discarded and are not included in the report. Local-only diagnostics make no cloud request.

OpenClaw tools for runtime error reporting, crash reporting, incident response, live app monitoring, endpoint health checks, debug bundles, and product analytics. Monitoring is scoped to runtime failures, customer-facing incidents, and endpoint health; DebugBundle is not a generic infrastructure-monitoring platform.

Corrective update 1.18.3

This update fixes native ESM loading of the bundled HTTP client and preserves the connected project's filter on incident requests and pagination. It retains the existing tool catalog, authentication and native per-call approval policy.

ClawHub recovered unchanged versions 1.18.0 and 1.18.1, but reported these separate runtime and scope defects in issue #4214. Published artifacts remain immutable; corrective release acceptance still requires exact-version security review and verification in an installed OpenClaw host.

Install

Requires OpenClaw 2026.6.9 or newer, the supported host baseline for native plugin approvals. Upgrade older hosts before installing the corrective release.

bash
openclaw plugins install clawhub:@debugbundle/openclaw-plugin

Current OpenClaw hosts ask third-party plugin operators to review declared capabilities. For noninteractive installation, review this plugin's tool catalog and approval policy first, then repeat the same ClawHub command with --accept-capabilities if requested. Capability consent does not bypass install security policy or grant approval for individual optional tool calls. Normal ClawHub installs do not need the local-source --force acknowledgement. See OpenClaw capability consent.

Authentication

The plugin reuses the same auth precedence as the DebugBundle MCP server:

  • Explicit bearerToken tool input when the user provides one.
  • DEBUGBUNDLE_MEMBER_TOKEN in the OpenClaw plugin runtime environment.
  • Existing DebugBundle CLI auth state from debugbundle login.

Use DEBUGBUNDLE_API_URL for self-hosted or non-production API hosts.

In a connected workspace, incident lists default to cloud_project_id from .debugbundle/local/connection.json, including source: "cloud" and all cloud pages. An explicit projectId selects that project instead. Local evidence keeps its existing selection. A missing or empty connected cloud project returns invalid_local_connection_config before making an incident-list request; supply the intended projectId explicitly or repair the connection. Outside a connected workspace, authenticated account-wide incident listings remain available.

make openclaw-plugin-check now imports the emitted ESM with native Node and executes a synthetic loopback read, in addition to manifest validation. make openclaw-runtime-check repeats that proof across Node 22, 24 and 26. These checks do not contact production or publish packages. make openclaw-installed-check packs the candidate, installs a fresh pinned OpenClaw host in Docker, uses the normal plugin installer and verifies runtime loading plus scoped requests from the installed artifact.

Tools

The plugin exposes the DebugBundle MCP tool catalog with a debugbundle_ prefix. For example:

  • debugbundle_list_incidents
  • debugbundle_get_incident_context
  • debugbundle_get_bundle
  • debugbundle_get_reproduction
  • debugbundle_resolve_incident
  • debugbundle_list_analytics_flows
  • debugbundle_save_analytics_flow
  • debugbundle_archive_analytics_flow
  • debugbundle_get_analytics_flow_report
  • debugbundle_get_usage_summary
  • debugbundle_get_funnel_analysis
  • debugbundle_list_analytics_journey_samples
  • debugbundle_generate_analytics_bundle
  • debugbundle_activate_probe
  • debugbundle_list_health_checks
  • debugbundle_get_public_status_page
  • debugbundle_list_public_status_page_options
  • debugbundle_save_public_status_page
  • debugbundle_preview_public_status_page

Public status publication requires the project owner's access-token authentication and explicit check selection. The save tool is an optional mutation: publish or unpublish only on the owner's instruction. Selected names and aggregate health become public; endpoint URLs and diagnostics remain private.

For product-usage questions, start with aggregate reads such as debugbundle_get_usage_summary, then narrow to routes, actions, funnels, or bounded journey samples. Generate an analytics bundle only when a specific analysis question needs a durable artifact; DebugBundle does not create one per visit.

The prepared candidate also provides debugbundle_get_analytics_filter_options for observed choices within an authorised project, time window and scope. It uses no generation quota. It remains optional under the existing new-tool policy; enable it explicitly when configuring this capability. Requires a compatible API.

Mutation tools are marked optional in OpenClaw metadata and should be explicitly allowlisted by the operator before use. Analytics bundle generation, settings updates, and saved-funnel create/update/archive operations are mutations. Read the current analytics settings and funnel definitions first, explain the intended change, and proceed only when the user asks.

This is a full DebugBundle integration, including optional administration tools for project deletion, billing/trials/capacity, membership, project/member/agent token creation and revocation, alert signing-secret rotation, webhook/Slack/GitHub automation, capture rules, probes, and public status publication. Those tools are disabled by default. Allow only the specific tools needed; allowing the entire debugbundle plugin enables all its optional tools. New capabilities default to optional until reviewed.

After opt-in, every optional tool also requests native OpenClaw approval for the current call. Denial, timeout, cancellation, or an unavailable approval route prevents execution. Configure an approval-capable OpenClaw client or approvals.plugin route; no persistent approval is granted. Approval text contains the tool name, never token values or raw input payloads. See OpenClaw plugin permission requests.

Local evidence tools may read/write .debugbundle artifacts and caches. Authentication reads the configured DebugBundle credential environment variable or the existing ~/.debugbundle/auth.json file only for the documented API workflow. The plugin has no bundled instruction skill; the portable ClawHub debugbundle skill is a separate distribution.

Release acceptance requires the exact published skill and plugin versions to have completed, clean ClawHub security outcomes. Pending, missing, blocked, or Review outcomes fail acceptance. Scanner details remain in the release report even when ClawHub's final review determines that a heuristic finding is benign. For example, the bearer/basic-token redaction regular expression is a sanitizer, not an embedded credential; authenticated API calls intentionally combine credential reads and network access. Do not remove redaction or disguise authentication to suppress scanner warnings.

Use access-token authentication for analytics reads and management. Project tokens remain write-only SDK ingestion credentials. Keep analytics requests privacy-safe: do not request raw form values, raw click text, credentials, direct identifiers, or high-cardinality custom values.

Documentation

Full DebugBundle MCP and agent workflow documentation:

License

Apache-2.0.