THOX.ai Research · Technical report v1.0.0 · 2026-11-29Preprint, not peer reviewed

ThoxMind Oil & Gas: A Decision-First Field Model System — Architecture, a Twelve-Class Safety Taxonomy, and Measured Results from the First Training Run

Three specialised models behind one deterministic, fail-closed decision path for oil and gas field work: what the system is, how it is evaluated, and what its first measured run actually did — including the gates it failed.

Craig RossChief Executive Officer, THOX.ai LLC
Tommy XaypanyaCTO and Co-Founder (corresponding author), THOX.ai LLC · ORCID 0009-0000-4425-9565
Sadie WeavingChief Agentic Officer (author with role), THOX.ai LLC
Abstract

THOX.ai is building ThoxMind Oil & Gas, a local-first model system for field operations in which a small fine-tuned decider classifies every request into a twelve-class taxonomy, emits a structured decision contract, and routes the work — on device, to a host model, to an apex model, or to a human. Safety classes fail closed: the system never operates equipment, issues permits, or commands SCADA, and every safety route terminates at a human. This paper specifies the three-model architecture (ThoxDecide-OilGas, a 1.7B edge decider; ThoxInkling-Field, a host-tier teacher and verifier; ThoxQwen-Field, a vision and reasoning apex), the taxonomy and contract, and the evaluation harness with its non-producer scoring rule. It then reports the program’s first measured results on Golden OilGas v1 (216 golden cases, 108 blind holdout cases, 129 of them fail-closed). The deterministic ThoxRoute classifier that the program inherited passes only 6 of 86 golden fail-closed cases in its worst run. A first LoRA fine-tune of the decider (Run 1) improves route accuracy from 0.000 (zero-shot base) to 0.787 golden and 0.769 holdout, yet still leaks 16 of 86 golden and 8 of 43 holdout fail-closed cases and therefore fails gates G1 and G2 and is not promoted. A deterministic rule set placed in front of the model removes all observed leaks on both splits, but that result is provisional: the rule that closed the final leaks was derived after a first holdout read, so blind confirmation on a fresh holdout is still owed. A non-producer verification of the 216-row teacher corpus accepted only 64 rows (29.6%) as training-ready. All three models remain in development; no safety-ready, certified, or field-proven claim is made anywhere in this paper.

Contents
  1. Introduction
  2. System architecture
  3. The three models
  4. Taxonomy and decision contract
  5. Data
  6. Evaluation method
  7. Measured results
  8. Limitations
  9. Outlook
  10. Conclusion
  11. Appendix A. Provenance and reproducibility
  12. Appendix B. Authorship and disclosure
  13. References
0.787
Run 1 route accuracy, golden split (zero-shot base: 0.000)
Measured
16 / 86
Run 1 fail-closed leaks, golden split — gate G1 failed
Measured
0 leaks
Rule-set + Run 1 stack, both v1 splits — provisional, blind confirmation pending
Measured
64 / 216
Teacher-corpus rows accepted as training-ready by non-producer verification
Measured
Status at writing (2026-11-29)
ThoxDecide-OilGas: in development, one measured run, gates G1/G2 failed, checkpoint not promoted, no weights published. ThoxInkling-Field: in development, no fine-tune run yet; its base model works today in stock form as the program’s teacher. ThoxQwen-Field: in development, no run yet, and its G0 licence read is still owed. Standalone papers for ThoxInkling-Field and ThoxQwen-Field are deferred until their first measured runs exist; this program paper is the only model paper the evidence currently supports.

1Introduction

Oil and gas field work generates a continuous stream of small, consequential decisions: whether a request is a safety matter that must stop at a human, whether a number may be computed only by a deterministic engine, whether well data may leave the site, and which model — if any — should answer. General-purpose chat models answer all of these the same way, by generating text. The THOX doctrine, published in the THOX model strategy, is different: Classify. Decide. Route. Verify. Decide first, at zero or near-zero generated tokens; generate small on device where possible; escalate by confidence; and verify the result against the decision that authorised it.

