Step 1 · Open the source pack
Five files hold the week’s evidence. Lina’s Module 3 workbook already gives each one a source ID and a reliability rating, so the workflow starts from named sources, not from a loose folder.
| Source ID | File | What it holds | Reliability |
|---|---|---|---|
| TXN-001 | TXN-export.csv | Seven posted transactions, June 22 to 27, 2026, including one payroll credit | High |
| REC-001 | receipts.txt | A Trader Joe’s receipt, and a faded CVS receipt with its date and total unreadable | High |
| DOC-001 | internet-bill.txt | Skyline Fiber, $72.40 due June 28, a $9 late fee, autopay not enrolled | High |
| NOTE-001 | todo-note.txt | Lina’s own reminders: the checklist, the bill, and the office lease renewal date | Low |
| EMAIL-001 | henderson-email.txt | Sara asks for a 30-minute sync on Thursday, June 25 at 2:00 PM, and for the onboarding checklist | High |
Read with careThe note is rated low because it records what Lina intends, not proof that anything was done.
Then check Confirm the workflow will read all five files, and stop if one is missing.
Step 2 · Read the written standards
The goals file is the loop’s written standard. It is read on every run, so the checks never depend on someone remembering them.
- Spending means posted debits only; a credit is reported separately and never subtracted.
- A receipt that matches a bank row corroborates it; it is not a second expense.
- Unreadable amounts stay out of confirmed totals and go under Needs human review.
- Any bill due within seven days joins the action queue with its due date and the cost of missing it.
- Drafts and action records only: nothing is sent, booked, paid or changed without a person’s approval.
- Weekly spending Confirmed spending for the week stays at or below $200.00.
- Dining Spending on dining stays at or below $30.00.
- Subscriptions Spending on subscriptions stays at or below $15.00.
- Review flag Every confirmed expense of $50.00 or more is flagged for Lina, which is not automatically a violation.
Then check Which rule would the bad example report break first?
Step 3 · Describe the workflow, then check the plan
The contract asks the builder for four workflow files before any output is produced. They are this module’s blueprint, in the form a machine can run.
| File | What it holds |
|---|---|
| workflow/WORKFLOW.md | A Mermaid workflow diagram, and a short explanation of each pattern used |
| workflow/workflow-table.csv | The documentation table: station ID, station, trigger, inputs, outputs, depends on, owner or tool, failure point, and route on failure |
| workflow/assembly-checklist.md | Numbered stations, named handoffs, pass and fail paths, the merge point, an owner or tool per station, and the three-round stop condition |
| workflow/run_workflow.py | One local command that reruns the whole workflow |
A description built from the notes’ five ingredients · this site’s sketchTask: turn Lina’s weekly evidence into a reviewed weekly brief and action queue. Inputs: the five source files, budget-goals.md and audit-rubric.md. Steps I know: prepare the evidence, draft the brief, run the audit gate, and on a fail revise and re-audit. Good and bad output: example-good-weekly-report.md and example-bad-weekly-report.md. Done means: every file in output-contract.md exists, and the audit log ends with a final route.
Then check Read the plan back. Did it capture every decision point, invent a step, or miss a dependency?
Step 4 · Build the evidence layer
The first stations rebuild what Module 3 did by hand. Every source gets an ID, and every transaction becomes one ledger row with its source attached.
| File | Columns |
|---|---|
| outputs/source-registry.csv | Source ID, file name, type, reliability, privacy, and what it can answer |
| outputs/clean-ledger.csv | Date, merchant, raw description, amount, transaction type, category, source IDs, confidence, needs review, and reason |
Then check Is the Trader Joe’s purchase counted once, and is the CVS row flagged instead of guessed?
Step 5 · Draft the weekly brief
The brief has four sections and must be skimmable in about a minute. Every factual statement names a source ID or file name. The figures below are this site’s own arithmetic from the supplied files, using the categories in Lina’s Module 3 workbook, so you can check a run against them.
| Check | Result |
|---|---|
| Confirmed debit spending | $220.66, which is over the $200.00 weekly goal |
| Dining | $34.20 at Uber Eats, which is over the $30.00 cap |
| Subscriptions | $10.99 for Spotify, which is within the $15.00 cap |
| Review flags at $50 or more | Amazon at $63.77 and Shell at $51.02, flagged for Lina but not violations |
| Payroll credit | $2,415.00, shown separately and never netted against spending |
| Trader Joe’s receipt | Corroborates the $42.18 bank row and is counted once |
| CVS receipt | Unreadable, so it is excluded from totals and listed under Needs human review |
Then check Does every line of the draft name its source, and does uncertainty stay visible?
Step 6 · Run the audit gate, with a stop rule
The audit is Module 2’s gate, inherited unchanged. The rubric says the workflow may automate it, but must not replace it with a smaller rubric. It is the routing pattern and the evaluator loop at once.
- All eight categories are checked: factuality, source support, completeness, tone, audience fit, formatting, risk and privacy.
- Each category records a verdict, evidence from the draft, evidence from the sources, why it matters and the required fix.
- If the source pack is missing, the audit returns blocked and asks for it.
- After a fail, the maker fixes only the failed items, and all eight categories are audited again.
- Three specialist judges follow in order: evidence and factuality, completeness and priority, then risk, privacy and executive fit.
The safety cap · audit-rubric.mdStop early when all eight categories and all required judges pass, or stop after three maker and checker attempts. If the third attempt does not pass, return REVIEWED - BLOCKED. Never invent evidence to force a pass.
Then check Find the stop condition in the assembly checklist. Does it match the rubric’s three attempts?
Step 7 · Deliver, as drafts only
The last station prepares the delivery and stops short of sending it. The real connections stay with a person, who makes the final decision.
| File | What it holds |
|---|---|
| outputs/weekly-brief.md | The four sections required by the goals file, with source references |
| outputs/action-queue.csv | Each action with its owner, due time, source IDs, whether approval is required, status and notes |
| outputs/audit-log.md | Every maker and checker round, each gate verdict, the feedback, the corrections, the final route and the stop reason |
| outputs/run-log.json | A start and end record for each station, with inputs, outputs, status, iteration count and errors |
| outbox/henderson-email-draft.md | The reply to Sara, a draft only, clearly marked NOT SENT |
| outbox/calendar-actions.ics | Proposed meeting and reminder events only, documented as simulated and not imported |
The audit log’s last line must be exactly one of these two · output-contract.mdFINAL ROUTE: PASS, or FINAL ROUTE: BLOCKED - HUMAN REVIEW
Then check Is the internet bill in the action queue with its June 28 due date and the $9 late fee?
The prompts that drive the build
The Module 4 prompt library gives the exact chain from the hands-on recording, in eight prompts: a deliberately vague request, the Workflow Build Brief in design mode, a frozen blueprint, an independent workflow audit, one bounded run, the evidence branch, the revise loop and a scoped delivery approval. It assumes a local folder named Lina — Finance Close, opened in Codex.
A bad report and a good one
The input includes two example reports. The bad one lists its own seven faults, and each is something the standards and the audit gate exist to catch.
| What went wrong in the bad example | What the good example does instead |
|---|---|
| No sources are named | Every claim carries a source ID |
| An unreadable amount is guessed as $18 | The unreadable receipt is excluded until a person supplies the amount |
| The receipt and the bank charge are counted twice | Calculations come from the clean ledger, once per purchase |
| Payroll is used to offset spending | The payroll credit is shown separately and not netted |
| The written goals are not checked | Each goal is checked, and a review flag is called informational |
| It claims the email was sent, the meeting booked and the bill paid | External actions stay as proposals that need a person’s approval |
| There is no unresolved-items section and no audit verdict | A Needs human review section keeps uncertainty visible |
Read with careThe good example says its sample values are not Lina’s real results; it shows format and behavior only.
Check what you built
The output contract lists twelve files in four groups. None of them should exist before the build, and each has something specific to check.
| Group | Files | What to check |
|---|---|---|
| Workflow design | WORKFLOW.md, workflow-table.csv, assembly-checklist.md, run_workflow.py | A diagram, its twin table, numbered stations with fail paths and a three-round stop, and one rerun command |
| Evidence layer | source-registry.csv, clean-ledger.csv | Every source has an ID; every row keeps its source; the CVS receipt is flagged |
| Reviewed delivery | weekly-brief.md, action-queue.csv, audit-log.md, run-log.json | Four sourced sections, approval-required actions, every round logged, and a final route |
| Simulated outbox | henderson-email-draft.md, calendar-actions.ics | Marked NOT SENT and simulated; nothing is sent or imported |