# Plan the first version

The plan should make the work easy to inspect. It should identify the smallest useful result, the files that change and the evidence that will show whether it works.

## A complete starting plan

**Problem:** A coordinator cannot reliably separate urgent active requests from duplicate, invalid and inactive records.

**Version-one result:** The automation track writes a validated queue, review list and readable brief. The internal-tool track presents the same validated queue in a local browser, with filtering and a detail view before adding edits or export.

**Sequence:**

1. Inspect the CSV schema and select the fixed Week 1 clock. Check HH006, HH012 and HH014 manually.
2. Implement current-record selection and validation. Verify canonical and quarantine IDs before formatting any report.
3. Apply active-status and priority rules. Verify exact active IDs, priorities and known-budget totals.
4. Build the human-facing brief or local queue view. Attach source references to decisions and flags.
5. Test repeated input and malformed input. Preserve the last good result on failure.
6. Add the Week 2 update path. Verify resolved source problems, cancellations and changed dates.
7. Add only the chosen track's next useful feature: an operating run log, or local edits and export.
8. Write clean-start and recovery instructions; run them in a fresh task or browser state.

**Excluded from version one:** logins, billing, CRM writes, email delivery, multi-tenant access, public hosting and a general-purpose workflow builder.

## Acceptance table

| Requirement | Check | Evidence to retain |
| --- | --- | --- |
| Correct current records | HH006 uses 35 participants and October 13 in Week 1 | Selected source version and output row |
| Conflicts remain visible | HH012 is quarantined in Week 1 | Review-needed entry and both source rows |
| Accurate active queue | Week 1 has 15 active IDs | Export and comparison with the oracle |
| Honest totals | USD 55,200 stated budgets plus one unknown | Audit and readable label |
| Safe repeat run | Second identical run creates no duplicate business rows or drafts | Both run logs and output comparison |
| Clear bad-input failure | Malformed fixture is rejected before replacing good output | Error and preserved output |
| Useful update path | Both files produce 19 active requests at the Week 2 clock | Updated audit and changed-record explanation |

These reference values are not pre-recorded passes. Record the actual observation after execution.

## Ask Codex to challenge the plan

“Read this plan and the project rules. Identify three concrete ways the first version could appear correct while producing a wrong or unusable result. For each, name the smallest check that would expose it. Do not implement changes yet.”

Accept suggestions that reveal a real requirement or failure case. Reject speculative features that do not help the coordinator complete the chosen job. Keep the final plan short enough to explain aloud in two minutes.