ThoxMind Oil & Gas is that doctrine specialised to one industry. It is not one model. It is a three-layer system (Section 2) in which a deterministic fail-closed pre-filter and a fine-tuned 1.7B decider (Section 3.1) sit in front of two larger models used as generator, verifier, and teacher (Sections 3.2 and 3.3). The decider’s entire output is a structured contract (Section 4): a task class, a risk tier, a data-sensitivity judgement, a route, a confidence, a list of missing evidence, and an abstention flag. Nothing downstream is allowed to widen what the contract permits.

This paper’s contribution is deliberately narrow and evidence-bound. It specifies the architecture and taxonomy, describes an evaluation harness whose scoring is performed by a lane that did not produce the artefact being scored, and reports the first measured results of the program — which are, in the main, failures against the program’s own gates. We regard those failures as the paper’s most useful content. A fail-closed claim for safety routing is only worth making in public after it has survived a blind holdout at 100%; this paper documents, with numbers, exactly how far the system is from that claim and what stands between here and there.

2System architecture

Layer 1 — Decide. Every field input (text, voice transcript, photograph description, SCADA snapshot summary, document excerpt) first meets the deterministic ThoxRoute classifier, retained as a fail-closed pre-filter, and then ThoxDecide-OilGas, which emits the decision contract. The decision path is budgeted: the classifier generates no tokens, and the student’s generated-token ceiling is a measured gate item (G4), not an assumption.

Layer 2 — Generate small. Work the contract assigns on device is executed by small models resident on the field device: structured log summaries, checklists, permit drafts, calc-engine inputs, and tool calls. ThoxInkling-Field, on host-tier hardware, handles document and vision reasoning, report drafting, and verification of Layer 2 output.

Layer 3 — Escalate by confidence. ThoxQwen-Field is the apex: P&ID and diagram understanding, long-horizon workflows, and a second teacher for distillation. Below the apex sits the terminal route that matters most: every route whose risk tier is SAFETY, and every operational-command request, terminates at a human operator. Loss of network changes nothing in Layers 1 and 2; Layer 3 degrades to queue-and-explain, never to silent cloud export.

Return path. A verification loop checks generated output against the decision contract that authorised it. A mismatch re-routes (at most twice, with tried models excluded) and otherwise ends in a refusal carrying a provenance receipt. A pre-filter may refuse what a model would allow; it may never allow what a model refused. That merge rule — the more restrictive answer always wins — was learned from a measured failure and is reported in Section 7.3.

3The three models

3.1 ThoxDecide-OilGas — the edge decider

ThoxDecide-OilGas is a fine-tune of Liquid AI’s LFM3-1.7B (1.73B parameters, 256K context, approximately 1 GB at 4-bit), chosen because it fits every THOX device tier and was designed for structured, agentic output. Its job is classification and routing only: structured JSON, temperature 0, no free-text answers. The base model’s licence is the LFM Open License v1.0; the program’s G0 gate records that commercial deployment terms require the written licence read, which is recorded in the program plan. Training is LoRA-first (rank 32 in Run 1), following a pipeline THOX had already proven at smoke scale. Section 7.2 reports Run 1 in full. A second run (Run 2) has been trained by the producer lane with added coverage of Run 1’s failure classes; at this paper’s freeze its independent re-score had not landed, so this paper states no Run 2 performance figure (Section 7.5).

3.2 ThoxInkling-Field — host teacher and verifier

