How amankumar5345/esko_hackathon works
Revision Brief is a Streamlit workspace that turns packaging artwork and a change-request email into a reviewed, exportable agency brief. Users submit both inputs; artwork and email extraction run in parallel, followed by alignment, deterministic regulatory ripple analysis, clarification, and row-by-row approval before export. The graph also includes workspace/session history and the major review views. Relationships reflect README statements and shown imports/routes; unsampled component internals are represented at their documented paths rather than inferred in detail.
Main entry points: streamlit_app.py Streamlit entry · nodes.py Workflow stages · workflow.py LangGraph workflow · intake.py Revision intake
Components 26
Workspace UI
- Streamlit entry
app/streamlit_app.py - Revision intake
app/components/intake.py - Overview dashboard
app/components/dashboard.py - Artwork workspace
app/components/artwork_viewer.py - Regulatory findings
app/components/regulatory_panel.py - Clarification review
app/components/qa_panel.py - Protected elements
app/components/locked_panel.py - Session history
app/components/history.py - Workflow runner
app/ui/runner.py
Input extraction
- Artwork extraction
src/ingestion/artwork_parser.py - Artwork crops
src/ingestion/cropper.py - Email intent extraction
src/ingestion/email_parser.py
Analysis workflow
- LangGraph workflow
src/graph/workflow.py - Workflow stages
src/graph/nodes.py - Intent alignment
src/engine/aligner.py - CPG ripple rules
src/engine/cpg_rules.py - Rule display catalog
src/engine/rule_catalog.py
Review and delivery
- Brief review
app/components/review_table.py - Export center
app/components/export_center.py - Human clarification
src/graph/nodes.py - Brief synthesis
src/graph/nodes.py - Brief exporters
src/export/brief_exporter.py
Session state
- Graph checkpoints
src/graph/workflow.py - Session registry
src/sessions.py - Workspace context
app/ui/context.py
Other components
- Brand manager
Connections 29
- Brand manager → Streamlit entry: opens workspace
- Streamlit entry → Revision intake: routes to
app/streamlit_app.py - Streamlit entry → Overview dashboard: routes to
app/streamlit_app.py - Streamlit entry → Artwork workspace: routes to
app/streamlit_app.py - Streamlit entry → Regulatory findings: routes to
app/streamlit_app.py - Streamlit entry → Clarification review: routes to
app/streamlit_app.py - Streamlit entry → Brief review: routes to
app/streamlit_app.py - Streamlit entry → Protected elements: routes to
app/streamlit_app.py - Streamlit entry → Export center: routes to
app/streamlit_app.py - Streamlit entry → Session history: routes to
app/streamlit_app.py - Revision intake → Workflow runner: queues run
app/components/intake.py - Workflow runner → LangGraph workflow: runs graph
- LangGraph workflow → Workflow stages: dispatches stages
src/graph/workflow.py - LangGraph workflow → Graph checkpoints: checkpoints state
src/graph/workflow.py - Workflow stages → Artwork extraction: extracts artwork
src/graph/nodes.py - Workflow stages → Email intent extraction: extracts intents
src/graph/nodes.py - Artwork extraction → Artwork crops: creates crops
src/ingestion/artwork_parser.py - Workflow stages → Intent alignment: aligns intents
src/graph/nodes.py - Workflow stages → CPG ripple rules: runs ripple rules
src/graph/nodes.py - Workflow stages → Human clarification: interrupts for answers
src/graph/nodes.py - Workflow stages → Brief synthesis: builds reviewed rows
src/graph/nodes.py - Workflow stages → Brief exporters: generates exports
src/graph/nodes.py - Artwork workspace → Rule display catalog: shows rule metadata
app/components/artwork_viewer.py - Regulatory findings → Rule display catalog: shows rule coverage
- Brief review → Workflow stages: submits decisions
- Export center → Brief exporters: downloads outputs
- Revision intake → Session registry: registers session
app/components/intake.py - Workspace context → Session registry: loads session data
app/ui/context.py - Workspace context → LangGraph workflow: loads graph state
app/ui/context.py