# Assoc Desk

**assoc-desk.infinity-sdg.com** — community association management where AI patrols and drafts, and managers and boards decide.

```
association → homes → assessments: billed → paid | delinquent → referred to collections
violations: reported (inspection · complaint · AI patrol photo)
  → verified by a manager → letter sent → cure period
  → cured   |   cure date passes → hearing notice → hearing → fined | dismissed
letters: drafted (AI or manager) → approved → sent
architectural requests → under review → approved | approved with conditions | denied
board motions → passed (quorum + majority) | failed;  big contracts need one
nightly: billed dues 30 days past due turn delinquent
```

## What it enforces

| Rule | Why |
|---|---|
| AI-detected violations report a confidence and must be verified by a manager | Cameras and models misread; an owner never hears about an unverified flag |
| No letter about a violation that hasn't been verified, and every AI-drafted letter is approved before sending | People own what goes out |
| A violation counts as noticed only when a notice was actually sent | Notice is recorded, not assumed |
| A hearing only after the cure date passes and a hearing notice is sent; only the board can fine | Due process before money changes hands |
| Collections only after a late-payment notice was sent to that home | Owners get a chance to pay first |
| Motions pass only with a quorum and more votes for than against | Board actions are valid |
| Work over $10,000 needs a passed board motion | Spending authority |
| Denials and conditional approvals of architectural requests state their reasons or conditions | Owners know why |

Every resource is audited. Violations keep a readable history from report to outcome.

## Resources, views, roles

- **Resources:** association, home, assessment, violation, notice, arcrequest, motion, workorder
- **Views:**
  - `aiPatrolToVerify`
  - `noticesToApprove`
  - `delinquencies`
  - `openViolations`
- **Roles:**
  - `manager`: the community manager, who handles day-to-day operations
  - `board`: hearings, fines, architectural decisions, votes
  - `admin`

## Demo data

The demo portfolio has 10 associations (HOAs, condos and a co-op in NC, SC, GA, FL and TX) and 26 homes.

- **Dues:** two months of dues, mostly paid. Some are delinquent, and one was referred to collections after its late notice was sent.
- **Violations,** 12 in every state:
  - AI-patrol detections waiting for a manager
  - an AI false positive that a manager dismissed (it was a recycling bin on collection day)
  - letters still in their cure period
  - two hearings
  - one fine, after a missed hearing
  - two cures
- **Letters:** AI-drafted letters waiting for approval.
- **Architectural requests:** 10, approved, conditional, denied and pending.
- **Board motions:** 10. Six passed, and two failed on their votes.
- **Work orders:** 10. The roof, pool and elevator contracts are each backed by a passed motion, and a $58K repaving job waits for its vote.

Everyone and everything is invented. Phone numbers use the 555 range. To regenerate the data, run `python3 seeds/gen_seed.py`.

## Run it

```bash
scripts/kalos.sh validate    # static checks
scripts/kalos.sh start       # kalosd on :9216
scripts/kalos.sh verify      # live checks
```

By default, `KALOS_REPO` is `../kalos`.

Sign in with `admin` / `Admin123!`. The other users are `manager1` and `board1`, both with password `Demo123!`.

## Reselling

This is an original ISDG product for community association management companies. It has no owner data and no third-party branding. Notice periods and fine rules vary by state and governing documents; they're configured per association in a real deployment.
