1---2name: court-closeout-reconciliation-33description: Reconcile clerk closeout packets for court dispositions, traffic citations, financial registers, payment petitions, probation referrals, license suspension orders, and form placeholders. Use when a task asks Codex to combine local hearing notes, worksheets, petitions, form excerpts, and case-management portal records into a structured JSON packet with current fees, payment plans, dispositions, exclusions, and audit decisions.4---56# Court Closeout Reconciliation78## Core Workflow9101. Read the prompt, answer template, and every local payload before filling any field. Treat the template as the contract: use its exact keys, enum values, date format, currency type, and sort rules.112. Build a matter-by-matter evidence table from all available sources: local hearing/minute notes, finance worksheets, petition/budget summaries, form excerpts, portal case or citation records, charge rows, docket entries, fee schedules, payment policies, forms, and financial petition records.123. Reconcile conflicts before writing JSON. Do not copy a worksheet or portal row blindly when a signed order, minute note, or current policy contradicts it.134. Fill the output from the reconciled evidence table, then verify every total and every sort order.1415## Source Hierarchy1617- Use signed orders, courtroom minutes, hearing notes, or docket continuance notes to control disposition, plea, finding, sentence, probation referral, and hold/exclusion decisions.18- Use portal case or citation records to corroborate identity, jurisdiction, status, counsel, disposition dates, and petition metadata unless a local correction explicitly supersedes them.19- Use current effective fee schedules and current payment policies for amounts and account-fee treatment. Stale schedules, draft worksheets, statutory maximum notes, and old form footers are not enough to post a fee.20- Use form metadata labels when the schema asks for a form label and a current form record exists. Use local form excerpts for visible labels, account-reference rules, required section labels, and placeholder text when the portal does not provide the needed detail.21- Use the exact placeholder text from the materials, commonly `TBD from case file`, for missing identifiers, addresses, phone numbers, driver-license numbers, probation office details, or other required fields. Do not invent contact details or identifiers.2223## Dispositions And Audit Decisions2425- Mark a matter disposed only when a final disposition or signed order is supported. Pending, continued, deferred, or unsigned matters must be held or excluded according to the schema.26- For pending or unsigned matters, use null for disposition dates when the template says no disposition date should be entered. Keep next status or return dates in their specific fields.27- Distinguish public defender, appointed private, and retained counsel. Do not assess public-defender user fees for appointed-private counsel.28- For amended counts, post fees for the conviction count only. If a controlled-substance count is amended away, remove drug or lab assessments tied only to that count.29- For controlled-substance convictions, include mandatory current assessments when the schedule or hearing notes support them, even if the worksheet omitted them.30- Treat draft plea sheets and finance queues as nonfinal. They can explain an audit conflict, but they do not authorize disposition or financial posting.31- Enter departure status only when supported by the final sentence record. Remove stale departure labels when the hearing note or recorded bench statement says no departure was entered.3233## Financials3435- Compute each matter total from allowed fee items only: current court costs, fines actually imposed, mandatory assessments, policy-supported user/account fees, restitution balances, and approved surcharges.36- Exclude unsupported add-ons such as account-management, late, collection, DMV, returned-payment, traffic-school, copy, certification, court-appointed-attorney, or court-reporter fees unless the current policy or order directly supports them.37- Keep pending, continued, and unsigned matters out of posted register totals. If the schema has a pending/hold fee status, use that status and follow the schema for whether held amounts or zero posted amounts should be shown.38- Batch totals should reconcile exactly to the posted or approved matters described by the schema. Recompute subtotals by fee type after applying exclusions.3940## Payment Petitions And Plans4142- Classify first petitions as initial installment plans unless the materials identify a later review, default, deferral, or exemption.43- Use the requested installment amount when it falls within the policy band and the budget supports it. Otherwise classify it against the policy and budget enums.44- Exclude account fees when the local policy amount is zero or the fee is only from an old worksheet/footer. The amount due should not include excluded fees.45- Apply restitution before fines and costs when policy says so and restitution is part of the balance; use fines-and-costs-only when restitution is zero.46- Prefer an explicit first due date or return-to-court date from the packet. Otherwise derive dates from the current policy offsets and the petition/order date.47- For installment math, subtract any down payment, divide the remaining balance by the regular installment, count full installments, add one final installment for any remainder, and set the final due date by advancing the payment cadence from the first due date.4849## Traffic Citations5051- Derive the violation tier from the actual speed and speed limit, then match it to the current jurisdiction schedule.52- Add mandatory current surcharges once per citation when the schedule says to do so.53- Use the citation number as the account reference when the form or file says no separate case or account number exists.54- Exclude stale fine tables, statutory maximum substitutions, and optional post-disposition fees unless there is a current policy or triggering event.5556## Probation And License Forms5758- Prepare probation referral data only when supervised probation or a referral order is actually ordered. If the notes say no referral was signed, do not use a carried-forward report time.59- Prepare license suspension orders from the conviction and license notes. Use the explicit start basis if stated; otherwise use the conviction date for a conviction-triggered suspension.60- Use the form ID from current metadata. Preserve missing driver-license numbers and other required identifiers as placeholders.6162## Output Checks6364- Sort arrays exactly as the answer template instructs.65- Use enum strings exactly as listed; do not replace them with prose.66- Use JSON numbers for currency fields, not strings.67- Verify every case total, petition total, installment count, final payment, and batch subtotal.68- Do not include explanations, citations, or markdown in the final JSON unless the prompt explicitly asks for them.