@debugbundle/cli 1.6.0 → 1.6.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/main.cjs +41 -17
- package/package.json +1 -1
package/dist/main.cjs
CHANGED
|
@@ -15977,9 +15977,12 @@ function buildSkill() {
|
|
|
15977
15977
|
"description: >-",
|
|
15978
15978
|
" Investigate runtime incidents, inspect debug bundles, generate reproductions,",
|
|
15979
15979
|
" run improvement analysis, and inspect operational controls using the DebugBundle",
|
|
15980
|
-
" CLI and local project scaffold. Use when
|
|
15981
|
-
"
|
|
15982
|
-
"
|
|
15980
|
+
" CLI and local project scaffold. Use when runtime errors/failures or captured",
|
|
15981
|
+
" operational evidence are relevant: production/customer-facing incidents,",
|
|
15982
|
+
" endpoint downtime, health-check failures, notification or webhook failures,",
|
|
15983
|
+
" probes, noisy captured incidents, or explicit DebugBundle artifact requests. Do not use for",
|
|
15984
|
+
" deterministic local source, UI, layout, copy, calculation, refactor, or",
|
|
15985
|
+
" test-only issues unless runtime evidence is needed.",
|
|
15983
15986
|
"metadata:",
|
|
15984
15987
|
" author: debugbundle",
|
|
15985
15988
|
' version: "1.0"',
|
|
@@ -15987,11 +15990,22 @@ function buildSkill() {
|
|
|
15987
15990
|
"",
|
|
15988
15991
|
"# DebugBundle",
|
|
15989
15992
|
"",
|
|
15990
|
-
"Use DebugBundle
|
|
15993
|
+
"Use DebugBundle when runtime evidence is relevant to the task.",
|
|
15994
|
+
"",
|
|
15995
|
+
"## When To Use DebugBundle",
|
|
15996
|
+
"",
|
|
15997
|
+
"Use the incident/artifact workflow when the user reports:",
|
|
15998
|
+
"",
|
|
15999
|
+
"- production or customer-facing incidents, runtime failures, regressions, broken deploys, or unknown errors likely to have generated captured events",
|
|
16000
|
+
"- endpoint downtime or a failing hosted health check",
|
|
16001
|
+
"- missing, duplicate, or failed alerts, webhooks, GitHub dispatches, probes, or other operational delivery",
|
|
16002
|
+
"- a specific DebugBundle incident id, bundle, reproduction, report, or noisy captured incident",
|
|
16003
|
+
"",
|
|
16004
|
+
"For deterministic local source-code, UI, layout, copy, calculation, refactor, or test-only issues, inspect source and tests first. Do not check DebugBundle incidents unless the user asks, the issue involves live runtime behavior, or captured evidence is needed.",
|
|
15991
16005
|
"",
|
|
15992
16006
|
"## Investigation Quickstart",
|
|
15993
16007
|
"",
|
|
15994
|
-
"When the
|
|
16008
|
+
"When the issue matches the runtime/incident criteria above, start here before reading arbitrary source files.",
|
|
15995
16009
|
"",
|
|
15996
16010
|
"1. Run `debugbundle doctor --json` to learn whether the project is local-only or connected and whether the local scaffold is healthy.",
|
|
15997
16011
|
"2. If `debugbundle doctor --json` reports `mode=local-only`, start with `debugbundle incidents --source local --status active --json`.",
|
|
@@ -16011,7 +16025,7 @@ function buildSkill() {
|
|
|
16011
16025
|
"",
|
|
16012
16026
|
"## Core Workflow",
|
|
16013
16027
|
"",
|
|
16014
|
-
"1.
|
|
16028
|
+
"1. For qualifying runtime/incident work, check DebugBundle incidents first to avoid re-investigating a known failure.",
|
|
16015
16029
|
"2. Inspect the incident bundle and reproduction artifact before proposing a fix.",
|
|
16016
16030
|
"3. Run `debugbundle analyze --type improvement --local` after local processing when you need a deterministic change plan.",
|
|
16017
16031
|
"4. Apply the narrowest fix, then validate it with the repository test workflow from `.debugbundle/profile.json`.",
|
|
@@ -16066,6 +16080,7 @@ function buildSkill() {
|
|
|
16066
16080
|
"- Availability checks: `https://debugbundle.com/docs/availability-checks`",
|
|
16067
16081
|
"- Probes: `https://debugbundle.com/docs/probes`",
|
|
16068
16082
|
"- Capture policy and rules: `https://debugbundle.com/docs/capture-policy`",
|
|
16083
|
+
"- Managing noise: `https://debugbundle.com/docs/managing-noise`",
|
|
16069
16084
|
"- Alerts: `https://debugbundle.com/docs/alerts` and `https://debugbundle.com/docs/cli/alerts`",
|
|
16070
16085
|
"- Webhooks: `https://debugbundle.com/docs/webhooks` and `https://debugbundle.com/docs/cli/webhooks`",
|
|
16071
16086
|
"- API ingestion: `https://debugbundle.com/docs/api/ingestion`",
|
|
@@ -16194,6 +16209,7 @@ function buildCliReference() {
|
|
|
16194
16209
|
"- Webhooks: `https://debugbundle.com/docs/webhooks`, `https://debugbundle.com/docs/cli/webhooks`, and `https://debugbundle.com/docs/api/webhooks`",
|
|
16195
16210
|
"- Probes: `https://debugbundle.com/docs/probes` and `https://debugbundle.com/docs/api/probes`",
|
|
16196
16211
|
"- Capture policy and rules: `https://debugbundle.com/docs/capture-policy`",
|
|
16212
|
+
"- Managing noise: `https://debugbundle.com/docs/managing-noise`",
|
|
16197
16213
|
"- Availability checks: `https://debugbundle.com/docs/availability-checks`",
|
|
16198
16214
|
"- MCP tool catalog: `https://debugbundle.com/docs/mcp/tools`",
|
|
16199
16215
|
"",
|
|
@@ -16236,7 +16252,7 @@ function buildMcpReference() {
|
|
|
16236
16252
|
return [
|
|
16237
16253
|
"# DebugBundle MCP Reference",
|
|
16238
16254
|
"",
|
|
16239
|
-
"Use the same
|
|
16255
|
+
"Use the same runtime-evidence-gated workflow through MCP when an agent is operating in connected mode.",
|
|
16240
16256
|
"",
|
|
16241
16257
|
"## Investigation Tools",
|
|
16242
16258
|
"",
|
|
@@ -16250,8 +16266,9 @@ function buildMcpReference() {
|
|
|
16250
16266
|
"- `analyze` \u2014 run local agent-oriented analysis from local bundles and skill schemas.",
|
|
16251
16267
|
"",
|
|
16252
16268
|
"- Prefer bundle retrieval tools before reading raw repository files.",
|
|
16253
|
-
"- Use MCP bundle access when the current issue originated in production.",
|
|
16254
|
-
"-
|
|
16269
|
+
"- Use MCP bundle access when the current issue originated in production or otherwise needs captured runtime evidence.",
|
|
16270
|
+
"- For deterministic local source, UI, layout, copy, calculation, refactor, or test-only issues, inspect source and tests first unless the user asks for DebugBundle evidence.",
|
|
16271
|
+
"- Resolve fixed or intentionally generated incidents with `resolve_incident` or `resolve_incidents` so active incidents stay actionable.",
|
|
16255
16272
|
"- Fall back to local CLI processing when the project is local-only.",
|
|
16256
16273
|
"",
|
|
16257
16274
|
"## Noise and Capture Policy Tools",
|
|
@@ -16298,6 +16315,7 @@ function buildMcpReference() {
|
|
|
16298
16315
|
"- Availability checks: `https://debugbundle.com/docs/availability-checks`",
|
|
16299
16316
|
"- Probes: `https://debugbundle.com/docs/probes`",
|
|
16300
16317
|
"- Capture policy and rules: `https://debugbundle.com/docs/capture-policy`",
|
|
16318
|
+
"- Managing noise: `https://debugbundle.com/docs/managing-noise`",
|
|
16301
16319
|
"- Alerts: `https://debugbundle.com/docs/alerts`",
|
|
16302
16320
|
"- Webhooks: `https://debugbundle.com/docs/webhooks`",
|
|
16303
16321
|
"- API ingestion: `https://debugbundle.com/docs/api/ingestion`",
|
|
@@ -16403,13 +16421,21 @@ function buildSkillEvals() {
|
|
|
16403
16421
|
skill: "debugbundle",
|
|
16404
16422
|
evaluations: [
|
|
16405
16423
|
{
|
|
16406
|
-
name: "
|
|
16424
|
+
name: "runtime_incident_workflow",
|
|
16407
16425
|
prompt: "The user reports a production checkout failure. Confirm the skill tells the agent to inspect DebugBundle artifacts first.",
|
|
16408
16426
|
expected_behavior: [
|
|
16409
|
-
"Check incidents before reading arbitrary source files.",
|
|
16427
|
+
"Check incidents before reading arbitrary source files for qualifying runtime or production incidents.",
|
|
16410
16428
|
"Read the skill workflow before proposing a fix."
|
|
16411
16429
|
]
|
|
16412
16430
|
},
|
|
16431
|
+
{
|
|
16432
|
+
name: "local_source_issue_gate",
|
|
16433
|
+
prompt: "The user reports a deterministic UI calculation glitch in local code with no runtime incident or report. Confirm the skill avoids checking DebugBundle incidents by default.",
|
|
16434
|
+
expected_behavior: [
|
|
16435
|
+
"Inspect source and tests first for deterministic local UI, layout, copy, calculation, refactor, or test-only issues.",
|
|
16436
|
+
"Do not check DebugBundle incidents unless the user asks, live runtime behavior is involved, or captured evidence is needed."
|
|
16437
|
+
]
|
|
16438
|
+
},
|
|
16413
16439
|
{
|
|
16414
16440
|
name: "profile_validation_task",
|
|
16415
16441
|
prompt: "The generated profile is shallow. Confirm the skill teaches the agent how to validate and enrich it.",
|
|
@@ -28178,11 +28204,9 @@ function buildManagedAgentsSection() {
|
|
|
28178
28204
|
return [
|
|
28179
28205
|
MANAGED_AGENTS_START,
|
|
28180
28206
|
"## DebugBundle",
|
|
28181
|
-
"-
|
|
28182
|
-
"-
|
|
28183
|
-
"-
|
|
28184
|
-
"- After a fix is verified, or after an intentional smoke or dogfood incident has served its purpose, resolve it with `debugbundle resolve <incident-id> [incident-id ...]` or MCP `resolve_incident` / `resolve_incidents` so open incidents remain actionable.",
|
|
28185
|
-
"- Use `debugbundle doctor` to validate local DebugBundle setup or connectivity issues.",
|
|
28207
|
+
"- Use DebugBundle for runtime failures, production/customer-facing incidents, endpoint downtime, notification/webhook delivery failures, health-check failures, specific incident reports, or symptoms likely to have generated captured events.",
|
|
28208
|
+
"- For deterministic local code, UI, layout, copy, calculation, refactor, or test-only issues, inspect source and tests first; do not check DebugBundle incidents unless runtime evidence is needed or the user asks.",
|
|
28209
|
+
"- Read `.agents/skills/debugbundle/SKILL.md` for the full DebugBundle workflow.",
|
|
28186
28210
|
MANAGED_AGENTS_END
|
|
28187
28211
|
].join("\n");
|
|
28188
28212
|
}
|
|
@@ -37163,7 +37187,7 @@ async function handleCaptureRuleCommand2(parsedArgv, dependencies) {
|
|
|
37163
37187
|
// package.json
|
|
37164
37188
|
var package_default = {
|
|
37165
37189
|
name: "@debugbundle/cli",
|
|
37166
|
-
version: "1.6.
|
|
37190
|
+
version: "1.6.3",
|
|
37167
37191
|
private: false,
|
|
37168
37192
|
description: "Command-line interface for DebugBundle",
|
|
37169
37193
|
license: "AGPL-3.0-only",
|