Technical Architecture
Grounded Decisions & Reports
Research validity spine report compiler and source-grounded document builders.
User & Researcher Perspective
Grounded Decisions & Reports compiles stakeholder reports and design briefs that are mathematically grounded in raw transcript evidence. The reporting engine crawls the Research Spine, ensuring that every claim is verified and linked back to its source, creating reliable reports that stand up to engineering audits.
Operational Workflows & Intent
- Source-Trace Reports: Generate PDFs or Markdown documents where every insight has interactive trace linkages back to raw transcripts or survey records.
- Rigor Validation: Review report consensus scoring, ensuring full compliance with qualitative and statistical safety constraints.
Engineering & Architecture Perspective
Report generation and validity spines are operated by backend/app/services/research_validity_service.py and audited via the improvement governance lifecycle in backend/app/api/routes/improvement_governance.py.
Granular Technical Data Flow
- Spine Ingestion: The compiler initiates a relational search over the project database, traversing: Approved Recommendations -> Scoped Insights -> Accepted Facts -> High-Kappa Nuggets.
- Validity Verification: The compiler validates that all nodes are fully approved by human review and contain unbroken links to raw source spans.
- Serialization: Synthesized copy is formatted into standards-compliant Markdown, retaining citation trace brackets (e.g. `[Nugget #122]`).
- Integrity Proof: The compiler registers a cryptographic checksum of the generated report in the validation logs.
Technical Documentation Approach
Reports and decisions are validated against state-of-the-art evaluation harnesses including HELM and RAGAS parameters to verify context relevance, faithfulness, and answer correctness.
Compliance & Quality Invariants
- Zero-Hallucination Gate: The generation process automatically aborts if any selected finding lacks verified evidence back-links.
- Verification Ledger: Cryptographic report hashes are logged in the verification ledger, preventing silent, unauthorized report revisions.
Scientific Foundations & Bibliography
Evaluation frameworks are modeled on leading academic and safety institute benchmarks:
- Atomic Qualitative Chains: Sharon & Gadbaw (2018) — "Atomic Research" WeWork Research Operations.
- Agentic Assessment: UK AI Security Institute (2026) — "Inspect AI" inspect.aisi.org.uk. Defines evaluation harnesses.
- Language Models Evaluation: Liang et al. (2022) — "Holistic Evaluation of Language Models" Stanford CRFM HELM.
- RAG Faithfulness Evals: Es et al. (2023) — "RAGAS: Automated Evaluation of Retrieval Augmented Generation" arXiv:2309.15217.
Source Code Reference
backend/app/services/research_validity_service.pybackend/app/api/routes/improvement_governance.py