All work

Case study · Web app

Minera Atocha — Internal control and executive command center

Two connected systems for a mine in Durango. One identifies every worker on the ground. The other is an AI command center that turns the whole operation's data into early warnings and better decisions.

Centro de Mando on the control-room wall, overlooking the pit — concept mockup
Client
Minera Atocha (Durango, Mexico)
Role
AI software developer & strategic consultant
Timeline
2026 – present
Platform
Web app, desktop and tablet
Tools
Base44, Claude, AWS Rekognition, Egnyte

By the numbers

377
people on the payroll
255
workers registered with a QR code
≈190
meals verified per day

My roleUser and stakeholder research, information architecture, UI design and AI-assisted development, end to end.

The problem

In a mine, daily operations depend on knowing who is on site and what they are entitled to: which meals, which protective gear, which medical attention. That information lived on paper logs and spreadsheets spread across departments. That made it slow to check, easy to game and hard to audit.

The same problem, one level up

Leadership faced the same problem at a larger scale. Every area kept its data in its own place: payroll on the file server, the cafeteria in its own app, geology and the lab in Excel files, and costs in the purchasing system. Nobody could see the whole operation.

Research

Continuous stakeholder work

This wasn't a one-off study. I work continuously with the general management, the area heads (starting with Geology), HR and IT. Each role has different goals and a different tolerance for screens.

A real online interview with a stakeholder from the operation — face blurred for privacy.

Approaching as an ally, not an auditor

With the area heads, the approach was to treat them as experts teaching the system. Meetings last 10 minutes and the ask is "the file you already have, even if it's not clean". Nobody should feel watched or replaced.

Key insights

  • Executives want decisions, not dashboards.
  • Operators need speed above all, because workers are waiting in line.
  • Area heads already work in Excel, email and Teams. The system should accept what they already use, not force them to enter data in a new tool.
  • The head of Geology defined which signals to watch: continuity of the mineralized structure, actual grade against planned, structure thickness, and reserve replacement through new exploration projects.

Design

Key design decisions

01

Designing for 11 roles

Because each role has different goals and a different tolerance for screens.

I mapped who needs what (cafeteria operator, nurse, warehouse, HR, area supervisors, purchasing and executives) and gave each role its own simplified view, so nobody faces a screen full of things they can't use. Medical data is visible only to nurses.

WorkersCafeteria & eventsPPESafety incidentsInfirmary
Admin
IT admin—
HR
Nurse—
Area supervisor——
Cafeteria operator———
Warehouse———
Purchasing manager———
Security—————
Training—————
Supervisor—————
  • Full access
  • Partial: sick-leave days only, no medical details
  • —Hidden from this role

Who sees what — taken from the system's actual permission rules.

02

QR beat facial recognition

Because on the floor the camera registered whoever walked past the tablet.

We started with facial recognition at the cafeteria: the tablet at the counter matched the face against enrolled workers in seconds. Then a problem showed up on the floor: the camera picked up anyone walking in front of the tablet. We changed it. The badge QR code is now the main method and the face is an option. The result is a big, color-coded accept or deny, readable from a step away. The system also blocks a second meal of the same type on the same day.

The check-in result is a big, color-coded verdict readable from a step away — concept mockup, personal data masked.

03

Fast field capture

Because these forms are filled while a worker stands waiting.

PPE dispatch, incidents and consultations are short, single-screen forms. They have large touch targets and smart defaults (date, time and operator fill in automatically), because they are registered while workers are waiting.

PPE dispatch: the worker is identified, then a short form registers the delivery — personal data masked.

04

A story, not a dashboard

Because executives want decisions, not dashboards.

For executives, the AI writes a briefing every morning in three parts: What went well · What's at risk · Needs your decision.

The daily briefing sorts the day into what went well, what's at risk and what needs a decision.

05

Speaking in money

Because a percentage is easy to ignore, but money lost is not.

Payroll is shown in pesos. In Geology, grade multiplied by the metal price gives the estimated value per ton, so a drop in grade reads as money being lost, not as a percentage. Every indicator has a trend arrow against the previous 30 days.

Geology page: grade becomes estimated value per ton, with a 30-day trend on every indicator — concept mockup.

06

Being honest about what the AI can see

Because executives need to know how much to trust each number.

