ZT-562 · Close old Permitting blocks on Finalized projects

Status Done
Ticket ZT-562
Requested by Michael Lowry (Permitting chat review, Oct 14 – Nov 6); closing rule from KAJ Jacobs's Permitting click review (2026-11-06)
Made by KAJ Jacobs, through Claude in Chrome (Albatross audit data: 2026-11-06 17:34–17:42 MT; last 9 on 2026-11-10 22:38–22:42 UTC). Asked by Michael Lowry.
Date made 2026-11-06 and 2026-11-10
Sections affected 07 · Permitting (Permitting block, Permit Submission task, Permitting work queues)
Project types Residential and Battery Only (both use the Permitting block). R&R Permitting isn't affected.

Decisions

Request

20 Permitting blocks are still open on projects that are already Finalized. Since Oct 14, Finalized projects can show in the Permitting queues, so these old blocks can sit next to real work. Close the ones that are done, look at the rest, and remove the stray Pending All Permits Approved queue row added on Oct 16.

Proposed solution (original draft)

  1. Permitting lead reviews the 20 and marks each close or real work.
  2. Set each close block to Canceled and cancel any open Permit Submission tasks.
  3. Remove the Oct 16 row, unless it was added on purpose.
  4. Leave the Finalized rows.

Review

Checked against production through Phoenix on 2026-11-06 (see the click review, item 7, and CHANGELOG.md rows for Oct 14 and Oct 16). No new Phoenix queries were made for this record.

Admin checklist

Before you start

  1. Natalie decides each of the 8 "look first" projects (table below) and fill the Decision column: close or real work. Leave real work blocks open; they're now worked from the normal queues and the project stays Finalized.
  2. On 22816, read the Feb 3 note. Result: revision mailed Feb 3 (USPS tracking Feb 18), no approval recorded, Latest Permit Revision Approved blank, Close Open Permits task still open. Not closed; goes to Natalie.

Close as Canceled (12). The Permitting block has no Cancel button, so set the block status to Canceled by hand (KAJ).

  1. 1264 (at Review Revision and Resubmit)
  2. 12955 (Ready to Submit Permit)
  3. 20208 (Ready to Submit Permit)
  4. 20208: also set its open Permit Submission task to Canceled.
  5. 21459 (Ready to Submit Permit)
  6. 22115 (Ready to Submit Permit)
  7. 22402 (Ready to Submit Permit)
  8. 22740 (Ready to Submit Permit)
  9. 22816 (Ready to Submit Permit): on hold. Natalie decides with the 8 look-first projects (see step 2).
  10. 23292 (Review Revision and Resubmit)
  11. 23315 (Review Revision and Resubmit)
  12. 24945 (Ready to Submit Permit)
  13. 25433 (Submission Prep)

Look first (8). Close only the ones marked close in step 1, the same way.

Step Project Block status All Permits Approved All Inspections Passed Notes Decision
16. [ ] 8856 Pending Permit Revision 2024-10-30 — 2024: "Inspection yet to be scheduled"
17. [ ] 12415 Review Revision and Resubmit 2024-09-30 — Mar 2025: Greenville County may need a separate MPU permit. If closed, also cancel its Inspection block (Pending Permit Extension) and open Request Permit Extension task.
18. [ ] 15270 Ready to Submit Permit 2024-10-10 — Nothing about permits since Jan 2025
19. [ ] 16047 Pending Permit Revision 2024-11-20 — Last note Dec 2024
20. [ ] 17184 Ready to Submit Permit — 2026-03-06 Oct 2025 rework: new Zeo-branded plan set (Sunnova / Lumio)
21. [ ] 22169 Ready to Submit Permit — 2026-03-10 Apr 2025: "uploaded permit has expired, did they renew it?"
22. [ ] 599 Submission Prep — — "Roof Permit has been issued"
23. [ ] 25432 Review As-Built and Resubmit — — "Permit All Clear 9/5/2024"

