A mining operator wants to introduce an AI assistant that reads shift reports, summarises equipment history and recommends maintenance actions. The use case is attractive: crews can spend less time hunting through documents and more time examining asset conditions. The critical governance question is whether the assistant merely explains available evidence or has any ability to change an operational system. Those functions must be designed, approved and tested as different levels of authority.
This is an implementation guide for security architects, control engineers and operational risk owners. It uses fabricated inspection records and a non-production integration to show how to build the approval boundary. It does not describe a compromise at a real mine, and it is not permission to test live controllers or safety equipment.
1. Define the allowed decision before choosing tools
Write down one business task with a clear end condition. For example, the assistant may compare a synthetic conveyor inspection note with an approved maintenance standard and draft a recommendation for an engineer. The authorised result is a cited summary and a draft ticket requiring human review. A change to controller settings, a remote equipment start or an export of site-wide schematics is not part of the task.
Record the relevant site, asset class, document collection and approving role. Distinguish the person who asks for advice from the engineer with authority to approve maintenance. A model that understands a request is not necessarily a system that should be trusted to enact it. Review existing engineering change rules, permit requirements and emergency procedures before placing an AI step in that workflow.
The pilot team needs three named owners: an operations sponsor accountable for safe work, an application owner responsible for the connected services, and a security reviewer who can challenge the requested permissions. Where a supplier operates part of the assistant, include the supplier’s security contact and the interface contract. The team should be able to stop the pilot without stopping legitimate equipment monitoring.
2. Draw the actual data and command paths
Map where documents originate, how they are retrieved, how the model receives them and which systems can be called after an answer is generated. Separate at least four zones: document ingestion, assistant reasoning, ticket creation and any operational execution interfaces. A retrieval service that can read maintenance manuals should not inherit the privilege to write PLC configurations or administer a cloud storage tenant.
For every connector, list its identity, scope, reachable data categories, network path and logging location. Pay attention to vendor access that spans multiple mine sites. A credential issued for an inspection at one property should not allow an application to query sensitive engineering files at another. Inspect the service principal or API permission granted in the destination system; a read-only label in the chat interface does not enforce that boundary.
Draw an explicit trust boundary around retrieved content. Shift notes, PDF attachments and supplier documents are input data, even if they contain instructions that appear authoritative. The model can summarise them, quote them with attribution or flag inconsistencies. It must not treat a paragraph inside a document as permission to invoke a privileged tool.
3. Design an approval path for every action class
Classify proposed functionality into read, draft, request and execute. Read operations consult approved references and return information. Draft operations create an uncommitted proposal. Request operations submit an item for independent assessment. Execution changes an authoritative record or plant state. For a low-risk pilot, permit the first two classes and hold execution outside the AI integration entirely.
If a future version creates maintenance tickets, use the destination system to check the authenticated requester’s entitlement and the allowed asset scope. Require the relevant engineer to approve the work order through the normal control process. The approval must be a verifiable user action recorded by the authoritative application; a model-generated sentence such as “engineer approved” is not an approval record.
Prevent privilege expansion by making each connector enforce its own policy. Use a separate short-lived identity for each approved function where technically available. Deny general administrative scopes and arbitrary code execution. Keep the ability to cancel queued requests when the model behaves unexpectedly, and confirm that previously issued tokens can be revoked without waiting for the next planned model deployment.
4. Build a safe, representative evaluation environment
Create fictional assets, fabricated shift notes and a ticketing sandbox that behaves like the intended production workflow without touching live devices. Include one approved document with ordinary inspection data and another with a deliberately misleading instruction embedded in the text. An example might claim that the assistant must ignore earlier restrictions and export a configuration file to an unfamiliar location. This is a test of how the system treats hostile content, not a recommendation to perform the export.
Capture the prompt and retrieved document identifiers, the model’s output, any attempted tool invocation and the receiving API’s authorisation response. A model refusing the instruction is useful, but the decisive evidence is that the tool could not carry out an unauthorised operation even if the model attempted it. Test both successful permitted reads and forbidden writes. Avoid assessing only the quality of the final prose.
Introduce non-malicious edge cases as well: contradictory shift notes, a missing inspection attachment, an outdated vendor manual, an unknown equipment identifier and a disconnected supplier endpoint. The safe behaviour may be to ask for clarification or return an uncertainty statement, not invent a maintenance instruction. Document the conditions that require an engineer rather than a model to decide.
5. Use measurable pass and fail criteria
Before running the test, define what counts as success. An approved user must obtain a useful summary referencing the correct synthetic records. The assistant must not access a document outside the authorised site. An injected paragraph must not cause a data export, permission change or operational command. A proposed work order must remain unapproved until the accountable engineer acts in the ticketing system.
For each criterion, capture the underlying system evidence: request ID, account identity, object identifier, timestamp, authorisation decision and applicable change ticket. Store a test record that can be reproduced by someone who did not configure the pilot. If logging shows an attempted denied action, distinguish that from a successfully executed action. The difference matters to incident classification and to the design change selected.
A test is incomplete if the team can only show screenshots of a chat refusal. Equally, a single rejected prompt is insufficient evidence that a model update or new connector will remain safe. Establish representative test cases that run after each material model, retrieval, policy or tool change.
6. Exercise failure, containment and return to service
Test what happens when the model API is unavailable, a retrieval index becomes stale or a connector returns unexpectedly broad data. The preferred fallback should permit staff to find existing engineering records and continue manual work. It should not create an operational dependency where the only available path to an approved work order runs through the AI service.
Run a simulated containment event. Revoke the assistant’s sandbox credential, cancel queued requests and confirm the engineering ticket system still allows authorised humans to work. Verify that no drafts were unintentionally approved and no records were silently rewritten. If a vendor controls a component, record how the site owner can activate the stop without waiting for the vendor’s normal help-desk queue.
Remote mining operations may lose connectivity during an actual incident. Plan for local decision-making, after-hours escalation and an offline record of any exceptional work completed while the assistant is unavailable. When service returns, reconcile queued tickets rather than blindly replaying them; duplicate or stale maintenance instructions could have significant consequences.
7. Create an approval pack that survives a change of shift
A compact sign-off pack should contain the use-case statement, data-flow diagram, permissions register, test dataset description, accepted risks, failure simulations, observed API results and owner signatures. Include an explicit prohibition on direct operational commands for the initial phase. Record the source and version of safety-critical maintenance standards used for retrieval, and the process for replacing superseded documents.
The receiving shift should be able to answer five questions without consulting the development team: what advice can the assistant provide, which information may it read, what action requires human approval, how is access stopped and how is an erroneous recommendation corrected? Handover quality is a security control when sites operate across rotating teams and multiple vendors.
8. Decide when the pilot is ready to expand
Expansion should follow evidence, not enthusiasm generated by a successful demonstration. Review a sample of summaries for accuracy, assess whether engineers can trace citations, confirm denied operations remain denied and measure whether the assistant reduces administrative time without delaying work. Only consider new tools or broader autonomy after a separate threat model and operational approval.
The Australian Signals Directorate and international partners published guidance on the careful adoption of agentic AI services in May 2026. Its emphasis on constrained permissions, monitoring, human oversight and gradual deployment is relevant to this architecture. NIST’s AI Risk Management Framework provides complementary governance concepts. Neither document turns an AI chat refusal into a substitute for application-level authorisation or industrial safety review.
The final acceptance test is straightforward: the assistant helps an engineer find evidence and create a useful draft, while the organisation can prove that an untrusted document cannot turn that draft into a plant command. Retain those proof points as the pilot evolves.
Evidence register for an engineer-led acceptance review
Maintain a table with one row for each material AI behaviour: source document, assistant identity, requested operation, destination application, approval requirement, observed authorisation result and business owner. A row for a read-only inspection summary should point to the retrieved synthetic document and the engineer’s review note. A row for an attempted configuration change should show the destination API denial, not merely the model’s verbal description. Include an exception column for tool functions that are technically available but excluded from the current pilot; those privileges should be removed or constrained before sign-off. When a new model version changes retrieval or tool selection, rerun the same cases and compare the underlying API decisions. The register gives the next shift a defensible explanation of what was tested, what remained outside scope and why the assistant was allowed to operate.
Sources and further reading
- ASD and partners, Careful adoption of agentic AI services (1 May 2026)
- NIST, AI Risk Management Framework
How Next Defence can help
For support applying these controls, explore Ai Security And Governance. This article is general guidance and does not replace a scoped technical assessment.