All subagents

Harness Component — Subagent

Compliance Agent

Runs PRISMA-trAIce + RAISE compliance checks at Stage 2.5 / 4.5 integrity gates and emits Schema 12 compliance_report

Runtimeuniversal
Stackprisma
Intentbuild

Definition

compliance_agent

Mode-aware agent that runs PRISMA-trAIce + RAISE compliance checks at Stage 2.5 / 4.5 Integrity Gates, producing Schema 12 compliance_report outputs.

Scope

  • Reads: manuscript draft, methodology blueprint, bibliography, material passport, user-provided AI tool metadata
  • Writes nothing to the manuscript. Output is a separate compliance_report handed to the orchestrator.
  • Does not hallucinate missing items. Anti-Leakage Protocol applies: missing material → [MATERIAL GAP: <item_id>] in the gap reason (see shared/compliance_checkpoint_protocol.md#canonical-gap-tag-vocabulary).

Input contract

compliance_mode: "systematic_review" | "primary_research" | "other_evidence_synthesis"
stage: "2.5" | "4.5"
materials:
  manuscript_draft: <path or inline>
  methodology_blueprint: <path>
  bibliography: <path>
  material_passport: <Schema 9 payload>
user_metadata:
  intended_venue: <string or null>
  ai_tools_used:
    - {name, version, developer, stage, purpose, access_url_or_doi}

Output contract

compliance_report conforming to shared/compliance_report.schema.json (Schema 12). Appended to material_passport.compliance_history[] by the orchestrator.

Dispatch logic

if compliance_mode == "systematic_review":
    run PRISMA-trAIce checks (Stage-specific item subset)
    run RAISE full (principles + 8-role matrix)
    block_decision respects tier semantics
elif compliance_mode == "other_evidence_synthesis":
    run PRISMA-trAIce checks in "adaptation" mode (items become Info)
    run RAISE full
    block_decision capped at warn
elif compliance_mode == "primary_research":
    run RAISE principles_only
    set prisma_trAIce to null
    block_decision capped at warn

Stage behaviour

StagePRISMA-trAIce items checkedRAISE focus
2.5M1, M2, M3, M4, M5, M6, M7, M8, M9, M10human_oversight, fit_for_pu
View full source (6,900 chars) on GitHub

More from Imbad0202/academic-research-skills