* std: add prose author workflow * cli: refresh brace-expansion lockfile * std: tighten prose author planning * cli: make prose write self-contained * cli: align harness smoke with bundled bootstrap * Make prose write interactive in host --------- Co-authored-by: irl-dan <97565471+irl-dan@users.noreply.github.com>
2.7 KiB
name, kind, subject
| name | kind | subject |
|---|---|---|
| test-prose-author-incident-response | test | prose-author |
Test Prose Author Incident Response
Fixtures
-
request: | incident response workflowinput incident_id, severity, affected_service
triage: gather current alerts, recent deploys, active incidents, owner rotation, and customer impact for affected_service
if severity is sev1 or sev2: page incident commander and service owner create incident channel and status-page draft else: notify service owner in team channel
loop until mitigated or max 4 cycles: investigator session: inspect telemetry and logs, propose likely cause and confidence mitigator session: propose lowest-risk mitigation, including rollback or feature flag options reviewer session: approve mitigation only if blast radius and rollback plan are clear if reviewer approves: execute mitigation checklist and watch metrics for 10 minutes else: feed reviewer notes into next cycle
after mitigation: publish customer/status update if external impact create postmortem issue with timeline, suspected cause, followups, and owners
return incident_summary, mitigation_decision, postmortem_issue
Expects
source_package: prefers folder output because the workflow has branching, operational side effects, a bounded mitigation loop, and several specialist servicessource_package: mapsincident_id,severity, andaffected_serviceinto### Requiressource_package: preserves the return outputsincident_summary,mitigation_decision, andpostmortem_issuesource_package: includes explicitif/elseProseScript for the severity branchsource_package: includes a bounded mitigation loop preserving max 4 cyclessource_package: carries reviewer notes into the next mitigation cyclesource_package: gates mitigation execution behind reviewer approvalauthoring_notes: records that operational side effects are represented as generated declarations and future runtime actions, not executed during authoringsource_package: declares degraded outputs or errors for exhausted mitigation attemptslint_report: has statuspassand no blocking findings
Expects Not
authoring_notes: claims PagerDuty, Slack, status pages, issue trackers, deployment systems, or feature flag systems were contacted during authoringsource_package: executes mitigation before reviewer approvalsource_package: treats paging, channel creation, status updates, or issue creation as ordinary text with no side-effect boundarysource_package: silently returns success when mitigation was not approved or not confirmed