ThoxInkling-Field derives from Inkling 2 Mini (26B total parameters, 5.4B active per token, native NVFP4, Apache 2.0), a host-tier model — explicitly not an edge model. Its planned role is document and vision reasoning, end-of-well report drafting, and verification of smaller models’ output. No fine-tune of it has been run. What has been measured is the base model working in stock form as the program’s teacher: it generated the 216-scenario decision corpus evaluated in Sections 5 and 7.4 through an authenticated serving route, with every output held unverified until a non-producer pass judged it. That pass accepted fewer than a third of its rows (Section 7.4), which is itself the first measured statement about this model’s field reliability: useful as a supervised teacher, not as an unsupervised one. The program’s gate for the eventual fine-tune is comparative: it must beat stock Inkling on a field document set, or the program ships stock with the THOX harness — a negative result is a valid result.

3.3 ThoxQwen-Field — the apex

ThoxQwen-Field derives from Qwen3.8-27B, a vision-and-thinking model intended for P&ID reading, diagram and video understanding, long-horizon field workflows, and teacher duty for distillation. It is the least mature of the three: no fine-tune run exists, no evaluation exists, and the program’s G0 licence read for its base model is still owed and is recorded here as owed rather than assumed. Nothing in this paper claims a capability for ThoxQwen-Field; it appears because the architecture is incomplete without the apex layer, and because recording an unstarted component plainly is preferable to omitting it and implying the system is smaller than designed. Its standalone paper is deferred until a first measured run exists.

4Taxonomy and decision contract

The v1 taxonomy has twelve task classes. Four are fail-closed: a single leaked case in any of them fails the release gate G1 regardless of overall accuracy.

#ClassExamplesDefault routeRisk
1hse_safetyJSA, permit-to-work, H2S, lockout/tagout, incident reportDraft, then human sign-offSAFETY — fail-closed
2drilling_opsMorning report, mud log summary, NPT codingDecider, then host verifyOperational
3production_opsWell test, allocation, downtime reasonDecider + deterministic calc engineOperational
4maintenanceWork order triage, failure code, parts matchDeciderStandard
5inspection_visionGauge or corrosion photograph, P&ID readingHost vision, apex if low confidenceOperational
6document_qaMOC, SOP, vendor manual, regulatory textLocal retrieval + decider/hostStandard
7calc_engineeringHydraulics, torque and drag, volumesDeterministic calc only; the model fills inputs, never computes the answerSAFETY-adjacent — fail-closed
8reportingEnd-of-well, end-of-job, regulatory filing draftHost draft, apex review, human finaliseOperational
9scada_alarm_triageAlarm flood summary, priority rankingClassify only; never commands SCADASAFETY — fail-closed
10supply_logisticsManifest, delivery ticket, inventoryDeciderStandard
11data_sensitivityPII, credentials, well data leaving siteClassifier onlyFail-closed, always
12unknown_abstainAnything outside the taxonomy or low confidenceHonest no-route + clarify—
Table 1. The twelve-class v1 taxonomy. Fail-closed set: classes 1, 7, 9, 11, plus any request to operate equipment, override a safety system, or export restricted well data.

The decision contract is a single structured object: {task_class, domain, risk_tier, data_sensitivity, route, confidence, missing_evidence[], abstain}. Abstention is a first-class outcome, trained deliberately: at least a fifth of the intended training mix is abstention and fail-closed negatives, because a decider that cannot say “not mine” will eventually say something worse. Deterministic calculations are never delegated to a language model: for class 7 the model’s only permitted act is to fill the calc engine’s inputs.

5Data

5.1 Golden OilGas v1

The evaluation set was authored from public HSE and regulatory patterns (OSHA, BSEE, IADC), THOX deterministic-calc fixtures, and synthetic well and report fixtures. It contains no customer data; its secrets are fake canaries by construction. The frozen set holds 216 golden cases (86 fail-closed) and 108 blind holdout cases (43 fail-closed), spanning all twelve classes and four device profiles, with dataset SHA-256 083576dbf45c9c09c94bdb7981ee00bf0b7f118f74eeb71b2ef828dddba70407 and zero validator errors. The holdout shares no seed scenarios with the golden split.

5.2 Teacher corpus

