13 September 2026 · AI-Native SCE × Statistical Programming

Can you defend an AI-generated SDTM, ADaM, or TFL?

A 30-minute pack on governed statistical computing, computational provenance, immutable snapshots, “Thin MCP, Thick Skills,” deterministic execution, and the difference between an output that looks right and one you can defend.

DifficultyC1
Time30 minutes
Core patternpropose → approve → execute
Outputdefensible workflow

Why this reading

The harder problem is no longer whether AI can write code. It is whether you can defend what it produced.

The newly launched nPhase statistical-computing architecture separates AI proposal, human approval and deterministic execution, while emphasizing version pinning, snapshots, provenance and validation.

ClinAgent reaches a compatible design from the research side: keep data-access tools thin, place clinical-programming expertise in richer skills, and validate each layer independently.

Reading order

Your 30-minute plan.

0-3 minPreview

Find the difference between proposal, approval and execution.

3-14 minMain reading

Read governance, version pinning, snapshots, provenance and exception-based review.

14-20 minClinAgent

Compare thin tools, thick skills, rule engines and agent-independent validation.

20-25 minCDISC

Connect the architecture to machine-readable, standards-based clinical workflows.

25-30 minOutput

Redesign one SP task so its output remains defensible six months later.

Open-access sources

Fresh production architecture plus peer-reviewed clinical-programming design.

Brief background

Generation is only one layer of a regulated workflow.

The nPhase architecture separates three roles: AI proposes transformations, humans approve them, and deterministic systems execute them. It also describes immutable snapshots, pinned approved versions, provenance, SDTM auto-mapping, ADaM/TFL automation and integrated validation.

The important architectural lesson is independent of the vendor: a probabilistic model should not silently become the source of truth, execution engine, standards repository and approver at the same time.

ClinAgent's “Thin MCP, Thick Skills” approach makes a similar separation. Stateless tools expose data and files; skills carry prompts, clinical-programming rules, decision logic and deterministic checks.

A defensible TFL therefore needs more than a correct number. A reviewer should be able to recover the data snapshot, ADaM version, analysis definition, code or rule version, environment, validation evidence and approval record that produced it.

Read performance numbers carefully: nPhase's speed and accuracy figures are vendor-reported claims. They are useful for understanding the product's intended value proposition, but they are not independent comparative validation.

Key vocabulary

Fifteen terms for governed AI statistical programming.

Term中文Meaning / use
defensible output可辩护的输出An output whose inputs, rules, execution, evidence, and approvals can be reconstructed and justified.
computational provenance计算谱系 / 计算来源A record of the data, code, environment, versions, and transformations that produced a result.
immutable snapshot不可变快照A preserved version of data, code, metadata, or environment state that cannot silently change after approval.
governed pipeline受治理的流程A workflow with controlled permissions, approved versions, validation rules, and auditable transitions.
human approval人工批准An explicit human decision that accepts, rejects, or redirects an AI proposal before controlled execution.
deterministic execution确定性执行Execution in which the same controlled inputs and rules produce the same result.
auto-mapping自动映射Automatic proposal of relationships between source data and target standard variables or domains.
auto-remediation自动修复A system-generated correction for a detected standards or validation issue, subject to defined controls.
version pinning版本锁定Fixing a workflow to an exact approved version of metadata, code, library, model, or dependency.
audit trail审计追踪A chronological record of actions, changes, approvals, and system events.
exception-based review基于异常的审阅A review model in which humans focus on uncertain or failed cases instead of rechecking every routine item.
domain logic领域逻辑Professional rules specific to clinical programming, CDISC, statistics, sponsor conventions, and study design.
stateless tool无状态工具A narrow tool that reads or transforms inputs without independently carrying workflow-specific professional judgment.
compliance infrastructure合规基础设施Controls such as logging, masking, access control, validation, and audit support around an automated workflow.
agent lock-in智能体锁定Dependence on one specific model or agent host such that the workflow cannot be moved or independently validated.

Useful phrases

Language for governance, validation and production-readiness discussions.

  1. the central question is whether the output can be defended - The central question is whether the output can be defended, not merely generated.
  2. AI should propose while controlled systems execute - AI should propose while controlled systems execute.
  3. every approved version should be reconstructable - Every approved version should be reconstructable from its data, code, metadata, and environment.
  4. human review should concentrate on exceptions and judgment - Human review should concentrate on exceptions and judgment rather than repetitive reconstruction.
  5. domain logic should be separated from data access - Domain logic should be separated from data access.
  6. the same input should reproduce the same approved output - The same controlled input should reproduce the same approved output.
  7. a model suggestion is not the same as an executed transformation - A model suggestion is not the same as an executed transformation.
  8. automation must preserve provenance across handoffs - Automation must preserve provenance across handoffs.
  9. vendor efficiency claims require independent validation - Vendor efficiency claims require independent validation before they become evidence.
  10. production readiness depends on governance as much as capability - Production readiness depends on governance as much as capability.

Comprehension

Five questions.

  1. Why is “AI proposes, humans approve, deterministic systems execute” safer than one agent performing all three roles?
  2. What information belongs in the computational provenance of a final TFL?
  3. How does “Thin MCP, Thick Skills” separate data access from clinical-programming expertise?
  4. Why should vendor-reported efficiency gains be treated differently from independent evidence?
  5. Which SP activities are suitable for exception-based review, and which decisions should remain explicitly human-led?

Retelling

Say it three times.

  • 30 seconds · Generation versus defensibility.
  • 45 seconds · Source → AI proposal → human approval → deterministic execution → validation → provenance → release.
  • 60 seconds · Divide responsibility among the LLM, skill, rule engine, SCE and programmer.

5-minute output task

Make one SP workflow defensible six months later.

  1. Minute 1: Choose SDTM mapping, ADaM derivation, SAS log QC, TFL programming, TFL QC or eSubmission.
  2. Minutes 2-3: Assign responsibilities to AI, skill/domain logic, deterministic execution, validation and human review.
  3. Minute 4: Define the exact provenance package that must be frozen or logged.
  4. Minute 5: Give a production go/no-go decision.

One sentence to keep

A production-grade SP agent should not merely create the right output once; it should produce a result whose source data, rules, execution, validation, versions, and approvals can all be reconstructed and defended.