seubert-claims/ondeck
lorentz fad9e18662 feat(imageright): Task Audit feature for SHAPE clients
- Add TaskAudit/TaskAuditStatus Prisma models linked to Client/Task/User.
- Add ImageRightClient (auth, findFilesByFileNumber, findDocuments,
  getSortedFolders) per Vertafore REST v1 API.
- Add audit engine that resolves per-item target dates/windows from the
  SHAPE_IR_Filing_Audit_Spec.md checklist, navigates real ImageRight folder
  structure, and links results to existing Tasks where found.
- Add GET/POST /api/clients/[id]/task-audit (SHAPE/SHAPE2-gated) and a
  Document Audit tab in the client detail page.
- Add Client.amsCustomerNumber (AFW_Customer.CustNo) — ImageRight's
  FileNumberPart1 expects this AMS360 account number, not the amsCustomerId
  GUID. Backfilled via one-off /api/admin/backfill-ams-customer-number.
- Fix folder/document traversal against verified live ImageRight data:
  real folders are nested under a per-year "Policy Term" folder (not flat
  SUBMISSION/PRERENEWAL as in the source spec doc), and document listing
  requires POST /api/documents/find with {FileId, ParentId} — the
  previously assumed /api/containers/{id} endpoint 404s on real ids.
- Add jest coverage for client auth/find calls and folder/doc-type matching.

Known open items (need process-owner input, not resolved here):
- Real IR document types (Correspondences, Pre-Renewal Information, Loss
  Run) don't map 1:1 to the spec's generic labels (EMAIL, EXCEL DOC, PDF).
- Spec's second folder_path segment (e.g. PRERENEWAL) has no matching real
  subfolder for at least one tested client; currently ignored for folder
  navigation and only surfaced in the audit result label.
- Whether an audit item should be skipped when no open Task exists for it,
  rather than always running and reporting INCOMPLETE.
2026-07-08 10:39:12 +00:00
..
.claude Initial commit: OnDeck project 2026-02-18 13:20:52 +00:00
docs feat(automation): move task auto-generate to post-sync + admin config UI 2026-07-07 18:26:12 +00:00
prisma feat(imageright): Task Audit feature for SHAPE clients 2026-07-08 10:39:12 +00:00
public Signin: use black logo with CSS invert for white rendering on green panel 2026-04-13 02:52:33 +00:00
scripts feat(imageright): Task Audit feature for SHAPE clients 2026-07-08 10:39:12 +00:00
src feat(imageright): Task Audit feature for SHAPE clients 2026-07-08 10:39:12 +00:00
.gitignore fix: Prisma where clause conflict causing old non-terminal tasks to bypass dueDate cutoff 2026-04-08 18:38:07 +00:00
ARCHITECTURE.md Fix: open overdue tasks no longer hidden by 7-day age cutoff 2026-05-19 03:24:14 +00:00
components.json Initial commit: OnDeck project 2026-02-18 13:20:52 +00:00
docker-compose.yml Remove obsolete docker-compose version attribute 2026-04-13 01:28:40 +00:00
Dockerfile Initial commit: OnDeck project 2026-02-18 13:20:52 +00:00
eslint.config.mjs Initial commit: OnDeck project 2026-02-18 13:20:52 +00:00
jest.config.js Initial commit: OnDeck project 2026-02-18 13:20:52 +00:00
jest.setup.js Initial commit: OnDeck project 2026-02-18 13:20:52 +00:00
next.config.ts Initial commit: OnDeck project 2026-02-18 13:20:52 +00:00
package-lock.json Renewal settings, client setup queue, manager setup page, combobox grouping, nav updates 2026-04-10 13:50:04 +00:00
package.json Rebrand: rename ondeck->horizon in package.json, docker-compose, SERVER.md, docs; production stack at /opt/stacks/horizon 2026-04-12 23:59:20 +00:00
postcss.config.mjs Initial commit: OnDeck project 2026-02-18 13:20:52 +00:00
prisma.config.ts Initial commit: OnDeck project 2026-02-18 13:20:52 +00:00
README.md Initial commit: OnDeck project 2026-02-18 13:20:52 +00:00
restart-dev.sh Initial commit: OnDeck project 2026-02-18 13:20:52 +00:00
SERVER.md Rebrand: rename ondeck->horizon in package.json, docker-compose, SERVER.md, docs; production stack at /opt/stacks/horizon 2026-04-12 23:59:20 +00:00
tsconfig.json Initial commit: OnDeck project 2026-02-18 13:20:52 +00:00

This is a Next.js project bootstrapped with create-next-app.

Getting Started

First, run the development server:

npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev

Open http://localhost:3000 with your browser to see the result.

You can start editing the page by modifying app/page.tsx. The page auto-updates as you edit the file.

This project uses next/font to automatically optimize and load Geist, a new font family for Vercel.

Learn More

To learn more about Next.js, take a look at the following resources:

You can check out the Next.js GitHub repository - your feedback and contributions are welcome!

Deploy on Vercel

The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.

Check out our Next.js deployment documentation for more details.