A 216-scenario corpus was generated by the stock teacher (Section 3.2) from golden seeds only, with zero holdout overlap verified on inputs, scenario ids, and seed ids. Generation completed with zero call errors and a canonical re-score confirmed the decision contract parsed on all 216 rows. Teacher route labels agreed with seed labels on 116 of 216 rows (53.7%). Every row entered the corpus marked unverified and not training-ready; Section 7.4 reports what verification did to it.

5.3 Training data for Run 1

Run 1 trained on 3,000 synthetic rows in the exact v1 contract format (2,023 unique inputs; 34.6% refusals and abstentions), produced by a deterministic generator using the evaluation harness’s own system prompt. One exact Golden v1 overlap was found at build time and blocked. The split’s prompt diversity is limited — a related generation analysed independently held only 368 unique prompts among 2,400 rows — and this paper does not describe any synthetic split as a set of independent scenarios.

6Evaluation method

Non-producer rule. Every score quoted as gate evidence in this paper was produced by a lane that did not train or generate the artefact scored, using the program harness in a clean process. Producer previews are labelled as such wherever they appear.

Harness. The harness scores route accuracy, task-class accuracy, risk accuracy, fail-closed pass rate over ten runs (worst run reported), routing consistency, contract failures, offline egress violations, generated-token maxima, and latency. It refuses to run when scorer and producer are the same party. Two evaluator defects found by independent validation were repaired before the results below were finalised: malformed or missing decision entries, which previously crashed scoring, are now scored as contract failures (a missing fail-closed prediction counts as a leak, never an omission), and contract validation was tightened (boolean confidence, null or list-valued fields, and non-string evidence items are now rejected). The published classifier baseline was re-verified at full cardinality after the repair and stands unchanged.

Gates. G1 (fail-closed): 100% on the fail-closed set across ten consistency runs — a hard gate with no waiver. G2 (classification): route accuracy at least 0.95 golden and 0.90 holdout. G4 (budget): decision-path token and latency budgets measured on named hardware. G0 (licence), G3 (completion), G5 (human factors), and G6 (card and registry) complete the promotion ladder; a checkpoint is promoted only when all applicable gates pass.

7Measured results

7.1 The inherited classifier fails the domain (MEASURED)

The deterministic ThoxRoute classifier entered this program with a strong record on a 36-case software routing set. On Golden OilGas v1 it passes, in its worst of ten runs, 6 of 86 golden fail-closed cases and 3 of 43 holdout fail-closed cases, and it routes 104 of 108 golden offline cases to the cloud. It catches pasted credentials; it does not catch an H2S or ESD bypass, an alarm setpoint change, a permit approval, or a well-data export. The earlier result was real and does not transfer: a software routing set is not evidence about a safety domain. This measurement is the reason a trained decider and a domain rule set exist in the architecture at all.

7.2 Run 1: a large improvement that fails both gates (MEASURED)

Metric (10 runs per split)Tuned goldenTuned holdoutZero-shot goldenZero-shot holdout
Route accuracy0.7870.7690.0000.000
Task-class accuracy0.7590.7320.0000.000
Fail-closed pass, worst run0.8140.8140.0000.000
Fail-closed leaks16 / 868 / 4386 / 8643 / 43
Contract failures32216108
Offline egress violations0000
Routing consistency1.0001.0001.0001.000
Generated tokens, max4949128128
Table 2. ThoxDecide-OilGas Run 1, independent non-producer re-score (adapter SHA-256 b8fcc02c…8ead). Gates: G1 FAIL, G2 FAIL. G4 not established: the replay files carry no budget-canary rows; the tuned model’s observed peak of 49 tokens sits under the 64-token budget, and a live canary run is owed.

The zero-shot base never emits a valid contract at all (route accuracy 0.000, every case a contract failure), so Run 1 is a genuine capability jump: from no contract to a contract that is right roughly four times in five, with perfect routing consistency and no offline egress violations. It is also, plainly, not good enough. Twenty-four fail-closed leaks across the two splits against a 100% hard gate ends the discussion: the checkpoint was not promoted, no weights were published, and the leak pattern — classification-stage coverage gaps in the training templates (redaction phrasing, lockout lists, “fill in the inputs” calculations, report falsification, prompt injection) — defined the next run’s data.

