{"slug":"business/OPTION_B_WAVE0_LOG","title":"Option B — Wave 0 Log","section":"business","sectionLabel":"Business","status":"unclassified","type":"document","path":"business/OPTION_B_WAVE0_LOG.mdx","bytes":2195,"description":null,"updated":null,"source":"integratewise/Integratewise-docs-wiki","content":"\n> **Tier C — Historical.** This document is a point-in-time snapshot preserved for reference. For current architecture, see [CANONICAL_PLATFORM_ARCHITECTURE.md](../architecture/CANONICAL_PLATFORM_ARCHITECTURE.md).\n\n**Status:** Baseline and Git safety checkpoint — **RESOLVED.**\n\n**Date:** 2026-07-11\n\n---\n\n## 1. Git safety checkpoint\n\nA lightweight tag was created at the original HEAD commit:\n\n- **Tag:** `option-b-wave0-baseline`\n- **Original HEAD:** `1d058bf2` — \"refactor: remove archive and stale content, add workspace pages and twin features\"\n\nA checkpoint commit was then made capturing the local working-tree restructure:\n\n- **Commit:** `cc6d3eda`\n- **Message:** \"checkpoint: pre-Option B working tree restructure (capture local changes before migration)\"\n\nWorking tree is now clean.\n\n## 2. Working tree state (resolved)\n\nThe pre-existing local restructure has been committed. Key contents:\n\n- `apps/workspace/` deleted.\n- `apps/web/` added as untracked-in-working-tree-but-now-committed replacement.\n- New services added: `services/capability-resolver/`, `services/core-engine/`, `services/huggingface-inference/`, `services/projection-engine/`, `services/projection-registry/`, `services/schema-ai/`.\n- `_archive/` directory deleted.\n- Option A/B deliverables committed: `REPOSITORY_RUNTIME_IDENTITY_CENSUS.md`, `OPTION_B_WAVE0_LOG.md`.\n\n## 3. MCP-connector retention decision\n\n**Evidence:**\n\n- `services/mcp-connector/wrangler.toml` declares custom domain `mcp.integratewise.ai`.\n- `services/mcp-connector/src/index.ts` exposes:\n  - OAuth discovery endpoints (`/.well-known/oauth-*`, `/.well-known/openid-configuration`, `/.well-known/jwks.json`)\n  - Dynamic client registration (`POST /oauth/register`)\n  - Authorization/token endpoints\n  - `/invoke` and `/v1/mcp/*` MCP protocol routes\n  - Service bindings to `KNOWLEDGE`, `CONTINUITY`, `PIPELINE`\n  - Queue producers `knowledge-ingest`, `pipeline-process`\n\n**Decision:** `services/mcp-connector` is an **externally exposed MCP protocol runtime**.\n\n**Verdict:** **RETAIN as standalone service.** Target deployment name: `iw-mcp-connector`.\n\n## 4. Unresolved Wave 0 failures\n\nNone. Wave 0 complete.\n"}