# Backlog completion status (honest matrix)

**Purpose:** Map `REMAINING_TASKS_FULL_LIST.md` items (and related audit bullets) to **what the repository can and cannot close** without external systems, contracts, or multi-sprint hardening.

**Legend**

| Status | Meaning |
|--------|--------|
| **Repo-done** | Addressed in code or canonical docs in this monorepo / `dbis_core`. |
| **Repo-partial** | Scaffolding, policy doc, or automation exists; production gate still open. |
| **External** | Requires SWIFTNet, DTCC, bank APIs, carrier CPE, jurisdiction endpoints, or paid cloud contracts. |
| **Deferred** | Explicit product/program deferral recorded in repo (implement later or never). |

---

## P0 (tasks 1–4)

| # | Status | Evidence / blocker |
|---|--------|-------------------|
| 1 | Repo-partial | Marketplace copy updated; **close** when live connectors exist or offering scoped further. |
| 2 | Repo-partial | Narrative in offering + public gaps; **close** when all UI surfaces reviewed. |
| 3 | **Deferred** | [DBIS_RAIL_SCOPE_DEFERRAL.md](DBIS_RAIL_SCOPE_DEFERRAL.md) — on-chain Rail contracts not in scope until chartered. |
| 4 | Repo-partial | `ethers` + types on Thirdweb adapter; **full `tsc`** still blocked by unrelated modules (see `npx tsc --noEmit`). |

---

## P1 Gateway core (5–10)

| # | Status | Evidence / blocker |
|---|--------|-------------------|
| 5 | Repo-done | [GATEWAY_ADAPTER_LIFECYCLE.md](GATEWAY_ADAPTER_LIFECYCLE.md) |
| 6 | Repo-partial | [gateway-outbox.service.ts](../../src/core/gateway/control/gateway-outbox.service.ts) + [gateway-outbox.worker.ts](../../src/workers/gateway-outbox.worker.ts) + `npm run worker:gateway-outbox` (CAS claim + `adapter.send`). |
| 7 | Repo-partial | HTTP + audit + MQ wrap + [FILE_DROP_GATEWAY_INGRESS.example.md](FILE_DROP_GATEWAY_INGRESS.example.md). |
| 8 | Repo-partial | [plugin-gateway-facade.ts](../../src/core/gateway/integration/plugin-gateway-facade.ts) stub — implement when dual-surface connector exists. |
| 9 | Repo-partial | `npm run seed:gateway-provider`; per-institution rows + bindings = **External / ops**. |
| 10 | Repo-partial (doc) | [TOKENIZATION_SMOM_AND_SOLACENET.md](TOKENIZATION_SMOM_AND_SOLACENET.md) — exception until cross-service API calls exist. |

---

## P1 Rail scaffolds (11–19)

| # | Status | Blocker |
|---|--------|--------|
| 11–17 | **External** | Institution contracts, network access, certification. |
| 18 | **External** | SoR integration, persistence design, bank agreement. |
| 19 | Repo-partial | Thirdweb encode path still placeholder — mark non-prod in adapter doc / complete encode = **External** (ABI per deployment). |

---

## P1 DBIS Rail off-chain (20–21)

| # | Status | Blocker |
|---|--------|--------|
| 20–21 | **External** | Production deployment, keys, monitoring, counterparty test environments. |

---

## P1 RTGS spine (22–34)

| # | Status | Blocker |
|---|--------|--------|
| 22–34 | **External** | See `docs/03-deployment/DBIS_RTGS_E2E_REQUIREMENTS_MATRIX.md` — live endpoints, legal packages, multi-party acceptance. |

---

## P2 Hyperledger / institutional (35–50)

| # | Status | Blocker |
|---|--------|--------|
| 35–50 | **External** | Topology decisions, vendors, custody/CSD/FX counterparties. |

---

## P2 Quantum / QPS / admin (51–56)

| # | Status | Evidence / blocker |
|---|--------|-------------------|
| 51–52 | Repo-partial | Types + example telecom schema; **real scoring / boundary** = External. |
| 53–56 | **External** | Real telemetry and bank data feeds into dashboards. |

---

## P3 Carrier (57)

| # | Status | Blocker |
|---|--------|--------|
| 57 | **External** | Carrier boundary service + regulated interconnect. |

---

## P3 Hygiene (58–63)

| # | Status | Evidence / blocker |
|---|--------|-------------------|
| 58 | Repo-done | Labeled in [public/GAPS_AND_INCONSISTENCIES.md](public/GAPS_AND_INCONSISTENCIES.md) §2. |
| 59–62 | Repo-partial / Ops | Heuristics remain until data model exists; verify scripts are ongoing. |
| 63 | Ongoing | Process — update [PROTOCOL_GAPS_CHECKLIST.md](PROTOCOL_GAPS_CHECKLIST.md) as gates close. |

---

## Audit “remaining” bullets (post-2026-04-08)

| Topic | Status |
|-------|--------|
| Outbox / DLQ / idempotency (full) | Repo-partial — DB tables + enqueue helper; **worker + exactly-once** = further work. |
| Per-tenant rate limits | Repo-partial — rail mutate limiter keys on **`ip:tenant`** (`gateway.routes.ts`). |
| Full `dbis_core` `tsc` | **External** to this sprint — hundreds of errors across unrelated modules; fix incrementally. |
| SIEM-signed audit | **External** — log shipping + tamper-evident store. |
| Go ↔ Node single edge | Repo-partial — documented; shared artifact optional. |

---

**Last updated:** 2026-04-08