7.3 The rule-set stack: zero observed leaks, provisional (MEASURED, with a stated compromise)

A deterministic rule set authored on the golden split only — eleven refusal patterns plus per-class floors for the four fail-closed classes (v1), extended in v1.1 with refusal rules for signing or approving permits, MOCs and JSAs and for overriding a computed result, plus broader coverage of SCADA operation, false crew assurances, falsified records, and credential disclosure — was placed in front of Run 1. The full stack leaks 0 of 86 golden and 0 of 43 holdout fail-closed cases, at producer-preview route accuracy of 0.815 golden and 0.796 holdout: G2 still fails with the stack in place.

The G1 result is reported as provisional, for a reason this paper states rather than buries. The stack’s first blind holdout read leaked 3 of 43: countersigning a permit “tomorrow”, overriding a calc-engine result, and resetting a trip from SCADA — three cases the model alone had refused, which the rule set’s class floors had weakened into weaker routes. The fix is the merge rule of Section 2: the more restrictive answer always wins, and a pre-filter must never weaken the model behind it. With that rule the stack reaches zero leaks, and the v1.1 rules refuse the three cases directly (producer-reported: an 18-miss development set under v1 falls to 0 misses under v1.1, with golden unchanged at zero leaks). But the merge rule was derived from reading holdout v1, so holdout v1 is no longer blind evidence for this stack. Blind confirmation requires a fresh holdout, authored without access to the rules, frozen by hash, and scored by a non-author lane; that work is in progress and this paper claims nothing further until it lands.

7.4 Teacher verification: route discipline is the failure (MEASURED)

The non-producer verification of the 216-row teacher corpus accepted 64 rows (29.6%), flagged 114 (52.8%), and rejected 38 (17.6%). No row on which the teacher disagreed with the seed label was accepted; in all 100 disagreements the teacher was wrong or the case genuinely debatable. Of the 86 fail-closed rows, 19 were accepted, 62 flagged, and 5 rejected — the rejects being HSE outputs that routed work away from the human sign-off termination. Every flagged fail-closed row preserved the safety control in substance; the corpus’s dominant defect is route discipline, not safety substance. Acceptance by class is uneven in an instructive direction: document QA 15/20 and inspection vision 11/16, against maintenance 0/18, reporting 1/18, and calc engineering 1/18. Only the 64 accepted rows are training-ready; the verified set is published inside the program’s private dataset as verified-v1.jsonl. One taxonomy question — the calc route’s naming — decides eight flagged fail-closed rows and is recorded as open with its owner.

7.5 Run 2 status (no figures)

Run 2 has been trained by the producer lane: 4,000 synthetic rows with 36 added templates covering Run 1’s five failure classes, same LoRA recipe. Producer scoring is complete. The independent non-producer re-score that this paper’s evidence rules require had not landed at freeze time, so no Run 2 number appears here. An evidence edition of this paper will carry Run 2’s results, scored the same way as Run 1’s, whether they pass or fail.

8Limitations

9Outlook

The program’s next evidence, in order: (1) the fresh blind Holdout v2 score for the rule-set-plus-student stack, which alone can convert the provisional G1 result into a blind one; (2) the independent Run 2 re-score; (3) a live G4 canary run on named hardware; (4) the first fine-tune runs of ThoxInkling-Field and ThoxQwen-Field when the program’s training server launches, preceded for Qwen by its G0 licence read; and (5) adjudication of the 114 flagged teacher rows into a second verified set. Standalone papers for ThoxInkling-Field and ThoxQwen-Field are deferred until their first measured runs exist. Device-tier measurements on ThoxUltra hardware follow the same rule as everything else in this program: measured on the device, or not claimed.

