Role-aware programming
Separates developer workflows from independent QC workflows so the agent does not reuse the wrong macros, assumptions, or validation depth.
A compliance-aware AI workflow harness for clinical statistical programming. It wraps existing AI coding agents with role policy, study context, source evidence, execution controls, validation artifacts, mismatch ledgers, and audit dashboards.
General coding agents can write R or SAS, but clinical work needs controlled behavior: correct study context, role separation, source verification, execution location, validation evidence, and reviewer-facing rationale. CSP Agent Harness turns those expectations into repeatable workflow gates and artifacts.
Separates developer workflows from independent QC workflows so the agent does not reuse the wrong macros, assumptions, or validation depth.
Builds evidence maps from registry paths, specs, SAP summaries, source inventories, codelists, shells, parser audits, and known quirks.
Requires the agent to verify datasets, variables, types, codelists, filters, and missingness before implementing derivation or reporting logic.
Supports dataset generation, independent QC, TLG code briefs, source plans, program skeletons, and output validation workflows.
Defines Level 1, Level 2, and Level 3 QC scope, including independent double programming for high-value ADaM datasets and unique TLGs.
Produces reviewer-facing audit indexes and batch dashboards linking plans, programs, logs, compares, QC summaries, and mismatch decisions.
The harness is not a replacement coding model. It supplies clinical workflow discipline around tools such as Codex, GitHub Copilot, Claude Code, and AGENTS.md-aware assistants.
Doctor checks, registry inspection, work-order creation, source probes, QC planning, TLG briefs, and audit indexes.
Source evidence probes and dataset comparison utilities for controlled clinical programming workflows.
Local or remote R/SAS runtime profiles with data location, write boundaries, and clinical execution policy.
Instruction templates for Copilot, Claude Code, and generic agent environments.
Snowbird can help install the harness, configure execution profiles, define study registries, and run a first controlled work-order pilot.
Plan a CSP Harness Pilot