The "What feeds the system" map shows every data source with its status (Connected, In progress, Late or To connect) and when it last updated. If a source stops arriving, its line turns amber on its own. Screens that don't have data yet say exactly what will feed them, instead of showing filler numbers.

Every source shows its status, so leadership knows how much to trust each figure — concept mockup.

07

An AI the leadership can trust

Because executives need to see the reasoning before they act on it.

Leadership can ask questions of their own data. The AI answers only from connected information, in Spanish, and never invents figures. Its access is read-only and the final decision always stays with a person.

Leadership asks questions of their own data and the AI answers only from connected sources — concept mockup.

01

The pivot: from purchasing to an "AI CEO"

The project started as a purchasing tool. It compared quotes with a green, yellow or red light, gave leadership an AI recommendation to approve at a glance, and sent the order to the supplier from the buyer's own email or WhatsApp.

Along the way something more important appeared. IT already had a purchasing system connected to the company's ERP. And what leadership really needed wasn't to buy faster, but to see the whole operation in one place and catch small problems in time, before they become costly mistakes.

So I paused the purchasing module and redesigned Centro de Mando as an "AI CEO": an intelligence layer that gathers information from every area and turns it into a daily story and early warnings.

02

Part 1 — Control Interno

Six modules share one worker identity and one event log. That way each check happens once and every action is recorded in the same place.

Worker identity

A profile with a unique QR code and optional facial recognition.

Cafeteria control

Authorized dining site and meals per worker. Every access is validated and logged.

PPE

Stock, monthly quotas, and per-worker dispatches and returns, with lost items chargeable to payroll.

Safety incidents

Supervisors report unsafe behavior, conditions and PPE non-compliance, with severity and open or resolved tracking.

Infirmary

Consultations with vital signs, condition, medications and work-disability days.

Unified event log

Every action across modules becomes one operational event, and leadership gets a single audit trail.

03

Part 2 — Centro de Mando

In development

Centro de Mando gathers information from every area and processes it together to catch risks in time.

Proof of value: the payroll finding. Crossing payroll with Control Interno revealed a gap: 377 people paid, but only 255 registered. The gap wasn't random. It was two whole groups, a site's weekly staff and the biweekly staff, that had never been loaded into the system. No single area could see it. Connecting the sources made it obvious in minutes, and HR received the exact list to fix it.

Coming next

  • Lab assays and geology grades.
  • Mine and plant shift reports.
  • Actual costs through the existing purchasing system.
  • Friendly email reminders when a report is missing.

How it thinks

  1. 01

    Gather

    Today, these arrive automatically every day: weekly and biweekly payroll from the company's files, the Control Interno summary (people on site, meals, PPE, infirmary and incidents) and metal prices. Geology and the Lab are in progress, using the files the area heads already use.

  2. 02

    Connect

    AI cross-checks areas against each other and against plan: payroll vs. headcount, actual grade vs. target, costs vs. history.

  3. 03

    Act

    It tells leadership what went well, what's at risk and what needs a decision.

AI daily briefing

A morning story of what went well, what's at risk and what needs a decision, plus questions to the data.

Source map

3 of 9 sources connected and 3 in progress.

HR and payroll

Automatic weekly and biweekly import, in pesos, with staff movement.

Cafeteria and site

People on site, meals, PPE, infirmary and incidents.

Geology

A page ready to receive data, with key figures, warning signals, exploration projects and prices.

Metal prices

Silver, gold, lead and zinc plus the exchange rate, with trend.

04

Security & privacy by design

Eleven user roles, each seeing only what they need. Medical details are restricted at field level to nurses and admins. Access is protected with multi-factor authentication. AI summaries never name employees or diagnoses, and leadership's AI connection is read-only.

05

Impact

  • One identity per worker for the cafeteria, PPE, safety and the infirmary.
  • Meals verified in seconds, with duplicate blocking.
  • PPE accountability tied to each worker and to payroll.
  • A complete audit trail.
  • Leadership that starts the day with a briefing instead of chasing reports from every area.

06

What I learned

  • Designing for many roles means designing permissions first.
  • Privacy for medical data has to be part of the data model, not an afterthought.
  • The most advanced technology doesn't always win on the floor. QR beat facial recognition.
  • Listening can change the whole product. The biggest value wasn't in purchasing, but in connecting areas.
  • Connecting data from different areas reveals problems no single area sees alone.
  • AI-assisted development let me go from requirements to a working system much faster than traditional development.