How carlosdanyell/auditanalyzer works
AuditAnalyzer is a browser-only accounting audit platform. Users choose a tool, upload Protheus XLSX extractions, review reconciliation and analysis results, and export an Excel workpaper. The UI delegates processing to a Web Worker, which streams and validates files before tool-specific analysis; the worker returns aggregates and row pages to the UI. The README documents both CFGR700 and CT2 integrity capabilities. Some subsystem links below reflect README-level workflow descriptions because their implementation files were not sampled.
Main entry points: handler.ts Worker dispatcher · App.tsx Application shell · pipeline.ts Streaming XLSX ingest · workerClient.ts Worker client
Components 22
User experience
- Application shell
src/app/App.tsx - Tool registry
src/modules/registry.ts - Tool configuration
src/config/schema.ts - Platform settings
src/config/platform.ts - Worker client
src/app/workerClient.ts - Local preferences
src/app/db.ts
Ingestion and storage
- Worker dispatcher
src/worker/handler.ts - File probe
src/worker/ingest/probe.ts - Streaming XLSX ingest
src/worker/ingest/pipeline.ts - Columnar store
src/worker/store/columns.ts
Audit analysis
- CFGR700 analysis
src/worker/engine/analysis.ts - Audit checks
src/worker/engine/checks.ts - CT2 extraction
src/worker/modules/ct2Integrity/ingest.ts - CT2 integrity tests
src/worker/modules/ct2Integrity/analysis.ts - CT2 profile
src/worker/modules/ct2Integrity/profile.ts
Review and export
- Reconciliation views
src/components/ReconciliationView.tsx - Analysis panels
src/app/views/PanelView.tsx - Tables and justifications
src/app/views/TablesView.tsx - Export view
src/app/views/ExportView.tsx - Excel workpaper
src/worker/export/paperwork.ts - Download handling
src/app/download.ts
Other components
- Auditor
Connections 23
- Auditor → Application shell: chooses tool
README.md - Application shell → Tool registry: selects module
src/app/App.tsx - Application shell → Tool configuration: configures analysis
src/app/App.tsx - Application shell → Platform settings: sets holidays
src/app/App.tsx - Application shell → Worker client: sends commands
src/app/App.tsx - Worker client → Worker dispatcher: posts messages
src/app/workerClient.ts - Application shell → Local preferences: saves preferences
src/app/App.tsx - Worker dispatcher → File probe: probes files
src/worker/handler.ts - Worker dispatcher → Streaming XLSX ingest: dispatches ingest
src/worker/handler.ts - Streaming XLSX ingest → Columnar store: streams rows
src/worker/ingest/pipeline.ts - Streaming XLSX ingest → CFGR700 analysis: analyzes report
README.md - Streaming XLSX ingest → CT2 extraction: reads CT2
README.md - CFGR700 analysis → Audit checks: runs checks
README.md - CT2 extraction → CT2 integrity tests: runs integrity tests
README.md - CT2 integrity tests → CT2 profile: builds profile
README.md - Worker dispatcher → Reconciliation views: returns reconciliation
README.md - Worker dispatcher → Analysis panels: returns aggregates
README.md - Worker dispatcher → Tables and justifications: returns row pages
README.md - Export view → Worker client: requests export
README.md - Worker dispatcher → Excel workpaper: generates workbook
README.md - Excel workpaper → Download handling: returns workbook
README.md - Auditor → Reconciliation views: reviews results
README.md - Auditor → Export view: requests workbook
README.md