Permitting click review · 2026-11-06
What the Permitting team actually clicks in Albatross, where those clicks go wrong, and the guardrail for each. This follows the Permitting chat review (Oct 14 to Nov 6) and its tickets ZT-558 to ZT-565. Everything here was checked against production (Phoenix) on 2026-11-06.
These are leads for the normal change process. Nothing has been changed. Project numbers are Albatross project ids. Mistakes are listed by project, not by person: in every case the screen allowed the mistake.
How this was measured. Block moves come from the block audit log (project_process_block_audit, timed by changed_at) for Permitting blocks created in the last 60 days. Task moves come from the Permit Submission audit log for the last 120 days. The log records status moves, not which button was pressed, so a button is inferred from the move it makes.
What the team clicks (Residential Permitting, last 60 days)
| Move | Count | Usually from |
|---|---|---|
| Ready to Submit Permit → Pending All Permits Approved | ~255 | Submitted on a Permit Submission task |
| Pending All Permits Approved → All Permits Approved | ~165 | Permits Complete |
| Submission Prep / Review … → No Permit Required | ~80 | No Permit Required - Send to Install / Install Already Started |
| Pending All Permits Approved → Ready to Submit Permit | ~37 | Second- or third-wave Begin … Permit (auto) |
| → Not Ready to Submit | ~10 | Not Ready to Submit |
About one in three new Permitting blocks ends as No Permit Required, so that path matters as much as the approval path.
Residential Permitting: risky clicks and guardrails
1. Two different buttons now finish a no-permit job, and either can be clicked at any status
Current setup. On Oct 29 Permits Complete (262) gained an OR branch: if Permit Types Required includes No Permit Required, the button is enabled no matter what. That branch skips every other check: open Permit Submission tasks, Permit Expiration Date, an As-Built or Post-Approval Revision rework, the block's status. The four old No Permit Required buttons (690, 780, 1208, 1211) were flagged hidden the same evening, but they are still being clicked, so they are still visible on the Permit Details section.
Seen in production.
- 29027 (Nov 4): Permits Complete, then 12 seconds later No Permit Required - Send to Install. The block ended at No Permit Required, after it had been All Permits Approved.
- 29033 (Nov 4): the same two buttons in the other order, 4 seconds apart.
- 28850 (Nov 4): a revision block closed as No Permit Required.
- Oct 29, 23:06 to 23:15: KAJ's account moved 20 blocks from No Permit Required to All Permits Approved (28959, 28969, 28783, 28975, 28823, 28976, 28996, 29003, 29002, 28984, 29013, 28980, 29019, 28982, 29005, 29039, 29042, 28556, 29037, 29038, 28736). All of them have an Installation block, so nothing was stranded. Not in the changelog.
Decided (KAJ, 2026-11-06): a job that needs no permit ends at No Permit Required.
Guardrail.
- Remove the Permit Types Required includes No Permit Required branch from Permits Complete, so it only completes permitted jobs.
- Keep the No Permit Required buttons as the only way to close a no-permit job: No Permit Required - Send to Install (690), No Permit Required - Install Already Started (780) and No Permit Required (Battery Only) (1211). Clear their hidden flag so what the screen shows matches the setup.
- Add no open Permit Submission to all three, so a job with a permit in progress can't be closed as no-permit.
- All Permits Approved (Battery Only) (1208) stays as it is. It's for permitted battery jobs.
- Knock-on: Open Inspection after As-Built Approved (auto) is the only control that checks for the All Permits Approved status. An as-built on a no-permit job will end at No Permit Required and won't open Inspection. Since July, 24 as-built blocks have closed that way. Decide whether those jobs need Inspection opened (this fits with ZT-559). Everything else reads the "complete" base status, which No Permit Required also counts as.
- The 20 blocks moved on Oct 29 stay at All Permits Approved (KAJ, 2026-11-06).
2. Permit Approved can be clicked on a task that was never submitted
Current setup. Permit Approved (213) on the Permit Submission task checks the outcome, delivery method and permit number, but not the task's status. R&R's version (861) does require Pending Approval.
Seen in production. 16 Permit Submission tasks went straight from Ready to Submit Permit to Permit Approved, and 6 straight to Permit Rejected. Skipping Submitted skips the First Permit Submitted stamp, the "Permits Submitted" text to the homeowner and Create Install into Preschedule (auto). 28559 (approved, then rejected by the AHJ) is the costly version of this.
Guardrail. Add task status = Pending Approval to Permit Approved, Permit Rejected - Engineering Review and Permit Rejected - Resubmit. Fold this into ZT-561, which already adds the AHJ approval date and Verified By.
3. The two rejection buttons have the same condition
Current setup. Permit Rejected - Engineering Review (214) and Permit Rejected - Resubmit (215) are both enabled by the same four fields. Only the first sends the job to Scope Review and sets the project to Pending Engineering Review. R&R already separates them: Rejection Attributable = Engineering enables only the Engineering button.
Seen in production. 80 rejections in 120 days. The audit log can't tell which button was used, so the misclick rate is unknown.
Guardrail. Copy the R&R split: Engineering Review needs Permit Rejection Attributable = Engineering, and Resubmit needs anything else. This is small and low-risk. No ticket yet.
4. A hold with no way out (already ticketed)
Not Ready to Submit can only be released by its date. There were 10 holds in 60 days, and two more by KAJ on Oct 29. ZT-560 adds Remove Hold. R&R got one on Oct 29 (1422), and it can be copied.
5. Reject Plan Set leaves the block where it was
Reject Plan Set (591) opens Scope Review and sets the project to Pending Engineering Review, but leaves the Permitting block in its submission queue. Natalie's team keeps seeing a job that's back with Engineering. Guardrail: move the block to Pending Permit Revision (an existing status, on the Permitting Hold queue), and let ZT-558's new-plans path bring it back to Review Revision and Resubmit.
6. Rework Type: usually blank, often wrong, and it decides which button appears
Current setup. Rework Type (Permit Details, editable by anyone) has three options: Post-Approval Revision (renamed from "Revision" on Jun 22), As-Built and R&R. It decides which finishing button the team sees:
| Rework Type | Buttons that can finish the block | Then |
|---|---|---|
| Blank | Permits Complete, only if installation hasn't started | After installation, nothing is enabled until someone fills Rework Type. |
| Post-Approval Revision | Post-Approval Revision Approved (block at Pending All Permits Approved) and As-Built/Post Install Revision Approved (after installation). Both can show at once. | Inspection is not opened, even after installation. |
| As-Built | As-Built/Post Install Revision Approved | Opens Inspection (Open Inspection after As-Built Approved (auto)). |
| R&R | Permits Complete (no control checks this value) | Behaves like blank. |
Populate Revision (auto) (258) and Populate As-Built (auto) (471) are meant to fill it when a block opens at Review Revision and Resubmit / Review As-Built and Resubmit. Their actions point at the right field and values, but they aren't filling it. Every value found was typed in by the Permitting team, often days later (for example 27692 and 28477 were filled on Nov 3, and 28617 on Oct 21). The cause isn't confirmed: the evaluation log timed out. One likely cause: the Begin … Permit (auto) controls move a new block to Ready to Submit Permit in the same save, so the status check fails before the Populate control runs. That needs a test on 28349.
Seen in production (Permitting blocks opened since Jul 1).
| Opened at | Rework Type blank | Post-Approval Revision | As-Built | R&R |
|---|---|---|---|---|
| Review Revision and Resubmit (~130) | ~120 | 3 | 13 | 5 |
| Review As-Built and Resubmit (~150) | 39 | 13 | 96 | 1 |
- 13 revision blocks were marked As-Built, and 13 as-built blocks were marked Post-Approval Revision. An as-built marked Post-Approval Revision closes without opening Inspection. That's the same symptom as 28158 in ZT-559.
- Waiting now with Rework Type blank: at Review As-Built and Resubmit: 28888, 27149, 27708, 28617 and 18357 (open since Aug 19). At Pending All Permits Approved: 26511, 26985, 26635, 26684, 26513 and 28145. After installation, none of these can be finished until Rework Type is filled.
- 6 blocks are marked R&R, which no control checks.
Decided (KAJ, 2026-11-06): the team sees one approve button for every kind of Permitting block, and automations handle the differences. The R&R option stays for now. Inspection isn't opened by revisions, because it's already open after installation. Moving a waiting Inspection is ZT-559.
Proposed design.
Rework Type fills itself. It's worked out from two project dates instead of the block's status, so the timing problem goes away:
| Control | Fires when | Sets Rework Type to |
|---|---|---|
| Populate Revision (auto) (258), new condition | Project All Permits Approved is filled, Installation Started is empty, Rework Type is empty, block not All Permits Approved / No Permit Required / Canceled | Post-Approval Revision |
| Populate As-Built (auto) (471), new condition | Project All Permits Approved is filled, Installation Started is filled, Rework Type is empty, block not complete or canceled | As-Built |
In words: if the project already had its permits approved, any new Permitting block is a revision, and it's an as-built if installation has started. A first-time block never qualifies, because the project date is still empty. Rework Type becomes read-only for the Permitting team, and only KAJ can override it.
One button: Permits Complete.
- Shows when: every listed permit is approved (and the ESC permit, if separate), no Permit Submission is open, and Permit Expiration Date is filled.
- Checks removed: "Rework Type isn't As-Built / Post-Approval Revision" and "installation hasn't started".
- Actions: block → All Permits Approved; block All Permits Approved = now; reset Permit Expiring (auto).
Two new autos do the rest, each once per block:
| Control | Fires when | Does |
|---|---|---|
| First-Time Permits Approved (auto) | Block at All Permits Approved, Rework Type empty | Project All Permits Approved = now; notify closer and setter "Permit Approved" (what Permits Complete does today) |
| Revision Approved (auto) | Block at All Permits Approved, Rework Type filled (any value, including R&R) | Project Latest Permit Revision Approved = now (what the after-install revision button does today) |
The second auto keys off Rework Type, not the project date. Otherwise the first auto's stamp would trigger it in the same save.
Remove: Post-Approval Revision Approved (472), As-Built/Post Install Revision Approved (473), and the banner Rework Type Set (1427, which says to use the revision buttons). Keep: Open Inspection after As-Built Approved (auto) (1317). It only fires when no Inspection is active, so it's a safety net, not something the team sees.
Before the build:
- Fill Rework Type by hand on the 11 waiting blocks listed above, or let the new autos fill them on their next save.
- Check that revisions don't stall on the "every permit approved" rule. Post-Approval Revision Approved never checked permits. Each revision block gets a new Permit Submission task for every permit type, and each one must be approved or marked Permit Not Needed.
- Test on 28349 first. This changes four auto controls.
7. Old Permitting blocks open on Finalized projects (ZT-562)
Plan (KAJ, 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 still pending.
There are 20 blocks, matching the chat review. Dates are from Project Milestones. "Permit notes" is the latest note mentioning permits, revisions or the AHJ. Many of these blocks were last touched on 2026-02-14, which looks like the data migration, so a missing date may mean the date wasn't carried over, not that the work wasn't done.
Both dates filled: close as Canceled (12)
| Project | Block status | All Permits Approved | All Inspections Passed | Notes check |
|---|---|---|---|---|
| 1264 | Review Revision and Resubmit | 2026-05-11 | 2026-07-06 | Fine |
| 12955 | Ready to Submit Permit | 2025-07-11 | 2025-08-05 | Fine |
| 20208 | Ready to Submit Permit | 2025-09-15 | 2026-03-25 | REVC rework (new meter socket) on Feb 4, inspections passed after it. Also has an open Permit Submission task: cancel it too. |
| 21459 | Ready to Submit Permit | 2025-12-23 | 2026-01-16 | Fine |
| 22115 | Ready to Submit Permit | 2025-02-25 | 2026-05-07 | Fine |
| 22402 | Ready to Submit Permit | 2025-10-13 | 2026-03-16 | Fine |
| 22740 | Ready to Submit Permit | 2025-10-28 | 2026-04-16 | Fine |
| 22816 | Ready to Submit Permit | 2025-11-13 | 2026-06-02 | Last permit note: "Submitted revision via mail" (Feb 3). Inspections passed four months later, so it looks fine. Glance at it. |
| 23292 | Review Revision and Resubmit | 2026-01-27 | 2026-04-14 | Jan 22 QC fail was before the inspection. Fine |
| 23315 | Review Revision and Resubmit | 2025-11-06 | 2026-03-23 | Fine |
| 24945 | Ready to Submit Permit | 2025-03-19 | 2026-04-07 | Fine |
| 25433 | Submission Prep | 2024-12-27 | 2025-10-06 | Fine |
One date missing: needs a person to look (6)
| Project | Block status | All Permits Approved | All Inspections Passed | Notes |
|---|---|---|---|---|
| 8856 | Pending Permit Revision | 2024-10-30 | — | Last notes are from 2024: "Inspection yet to be scheduled" |
| 12415 | Review Revision and Resubmit | 2024-09-30 | — | Mar 2025: Greenville County may need a separate MPU permit |
| 15270 | Ready to Submit Permit | 2024-10-10 | — | Nothing about permits since Jan 2025 |
| 16047 | Pending Permit Revision | 2024-11-20 | — | Last note Dec 2024 |
| 17184 | Ready to Submit Permit | — | 2026-03-06 | Oct 2025 rework: new Zeo-branded plan set (Sunnova / Lumio) |
| 22169 | Ready to Submit Permit | — | 2026-03-10 | Apr 2025: "uploaded permit has expired, did they renew it?" |
Neither date filled (2): 599 (Submission Prep since 2024, note "Roof Permit has been issued") and 25432 (Review As-Built, note "Permit All Clear 9/5/2024"). Both look finished in the notes. Confirm and close.
Closing these doesn't fix the Oct 14 change that added Finalized projects to four Permitting queues. That's the other half of ZT-562.
R&R Permitting: how it works today
The block (34) has 16 open blocks. Its buttons don't match their names.
| Button | Condition | What it really does |
|---|---|---|
| No Permit Required (977) | None, always on | Moves the block to Pending All Permits Approved. This is the only way forward after a submission, so it's the normal "submitted" click. In 60 days, 13 blocks went Submission Prep → Pending All Permits Approved this way. It also works on a finished block and reopens it. |
| Send Back to Engineering (1012) | None, always on | Opens R&R Scope Review and sets Pending Permit Revision, at any status, including after approval or install. Same actions as Needs New Plans - Send to ENG (1323), which is limited to Submission Prep. |
| Ready to Submit (auto) (978) | Two Permitting Hold dates filled, estimated date reached, status Submission Prep | Creates the R&R Permit Submission task. Fires once per block and isn't reset, so every resubmission after a revision needs a hand-made task. |
| Plans Complete - Back to Submission Prep (auto) (1324) | R&R Plan Revision Complete equals today | A back-dated or next-day entry never fires. |
| All Permits Approved (852) | Status is Pending All Permits Approved | Only checks status: not whether a permit was approved or a task is still open. Creates R&R Field Work at Ready for Install Audit, which isn't one of that block's statuses. |
| R&R Permit Submitted / Approved (task) | Task fields | Move only the task. Neither moves the block. |
| SMS - Permit Submitted (auto), Scheduled, Schedule a Permit Pickup (auto) (936 to 938, 940 to 942) | None | No actions and not automatic. Clutter. |
Seen in production now.
- Duplicate submission tasks: 25690, 27845 and 26949 each got two tasks the same day; 28203 and 28972 also have two (28972 is the double click from the chat).
- Stuck at Ready to Submit Permit, which has no work queue: 28971 (no submission task at all) and 26211.
- Inconsistent: 30797 is at Pending Permit Revision but still has an open Ready to Submit Permit task.
- Open on canceled projects: 26641 and 30809.
- Waiting at Pending Permit Revision: 28978, 29045, 30637, 30797 and 30885. Each depends on the "equals today" date.
Guardrails for the R&R review (ZT-563).
- Make R&R Permit Submitted move the block to Pending All Permits Approved. Then give No Permit Required a real condition (block at Submission Prep, no open task) and point it at the No Permit Required status, which no button sets today.
- Archive Send Back to Engineering, or limit it to Submission Prep, Ready to Submit Permit and Pending All Permits Approved. Needs New Plans already covers Submission Prep.
- Replace the one-shot Ready to Submit (auto) with a repeatable Submission Prep Complete button. It creates the task only when no R&R Permit Submission is open, which fixes the hand-made tasks and the double click together.
- Change Plans Complete from "equals today" to "on or after the date the block entered Pending Permit Revision", or trigger it from R&R Plan Set completing.
- Have All Permits Approved also require no open R&R Permit Submission and at least one approved one, unless No Permit Required was used.
- Archive the six empty task controls.
- Clean up now, by hand: 28971, 26211, 30797, 26641 and 30809.
8. Permit extension task (ZT-564)
Current setup. Permit Expiring (auto) (1203, project level, timed) creates a Request Permit Extension task as soon as Permit Expiration Date is 14 days away or less. It doesn't check whether Permitting is still open. Inspection's Needs Permit Extension buttons also create the task and park Inspection at Pending Permit Extension. That status isn't in any work queue. The task has three buttons:
| Button | Condition | Does | Problem |
|---|---|---|---|
| Permit Extension Granted (769) | Requested, Requested By and Granted filled; expiration date more than 21 days out | Task → Complete; resets Permit Expiring | Fine. Inspection's Permit Extension Complete (auto) (247 / 1094) moves Inspection on only when Permit Extension Granted is filled. |
| Extension Not Needed - Ready to Submit As-Built (1019) | No active Permitting block, installation started | Opens Permitting at Review As-Built and Resubmit | Doesn't close the task, and doesn't move Inspection. |
| Not Needed - Permit Finaled/Closed (1309) | None, always on | Task → Complete | Doesn't move Inspection, so it stays at Pending Permit Extension with no queue. This is what happened to 28741. |
Seen in production.
- Adam Myers (28324), now confirmed. On Oct 28 at 14:17:39, Permit Expiration Date was typed as 2026-10-23 (wrong year, already past). Permit Expiring (auto) created the extension task in the same second. The date was corrected to 2027 six seconds later and Permits Complete was clicked, but the task stayed open until KAJ closed it at 20:09. A single typo creates a task, and nothing closes it.
- Inspection parked at Pending Permit Extension (no queue): 7746 (task closed, Inspection parked since May 4), 21617 (task closed Oct 13, Inspection still parked), 968, 21206 and 4062 (task open). Also 2303, 19789 and 7397 (Canceled projects) and 12415 (Finalized).
Guardrail.
- Permit Expiring (auto) also needs no active Permitting block, so it can't fire while someone is typing the new permit's date.
- New task auto Expiration Date Updated (auto): when Permit Expiration Date is more than 21 days out, set the task to Complete. That closes typo tasks and tasks left open after a new permit.
- Not Needed - Permit Finaled/Closed: give it a condition (for example, a required reason and All Inspections Passed filled) and rename it, for example Close – Permit Already Finaled.
- Extension Not Needed - Ready to Submit As-Built: add task → Complete.
- Inspection: either add Pending Permit Extension to the Inspections queue, or have Permit Extension Complete (auto) also fire when the task is Complete for any reason. Fix the 9 parked blocks by hand.
- Permits Complete: require Permit Expiration Date more than 30 days out, so a past date can't be saved with the approval.
9. Revisions while a permit is pending (ZT-558) and as-builts at Inspection (ZT-559)
Both tickets' evidence was checked earlier today and still holds. What this review adds:
- ZT-558: include item 5 (Reject Plan Set parks the block at Pending Permit Revision). The new Revised Plans Received (auto) should also release a block from Pending Permit Revision. KAJ's Oct 16 controls were built on the Permit Submission task, not the block, and were archived after 3 days. The record should say why, so the new design avoids the same problem.
- ZT-559: with item 6's design, Latest Permit Revision Approved is stamped by the new Revision Approved (auto) for every approved revision, not only after installation. That's what ZT-559's widened Permit Revision Complete (auto) reads, so the two changes fit together. Build item 6 first, or at the same time. KAJ (2026-11-06): no need to open Inspection for revisions, because it's already open after installation. ZT-559 only moves a waiting Inspection.
10. On-hold jobs fall out of the queues (ZT-565)
Not a click problem, and Michael's decision is in the ticket. One thing to add: queue rows can list project statuses directly (Finalized was added that way on Oct 14), so the build is a set of queue rows plus one notification control. The ticket already says this.
11. Not ticketed yet
- R&R intake check (duplicate project, or wrong project type for an R&R job: Taveras, Tori David). This needs an owner and a decision on where the check lives (Deal Review or R&R Contract). New ticket.
- One-page Permitting SOP: write it after items 1, 2, 6 and 8 are built, so it describes the new buttons. Include the AHJ database "updated" button and Engineering's Send to Permitting Early. New ticket.
Changes not in the changelog
Done. The Oct 14 to Oct 30 changes are in CHANGELOG.md as Untracked, added in a parallel session and merged. This review added the Permits Complete OR branch, the hidden flags and the 20-block move to the Oct 29 row. Every entry still says "why to be confirmed by KAJ".
docs/sections/07-permitting.md and the R&R Permitting part of 12-rr-and-roof.md were generated before Oct 29 and need regenerating.
Suggested order
| # | Change | Ticket | Size |
|---|---|---|---|
| 1 | No-permit jobs close only with No Permit Required; take the branch off Permits Complete (item 1) | new | small |
| 1b | One approve button (Permits Complete); Rework Type fills itself; two autos do the stamps and notification (item 6) | new | medium; test on 28349 first |
| 2 | Permit Approved / Rejected need Pending Approval (item 2) | ZT-561 | small |
| 3 | Split the two rejection buttons by Attributable (item 3) | new | small |
| 4 | Remove Hold on Permitting (item 4) | ZT-560 | small |
| 5 | Reject Plan Set parks the block (item 5) | ZT-558 | small, with ZT-558 |
| 6 | R&R guardrails 1, 2 and 6 (quick wins) | ZT-563 | small |
| 7 | R&R guardrails 3 to 5 (rebuild of the submission path) | ZT-563 | medium, try in staging |