How archithar07/concord works
CONCORD ingests policy files, extracts obligations, compares and reconciles them, resolves precedence and staleness, analyzes the resulting policy graph, maps coverage gaps, and compiles a master policy. The dashboard uploads policies and presents ingestion, analysis, audit, and compilation results through a Node API reading pipeline artifacts. The main orchestrator and API behavior are sampled; later-stage capabilities and dashboard panels are also documented in the README, but their internal implementations were not inspected.
Main entry points: run_pipeline.py Pipeline orchestrator · index.ts Express API · Home.tsx Dashboard home · IngestTab.tsx Ingest view
Components 30
Dashboard
- Dashboard home
concord-frontend/client/src/pages/Home.tsx - Ingest view
concord-frontend/client/src/components/IngestTab.tsx - Bicameral analytics
concord-frontend/client/src/components/BicameralTab.tsx - Precedence and mesh
concord-frontend/client/src/components/MeshTab.tsx - Audit view
concord-frontend/client/src/components/AuditTab.tsx - Threat coverage
concord-frontend/client/src/components/ThreatCoverageMap.tsx - Compiled policy
concord-frontend/client/src/components/CompiledDocumentView.tsx
Ingestion and resolution
- Pipeline orchestrator
a1build/run_pipeline.py - Policy ingestion
a1build/backend/engine/models/l0_ingest.py - Obligation extraction
a1build/backend/engine/models/l1_extract.py - Semantic embeddings
a1build/backend/engine/models/l2_lens.py - Candidate filtering
a1build/backend/engine/rules/filter_l3.py - Rule and LLM bench
a1build/backend/engine/rules/rule_bench_l4.py - LLM adjudication
a1build/backend/engine/models/l4_llm_bench.py - Trust reconciliation
a1build/backend/engine/models/l5_trust_reconcile.py - Precedence resolution
a1build/backend/engine/rules/arbitrate_l6.py - Staleness analysis
a1build/backend/engine/rules/decay_l7.py
Graph analysis
- Policy graph
a1build/backend/engine/rules/mesh_l8.py - Centrality scoring
a1build/backend/engine/rules/centrality_l9.py - Policy debt scores
a1build/backend/engine/rules/score_l10.py - Compass mapping
a1build/backend/engine/rules/compass_l11.py - Voice explanations
a1build/backend/engine/rules/voice_l12.py
Threat mapping and publication
- CRUCIBLE mapping
a1build/backend/engine/models/crucible_l15.py - SYNOD compilation
a1build/backend/engine/models/synod_l16.py
API and artifacts
- Express API
concord-frontend/server/index.ts - Pipeline artifacts
a1build/backend/engine/models/config.py
Other components
- Policy analyst
- Policy files
- LLM providers
- MITRE ATT&CK
Connections 36
- Policy analyst → Dashboard home: uses
- Dashboard home → Ingest view: offers ingestion
- Dashboard home → Bicameral analytics: shows analytics
- Dashboard home → Precedence and mesh: shows resolutions
- Dashboard home → Audit view: shows audit
- Dashboard home → Threat coverage: shows coverage
- Dashboard home → Compiled policy: shows compilation
- Ingest view → Express API: uploads files
- Express API → Policy files: stores uploads
- Express API → Pipeline orchestrator: runs pipeline
- Pipeline orchestrator → Policy ingestion: calls
- Policy ingestion → Policy files: reads
- Pipeline orchestrator → Obligation extraction: calls
- Pipeline orchestrator → Semantic embeddings: calls
- Pipeline orchestrator → Candidate filtering: calls
- Pipeline orchestrator → Rule and LLM bench: calls
- Pipeline orchestrator → LLM adjudication: calls escalations
- LLM adjudication → LLM providers: queries cascade
- Pipeline orchestrator → Trust reconciliation: calls
- Pipeline orchestrator → Precedence resolution: calls
- Pipeline orchestrator → Staleness analysis: calls
- Pipeline orchestrator → Policy graph: builds graph
- Pipeline orchestrator → Centrality scoring: computes centrality
- Pipeline orchestrator → Policy debt scores: computes scores
- Pipeline orchestrator → Compass mapping: applies mapping
- Pipeline orchestrator → Voice explanations: adds explanations
- Pipeline orchestrator → CRUCIBLE mapping: runs
- CRUCIBLE mapping → MITRE ATT&CK: maps coverage
- Pipeline orchestrator → SYNOD compilation: runs
- Pipeline orchestrator → Pipeline artifacts: writes outputs
- Express API → Pipeline artifacts: reads outputs
- Express API → Threat coverage: serves coverage
- Express API → Compiled policy: serves document
- Express API → Audit view: serves findings
- Express API → Bicameral analytics: serves scores
- Express API → Precedence and mesh: serves graph data