Orphaned projects
Terms used by the Orphaned Projects report in Lumen (Process Cleanup analysis, sheet orphaned-projects). The same logic runs in the orphaned-projects-report skill (.claude/skills/orphaned-projects-report/queries/orphaned-projects.sql) and the claude.ai dashboard "Projects outside work queues". Change all three together.
Checked against production through Phoenix on 2026-11-12.
Orphaned project
| Definition | An open project that nothing in Albatross puts in front of anyone: it's in no work queue, so it has no owner and no SLA. |
| Also called | Project outside work queues, project that fell through the cracks |
| Albatross source | Calculated from project, object_status / base_status and work_queue_activity |
| Set by | Nothing sets it. A project becomes orphaned when it leaves its last queue without entering another, or never enters one. |
| Counts when | project.archived is false, the project status's base status is not COMPLETE or CANCELED, and there is no work_queue_activity row for the project with date_exited null, archived false, in a work_queue that isn't archived. On Hold, Legal Hold, Sales Hold, Pending Change Order and the other ON HOLD statuses are open, so they count. |
| Project types | Residential, Battery Only, R&R / Roof |
| Owner | Michael Lowry (asked for the report). Not yet confirmed as a definition. |
| Status | Draft |
Watch out for: don't rebuild queue membership from work_queue_status_assignment. Those rules mix block statuses with project-status filters; copying them reported 19 queued projects as unqueued. work_queue_activity matched exactly the 187 items Albatross showed in the Post-Cancellation Permit Check queue.
Completion evidence
| Definition | The strongest sign an orphaned project is actually finished. |
| Also called | — |
| Albatross source | Calculated from Installation Verified (OSC 671), PTO Approved (OSC 676), System Energized (OSC 677), M2 Funds Received (OSC 686), M2 Invoice Payment Received (OSC 1960), R&R All Funding Received (OSC 2951), and an M2 Funding block in Funds Received |
| Set by | The controls that stamp each milestone (see Milestones) |
| Counts when | The first match, in order: 1. R&R / Roof with OSC 2951 set and no open process block ("R&R funded, no open blocks"); 2. OSC 677 and OSC 686 set ("Energized + M2 funds received", exactly what Set project status: Finalized (control 284) needs); 3. OSC 677 set and M2 paid another way, an M2 Funding block in Funds Received or OSC 1960 ("Energized + M2 paid, M2 Funds Received blank"); 4. any M2 payment record, OSC 677 blank ("M2 paid, System Energized blank"); 5. OSC 677 only ("Energized, no M2 payment recorded"); 6. OSC 676 only ("PTO approved, not energized or paid"); 7. OSC 671 only ("Installed, nothing later recorded"); 8. none ("No completion dates"). |
| Project types | Residential, Battery Only, R&R / Roof |
| Owner | Michael Lowry. Not yet confirmed. |
| Status | Draft |
Watch out for: Project Closed (OSC 687) is the sale date (Deal Review complete), not completion, so it's never evidence.
Cleanup bucket
| Definition | What should happen to an orphaned project: 1 is a process gap to fix, 2 should be finalized, 3 is missing data someone needs to review. |
| Also called | Bucket |
| Albatross source | Calculated from the project status, open process blocks, completion evidence, Installation Verified (OSC 671), and From Spark (project.migration_data_id or migration_external_id set) |
| Set by | Nothing; it's read fresh on each load. |
| Counts when | The first match, in order: 1. ON HOLD project status → "1 · Process issue: on hold, no owner"; 2. evidence 1 → "1 · Process issue: R&R has no path to Finalized"; 3. an open Energization or Service Work block → "1 · Process issue: waiting on service work"; 4. evidence 2, 3 or 4 → "2 · Finalize"; 5. any other open process block → "1 · Process issue: stuck in a block"; 6. not from Spark → "1 · Process issue: no blocks"; 7. from Spark, evidence 5 or 6 → "3A · Finance review: M2 unknown"; 8. from Spark, evidence 7, installed on or before 2024-12-31 → "2 · Finalize"; 9. from Spark, evidence 7, installed later → "3B · Installed 2025 or later: check"; 10. everything else → "3C · Cancel". |
| Project types | Residential, Battery Only, R&R / Roof |
| Owner | Michael Lowry: the 2024-12-31 install cutoff (two or more years after install with nothing open, it's done) and finalizing on any M2 payment record. Nichole Prettyman owns the 3A review (M2 checked in NetSuite or the financier portal). |
| Status | Draft |
Watch out for: an open Energization or Service Work block is checked before Finalize, because a project with M2 paid but Energization still waiting on service work isn't done. The 3A label names finance, not a person (Michael Lowry, 2026-11-12). R&R has no Finalized rule, since it never sets System Energized or M2 Funds Received, and Michael has deferred that fix, so finished R&R projects stay in bucket 1.