Project guide

Project Guide | Fab Ops Yield Control Tower

Free manufacturing yield-control readiness worksheet for shift evidence and exception queues. This guide organizes the repository's original implementation notes for manufacturing analytics and operations leaders.

Reviewed 2026-07-28. This page is derived from checked-in repository evidence and links back to its source.

Semiconductor Ops Platform

Unified manufacturing operations platform for semiconductor environments. Two production domains in a single FastAPI application with shared infrastructure, SQLite persistence, Prometheus metrics, and multi-cloud deployment.

Technical review pack: `docs/architecture-pack.md`

System Overview

A semiconductor operations control tower that connects fab monitoring, qualification, and shift evidence into one reviewable system.

AreaDetails
UsersManufacturing IT teams, fab operations leaders, process engineers, and industrial analytics groups.
Technical pathValidate the demo, README, architecture notes, and quality gate before deeper workflow review.
System scopeFab monitoring, scanner qualification, dual-domain analytics, release gating, and review material.
Operating boundaryUses staged data and operator workflows; production connection requires MES/SCADA access control and change governance.
Evaluation pathRun the documented runtime commands and inspect review artifacts and staged process data.

Evaluation Path

Architecture Notes

Domains

Fab Ops Yield Control Tower (/api/fab-ops/) — alarm triage, lot-at-risk prioritization, tool ownership tracking, release gate decisions, recovery board, and signed shift handoff.

Scanner Field Response (/api/scanner/) — field incident workflow, subsystem escalation, qualification review, and signed handoff from local triage through customer milestone readiness.

Both domains share operator access, HMAC signature logic, and runtime storage from app/shared/ — zero duplication, per-domain environment variable isolation.

Architecture

Load Balancer / CDN
     ↓
FastAPI Application  (/docs  /health  /metrics)
     ↓                        ↓
Fab Ops Yield            Scanner Field
Control Tower            Response
/api/fab-ops/*           /api/scanner/*
     ↓                        ↓
Shared Infrastructure (auth, signatures, runtime_store, database)
     ↓              ↓              ↓
  SQLite          S3 (export)   SQS (events)

Quick Start

git clone https://github.com/KIM3310/fab-ops-yield-control-tower.git && cd fab-ops-yield-control-tower
make run

## Metrics: http://127.0.0.1:8000/metrics

Requires Python 3.11+. If your default python3 is older, run make PYTHON_BIN=/path/to/python3.11 verify.

Docker:

make docker-build && make docker-run

Kubernetes:

make deploy  # applies infra/k8s/ manifests

Core API

Platform

EndpointDescription
GET /healthPlatform health and domain navigation
GET /metricsPrometheus metrics
GET /api/resource-packBuilt-in manufacturing review cases

Fab Ops (/api/fab-ops/)

EndpointDescription
GET /api/fab-ops/alarmsActive alarms
GET /api/fab-ops/lots/at-riskLots at risk by yield score
GET /api/fab-ops/release-gateRelease gate decision (auth)
GET /api/fab-ops/recovery-boardRecovery board (hold/watch/ready)
GET /api/fab-ops/shift-handoff/signatureSigned shift handoff envelope (auth)
GET /api/fab-ops/audit/feedAudit event feed

Scanner (/api/scanner/)

EndpointDescription
GET /api/scanner/incidentsField incidents (filterable)
GET /api/scanner/field-response-boardField response board
GET /api/scanner/subsystem-escalationSubsystem escalation detail
GET /api/scanner/qualification-boardQualification review board
GET /api/scanner/customer-readinessCustomer milestone readiness
GET /api/scanner/shift-handoff/signatureSigned handoff envelope (auth)

Deployment

AWS — set both AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY to enable AWS exports. S3 uses AWS_S3_BUCKET when supplied and otherwise uses the documented default. SQS additionally requires AWS_SQS_QUEUE_URL; DynamoDB additionally requires AWS_DYNAMODB_TABLE. AWS_DEFAULT_REGION is optional and defaults to us-west-2.

GCP Cloud Run — Terraform config in infra/terraform/:

cd infra/terraform
terraform init && terraform plan -var="project_id=my-gcp-project" && terraform apply

Kubernetes — manifests in infra/k8s/: 2-replica deployment, HPA (2–8 pods), ClusterIP service.

Tech Stack

Python · FastAPI · SQLAlchemy · SQLite · Prometheus · AWS (S3, DynamoDB, SQS) · GCP Cloud Run · Kubernetes · Terraform · Docker

Cloud + AI Architecture

Enterprise Productization

System Architecture

Service Architecture

Search And Service Surface