Work queues

  1. Keep the Pending All Permits Approved row on the Ready to Submit Permit queue (Oct 16). Corrected 2026-11-06: it is a Permitting block-status row, not a task-status row. It keeps a resubmission task (at Ready to Submit Permit) in the queue while its block waits at Pending All Permits Approved, e.g. after Permit Rejected - Resubmit. 5 live tasks on 3 projects depend on it (27181, 26684, 28954). Don't remove it.
  2. Leave the four Finalized project-status rows from Oct 14 in place (2351, 2354, 2359, 2364). Don't edit the Pending Permit Approval or Pending All Permits Approved queues here; ZT-565 adds on-hold rows to them.

Check

  1. Open the Ready to Submit Permit, Pending Permit Submission, Pending Permit Approval and Review As-Built and Resubmit queues and confirm none of the closed projects show.

New SOP

No change for end users. The rule Michael set still applies:

Permitting team

  1. A Finalized job that needs a new permit or revision is worked from the normal Permitting queues. The project stays Finalized; don't ask for it to be reopened.
  2. After this clean-up, a Finalized job in a Permitting queue is real work, not an old block.

Rollback

  1. Set any block closed by mistake back to the status it had (listed in the checklist).
  2. The Oct 16 queue row was kept, so there is nothing to restore.

Open Phoenix checks

Checked against production through Phoenix on 2026-11-06.

  1. Answered: nothing fires. Auto or timed controls that read the Permitting block's status:
    • On the Permitting block: Populate Revision (auto) (258), Ready to Submit (auto) (300), Populate As-Built (auto) (471), Send Final Layout Email to Customer (auto) (838), Open Inspection after As-Built Approved (auto) (1317). Each needs the block at a specific open or approved status, never Canceled.
    • Through There is an Active Permitting Block (rule 689, which counts Permitting at Submission Prep, Not Ready to Submit, Pending All Permits Approved, Pending Permit Revision, Pending Stamps, Ready to Submit Permit, Review As-Built and Resubmit, Review Revision and Resubmit): Ready to Audit Before Installation (auto) (222), Ready to Preschedule (auto) (1312) and Prescheduling Expired, Ready to Audit for RTBS (auto) (1318) on Installation; Reopen Permitting (auto) (311, 549, 970) and Open As-Built Permit (auto) / Open As-Built (auto) (331, 548) on Plan Set, Engineering Stamps and R&R Plan Set. Each also needs another block at an early status (Installation at Not Ready to Be Scheduled, Ready for Prescheduling Audit or Ready to Preschedule; Plan Set at Ready for Revision QC; Engineering Stamps at Restamp; or an R&R Plan Set). None of the 20 projects has any of those blocks; their Installation blocks are all Installation Complete.
    • Permit Expiring (auto) (1203) excludes Finalized projects ((Project) System Data: Project Object Status EQUAL Finalized). No Permit Submission task auto reads task status in a way that canceling 20208's task would trigger.
  2. Answered: the Permitting block's status is Canceled (base CANCELED). The Permit Submission task also has Canceled (base CANCELED), separate from Permit Rejected.
  3. Answered: row 2372 (status Pending All Permits Approved) is the only such row on Ready to Submit Permit, last modified 2026-10-16. Rows 2351, 2354, 2359 and 2364 (Finalized) are unchanged since 2026-10-14.
  4. Answered: no notes, block changes or project field changes on the 8 "look first" projects (or 22816) since 2026-11-05. The table above is current. The 12 "close" blocks are still at the statuses listed.

Checklist changed by KAJ's decisions (2026-11-06): step 1 names Natalie as the reviewer. Closing as Canceled is confirmed, so steps 3–23 are unchanged.

Config check

Partial, 2026-11-06 (Claude, Phoenix). Built by KAJ Jacobs through Claude in Chrome, 2026-11-06 17:34–17:42 MT.

Pass, 2026-11-10 (Claude, Phoenix). The last 9 were closed by KAJ Jacobs, 22:38–22:42 UTC, as corrected: