Operating the laboratory loop¶
Lab operations maintain traceability from evidence need through planning, readiness, handoff, observation, reconciliation, and feedback. Operational pressure—capacity, materials, schedules, safety, and instrument constraints—is part of the contract, not an inconvenience to omit from the record.
flowchart LR
N["evidence need"] --> P["plan and controls"]
P --> R["readiness review"]
R --> Q["queue and schedule"]
Q --> H["authorized handoff"]
H --> O["capture outcome and QC"]
O --> C["reconcile"]
C --> F["feedback or next cycle"]
Standard operating sequence¶
- Resolve the upstream recommendation and evidence identities.
- Define the question, endpoint, assay, protocol, controls, and acceptance criteria.
- Evaluate sample, material, instrument, staffing, safety, provenance, budget, and handoff readiness.
- Refuse, narrow, revise, or queue work that is not executable.
- Group only ready assays into compatible batches and schedules.
- Transfer authorized instructions with custody, risk, and expected outputs.
- Capture observations, QC, deviations, missingness, and failures.
- Reconcile the outcome and append feedback to Knowledge and future policy.
Common workflows expands these routes; installation and setup covers package-local use.
Operational triage¶
| Condition | Disposition | Evidence retained |
|---|---|---|
| question or endpoint cannot be measured | return upstream or refuse | missing premise and requested clarification |
| controls or acceptance are incomplete | revise design | readiness findings and required controls |
| material or capacity unavailable | queue, reschedule, narrow, or refuse | resource constraint and priority policy |
| handoff loses authority or provenance | block transfer | plan, ownership, and compatibility findings |
| assay completed with failed QC | record failure; do not promote | raw observation, QC, deviations, failure class |
| valid measurement is scientifically inconclusive | reconcile as inconclusive | accepted observation and unresolved question |
| observation contradicts expectation | append evidence and reopen review | outcome lineage and contradiction context |
Queue and schedule discipline¶
Priority does not override readiness. Batch compatibility considers assay, sample, label, instrument, control, carryover, material, and timing constraints. A scheduler may delay ready work; it may not convert unready work into an executable plan.
Scaling routes must preserve stable ordering and policy under identical inputs. Performance and scaling defines comparison and capacity expectations.
Diagnose the loop¶
Use observability and diagnostics to trace a plan through readiness, queue, handoff, and outcome artifacts. When a record is incorrect, failure recovery creates a corrected or superseding record without erasing the original custody trail.
flowchart TD
S["unexpected state"] --> I["resolve stable identities"]
I --> L["inspect lifecycle transitions"]
L --> A["inspect authority and readiness"]
A --> O["inspect observation, QC, deviation"]
O --> C["correct with preserved lineage"]
Security and external systems¶
Lab artifacts may expose sample metadata, unpublished targets, protocols, facility capacity, and operational risk. Apply least-privilege access, redact only through declared export policy, and never place credentials in plan or handoff records. See security and safety and deployment boundaries.
Release boundary¶
Changes to readiness, batching, scheduling, authority, refusal, outcome, reliability, or promotion semantics can alter real-world consequence. Release and versioning requires negative paths, before-and-after artifacts, compatibility review, and explicit remaining limitations.