Scenario
A release gate agent checks whether a production deployment can proceed. It reads release metadata, evaluates the rollout, and attempts to execute a production pipeline. In Monitor mode, the action is observed and may be recommended for approval later. In Enforce mode, the same guardrail can block or pause the action before the callback runs.Step 1 - Capture the session
Use a session for the whole release review and instrument the risky tool with explicit action and resource metadata.Step 2 - Open the session replay
Open the session in the Apie dashboard. While generation runs, you may see Story generation queued or Generating session story. The deterministic timeline remains available during this window. When the generated story is ready, the top of the session replay should read like an incident or release review:| Story element | Example outcome |
|---|---|
| Summary | ”Release gate attempted production pipeline execution” |
| Outcome | approval_required, blocked, succeeded, or another observed outcome from the session |
| Risk | High, because the session included production pipeline execution |
| Confidence | Based on the event metadata and linked evidence ids |
Step 3 - Review the story timeline
The story timeline groups raw events into reviewer-friendly steps.| Raw evidence | User-facing story card |
|---|---|
| Run started, release manifest read | ”Release gate reviewed production rollout metadata” |
Guardrail evaluated for execute on pipeline_run | ”Production pipeline execution was evaluated” |
| Approval requested or block recorded | ”Production action required a human decision” or “Production action was blocked” |
| Run/session completed | ”Release gate completed with follow-up required” |
Step 4 - Act on the recommendations
For this session, runtime intelligence can produce two useful follow-ups:| Follow-up | What it means |
|---|---|
| Action item | Require approval before cicd.trigger_pipeline executes against production |
| Guardrail recommendation | Add a guardrail for execute actions on pipeline_run resources in production, with recommended mode require_approval |
What changed from raw events
Runtime intelligence did not change the session, approve the deploy, or create a guardrail. It made the existing evidence easier to review:- The raw event timeline still shows every instrumented action.
- Guardrail decisions still decide whether runtime execution proceeds.
- The generated summary and timeline compress the session into the story a reviewer needs.
- Action items and guardrail recommendations point to concrete next steps, but you decide which policy to enable.
Next steps
Runtime intelligence
Learn what the generated summary, timeline, actions, and recommendations mean.
Enforce guardrails
Turn recommendations into blocking or approval-required runtime policy.
