Physical AI 系統設計:引擎大修廠如何掌握每條關鍵路徑
System design for physical AI: an engine shop that sees each critical path
CodeNinja Atoms 提出一套面向美國飛機引擎大修廠的 Physical AI 規劃架構,透過七個只讀系統與受治理的物件模型串連維修資料,讓智能體草擬方案、由指定人員審批。
By Muhammad Umar. This is the engineering summary of an open industrial AI reference architecture from CodeNinja Atoms for the planning floor of an engine overhaul shop, one of a series of worked examples of industrial AI that get better from what named people confirm, on hardware the operator owns, without training a model on the fly. The paper, its object model as JSON and the model register are free to reuse under CC BY 4.0: https://codeatoms.ai/engine-mro-shop-us/, DOI 10.5281/zenodo.24048571. The operator is described by class, never by name.
An aircraft engine MRO shop in the United States inducts engines, takes them down to modules and parts, inspects and dispositions every finding, repairs in house or sends parts to vendors beyond the wall, rebuilds on assembly stands and proves each engine in a test cell before release. It needs one question answered continuously: for every engine in work, what is its critical path today, and what will break it next? Shops of this class carry hundreds of engines in work and tens of thousands of parts in flow, in a year when turnaround on narrowbody engines runs to six months or more. The answer lives in pieces no system joins. When a high pressure turbine blade set fails inspection and moves a module from repair to replace, the cascade through parts, vendor repair orders, purchase orders and the build slot is worked by hand over days while the engine sits on its stand, and the knowledge that the same part goes late at the same vendor every quarter lives in a planner's memory that retires with its holder.
1. Three layers, and the records stay put
The design is one pattern in a fixed order: seven systems of record below, never replaced, never modified, never loaded anywhere else; one governed object model in the middle as a projection over them, never a copy; seven services and four surfaces above, where agents draft and named people decide. The shop's failure is a join failure, not a data failure. Each system sees one slice of the engine, and the slices meet only when the promised date is missed, so the design puts the join in one place, the object model, and lets no application build its own private copy.
Every record, model and token stays on the shop's own hardware, and no third party model service is called. The ground sits in two regimes the design satisfies rather than routes around: the FAA's part 145 record keeping rules, with each maintenance record entry fixed by 14 CFR 43.9, and export control on engine technical data, where a non United States person's access is a deemed export under the ITAR. The design chose event driven reads via APIs and change data capture against batch extracts, which leave the ontology stale between runs; memory the next plan reads against fine tuning; agent write back after named approval with an audit trail against manual transcription, which recreates the cascade by hand; open weights served on site against a third party model service, which would carry engine data outside the boundary; and one engine type for one quarter against an estate wide rollout. Record replacement, cameras, weight training and automatic airline notification stay outside the design entirely.
2. One adapter family, seven sources
Seven read only sources of operator provenance feed the design. The maintenance and engineering system is the spine: work orders, task cards, gates, build slots and release. The parts tracking and inventory system knows where every serialized part and material lot sits, in stock, at a vendor, on order or installed. The vendor repair order system owns repair orders and the vendors behind them. The material purchasing system issues the purchase orders that follow a workscope change. The inspection findings records hold the finding, the engine manual reference, the inspector and the disposition. The test cell data holds the parameters and the pass outcome that close each engine's story. The customer workscope and contract terms hold the promised date and the terms that govern what the shop may decide.
One integration adapter family is the single door in, built per system in scope work rather than bought, and no source is read directly. It guarantees four things. It reads event by event through change data capture and APIs, so the ontology stays current status by status instead of nightly. It projects, turning each event into a property change or a typed link on an existing object. It preserves provenance, carrying the source system, the record identifier and the capture position onto every object, and it keeps each record's certification and condition properties, so a quarantined lot can never silently become an installed part. And it never writes back: the single write path into a system of record runs after a named person approves an agent draft, with an audit trail.
Apache Kafka 4.4 is the backbone. Ordering comes from change data capture offsets and monotonic sequence numbers per partition, which is why the design needs no precision time protocol: a gate completion, a disposition and a repair order status change arrive in the order the source systems committed them. Delivery is at least once, with consumers idempotent on the capture position, so a replayed event cannot double apply a status change. Buffering absorbs a slow consumer or a paused source, and replication inside the shop's estate means a broker loss does not lose an event. When a link fails, adapters buffer and resynchronize from the last committed offset. Harbor is the air gapped registry, the time series store for test cell data is an open choice between InfluxDB 3 Core and TimescaleDB, and Prometheus 3.13 LTS, Grafana and Loki watch the stack, with a status lag gauge that shows how far the model of the shop trails the shop itself.
3. Fifteen objects, one walk
The object model holds fifteen objects in four kinds with sixteen typed links on Hyper Ontology. Four assets: engine, module, part and material lot. Seven records: workscope, gate, disposition, repair order, purchase order, build slot and release. Two events: inspection finding and test. Two actors: customer and vendor. Serialized part instances are the spine, and US person access control is fenced as a property on the objects, so the join works inside the fence and stops at it, with a data classification pass before go live. The engine carries a status vocabulary that runs Inducted, Disassembled, In repair, In assembly, In test, Released, and a promised release date as a property.
An engine links to its customer, its workscope and its gate position; a module links to its parent engine, its disposition and its repair route through a repair order; a part sits in a module; a repair order links to its vendor and its part; an inspection finding links to the engine manual it was raised against; a purchase order links to a material lot. So the planner's question becomes one traversal: from an inspection finding to the module it moves, the serialized part, that part's repair order at a particular vendor, the purchase orders the change raises, the build slot waiting at the end and the promised date judging all of it, with provenance at every hop. A document store would force a manual rebuild across exports, because it cannot walk the edges.
4. One tier in the server room
Inference runs on one tier, because there is nothing to sense at the edge. The shop floor is watched through records rather than cameras, so there is no edge tier, no edge orchestration of containers and no edge model serving. The central tier is GLM 5.3 open weights under vLLM at INT4, on the shop's existing network with a segregated VLAN agreed in scope work, carrying the agentic work surface, the conversational interface with citations and ontology maintenance. GLM 5.3 carries a bespoke licence that permits commercial use, fine tuning and redistribution, which lets the shop hold the weights and keep them when any engagement ends. gpt-oss-120b and BGE-M3 were weighed and set aside as open work, because their sources were not returned, so the register holds one model.
The memory arithmetic decides the node. 753 billion parameters at INT4 is half a byte per parameter, so 376 GB of weights; the 1.2 planning factor for the KV cache and activations raises the requirement to about 452 GB. One node of eight 80 GB HBM class GPUs holds 640 GB, leaving 264 GB beside the weights, headroom that lets the KV cache ceiling rise with concurrent planner sessions rather than capping how many planners can work at once.
The latency budget is planner paced, not machine paced. Every surface faces a person making a decision, so the binding constraint is ontology freshness, not token generation: a critical path draft is only as good as the last change data capture event behind it, and the status lag gauge outranks any serving benchmark. What crosses the boundary is only what the shop's own people send. When the update path fails, the running versions continue on pinned versions until Harbor recovers, since nothing in the daily loop depends on an external endpoint. When power fails, recovery reads the backbone's replicated log to resynchronize the object model.
5. Agents draft, planners decide
Seven services, from the critical path agent that drafts the cascade to the memory loop, the binding rules and the success measure, carry the work onto four surfaces: a command center with engines by promised date and risk, an approval queue for workscope cascades, a vendor queue with drafted chases, and a quality queue for record integrity. The engine planner confirms the critical path draft, the customer program manager approves the workscope cascade and sends the airline notification, the materials manager approves the vendor chase or the alternative, and the quality queue checks record integrity. Every draft carries its sources, the disagreement path is built before the agreement path, agreement rates are logged, and every confirmed outcome is kept as memory the next plan reads. Nothing is trained into weights.
Appendix A prices the node at about 407,000 US dollars to own over three years (370,000 to 422,000): a listed eight card H100 server at 265,000, support at 8 to 12 percent of hardware value a year, and power taken as a ceiling at 10.2 kW around the clock at the United States average commercial price. Renting the same eight cards on the deepest three year commitment in the AWS US East region, a Compute Savings Plan paid all upfront, is about 448,000, so ownership costs about nine tenths of it; on the three year EC2 Instance Savings Plan it is about 600,000, about two thirds; on demand it is about 1.45 million, against which ownership costs a little over a quarter. Renting is a price reference only, because every rented option would carry customer, engine and vendor data and export controlled technical data out of the shop.
The rollout is two phases carrying 16 items, each closed by a gate, never a date. Phase one covers one engine type and its induction line for one quarter, with 14 items across six workstreams; its first gate is the governed shop ontology build, proved on a week of production data before any agent runs, and it exits only if a simulated high pressure turbine blade set failure is drafted the same day against the shop's own baseline, covering the parts it moves, the repair orders it reroutes, the purchase orders it raises and the build slot it reschedules. Phase two carries 2 items, the engine type extension path and the sovereign exit rehearsal, which exports the model, the memory and the object model end to end before the shop ever needs to. Fourteen requirements are traced to items and reviewed at each gate. The headline measure is engines released on the promised date, with a nominal of 85 percent, tracked beside the four baselines the shop keeps today, the planner agreement rate and the status lag gauge. Each manual source is licence reviewed before the retrieval index is built, and an elicitation pass with retiring planners turns head knowledge into records the next plan reads.
Made with CodeNinja Praxis, the CodeNinja Atoms platform for designing physical AI systems. The object model imports into Hyper Ontology. Paper, ontology and register: https://codeatoms.ai/engine-mro-shop-us/
One of the CodeNinja Atoms worked examples of physical AI system design: systems of record read and never written, a governed ontology joined by typed links, open weights on hardware the operator owns in its own country, and agents that draft while named people approve, the shape every physical AI design in the series is published in, with its object model as hyper-ontology/1 JSON under CC BY 4.0.
來源:DEV Community · dev.to