Principle:7onez Cti expert Deterministic Report Composition
| Knowledge Sources | |
|---|---|
| Domains | OSINT, Reporting |
| Last Updated | 2026-10-28 14:00 GMT |
Overview
Design principle that report composition is deterministic (zero-LLM): the report is composed from the case directory's persisted artifacts (KB, assessment, clusters, timeline, captures) following fixed house rules, so the same case always produces the same report.
Description
Deterministic Report Composition solves the problem of non-reproducible reports: an LLM-composed report varies between runs, omits sections when the model decides they're unimportant, and cannot be regenerated from a persisted case without re-running the LLM. The principle states that the report is a deterministic projection of the case directory:
- Figures are generated from the KB and case artifacts (sector graph, relationship diagram, attribution chain, timeline) or reused from a prior run under --no-figures.
- Screenshots are captured through the egress policy, with existing captures reused.
- Markdown is composed following fixed IntelReport house rules (0–23) — section order, figure placement, caption format, dash normalization are all code, not model decisions.
- Rendering (PDF/DOCX) is via pandoc/xelatex/weasyprint — standard, deterministic tools.
The same case directory, rendered twice, produces the same report (modulo screenshot timing). No LLM is involved in the composition or rendering.
Usage
Use this principle when designing report generation where:
- The report must be reproducible from the persisted case — no re-running an LLM.
- Report sections must follow a fixed house style (section order, figure placement).
- Figures are deterministic projections of the KB (sector graph from clusters, timeline from events).
- PII can be redacted (mask_personas) without re-running the analysis.
Theoretical Basis
The principle is a pure function over the case directory: report = f(case_dir, options). The same inputs always produce the same output. The LLM's role is in the assessment (which is schema-forced and persisted), not in the report (which is a deterministic projection of the assessment + KB).
# Abstract algorithm (NOT real implementation)
def build_report(case_dir, options):
case = load_case(case_dir) # KB, assessment, clusters, timeline, captures
figures = generate_figures(case, options) # deterministic: sector, timeline, attribution
screenshots = capture_missing(case, options) # egress policy
markdown = compose(case, figures, options) # house rules 0-23
pdf, docx = render(markdown, options) # pandoc/xelatex
return {markdown, pdf, docx, figures, screenshots}
The house rules (0–23) are the fixed composition contract: section numbering, figure embedding, caption format, classification marking, audience adaptation, and PII masking are all code. An LLM never decides "should this section be included" — the house rules do.
Related Pages
Implemented By
Used By Workflow
- Workflow:7onez_Cti_expert_Domain_Investigation (Step 7: Verify and Report)
- Workflow:7onez_Cti_expert_Deterministic_Case_Pipeline (Step 6: House-Style Report Rendering)