Live-operations workflow for the ops pack (RUN + MONITOR). Use when the user deploys or runs something live, monitors a live system's health/metrics, captures ephemeral/live data that won't be reproducible, or investigates drift. Creates a RUN (deployment frozen at deploy-time) and appends MONITOR observations (timestamped metric/signal journal). Triggers on "deploy", "go live", "monitor this run", "capture live odds/data", "is it drifting", "check LIVE health / is the deployed run drifting". NOT for offline experiments (use /specflow-autoresearch EXPT), writing app code (use /specflow-execute STORY), requirements authoring (use /specflow-discover), or a project-wide spec/health audit (use /specflow-audit — "health check" means project health there, not live-system health here).
설치
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
Live-operations workflow for the ops pack (RUN + MONITOR). Use when the user deploys or runs something live, monitors a live system's health/metrics, captures ephemeral/live data that won't be reproducible, or investigates drift. Creates a RUN (deployment frozen at deploy-time) and appends MONITOR observations (timestamped metric/signal journal). Triggers on "deploy", "go live", "monitor this run", "capture live odds/data", "is it drifting", "check LIVE health / is the deployed run drifting". NOT for offline experiments (use /specflow-autoresearch EXPT), writing app code (use /specflow-execute STORY), requirements authoring (use /specflow-discover), or a project-wide spec/health audit (use /specflow-audit — "health check" means project health there, not live-system health here).
SpecFlow Ops
Track what is live and how it is doing over time. Two artifact types, both in _specflow/ops/:
RUN — a deployment frozen at deploy-time. What is deployed (deployed_ref: path/version/fingerprint), where (environment), when (deployed_at), and what it satisfies (links derives_from the REQ/ARCH, optionally the EXPT/STORY output it promoted). Like a baseline, but for a live system. Status: deployed → live → paused → retired.
MONITOR — an append-only, timestamped observation of a RUN. A metrics snapshot, free-form signals (drift for quant, latency/error-rate for web, sensor values for embedded — domain-neutral), health (ok/degraded/breached), and captures (ephemeral-data refs + freshness for live/short-lived data). Over time, MONITORs are the observation/metric ledger. Status: logged → flagged → resolved.
Domain-neutral by design. Quant specifics (drift, oos_decay) belong in the quant concept→artifact map, not in these fields.
Workflow
Flow A — Deploy (something goes live)
Identify what is being deployed and the artifact it satisfies/promotes from:
A promoted experiment → links: [{target: EXPT-NNN, role: derives_from}].
A requirement/architecture it realizes → links: [{target: REQ-NNN|ARCH-NNN, role: derives_from}] (or implements).
Freeze the deployment record — create the RUN with the exactdeployed_ref (path or version + fingerprint) and environment. This is immutable intent: a later change to what's live is a new RUN, not an edit.
specflow create --type run --title "<system> — <env>" --status live \
--set environment=<env> \
--set deployed_ref=<path/version, fingerprint if known> \
--set deployed_at=<date> \
--links <REQ-NNN|ARCH-NNN|EXPT-NNN>:derives_from \
--skip-dedup-check
Confirmspecflow artifact-lint RUN-NNN passes, then present: TLDR (what went live, from what, satisfying what), one next step.
Flow B — Observe (record a snapshot / capture ephemeral data)
Identify the RUN this observation belongs to.
Record the MONITOR — append one entry per observation. Use metrics for numbers, signals for trend/qualitative notes, health for the verdict, captures for any ephemeral data you grabbed (refs + how fresh).
On a breach (health: breached or a signal crosses a threshold defined in a REQ):
Set the MONITOR status: flagged (specflow update MON-NNN --status flagged).
Propose the domain's next action and link it back to the MONITOR: a retrain → create a new LOOP linked --links MON-NNN:informs; a rollback/fix → a DEC or DEF. Do not auto-trigger — surface it for the human.
Recall
What's live right now?specflow trace RUN-NNN — shows the REQ/ARCH/EXPT lineage and all MONITORs.
How is it trending? Read the chain of MONITORs under a RUN (newest last) — that is the metric/drift ledger.
Stale or drifting?specflow brief --next flags a live RUN with no recent MONITOR or a breached MONITOR when the ops pack is active.
Rules
A RUN is frozen at deploy. Changing what's live = a new RUN (derives_from the prior one if it's a successor). Never rewrite a deployed RUN's deployed_ref.
MONITORs are append-only. Correct a bad observation with a new MONITOR (informs/derives_from the wrong one), not an edit.
Every code/script that a RUN executes still traces to a STORY; RUN/MONITOR record the operational reality, they don't replace the spec.