kf incident
Open, triage, escalate, acknowledge, and resolve incidents.
kf incident acknowledge
Mark a firing or triaging Incident as acknowledged_no_op.
Mark a firing or triaging Incident as acknowledged_no_op. Used when the Signal is informational, the operator has read it, and no autofix or escalation is appropriate.
| Flag | Required | Description |
|---|---|---|
--tenant <id> | yes | Target tenant id. |
--environment <id> | no | Target environment id; defaults to the active profile environment. |
--actor-type <type> | yes | Actor type (USER, SYSTEM, CONNECTOR, AGENT, SERVICE). |
--actor-id <id> | yes | Actor id. |
--idempotency-key <key> | no | Idempotency key for safe retries. Generated when omitted. |
--incident-id <value> | yes | Incident id. |
--expected-version <value> | yes | Expected version. |
--acknowledged-by <value> | yes | Acknowledged by. |
--reason <value> | yes | Reason. |
Example
kf incident acknowledge --tenant tnt_demo --actor-type USER --actor-id usr_sam --incident-id <value> --expected-version <value> --acknowledged-by <value> --reason <value>kf incident escalate
Escalate an Incident to a human owner from firing, triaging, or proposed.
Escalate an Incident to a human owner from firing, triaging, or proposed. Records the reason and stamps escalated_on; the autofix loop stops here until an operator resolves or acknowledges.
| Flag | Required | Description |
|---|---|---|
--tenant <id> | yes | Target tenant id. |
--environment <id> | no | Target environment id; defaults to the active profile environment. |
--actor-type <type> | yes | Actor type (USER, SYSTEM, CONNECTOR, AGENT, SERVICE). |
--actor-id <id> | yes | Actor id. |
--idempotency-key <key> | no | Idempotency key for safe retries. Generated when omitted. |
--incident-id <value> | yes | Incident id. |
--expected-version <value> | yes | Expected version. |
--reason <value> | yes | Reason. |
Example
kf incident escalate --tenant tnt_demo --actor-type USER --actor-id usr_sam --incident-id <value> --expected-version <value> --reason <value>kf incident execute-action
Execute the ProposedAction for an Incident in proposed.
Execute the ProposedAction for an Incident in proposed. Records resolved_command_receipt_id, transitions through executing to resolved atomically, and emits both incidents.action_executed and incidents.resolved in the same transaction. DENY proposals cannot execute; R3 and R4 proposals require a bound APPROVED approval request.
| Flag | Required | Description |
|---|---|---|
--tenant <id> | yes | Target tenant id. |
--environment <id> | no | Target environment id; defaults to the active profile environment. |
--actor-type <type> | yes | Actor type (USER, SYSTEM, CONNECTOR, AGENT, SERVICE). |
--actor-id <id> | yes | Actor id. |
--idempotency-key <key> | no | Idempotency key for safe retries. Generated when omitted. |
--incident-id <value> | yes | Incident id. |
--expected-version <value> | yes | Expected version. |
--resolved-command-receipt-id <value> | yes | Resolved command receipt id. |
Example
kf incident execute-action --tenant tnt_demo --actor-type USER --actor-id usr_sam --incident-id <value> --expected-version <value> --resolved-command-receipt-id <value>kf incident open
Open an Incident, or join an existing open one when the (tenantId, environmentId, fingerprint) tuple already has a row not in resolved or acknowledged_no_op.
Open an Incident, or join an existing open one when the (tenantId, environmentId, fingerprint) tuple already has a row not in resolved or acknowledged_no_op. Idempotent on metadata.idempotencyKey. Back-fills signals.incident_id when a new Signal joins an existing Incident. Drives the Signal Plane state machine; see implementation notes
| Flag | Required | Description |
|---|---|---|
--tenant <id> | yes | Target tenant id. |
--environment <id> | no | Target environment id; defaults to the active profile environment. |
--actor-type <type> | yes | Actor type (USER, SYSTEM, CONNECTOR, AGENT, SERVICE). |
--actor-id <id> | yes | Actor id. |
--idempotency-key <key> | no | Idempotency key for safe retries. Generated when omitted. |
--signal-id <value> | yes | Signal id. |
--fingerprint <value> | yes | Fingerprint. |
--severity <value> | yes | Severity. |
--fault-class <value> | yes | Fault class. |
--surface <value> | yes | Surface. |
--code <value> | yes | Code. |
--attributes <value> | no | Attributes. |
--opened-on <value> | yes | Opened on. |
Example
kf incident open --tenant tnt_demo --actor-type USER --actor-id usr_sam --signal-id <value> --fingerprint <value> --severity <value> --fault-class <value> --surface <value> --code <value> --opened-on <value>kf incident propose-action
Attach a ProposedAction to an Incident in triaging.
Attach a ProposedAction to an Incident in triaging. Stores the canonical ProposedAction shape from implementation source: commandType, input, dryRunPreview, riskClass (R0..R4), policyDecision (ALLOW | REQUIRES_APPROVAL | DENY), rationale, modelId, evalScore. Transitions to proposed.
| Flag | Required | Description |
|---|---|---|
--tenant <id> | yes | Target tenant id. |
--environment <id> | no | Target environment id; defaults to the active profile environment. |
--actor-type <type> | yes | Actor type (USER, SYSTEM, CONNECTOR, AGENT, SERVICE). |
--actor-id <id> | yes | Actor id. |
--idempotency-key <key> | no | Idempotency key for safe retries. Generated when omitted. |
--incident-id <value> | yes | Incident id. |
--expected-version <value> | yes | Expected version. |
--proposed-action-id <value> | yes | Proposed action id. |
--command-type <value> | yes | Command type. |
--input <value> | yes | Input. |
--dry-run-preview <value> | yes | Dry run preview. |
--risk-class <value> | yes | Risk class. |
--policy-decision <value> | yes | Policy decision. |
--rationale <value> | yes | Rationale. |
--model-id <value> | yes | Model id. |
--eval-score <value> | yes | Eval score. |
Example
kf incident propose-action --tenant tnt_demo --actor-type USER --actor-id usr_sam --incident-id <value> --expected-version <value> --proposed-action-id <value> --command-type <value> --input <value> --dry-run-preview <value> --risk-class <value> --policy-decision <value> --rationale <value> --model-id <value> --eval-score <value>kf incident resolve
Resolve an Incident from any non-terminal state with a free-form reason.
Resolve an Incident from any non-terminal state with a free-form reason. Used for manual close-outs and for the auto-resolve path when the underlying Signal has stopped firing for a sustained window.
| Flag | Required | Description |
|---|---|---|
--tenant <id> | yes | Target tenant id. |
--environment <id> | no | Target environment id; defaults to the active profile environment. |
--actor-type <type> | yes | Actor type (USER, SYSTEM, CONNECTOR, AGENT, SERVICE). |
--actor-id <id> | yes | Actor id. |
--idempotency-key <key> | no | Idempotency key for safe retries. Generated when omitted. |
--incident-id <value> | yes | Incident id. |
--expected-version <value> | yes | Expected version. |
--reason <value> | yes | Reason. |
Example
kf incident resolve --tenant tnt_demo --actor-type USER --actor-id usr_sam --incident-id <value> --expected-version <value> --reason <value>kf incident triage
Transition an Incident from firing to triaging and assign a triage skill name.
Transition an Incident from firing to triaging and assign a triage skill name. Version-checked; raises VersionConflictError on stale expectedVersion and InvalidStateError if the Incident is not in firing.
| Flag | Required | Description |
|---|---|---|
--tenant <id> | yes | Target tenant id. |
--environment <id> | no | Target environment id; defaults to the active profile environment. |
--actor-type <type> | yes | Actor type (USER, SYSTEM, CONNECTOR, AGENT, SERVICE). |
--actor-id <id> | yes | Actor id. |
--idempotency-key <key> | no | Idempotency key for safe retries. Generated when omitted. |
--incident-id <value> | yes | Incident id. |
--expected-version <value> | yes | Expected version. |
--assigned-skill <value> | yes | Assigned skill. |
Example
kf incident triage --tenant tnt_demo --actor-type USER --actor-id usr_sam --incident-id <value> --expected-version <value> --assigned-skill <value>