You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/prompts/04-analysis-pipeline.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -73,7 +73,7 @@ Produced in `analysis/daily/$ARTICLE_DATE/$SUBFOLDER/`. The output set is **stab
73
73
74
74
> **Fast-path**: If `SKIP_ANALYSIS=true` (set by `03-data-download.md §Pre-flight`), skip all steps 1–5 below and proceed directly to `06-article-generation.md`. The full analysis already exists on disk from a prior run — do not re-run downloads, Pass 1, Pass 2, or the gate.
75
75
76
-
1.**Read all 10 methodologies first** (one tool call per file; skipping fails the gate via `methodology-reflection.md §evidence` audit).
76
+
1.**Read all relevant methodologies first** (the primary methodology guide plus every supporting framework listed above, including `osint-tradecraft-standards.md`; one tool call per file; skipping fails the gate via `methodology-reflection.md §evidence` audit).
77
77
2.**Read all 23 templates first** — at minimum open each Family A/B/C/D template before writing its artifact.
78
78
3.**Pass 1 — Create** all 23 always-on artifacts + every per-document file. Minimum 20 minutes of real work.
79
79
4.**Snapshot Pass-1** — copy every Pass-1 file into `$ANALYSIS_DIR/pass1/` before starting Pass 2: `mkdir -p "$ANALYSIS_DIR/pass1" && cp "$ANALYSIS_DIR"/*.md "$ANALYSIS_DIR/pass1/"`. The `pass1/` directory is the fallback evidence the gate uses when mtime windows are too tight. Do **not** stage `pass1/` in the PR (see `07-commit-and-pr.md`).
Copy file name to clipboardExpand all lines: .github/prompts/05-analysis-gate.md
+7-3Lines changed: 7 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,10 +18,10 @@ This is the **only** gate separating analysis from article generation. If it fai
18
18
3.**No stubs** — zero occurrences of `AI_MUST_REPLACE`, `[REQUIRED]`, `TODO:`, or `Lorem ipsum` across all artifacts.
19
19
4.**Evidence citations** — `swot-analysis.md` and `significance-scoring.md` contain at least one piece of primary-source evidence per quadrant / ranked item. Accepted evidence patterns: a `dok_id` (e.g. `H901FiU1`, `HD01CU27`) **or** a primary-source URL host (`riksdagen.se`, `regeringen.se`, `scb.se`, `worldbank.org`, `data.imf.org`). Enforced against SWOT `### Strengths/Weaknesses/Opportunities/Threats` sections (bullets + table rows) and significance-scoring bullets **plus** ranking table rows and Mermaid node labels.
20
20
5.**Mermaid diagrams** — every Family A and Family D synthesis file contains ≥ 1 Mermaid diagram with colour-coded `style` directives (or `themeVariables` / `%%{init …}` block).
21
-
6.**Pass-2 done** — agent has read each Family A + C core artifact back after creation and committed improvements. (Enforced by file mtime diff: final file mtime > creation time + 3 min, OR two git-history snapshots on disk.)
21
+
6.**Pass-2 done** — agent has read back each enforced Pass-2 artifact after creation and committed improvements: all Family A, B, C, and D artifacts except `data-download-manifest.md`. (Enforced by file mtime diff: final file mtime > creation time + 3 min, OR two git-history snapshots on disk.)
22
22
7.**Family C structure checks** (extension-quality gate):
23
23
-`executive-brief.md` contains a `## 🎯 BLUF` section **and** a `## 🧭 3 Decisions` (or `Decisions This Brief Supports`) section.
24
-
-`intelligence-assessment.md` declares **≥ 3 Key Judgments**with confidence labels (`HIGH`, `MEDIUM`, `LOW`, `VERY HIGH`, `VERY LOW`) and references at least one PIR.
24
+
-`intelligence-assessment.md` declares **≥ 3 Key Judgments**(enforced structurally by `Key Judgment` / `KJ-*` header count ≥ 3) each carrying at least one confidence label (`VERY HIGH`, `HIGH`, `MEDIUM`, `LOW`, `VERY LOW`) — the confidence-label presence is audited by the implementation's `grep -cE '(VERY HIGH|HIGH|MEDIUM|LOW|VERY LOW)'` check on the same file — and the file references at least one PIR.
Copy file name to clipboardExpand all lines: analysis/methodologies/osint-tradecraft-standards.md
+9-7Lines changed: 9 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -246,15 +246,17 @@ Professional intelligence analysis uses a **calibrated probabilistic vocabulary*
246
246
247
247
### 3.1 The Seven Bands
248
248
249
+
Canonical seven-band vocabulary matches [`political-style-guide.md §Confidence Scale`](political-style-guide.md) — **do not substitute synonyms** (e.g. "probable", "highly probable", "almost no chance") in analytic conclusions.
250
+
249
251
| Band | English phrase | Swedish equivalent (for SV articles) | Numeric range | Indicative usage |
250
252
|:---:|---|---|:---:|---|
251
-
|**1**|**Almost no chance**/ *remote*|*Så gott som utesluten*| 1 – 5 % | "There is almost no chance V will vote to support the government's defence-budget proposition." |
252
-
|**2**|**Very unlikely**/ *highly improbable*|*Mycket osannolikt*|5 – 20 % | "A split within SD over migration policy before the 2026 election is very unlikely given the party's current whip discipline." |
253
-
|**3**|**Unlikely**/ *improbable*|*Osannolikt*| 20 – 45 % | "Unilateral Regeringskansliet blocking of an EU-initiated trilogue is unlikely, given Sweden's Council commitments." |
254
-
|**4**|**Roughly even chance**|*Ungefär lika sannolikt som inte*| 45 – 55 % | "There is a roughly even chance that C and L will split over budget priorities in Q3." |
255
-
|**5**|**Likely**/ *probable*|*Sannolikt*|55 – 80 % | "The M–KD compromise on the Wind-Power Revenue Act (HD03239) will likely survive the chamber vote." |
256
-
|**6**|**Very likely**/ *highly probable*|*Mycket sannolikt*| 80 – 95 % | "Very likely the budget discharge will pass on first chamber vote." |
257
-
|**7**|**Almost certain**/ *nearly certain*|*Så gott som säkert*|95 – 99 % | "Extra amendment budget FiU48 is almost certain to be adopted this plenary." |
253
+
|**1**|**Remote**|*Så gott som utesluten*| 1 – 7 % | "V voting to support the government's defence-budget proposition is remote." |
254
+
|**2**|**Very unlikely**|*Mycket osannolikt*|10 – 20 % | "A split within SD over migration policy before the 2026 election is very unlikely given the party's current whip discipline." |
255
+
|**3**|**Unlikely**|*Osannolikt*| 20 – 37 % | "Unilateral Regeringskansliet blocking of an EU-initiated trilogue is unlikely, given Sweden's Council commitments." |
256
+
|**4**|**Roughly even**|*Ungefär lika sannolikt som inte*| 45 – 55 % | "There is a roughly even chance that C and L will split over budget priorities in Q3." |
257
+
|**5**|**Likely**|*Sannolikt*|63 – 80 % | "The M–KD compromise on the Wind-Power Revenue Act (HD03239) will likely survive the chamber vote." |
258
+
|**6**|**Very likely**|*Mycket sannolikt*| 80 – 90 % | "Very likely the budget discharge will pass on first chamber vote." |
259
+
|**7**|**Almost certain**|*Så gott som säkert*|93 – 99 % | "Extra amendment budget FiU48 is almost certain to be adopted this plenary." |
0 commit comments