How chikara11/deloitte works
AuditBridge accepts invoice cases, applies tenant isolation and security screening, normalizes evidence, runs control checks and expert review, then records human gate decisions before producing an exportable control sheet. The 5-gate workflow and documented audit-log capabilities are represented alongside the sampled runtime modules. The harness and API excerpts are partial; links for documented but unsampled steps cite the README, and the Google Cloud services shown are target integrations rather than confirmed active local wiring.
Main entry points: harness.py 5-Gate Harness · audit_logger.py Hash-Chained Audit Log · main.py FastAPI API · gate1.py Gate 1 Screening
Components 26
Intake & Security
- Gate 1 Screening
app/security/gate1.py - DLP Tokenizer
app/security/dlp_tokenizer.py - Model Armor
app/security/model_armor.py - Document Ingestion
app/data/ingest.py - Invoice Normalizer
app/data/normalizer.py
Audit & Expertise
- Auditor Rules
app/agents/auditor.py - Auditeur Agent
app/agents/auditeur_agent.py - Skeptic Check
app/agents/skeptic_agent.py - Brief Drafting
app/agents/bridge.py - Legal Expert
app/agents/legal_agent.py - Quant Expert
app/agents/quant_agent.py - Confidence Synthesis
app/agents/synthesis.py
Human Governance
- FastAPI API
app/main.py - 5-Gate Harness
app/agents/harness.py
Records & Evidence
- Tenant Passports
app/data/passports.py - Case & Event Models
app/agents/models.py - Hash-Chained Audit Log
app/data/audit_logger.py - Evidence Vector Store
app/data/vector_store.py - Governance References
app/data/governance_refs.py - Document Store
app/data/storage.py
Documentation
- Control Sheet
app/agents/fiche_controle.py - MD / DOCX Export
app/agents/exporter.py
Other components
- Auditor
- Google Cloud Storage
- Cloud Firestore
- Cloud Pub/Sub
Connections 30
- Auditor → FastAPI API: submits case
README.md - FastAPI API → 5-Gate Harness: routes gate actions
app/main.py - 5-Gate Harness → Gate 1 Screening: runs screening
app/agents/harness.py - Document Ingestion → Gate 1 Screening: screens input
app/data/ingest.py - Document Ingestion → DLP Tokenizer: tokenizes content
app/data/ingest.py - Gate 1 Screening → Model Armor: checks prompts
app/security/gate1.py - Invoice Normalizer → Tenant Passports: loads mapping
app/data/normalizer.py - Invoice Normalizer → Gate 1 Screening: checks tenant
app/data/normalizer.py - 5-Gate Harness → Auditor Rules: runs controls
app/agents/harness.py - Auditor Rules → Invoice Normalizer: uses canonical invoice
app/agents/auditor.py - 5-Gate Harness → Brief Drafting: drafts briefs
app/agents/harness.py - 5-Gate Harness → Hash-Chained Audit Log: records decisions
app/agents/harness.py - 5-Gate Harness → Confidence Synthesis: computes confidence
app/agents/harness.py - 5-Gate Harness → MD / DOCX Export: enables final export
README.md - 5-Gate Harness → Legal Expert: requests expert review
README.md - 5-Gate Harness → Quant Expert: requests expert review
README.md - Auditor Rules → Skeptic Check: checks evidence
- Skeptic Check → Evidence Vector Store: verifies chunks
app/agents/skeptic_agent.py - Legal Expert → Evidence Vector Store: searches evidence
app/agents/legal_agent.py - Quant Expert → Evidence Vector Store: searches evidence
app/agents/quant_agent.py - 5-Gate Harness → Case & Event Models: updates case
app/agents/harness.py - Hash-Chained Audit Log → Case & Event Models: stores events
app/data/audit_logger.py - FastAPI API → Hash-Chained Audit Log: lists and streams events
app/main.py - FastAPI API → Document Store: serves documents
app/main.py - Document Store → Google Cloud Storage: reads and writes
app/data/storage.py - Hash-Chained Audit Log → Cloud Firestore: persists case events
README.md - Hash-Chained Audit Log → Cloud Pub/Sub: publishes live events
README.md - 5-Gate Harness → Control Sheet: generates documentation
README.md - Control Sheet → MD / DOCX Export: renders formats
- Auditeur Agent → Governance References: loads references
app/agents/auditeur_agent.py