techprotrade commited on
Commit
76085b8
·
verified ·
1 Parent(s): e0111e3

Add docs directory

Browse files
Files changed (1) hide show
  1. docs/architecture.md +13 -0
docs/architecture.md ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Architecture
2
+
3
+ ## Agent Pipeline
4
+ Inspector → OCR → Editor → Annotator → Validator → Exporter
5
+
6
+ ## Data Flow
7
+ Every stage writes a new intermediate file to the job folder.
8
+ The orchestrator manages routing, logging, and error propagation.
9
+ The export agent copies the final validated PDF to the user-selected output folder.
10
+
11
+ ## Logging
12
+ Structured JSONL log per job: `<output_dir>/job-<id>/pipeline.jsonl`
13
+ Manifest JSON per job: `<output_dir>/manifest.json`