runbookify
← All plans
Manufacturing & Production / Shift Handover & Production Reporting

Schedule Attainment Report: What You Planned vs What You Actually Made

Stop treating the gap between the production plan and reality as a recurring surprise. Import your schedule and your completions, match them line item by line item, and get a clean schedule-attainment % — on the right day, in the right quantity, by line and period, with categorized miss reasons — after a supervisor reviews and approves.

BeginnerAn afternoonBuilds onNext.jsSupabaseResend
What you'll build

A logged-in web tool where you import the schedule and the completions, the tool matches them by scheduled line item and computes schedule attainment (on-time AND complete) by line and period, flags every miss into a controlled reason list, lets a supervisor confirm or edit the miss reasons and approve — and only then publishes the report, emails it via Resend, exports the attainment CSV, and updates the trend.

Gated download

Enter your email — the plan downloads instantly and a copy lands in your inbox.

By submitting your email you'll also receive the weekly runbookify newsletter. You can unsubscribe at any time.

Before you start

  • A Supabase account (free)
  • A Vercel account (free)
  • A Resend account (free)
  • Your production schedule as a CSV or Google Sheet (item, qty, scheduled date, line)
  • Your completion records as a CSV or Google Sheet (item, qty, completed date)
  • Claude Code or any AI coding agent

The problem this kills

Every week the plan says one thing and the floor does another. Line 2 was supposed to finish 500 units of the blue widget on Tuesday; it finished 480 on Wednesday. Three jobs slid to next week, two got pulled forward, and one ran short on material. By Friday nobody can say cleanly how much of the plan we actually hit — because "did we make it?" is answered from memory, gut feel, and a spreadsheet that gets rebuilt by hand every Monday.

So schedule attainment — the single number that tells you how well the plant executes its own plan — never becomes a managed metric. It stays a recurring surprise. You can't see whether you're getting better or worse, you can't see which line or which reason keeps eating the plan, and you can't have an honest planning conversation because there's no agreed scorecard. You don't need an MES upgrade or a six-figure planning suite to fix this. You can build the scorecard yourself, in an afternoon.

What you'll build

An internal web tool that turns two files into one honest number. You import your schedule (item, quantity, scheduled date, line) and your completion records (item, quantity, completed date). The tool matches each scheduled line item to what actually happened and computes schedule attainment the way you define it — strictly: the right quantity, on the right day. It scores by line and by period, and for every miss it asks for a reason from a controlled list you set (material short, machine down, changeover overrun, quality hold, labor, demand pull-in, etc.) so the misses are countable, not free-text mush. A supervisor reviews the results, confirms or edits the miss reasons, and approves — and only then is the report published, emailed via Resend, exported as a clean CSV, and folded into a trend so you can watch attainment move over time.

What's inside the Implementation Plan

The downloadable plan is a step-by-step file you paste into an AI coding agent. It opens by interviewing you about your plant — your real lines and the exact way your data is shaped (your item/SKU naming, your date columns, where the schedule and completions come from), your definition of "attained" (does 480 of 500 count? does Wednesday count for a Tuesday plan? is partial ever OK?), the period you score on, your controlled miss-reason list, who approves, and the messy edge cases (split completions, over-builds, jobs with no plan, plans with no completion). It reads a short tailored spec back to you for a thumbs-up, then builds the tool around your rules and your data — not a generic template. From there it walks the agent through the data model, the importers, the matching-and-attainment engine, the miss-reason tagging, the supervisor approval gate, and the email + CSV + trend outputs. Every step ends with a ready-to-copy prompt.

The governance it includes (this is the point)

This isn't a throwaway spreadsheet. The plan builds in the controls a real operation needs: login so only your team can use it, row-level security so a plant or site only ever sees its own data, and a complete audit trail of every import, match, edit, and approval — who, what, and when. The human-in-the-loop gate is the heart of it: the tool drafts the attainment results and the suggested misses, but nothing is published, emailed, or counted in the trend until a named supervisor reviews the numbers, confirms or corrects the miss reasons, and approves. And a duplicate guard keyed on the scheduled line item (item + scheduled date + line) means re-uploading the same schedule can't double-count it.

Who it's for

Production planners, shift supervisors, and production managers who are tired of arguing about whether the week was good. If you can hand over a schedule and a list of what got finished — and say what "we hit it" means at your plant — you can build this and finally put a real number on plan-versus-reality.

You've got this — open the plan, paste the first prompt, and you'll be scoring your first week's attainment this afternoon.

Gated download

Enter your email — the plan downloads instantly and a copy lands in your inbox.

By submitting your email you'll also receive the weekly runbookify newsletter. You can unsubscribe at any time.