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
- Michael Lowry (2026-11-06): when a Finalized job needs permit work, Permitting works it from the normal queues and the project stays Finalized. The Oct 14 Finalized queue rows stay.
- KAJ Jacobs (2026-11-06): close a block as Canceled when the project's All Permits Approved and All Inspections Passed are both filled and the notes show no permit work pending.
- Out of scope: the duplicate Permitting blocks on 27621 and 27753 are in ZT-503.
- KAJ Jacobs (2026-11-06): Natalie (Permitting lead) reviews the 8 "look first" projects and marks each close or real work.
- KAJ Jacobs (2026-11-06): close them as Canceled. No report counts Permitting blocks closed as Canceled, so Complete isn't needed.
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)
- Permitting lead reviews the 20 and marks each close or real work.
- Set each close block to Canceled and cancel any open Permit Submission tasks.
- Remove the Oct 16 row, unless it was added on purpose.
- 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.
- The 20 blocks, sorted by KAJ's rule. Dates are from Project Milestones. Many blocks were last touched 2026-02-14, which looks like the data migration, so a missing date may mean it wasn't carried over, not that the work wasn't done.
- Close as Canceled (12): both dates filled and notes fine. 1264, 12955, 20208, 21459, 22115, 22402, 22740, 22816, 23292, 23315, 24945, 25433.
- 20208 also has an open Permit Submission task. Cancel it too, or it stays in the task queues.
- 22816: last permit note is "Submitted revision via mail" (Feb 3). Inspections passed on 2026-06-02, four months later, so it looks done. Glance at it before closing.
- Look first (8):
- Permits approved, no inspection date: 8856, 12415, 15270, 16047.
- Inspection passed, no permits date: 17184, 22169.
- Neither date, but the notes say done: 599 ("Roof Permit has been issued"), 25432 ("Permit All Clear 9/5/2024").
- 12415 also has an Inspection block parked at Pending Permit Extension with an open Request Permit Extension task (see ZT-564). If 12415 is closed, close those two as well.
- Close as Canceled (12): both dates filled and notes fine. 1264, 12955, 20208, 21459, 22115, 22402, 22740, 22816, 23292, 23315, 24945, 25433.
- Statuses and controls. The Permitting block has no Cancel button, so KAJ sets the block status (and 20208's task status) by hand. Setting a status by hand doesn't run a control's actions, so nothing else is stamped or created by the click itself. Auto controls that read Permitting being inactive could still fire on the next save (Open Phoenix check 1).
- Downstream blocks. None are created. Inspection and Installation on these projects are already finished (the project is Finalized). The only linked open item found is 12415's Inspection block and extension task.
- Fields. No changes. All Permits Approved and All Inspections Passed are only read to decide.
- Work queues.
- Finalized rows (stay). Added by KAJ on Oct 14 as project-status rows: 2351, 2354, 2359, 2364, on Review As-Built and Resubmit (Permitting block) and Ready to Submit Permit, Pending Permit Submission and Pending Permit Approval (Permit Submission task). Once these 20 blocks are closed, the only Finalized jobs those queues show are ones with real permit work.
- Row 2372 (remove). Pending All Permits Approved on the Ready to Submit Permit queue's Permit Submission task rows, added Oct 16 (Untracked). That is a Permitting block status; no Permit Submission task can have it, so the row matches nothing. Removing it changes nothing anyone sees.
- Overlap with ZT-565 (task 06). ZT-565 adds the six on-hold statuses to Pending All Permits Approved (Permitting block) and Pending Permit Approval (Permit Submission task), and keeps on-hold jobs out of the submission queues. This ticket removes only row 2372 on Ready to Submit Permit and leaves the Finalized rows alone, including those on Pending Permit Approval. The two tickets don't edit the same row. Whoever builds second should look at the Pending Permit Approval queue rows afterwards to make sure nothing was removed by mistake.
- Customer and rep messages. None. Setting a status by hand doesn't run the Permitting controls that send texts or notifications (Open Phoenix check 1 confirms there are no status-triggered autos).
- Projects in flight. Only these 20 blocks (and 12415's Inspection block and task). Finalized projects with real permit work, like Dennis Snee (21581), are not touched.
- Money and integrations. None. Pay milestones on Finalized projects are already done, and no Send to… control is involved.
- Reporting. Open Permitting block counts drop by up to 20. No report counts Permitting blocks closed as Canceled (KAJ, 2026-11-06).
- Project types. Residential and Battery Only Permitting blocks. R&R isn't affected.
Admin checklist
Before you start
- 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.
- 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).
- 1264 (at Review Revision and Resubmit)
- 12955 (Ready to Submit Permit)
- 20208 (Ready to Submit Permit)
- 20208: also set its open Permit Submission task to Canceled.
- 21459 (Ready to Submit Permit)
- 22115 (Ready to Submit Permit)
- 22402 (Ready to Submit Permit)
- 22740 (Ready to Submit Permit)
- 22816 (Ready to Submit Permit): on hold. Natalie decides with the 8 look-first projects (see step 2).
- 23292 (Review Revision and Resubmit)
- 23315 (Review Revision and Resubmit)
- 24945 (Ready to Submit Permit)
- 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
- 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.
- 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
- 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
- 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.
- After this clean-up, a Finalized job in a Permitting queue is real work, not an old block.
Rollback
- Set any block closed by mistake back to the status it had (listed in the checklist).
- 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.
- 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.
- Answered: the Permitting block's status is Canceled (base CANCELED). The Permit Submission task also has Canceled (base CANCELED), separate from Permit Rejected.
- 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.
- 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.
- Canceled, confirmed in production: the Permitting block on 1264, 12955, 20208, 21459, 22115, 22402, 22740, 23292, 23315, 24945 and 25433 (steps 3–5 and 7–15), and the Permit Submission task on 20208 (step 6). All changed by KAJ Jacobs.
- Expected side effect: on 1264, 20208, 22740, 23292 and 23315, Albatross moved the main-block flag back to the older Permitting block at All Permits Approved. Nothing else on those blocks changed.
- 22740: some clicks landed on the block page during the build. Production shows no notes or field edits on 22740 today.
- 22816: untouched, as intended (on hold for Natalie).
- Oct 16 queue row: kept (step 24 corrected). The Oct 14 Finalized rows are still in place.
- Queue screens (step 26): pass. None of the 11 shows in Ready to Submit Permit, Pending Permit Submission, Pending Permit Approval or Review As-Built and Resubmit (Chrome, 2026-11-06).
- Decision (KAJ Jacobs, 2026-11-10): close all 9 (the 8 look-first projects and 22816). If permits were approved or inspections passed, the job is done; 599 and 25432 close on their notes. Brief:
tasks/2026-11-10-followups/E3-ZT-562-close-last-9.md. - Correction (KAJ Jacobs, 2026-11-10, 3:36 PM MT): a block whose Permit Submission tasks are all at Permit Approved is set to All Permits Approved, not Canceled. That's 599, 8856, 12415, 15270, 16047, 22169 (the newer block) and 22816. 17184 and 25432 have no task, so they stay Canceled. 22169's older block still has a stray task at Pending Approval; it gets canceled. Setting a block to All Permits Approved by hand fires nothing: it's a COMPLETE status, so autos don't run on save (ZT-576), and none of Permitting's timed autos matches that status. Brief:
E3b-ZT-562-approved-not-canceled.md. - Still to do (was): Natalie decides the 8 look-first projects and 22816. Then Claude re-runs the open-Permitting-blocks-on-Finalized query, adds the CHANGELOG line and sets ZT-562 to Done.
Pass, 2026-11-10 (Claude, Phoenix). The last 9 were closed by KAJ Jacobs, 22:38–22:42 UTC, as corrected:
- All Permits Approved: 599, 8856, 12415, 15270, 16047, 22169 (the newer block; the older one was already approved) and 22816.
- Canceled: 17184 and 25432 (no Permit Submission task).
- Re-run: no Permitting block on a Finalized project is in an open status any more (was 20 on 2026-11-06).
- Queue rows: unchanged, as planned. The four Oct 14 Finalized rows (step 25) and the Oct 16 Pending All Permits Approved row (step 24) stay; with no open blocks on Finalized projects, the Finalized rows now show nothing.