How mazzyy/product-eng-curser works
TAKT is a production-engineering decision-support prototype: line and shift information is turned into signals, causes and priorities, then into containment, method-change and maintenance decisions presented to engineers. Its documented workflow and README describe capabilities beyond the sampled excerpts, so the graph includes those documented stages but leaves uncertain implementation wiring out. The repository also contains a distinct Gigafactory tablet-monitor application, shown as a separate optional WebSocket-connected branch.
Main entry points: station_db.py Station Data Access · cause_finder.py Cause Finder · app.py TAKT API · live.py Live Engine
Components 21
Line Inputs
- Line Simulator
generate_data.py - Station Data Access
station_db.py - Shift Notes Reader
floor_listener.py
Detection And Analysis
- Signal Checker
train_model.py - People Model
train_people_model.py - Cause Finder
cause_finder.py - Method Checker
method_checker.py - Impact Ranker
impact_ranker.py
Operational Decisions
- Containment
containment.py - Change Manager
change_manager.py - Maintenance Predictor
maintenance.py - Live Engine
live.py
Engineer Experience
- TAKT API
app.py - Copilot Agent
agent.py - Copilot Tools
agent_tools.py - Engineer Interface
frontend/js/main.js
Tablet Monitor
- Tablet Alert App
gigafactory-monitor/src/App.tsx - Alert Store
gigafactory-monitor/src/services/alertStore.ts - Alert Stream
gigafactory-monitor/src/services/alertStream.ts
Other components
- Production Line
- Production Engineer
Connections 23
- Production Line → Station Data Access: produces data
- Line Simulator → Station Data Access: generates data
- Station Data Access → Signal Checker: supplies station data
- Station Data Access → People Model: supplies work data
- Shift Notes Reader → Station Data Access: records extracted facts
- Signal Checker → Cause Finder: provides signals
- People Model → Cause Finder: provides patterns
- Method Checker → Change Manager: checks proposals
- Cause Finder → Impact Ranker: informs priority
- Impact Ranker → Containment: informs response
- Cause Finder → Containment: informs scope
- Station Data Access → Maintenance Predictor: supplies history
- Station Data Access → Change Manager: supplies method records
- Station Data Access → TAKT API: serves product data
- Live Engine → TAKT API: serves live state
- TAKT API → Copilot Agent: creates copilot
- Copilot Agent → Copilot Tools: dispatches queries
- Copilot Tools → Station Data Access: reads operational data
- TAKT API → Engineer Interface: serves API responses
- Engineer Interface → Production Engineer: presents decisions
- Live Engine → Alert Stream: streams alerts
- Alert Stream → Tablet Alert App: delivers alerts
- Tablet Alert App → Alert Store: updates alert state