π Analysis Index Template
May 3, 2026 Β· View on GitHub
π Template Instructions β Copy to
analysis/daily/$ARTICLE_DATE/$SUBFOLDER/analysis-index.md. Produced at the end of Pass 2 (after every other artifact is finalised) as the read-me-first index of the run. Seeper-artifact-methodologies.md Β§analysis-index.
π― Purpose β Comprehensive directory of every artifact in this run with recommended reading order for the article generator, downstream reviewers and the next same-type run. Answers: "what exists in this run and what should I read first?"
π Tradecraft Context
- Workflow role β Final navigation layer for the run; produced at the end of Pass 2 after all required artifacts are complete, reviewed and internally consistent.
- Primary users β Article generator, human reviewers, later same-type runs, and audit/compliance readers needing a single entry point into the full analysis set.
- Why it matters β Reduces retrieval errors, makes reading order explicit, surfaces degraded or missing artifacts, and provides the canonical map of what evidence existed before any article text was written.
- Tradecraft rule β Do not introduce new claims here. Summarise and link the run's completed artifacts; point readers to the authoritative source artifact for each major finding.
- AI-FIRST requirement β Complete only after both passes finish: Pass 1 creates the artifact set; Pass 2 re-reads, improves, validates consistency, then assembles this index as the read-me-first navigator.
π Template Contract β every fill of this template MUST satisfy this row.
Slot Value Owning methodology per-artifact-methodologies.mdOwning gate check Check 1 (presence) + supplementary β see 05-analysis-gate.mdRequired inputs all peers in the run folder Horizon band per-run (per scripts/horizon-context.ts)Output family Operational Supplementary Aggregation order appended (alphabetical, after canonical block) (see scripts/render-lib/aggregator/order.ts)Reader Intelligence Guide row generated from analysis-index.md(seescripts/render-lib/aggregator/reader-guide.ts)Canonical evidence anchor | claim | evidence (dok_id / vote / MP intressent_id / primary-source URL) | retrieved_at | confidence |β every analytical claim row uses this schema.Cross-reference:
README.md Β§Template β Methodology β Gate-Check Matrix.
π Document Metadata
| Field | Value |
|---|---|
| Report ID | [REQUIRED: AI-YYYY-MM-DD-runNN] |
| Run Date | [REQUIRED: YYYY-MM-DD] |
| Article Type | [REQUIRED: breaking / evening / weekly / monthly / motions / propositions / committee-reports / interpellations / week-ahead / month-ahead / realtime-monitor] |
| Run Number | [REQUIRED: runNN] |
| Run Directory | [REQUIRED: analysis/daily/YYYY-MM-DD/{type}-runNN/] |
| Runtime Duration | [REQUIRED: HH:MM:SS] |
| Pass 1 Completed | [REQUIRED: β
/ β] |
| Pass 2 Completed | [REQUIRED: β
/ β] |
| Data Sources Attempted | [REQUIRED: count of MCP tool invocations] |
| Data Sources Succeeded | [REQUIRED: count] |
| Confidence | [REQUIRED: HIGH π’ / MEDIUM π‘ / LOW π΄] |
1οΈβ£ Run Summary
Article type β [REQUIRED]
Run ID β [REQUIRED: {type}-run{N}]
Date β [REQUIRED: YYYY-MM-DD]
Wall-clock runtime β [REQUIRED]
Completion status β [REQUIRED: β
Complete / β οΈ Degraded / β Incomplete]
Gate status β [REQUIRED: β
PASSED / β FAILED β reasons listed below]
One-paragraph (3β5 sentences) narrative summary of what this run produced, the dominant finding, and any degradation notes. Cite the single most-important artifact.
2οΈβ£ Production Stage Diagram
%%{init: {"theme":"dark","themeVariables":{"primaryColor":"#1565C0","primaryTextColor":"#ffffff","lineColor":"#90CAF9","secondaryColor":"#2E7D32","tertiaryColor":"#FF9800","fontFamily":"Inter, Helvetica, Arial, sans-serif"}}}%%
flowchart LR
P03["03 β data download"] --> P04P1["04 β Pass 1 create"]
P04P1 --> P04P2["04 β Pass 2 improve"]
P04P2 --> P05["05 β gate"]
P05 --> P06["06 β article"]
P06 --> P07["07 β commit & PR"]
classDef ok fill:#2E7D32,color:#ffffff
classDef warn fill:#FF9800,color:#000000
classDef fail fill:#D32F2F,color:#ffffff
class P03,P04P1,P04P2,P05,P06,P07 ok
Annotate each node β / β οΈ / β based on actual execution.
3οΈβ£ Artifact Inventory β Core Always-On (23)
| # | Family | Canonical filename | On-disk path | Lines | Floor | Status |
|---|---|---|---|---|---|---|
| 1 | A | README.md | README.md | [#] | [floor] | [β
/β οΈ/β] |
| 2 | A | executive-brief.md | executive-brief.md | [#] | [floor] | [β¦] |
| 3 | A | synthesis-summary.md | synthesis-summary.md | [#] | [floor] | [β¦] |
| 4 | A | significance-scoring.md | significance-scoring.md | [#] | [floor] | [β¦] |
| 5 | A | classification-results.md | classification-results.md | [#] | [floor] | [β¦] |
| 6 | A | swot-analysis.md | swot-analysis.md | [#] | [floor] | [β¦] |
| 7 | A | risk-assessment.md | risk-assessment.md | [#] | [floor] | [β¦] |
| 8 | A | threat-analysis.md | threat-analysis.md | [#] | [floor] | [β¦] |
| 9 | A | stakeholder-perspectives.md | stakeholder-perspectives.md | [#] | [floor] | [β¦] |
| 10 | B | data-download-manifest.md | data-download-manifest.md | [#] | [floor] | [β¦] |
| 11 | B | cross-reference-map.md | cross-reference-map.md | [#] | [floor] | [β¦] |
| 12 | C | scenario-analysis.md | scenario-analysis.md | [#] | [floor] | [β¦] |
| 13 | C | comparative-international.md | comparative-international.md | [#] | [floor] | [β¦] |
| 14 | C | devils-advocate.md | devils-advocate.md | [#] | [floor] | [β¦] |
| 15 | C | intelligence-assessment.md | intelligence-assessment.md | [#] | [floor] | [β¦] |
| 16 β | C | methodology-reflection.md | methodology-reflection.md | [#] | [floor] | [β¦] |
| 17 | D | election-2026-analysis.md | election-2026-analysis.md | [#] | [floor] | [β¦] |
| 18 | D | voter-segmentation.md | voter-segmentation.md | [#] | [floor] | [β¦] |
| 19 | D | coalition-mathematics.md | coalition-mathematics.md | [#] | [floor] | [β¦] |
| 20 | D | historical-parallels.md | historical-parallels.md | [#] | [floor] | [β¦] |
| 21 | D | media-framing-analysis.md | media-framing-analysis.md | [#] | [floor] | [β¦] |
| 22 | D | implementation-feasibility.md | implementation-feasibility.md | [#] | [floor] | [β¦] |
| 23 | D | forward-indicators.md | forward-indicators.md | [#] | [floor] | [β¦] |
Floors from reference-quality-thresholds.json.
Notes on the 23-artifact core β
cross-reference-map.mdis a single artifact; Tier-C adds sibling-folder citations inside the same file (do not create a second file). Per-document analyses live underdocuments/{dok_id}-analysis.md(Family E template, validated by gate Check 2) and are not counted in this 23-row core inventory.
4οΈβ£ Artifact Inventory β Operational Supplementary (present in this run)
| # | Filename | Produced? | Lines | Floor | Notes |
|---|---|---|---|---|---|
| S1 | analysis-index.md (this file) | β | [#] | 120 | β |
| S2 | reference-analysis-quality.md | [β
/β] | [#] | 120 | Mandatory for comprehensive |
| S3 | mcp-reliability-audit.md | [β
/β] | [#] | 150 | Mandatory for comprehensive |
| S4 | workflow-audit.md | [β
/β] | [#] | 120 | Mandatory for comprehensive |
| S5 | cross-run-diff.md | [β
/N/A] | [#] | 130 | N/A if first run |
| S6 | cross-session-intelligence.md | [β
/N/A] | [#] | 140 | N/A unless aggregation workflow |
| S7 | session-baseline.md | [β
/N/A] | [#] | 140 | N/A unless aggregation workflow |
5οΈβ£ Family-E Per-Document Files
dok_id | Path | DIW tier | Lines | Floor | Cluster? |
|---|---|---|---|---|---|
[REQUIRED] | documents/[dok_id]-analysis.md | [L1/L2/L2+/L3] | [#] | [floor] | [y/n] |
Total Family-E files: [#]. Clusters: [#].
6οΈβ£ Recommended Reading Order
For the article generator (module 06):
synthesis-summary.mdβ BLUF and Key Judgments.significance-scoring.mdβ tier-sorted headline items.stakeholder-perspectives.mdβ quote sources.risk-assessment.md+threat-analysis.mdβ for risk/conflict framing.forward-indicators.mdβ closing "what to watch" section.methodology-reflection.mdβ confidence + caveats for byline.
For a downstream reviewer (humans + next-run agent):
- This index.
methodology-reflection.md+reference-analysis-quality.md(if present).cross-run-diff.md(if present) β what changed since last run.synthesis-summary.md.- Any artifact flagged β οΈ in Β§3 or Β§4.
7οΈβ£ MCP & Data Source Summary
| Server / tool | Calls | Succeeded | Failed | Mean latency | Notes |
|---|---|---|---|---|---|
riksdag-regering | [#] | [#] | [#] | [ms] | β |
scb | [#] | [#] | [#] | [ms] | β |
world-bank | [#] | [#] | [#] | [ms] | β |
IMF (tsx scripts/imf-fetch.ts) | [#] | [#] | [#] | [ms] | β |
github | [#] | [#] | [#] | [ms] | module 07 only |
Full detail β see mcp-reliability-audit.md when present.
8οΈβ£ Gate Outcome
Gate result β [REQUIRED: β
PASSED / β FAILED]
Failing checks β [REQUIRED: list or "none"]
Waivers applied β [REQUIRED: list or "none"]
If β FAILED, the article MUST NOT be published. See 05-analysis-gate.md outcome rules.
9οΈβ£ Changelog for This Run
[REQUIRED]1-line summary of what improved vs Pass 1 (link tocross-run-diff.mdfor run-over-run delta).[REQUIRED]Any MCP degradations and their mitigations.[REQUIRED]Any methodology deviations (e.g. waiver approved) and the human approver.
π Cross-References
- Methodology:
../methodologies/per-artifact-methodologies.md#analysis-index - Catalog:
../methodologies/artifact-catalog.md - Thresholds:
../methodologies/reference-quality-thresholds.json - Gate:
../../.github/prompts/05-analysis-gate.md
Template version: v1.2 Β· Last updated: 2026-04-25
β Pass-2 Self-Audit Checklist (v4.4 β required)
Purpose: AI-FIRST principle requires a Pass-2 read-back-and-improve. After producing this artifact in Pass 1, re-read it end-to-end and verify each item below. Document any remediation in
methodology-reflection.mdΒ§"Pass-2 audit log". Any unchecked β box at the end of Pass 2 forces a Pass-3 rewrite of the affected section.
- Tradecraft anchors honoured β F3EAD stage matches the artifact's role; PIRs declared in the Β§Tradecraft Context block are actually addressed in the body; Admiralty grades attached to every external source; WEP band + ODNI confidence on every probabilistic judgement.
- Source diversity floor met β at least the minimum number of independent MCP sources required by the artifact's tradecraft block are cited; single-source claims are explicitly labelled
[SINGLE-SOURCE β corroboration pending]. - Evidence specificity β every quantified claim cites a
dok_id(Riksdag), an SCB / IMF dataflow code, or a named external source with date; no "according to data" / "studies show" hand-waves. - Named-actor discipline β every political claim names β₯ 1 person (party + role + dated act/quote) or labels the absence (
[diffuse β no named actor]). - Counter-narrative present β at least one explicit competing hypothesis, dissent quote, or framed objection appears in the body; "no opposition recorded" is itself a finding to label, not silence.
- Election 2026 lens applied β the Β§"Election 2026 Implications" subsection (or equivalent) addresses electoral salience, coalition pressure, and forward indicators; not boilerplate.
- No illustrative content shipped as fact β every
[REQUIRED]placeholder is filled OR removed; everyExample:block is clearly fenced or removed; no fabricateddok_id, vote count, or quote leaks into the final artifact. - Cross-references resolve β every
[link](file.md)in this artifact points to a file that exists in the run folder (analysis/daily/$ARTICLE_DATE/$SUBFOLDER/) or to a methodology / template underanalysis/. - Mermaid renders β every fenced
```mermaidblock parses (no missing class definitions, no orphan nodes, no >40-node graphs that overflow viewport on mobile). - Line-floor check β artifact length β₯ the per-artifact floor in
reference-quality-thresholds.json; shorter artifacts trigger Pass-2 rewrite, never a[truncated]note.