Skip to content

Commit 0d430eb

Browse files
authored
Merge pull request #1948 from Hack23/copilot/enhance-analysis-artifacts-workflows
Add OSINT/INTOP tradecraft standards methodology + align methodology & template READMEs with 23-artifact contract
2 parents 8022a1e + 2307ee0 commit 0d430eb

30 files changed

Lines changed: 1004 additions & 330 deletions

.github/prompts/00-base-contract.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@ Before producing any analysis or article content, the agent MUST have read:
3232

3333
1. This module (`00-base-contract.md`) and every imported sibling module for the workflow.
3434
2. [`analysis/methodologies/ai-driven-analysis-guide.md`](../../analysis/methodologies/ai-driven-analysis-guide.md) — DIW weighting, tier depths, Pass 1 / Pass 2 rules.
35-
3. Every template file referenced by `04-analysis-pipeline.md` (the 9 core artifacts) — and for Tier-C workflows, the additional 5 templates referenced by `ext/tier-c-aggregation.md` (executive brief, scenario analysis, comparative international, methodology reflection, per-run README).
35+
3. [`analysis/methodologies/osint-tradecraft-standards.md`](../../analysis/methodologies/osint-tradecraft-standards.md)**tradecraft canon**: ICD 203 (9 standards), Admiralty Code (`[A-F][1-6]` → 5-level confidence), WEP / Kent Scale (7 bands with EN + SV phrasing, 4 horizons), SAT catalog (≥ 10 techniques attested in `methodology-reflection.md`), OSINT ethics (GDPR Art. 9 / Offentlighetsprincipen), DIW–Admiralty reconciliation, PIR handoff (standing PIR-1…7 + Tier-C continuity contract). Every evidence citation, every confidence marker, and every `methodology-reflection.md §ICD 203 audit` derives from this document.
36+
4. Every template file referenced by `04-analysis-pipeline.md` — the **23 always-on artifacts** spanning Family A (Core Synthesis, 9 files incl. `executive-brief.md`), Family B (Structural Metadata, 2 files), Family C (Strategic Extensions — F3EAD Exploit→Analyze, 5 files incl. `methodology-reflection.md` ⭐), Family D (Electoral & Domain Lenses — F3EAD Analyze-continued, 7 files), plus Family E (per-document `{dok_id}-analysis.md`). Tier-C workflows additionally apply the period-scope multipliers and cross-type synthesis rules in `ext/tier-c-aggregation.md` — they do **not** add new files (all 23 are mandatory for every workflow).
3637

3738
No article sentence may be drafted until every required analysis artifact exists on disk and the gate in `05-analysis-gate.md` reports pass.
3839

@@ -47,7 +48,7 @@ Analysis Pass 1 → Pass 1 snapshot → Analysis Pass 2 → Analysis Gate →
4748
Stage analysis → Commit → ONE create_pull_request (analysis-only)
4849
```
4950

50-
**Run 2 — Articles** (when `$ANALYSIS_DIR` already contains all 9 core artifacts):
51+
**Run 2 — Articles** (when `$ANALYSIS_DIR` already contains all 23 required artifacts and the gate in `05-analysis-gate.md` passes):
5152
```
5253
MCP pre-warm → Detect existing analysis → Read all artifacts into context →
5354
Optionally check for new data → Article Pass 1 → Article Pass 2 →

.github/prompts/03-data-download.md

Lines changed: 19 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -7,20 +7,25 @@ Run this check as the **first action** after MCP pre-warm, before any download:
77
```bash
88
ANALYSIS_DIR="analysis/daily/$ARTICLE_DATE/$SUBFOLDER"
99

10-
# 9 core artifacts required by every workflow
11-
REQ=(synthesis-summary.md swot-analysis.md risk-assessment.md threat-analysis.md \
12-
stakeholder-perspectives.md significance-scoring.md classification-results.md \
13-
cross-reference-map.md data-download-manifest.md)
14-
15-
# Tier-C workflows require 5 additional artifacts (evening-analysis, week-ahead,
16-
# month-ahead, weekly-review, monthly-review, realtime-*, deep-inspection).
17-
# See ext/tier-c-aggregation.md for the full list.
18-
case "$SUBFOLDER" in
19-
evening-analysis|week-ahead|month-ahead|weekly-review|monthly-review|deep-inspection|realtime-*)
20-
REQ+=(README.md executive-brief.md scenario-analysis.md \
21-
comparative-international.md methodology-reflection.md)
22-
;;
23-
esac
10+
# 23 required artifacts (Families A+B+C+D) — every workflow, every run
11+
REQ=(
12+
# Family A — Core Synthesis (9)
13+
README.md executive-brief.md synthesis-summary.md significance-scoring.md \
14+
classification-results.md swot-analysis.md risk-assessment.md \
15+
threat-analysis.md stakeholder-perspectives.md \
16+
# Family B — Structural Metadata (2)
17+
data-download-manifest.md cross-reference-map.md \
18+
# Family C — Strategic Extensions (5)
19+
scenario-analysis.md comparative-international.md devils-advocate.md \
20+
intelligence-assessment.md methodology-reflection.md \
21+
# Family D — Electoral & Domain Lenses (7)
22+
election-2026-analysis.md voter-segmentation.md coalition-mathematics.md \
23+
historical-parallels.md media-framing-analysis.md \
24+
implementation-feasibility.md forward-indicators.md)
25+
26+
# Tier-C workflows add no new files — all 23 are already mandatory. What Tier-C
27+
# adds is the cross-type synthesis + period multipliers enforced by
28+
# ext/tier-c-aggregation.md and the gate in 05-analysis-gate.md.
2429

2530
SKIP_ANALYSIS=false
2631
ALL_PRESENT=true

0 commit comments

Comments
 (0)