# Deferred Items — Phase 12

Out-of-scope issues discovered during execution but not fixed (per Scope Boundary rule).

## Plan 01

- **Pre-existing type-check failure, unrelated to this plan.**
  `lib/services/sync-scheduler.ts:446` and `:450` reference
  `@/lib/services/appgate-factory` and `@/lib/services/appgate-sync-service`
  via dynamic `import()`, but neither file exists in this worktree/commit
  (they appear to be untracked WIP files from a separate, unrelated feature
  in the main checkout — not part of git history at the branch point this
  worktree was created from). Confirmed pre-existing via `git stash` before
  any Task 2 edits: the same two `TS2307` errors reproduce with
  `lib/types/pax8.ts` reverted to its pre-plan state. Not touched by
  migrations/093 or lib/types/pax8.ts. Someone completing the appgate feature
  branch/commit should resolve this; out of scope for Phase 12.

## Plan 02

- Same pre-existing `sync-scheduler.ts:446`/`:450` TS2307 errors reproduce
  unchanged after Task 1's `pax8-client.ts` edits (`listAllInvoices` /
  `listAllInvoiceItems`). Confirmed unrelated to this plan's files.

## Plan 04

- Same pre-existing `sync-scheduler.ts:446`/`:450` TS2307 errors reproduce
  unchanged after this plan's `pax8-sync-service.ts` edits. Confirmed
  unrelated to this plan's files.
- `npm test` full-suite run surfaces 2 pre-existing failures in
  `lib/services/analyzer/itglue-search.test.ts` ("tolerates per-call
  failures" tests, lines ~129/253) unrelated to this plan — that file was
  not touched by any Plan 04 task and not modified in the working tree.
  All PAX8-scoped suites (`pax8-client.test.ts`, `pax8-company-matcher.test.ts`,
  `pax8-sync-service.test.ts`, `pax8-factory.test.ts`) pass green (31/31).

## Plan 05

- Same pre-existing `sync-scheduler.ts:446`/`:450` TS2307 `@/lib/services/
  appgate-factory` / `appgate-sync-service` errors reproduce unchanged after
  Task 1's new `scripts/verify-pax8-orders-matching.ts` and
  `migrations/094_pax8_order_items_quantity_numeric.sql`. Confirmed via
  `git status` that neither appgate file is part of this worktree's tracked
  tree. Not touched by this plan.
- Same 2 pre-existing `itglue-search.test.ts` failures reproduce unchanged
  (`npm test`: 214/216 passing, 1 unrelated file failing). Confirmed via
  `git log` that `itglue-search.ts`/`.test.ts` were last modified in an
  unrelated commit (`a0a6e7f`), well before this plan.
