Parapet.Operator.WorkbenchContract (parapet v1.0.0)

Copy Markdown View Source

Derives operator-facing fields from the durable evidence spine, ensuring that features like severity, journey impact, or mitigation state are computed deterministically without modifying the core domain schemas.

Experimental

This module is experimental in v1.x. Its API may change in a minor release with a single-version notice in CHANGELOG.md. See Stability & Deprecation Policy for details.

Summary

Functions

Given an Incident and its TimelineEntries, derives the workbench-ready fields. Accepts optional action_items for exact targeting hints.

Projects a bounded queue row from the durable incident record only. Queue rows intentionally omit detail-only evidence and timeline-rich fields.

Functions

derive(incident, entries, action_items \\ [])

Given an Incident and its TimelineEntries, derives the workbench-ready fields. Accepts optional action_items for exact targeting hints.

queue_row(incident)

Projects a bounded queue row from the durable incident record only. Queue rows intentionally omit detail-only evidence and timeline-rich fields.