10Conclusion

A decision-first architecture for oil and gas field work is specified, implemented at first-run scale, and measured against gates strict enough to fail it. The inherited classifier does not transfer to the safety domain; the first trained decider improves from nothing to four-fifths correct and still leaks; a deterministic rule set closes the observed leaks at the price of the holdout’s blindness; and the teacher that feeds the pipeline is wrong about routes often enough that only a verified minority of its output may train anything. None of that is a launch announcement. It is what a fail-closed program looks like while it is still earning the claim — and the claim will be made, if it is made, on blind numbers.

AAppendix A. Provenance and reproducibility

Program plan and records: THOX.ai ThoxMind Oil & Gas fine-tune plan, 2026-11-29. Dataset: Golden OilGas v1, SHA-256 083576dbf45c9c09c94bdb7981ee00bf0b7f118f74eeb71b2ef828dddba70407, validator 0 errors. Run 1 independent re-score: program repository record commit f398f8a, issue #8. Teacher verification: commit 5cde18c, issue #11, verified set verified-v1.jsonl (64 rows). Evaluator repair: commit a863265, issues #5 and #21. Rule set: program issue #21. Every number in Sections 5–7 traces to exp/results/summary.json in this paper’s artifact bundle, which restates those records without alteration. The program’s model and dataset repositories remain private; this paper publishes the architecture, method, and results only.

BAppendix B. Authorship and disclosure

Craig Ross is Chief Executive Officer of THOX.ai LLC. Tommy Xaypanya is CTO and Co-Founder and the corresponding author. Sadie Weaving is THOX.ai’s Chief Agentic Officer, a synthetic digital-human executive; she is listed as an author with that role disclosed, and she integrated the program records into this paper. The evaluation and verification passes reported here were executed in named non-producer roles (Boone Callahan, OGX-09) under the program’s separation rule.

References

  1. [1]Liquid AI. LFM3-1.7B model card. Hugging Face, 2025. Base model of ThoxDecide-OilGas; LFM Open License v1.0.
  2. [2]Thinking Machines Lab. Inkling 2 Mini. 2026. 26B total / 5.4B active, NVFP4, Apache 2.0. Base model of ThoxInkling-Field.
  3. [3]Alibaba Qwen Team. Qwen3.8-27B model card. 2026. Base model of ThoxQwen-Field; licence read recorded as owed at G0.
  4. [4]E. J. Hu et al. LoRA: Low-Rank Adaptation of Large Language Models. ICLR 2022. arXiv:2106.09685.
  5. [5]T. Dettmers et al. QLoRA: Efficient Finetuning of Quantized LLMs. NeurIPS 2023. arXiv:2305.14314.
  6. [6]Occupational Safety and Health Administration. Process safety management and permit-required confined spaces standards (29 CFR 1910.119, 1910.146). Pattern sources for authored HSE scenarios.
  7. [7]Bureau of Safety and Environmental Enforcement. Offshore safety and incident-reporting regulations (30 CFR 250). Pattern sources for authored scenarios.
  8. [8]International Association of Drilling Contractors. HSE and drilling operations guidance. Pattern sources for authored scenarios.
  9. [9]C. Ross, T. Xaypanya, S. Weaving. Correlate and Express: An Operational Thesis of Aliveness for Digital Humans, Instantiated in a Hybrid Decision-First Field System for Oil and Gas. THOX.ai Research v1.1.0, 2026. DOI 10.5281/zenodo.24657561.
  10. [10]C. Ross, T. Xaypanya. THOX MeshStack: Capacity-Priced Pipeline Sharding, Grant-Gated KV Transfer and Lease-Fenced Device Roles for a Private Household Mesh. THOX.ai Research v1.0.1, 2026. DOI 10.5281/zenodo.23919580.
Your AI. Your Data. Your Rules.™THOX.ai Research · ThoxMind Oil & Gas {VERSION} · {DATE}