FIN Intra GTM Planning To Codebase Gap Audit

Date: 2026-05-13 Status: Draft v0.1 Primary workspace: /Users/robert/Projects/FIN/_03_Dev/fin-agentic Planning source folder: FIN Intra_GTM/

1. Purpose

This audit compares the FIN Intra_GTM planning set against the active fin-agentic codebase. The goal is not only to audit the central intranet, projection, and MCP thesis. The goal is to preserve the whole planning session: agentic system design, external MCP products, Knowledge Forge and FIN Central KB strategy, Nathel anchor sequencing, customer and employee portals, executive agent offers, FIN Central operations, Cloudflare/Neon/Orgo deployment planning, federal positioning, and solo-operator execution discipline.

The output of this audit should become the input to:

  • docs/design/FIN_INTRANET_HUMAN_AGENT_PROJECTION_LAYER_DESIGN_2026-05-13.md
  • docs/engineering/FIN_INTRANET_HUMAN_AGENT_PROJECTION_ENGINEERING_SPEC_2026-05-13.md
  • docs/processes/FIN_INTRANET_HUMAN_AGENT_PROJECTION_EXECUTION_PROGRAM_2026-05-13.md

2. Source Inventory Reviewed

2.1 Markdown Planning Documents

FilePrimary topicsAudit status
FIN Intra_GTM/FIN Intranet Layer.mdIntranet, projections, GitHub vault, Quartz, doc MCP, portals, marketplace, HR, editor distinctionReviewed
FIN Intra_GTM/FIN - Part 1 - Technical Architecture.mdEvent sourcing, three data planes, MCP catalog, Cloudflare/Neon tiers, tenant GitHub repos, Obsidian, comms, Orgo, external MCPReviewed
FIN Intra_GTM/FIN - Part 2 - Offerings and GTM.mdTier 0-4 offers, pricing, support, Nathel, ICPs, federal, FIN Central operations, OrgoReviewed
FIN Intra_GTM/FIN - Comprehensive Synthesis and Program Design.mdDecision canon, end-to-end architecture, strategic synthesis, execution phasesReviewed
FIN Intra_GTM/FIN - Map of Content.mdPlanning index, graph anchors, active threadsReviewed
FIN Intra_GTM/The Three Data Planes.mdPlane 1 private workspace, Plane 2 relationship data, Plane 3 universal intelligenceReviewed
FIN Intra_GTM/FIN Central.mdOperator footprint, cloud footprint, tenant relationship, operations gapsReviewed
FIN Intra_GTM/FIN Federal Pipeline.mdVOSB/TAA/NDAA posture, target agencies, federal product shape, 18-month roadmapReviewed
FIN Intra_GTM/Nathel Anchor Strategy.mdLive test, stakeholder value proof, strategic customer structure, post-Nathel expansionReviewed
FIN Intra_GTM/Tier 2 - Produce Agent Pro.mdPro offer, live Obsidian sync, multi-vendor, voice/WhatsApp, migration pathReviewed
FIN Intra_GTM/Burnout Protection.mdOperator discipline, live test constraints, first hire disciplineReviewed

2.2 DOCX Planning Documents

FileRelationship to MarkdownAudit status
FIN Intra_GTM/FIN_Part1_Technical_Architecture.docxDOCX companion to Part 1. Extracted text is shorter than Markdown, so it is not proven identical.Needs canonicality check
FIN Intra_GTM/FIN_Part2_Offerings_and_GTM.docxDOCX companion to Part 2. Extracted text is shorter than Markdown, so it is not proven identical.Needs canonicality check

2.3 Current Codebase Evidence Anchors

AreaEvidence
Architecture lawAGENTS.md, db/schema.sql
Artifact schemapackages/shared/src/schemas/contracts/artifact.ts
Artifact MCP toolspackages/mcp-server/src/tools/artifacts.ts, packages/mcp-server/src/tools/index.ts
Artifact HTTP routespackages/mcp-server/src/routes/artifacts.ts
Source artifact ingestionpackages/mcp-server/src/ingestion/source-artifacts.ts, packages/shared/src/email-parsing.ts
Workspace file UIpackages/workspace/src/components/files/NativeFileExplorer.tsx, packages/workspace/src/mobile/MobileFilesPanel.tsx, packages/workspace/src/components/right-rail/FilesTab.tsx
Workspace route mappackages/workspace/src/App.tsx
FIN Central event surfacepackages/workspace/src/pages/fin-central/EventLogPage.tsx, packages/mcp-server/src/platform/handlers/platform-events.ts
FIN Central knowledge surfacepackages/workspace/src/pages/fin-central/KnowledgeBasePage.tsx, packages/mcp-server/src/platform/handlers/platform-knowledge.ts
Authoring primitivepackages/workspace/src/components/authoring/CollaborativeAuthoringPanel.tsx
Existing artifact catalog designdocs/engineering/FINN-AGENTIC-OPERATING-LAYER-ARTIFACT-CATALOG-INTEGRATION-2026-04-29.md

3. Executive Findings

F-001: The strategic vision is coherent and differentiated

The planning set repeatedly converges on the same core product idea: FIN is not only an ERP or an agent. FIN is an event-sourced operational core that produces human-readable, agent-readable, role-scoped projections across multiple surfaces. This is coherent with the existing architecture and with the current artifact catalog work.

F-002: The largest planning/code mismatch is the proposed documents table

FIN Intranet Layer.md proposes storing parsed markdown in a Neon documents table. That conflicts with the active four-table architecture law in AGENTS.md. The correct path is to represent intranet documents as knowledge rows, record document lifecycle in events, store chunks and embeddings in operational_memory, and keep bytes/source files behind StorageProvider.

This is not a small naming fix. It affects the ingest pipeline, MCP tools, Quartz rebuild triggers, audit events, and FIN Central admin design.

F-003: The codebase already has a strong file/artifact foundation

The current codebase already implements:

  • knowledge.domain = artifact
  • knowledge.domain = artifact_collection
  • artifact visibility and lifecycle fields
  • source attribution
  • version history
  • thread linking
  • MCP tools for list/get/import/version/archive/delete/link
  • desktop and mobile file browsers
  • upload and route integration

This should be extended into the intranet/content graph. It should not be replaced by a parallel document subsystem.

F-004: The current file viewer is not yet the intranet

The file viewer is an operational artifact browser. It is not yet a GitHub-backed markdown vault reader, document graph explorer, decision log, Quartz projection, or agent-augmented editor.

Important gaps:

  • no markdown/docx/xlsx/html upload support in the upload route
  • no GitHub source adapter
  • no frontmatter/wikilink/backlink parser
  • no doc graph tools
  • no /files/:artifactId route despite generated share links
  • no general document editor or Git-backed review workflow

F-005: FIN Central exists, but not as the planned multi-tenant control plane

FIN Central currently has admin surfaces for events, knowledge health, sessions, tenants, actors, and evals. The planning set asks for a broader operations surface: tenant provisioning, channel health, tenant runbooks, KB editing, federal tracker, Cloudflare/Neon/Orgo control, deployment status, and customer success visibility. Those are mostly not yet implemented as a unified operator system.

F-006: The Tier 0 MCP product needs a public-contract layer

The codebase has many MCP/runtime tools, but the Tier 0 product needs a different layer:

  • stable external MCP contract versioning
  • public docs/examples
  • rate limits and billing meters
  • self-service keys
  • tenant-neutral public produce intelligence
  • strict separation from internal write tools and tenant data

Planning identifies the product, but implementation work remains.

F-007: Nathel is the right anchor, but the proof loop needs tighter artifacts

The Nathel plan is strategically sound. It needs a proof ledger that connects:

  • live test actions
  • stakeholder-specific value proofs
  • screenshots/API/browser evidence
  • financial or operational value claims
  • case-study-ready narratives
  • next commercial ask

This should live in FIN Central and in a Git-tracked planning/proof package.

F-008: Customer portals, employee portals, and marketplace are currently product tracks, not one feature

The intranet layer frames seven connected surfaces. That is useful, but implementation should separate them:

  • internal intranet and FIN canon
  • employee portal
  • customer portal
  • verified-customer marketplace
  • PWA operational interface
  • public marketing site
  • FIN Central admin portal

Each surface has different latency, privacy, pricing, and agent-role rules.

F-009: Executive agents and Orgo are under-specified in code

The planning set includes Tier 3 executive agents, Orgo cloud workstation visibility, real-time voice, and deeply customized workflows. Current code has agent runtime, comms, and workspace pieces, but no explicit Orgo integration contract, exec-agent provisioning model, visible workstation audit trail, or Tier 3 service boundary.

F-010: Knowledge Forge and FIN Central KB need a formal relationship contract

The planning set depends on a shared produce KB plus tenant-scoped private and relationship data. The repo already has Knowledge Forge readers and source artifact patterns, but the product contract should specify:

  • what flows from Knowledge Forge into FIN Central
  • what tenant learnings can become aggregate/public intelligence
  • what is never allowed to cross tenant boundaries
  • how citations and source freshness are represented in MCP results

F-011: Federal path requires earlier runtime flags than the plan states

The federal lane cannot be bolted on later. The plan mentions US-origin models, TAA/NDAA posture, read-only intelligence MCP, and recall/traceability. Runtime work should include early flags for:

  • federal-safe model routing
  • federal-safe embedding path
  • data residency notes
  • audit export
  • SBOM/provenance
  • tenant isolation proof

F-012: Solo-operator constraints should become execution gates

Burnout Protection.md is not a side note. It should become a program constraint: no sprawling implementation without proof milestones, no new features during live test unless they support the proof loop, explicit stop conditions, and first-hire trigger criteria.

4. Planning Theme Audit Matrix

4.1 Intranet, GitHub Vault, Markdown Projection

Planning claimCurrent evidenceGapRecommendation
Canonical markdown plus event history lives in private GitHub reposPlanning docs onlyNo GitHub webhook/source adapter found in runtimeAdd github_vault source adapter and store commit SHA/path in knowledge.domain = doc
Human-authored and system-projected markdown coexistPlanning docs onlyNo projection writer for markdown docsDefine doc.projection_generated events and deterministic projection jobs
Ingest parses frontmatter, wikilinks, tags, backlinksPlanning docs onlyNo parser/runtime implementation foundAdd parser package with tests using real FIN Intra_GTM fixtures
Parsed structure stored in documents tableConflicts with AGENTS.mdWould violate four-table ruleStore doc index as knowledge JSONB and chunks in operational_memory
Quartz human renderer for pilotPlanning docs onlyNo Quartz fork or deployment config foundTreat Quartz as Phase 0 pilot renderer, not source of truth
Obsidian is editor, not data storePlanning and architecture agreeNeeds code guardrailsMake GitHub commit history the authored-doc ledger; Obsidian remains replaceable

4.2 File Viewer, File Editor, Content Graph

Planning claimCurrent evidenceGapRecommendation
File viewer exists in operational PWANativeFileExplorer, MobileFilesPanel, FilesTabViewer is artifact-centric, not intranet-doc-centricExtend viewer into content explorer with artifact/doc modes
Files should be versioned and agent-readableArtifact schema has version and source attributionNo markdown/doc graph version semanticsAdd doc version fields: commit SHA, source repo, source path, generated-from event IDs
Shareable file linksViewer generates /files/:artifactIdApp routes do not define /files/:artifactIdAdd deep-link route and permission-gated artifact/doc reader
Users need an editor, not only viewerCollaborativeAuthoringPanel existsIt drafts prose but is not a document editorBuild DocEditorPanel using agent draft + Git commit/review workflow
Enterprise correspondence should be capturedSource artifact/email ingestion existsNeeds unified content graph and policy controlsLink correspondence artifacts to docs/work threads/events with explicit privacy class

4.3 MCP System

Planning claimCurrent evidenceGapRecommendation
MCP is the contract layerExisting tool catalog is broadExternal MCP product surface is not isolated enoughDefine internal, tenant, and public MCP surfaces
Doc MCP tools expose the intranetNo search_docs, get_doc, get_backlinks, get_doc_graph, get_decisions foundMissing central agent-facing intranet surfaceImplement doc tools as pure functions over knowledge and operational_memory
Tool contracts are versionedPlanning says versionedExisting tools are not uniformly exposed as public versioned contractsAdd external MCP version registry and compatibility tests
Every MCP call is audited and meteredSome event patterns existTier 0 billing/metering not productizedAdd mcp.call_logged, mcp.usage_metered, and dashboard views

4.4 Agentic System And Multi-Channel Comms

Planning claimCurrent evidenceGapRecommendation
Agents issue commands, do not bypass deterministic logicExisting agent/tool architecture alignsNeeds explicit alignment in new doc/editor toolsMake all doc mutations event-backed and policy-gated
Tiered agents have email/SMS/voice/WhatsAppRepo has comms, Telnyx, inbox, webhooks workOffering-specific provisioning not unifiedAdd tenant provisioning checklist and channel readiness dashboard
Exec agents can use OrgoPlanning docs onlyNo Orgo integration contract foundDefine Orgo as premium visible-operation adapter with audit events
Agents need provenance and citationsExisting cards/artifacts include source attributionDoc MCP result citations not implementedRequire citations on every doc/search/MCP response

4.5 Knowledge Forge, KB, And Three Data Planes

Planning claimCurrent evidenceGapRecommendation
Plane 3 produce intelligence powers all tiersKnowledge Forge readers and KB surfaces existProduct boundary is not fully specifiedAdd KB source/freshness/citation contract
Plane 1 private workspace stores tenant/user knowledgeActors memory and artifacts existDoc/wiki private workspace is not modeledAdd doc_scope = private_workspace and actor/tenant permission mapping
Plane 2 relationship data powers portalsSome customer/vendor/event code existsPortal projections not defined in doc/content layerDefine relationship-scoped doc and artifact filters
Tenant learnings may enrich FIN CentralStrategic idea existsRisk of cross-tenant leakageAdd opt-in aggregate learning policy and deterministic anonymization gate

4.6 Nathel Anchor And Customer/Portal Strategy

Planning claimCurrent evidenceGapRecommendation
Nathel live test validates valuePlanning docs only in this folderProof artifacts are not centralized in repo/runtimeAdd Nathel proof ledger and FIN Central pilot dashboard
Some Nathel customers get agents + portals, others portal onlyPlanning docs imply segmentationNo customer portal entitlement model found for this programDefine portal-only, portal-plus-agent, and internal-user entitlement tiers
Anchor funding conversation follows proofStrategic plan existsNeeds evidence package templateBuild case-study package template and value proof schema
Tier 4 rollout follows post-funding sequencePlanning docsNeeds implementation wavesTie Tier 4 rollout to execution program tracks

4.7 FIN Central Operations

Planning claimCurrent evidenceGapRecommendation
FIN Central manages tenantsTenant admin pages existProvisioning workflow not end-to-endAdd tenant readiness lifecycle and provisioning runbook UI
FIN Central manages channel healthSome health/admin surfaces existChannel-level health not unifiedAdd email/SMS/voice/GitHub/Quartz/MCP status panels
FIN Central edits KB and tracks federal pipelineKnowledge page existsKB editing and federal tracker not implemented as operational toolsAdd read-only dashboards first, mutating workflows later
FIN Central controls Cloudflare/Neon/Orgo deployment statePlanning onlyNo unified adapter/status modelAdd deployment inventory projection from events/config

4.8 GTM, Pricing, And Offers

Planning claimCurrent evidenceGapRecommendation
Five tiers are configurations of one platformPlanning docsRuntime entitlements not mapped to tier configsAdd tier capability matrix and provisioning templates
Tier 0 MCP monetizes KBPlanning docsPublic MCP product missingStart with private beta, docs, usage events, and key management
Tier 2 Pro is economic anchorPlanning docsNeeds repeatable onboarding and service boundariesEncode onboarding checklist and support SLA into FIN Central
Tier 3 exec agent is premium relationship productPlanning docsNeeds Orgo/voice/calendar/email integration contractTreat as separate track after Tier 2 proof
Tier 4 ERP is destinationPWA/runtime exist in piecesNeeds phased customer-facing surfacesSequence from intranet + proof + portal before marketplace

4.9 Federal Pipeline

Planning claimCurrent evidenceGapRecommendation
VOSB/TAA/NDAA posture differentiates FINPlanning docsRuntime federal mode not explicitAdd federal readiness controls to design/spec
Read-only intelligence MCP is federal entryPlanning docsPublic/federal MCP surface missingUse Tier 0 MCP contract as base with federal-safe provider route
Recall/traceability tooling mattersExisting recall/event concepts in repoFederal product package not assembledAdd federal proof bundle track after doc/MCP foundation

4.10 Operator Discipline

Planning claimCurrent evidenceGapRecommendation
Solo operator through early phasePlanning docsExecution docs often sprawlMake execution program explicitly wave-gated
No new features during live testPlanning docsNeeds program stop rulesAdd stop conditions and proof-first gates
First hire after proof/revenuePlanning docsNo hiring trigger ledgerAdd first-hire trigger criteria to execution program

5. Architecture Reconciliation Decisions

ARD-001: No new documents table

Decision: Replace the planned documents table with knowledge.domain = doc or equivalent doc content domain. Use operational_memory for chunks and embeddings. Use events for lifecycle.

Rationale: Preserves the four-table law and aligns with the existing artifact catalog addendum.

ARD-002: GitHub is the authored-document ledger, not the operational source of truth

Decision: Authored markdown source history lives in GitHub. Operational truth remains the event store. The knowledge doc row is an index/projection that can be rebuilt from GitHub plus events.

Rationale: Prevents a false choice between Git history and event sourcing.

ARD-003: Obsidian and Quartz are replaceable interfaces

Decision: Obsidian is an authoring client. Quartz is the pilot reader. Neither owns product truth.

Rationale: Preserves portability and avoids vendor/editor lock-in.

ARD-004: Artifact and doc models should converge as content nodes

Decision: Keep current artifact schema, but introduce a shared content-node concept in design/spec language. Artifacts are binary/source files. Docs are markdown/rendered textual nodes. Both participate in graph/search/provenance.

Rationale: This avoids splitting the user experience into “files” and “wiki” when users need one company knowledge surface.

ARD-005: FIN Central is the control plane for multi-tenant rollout

Decision: Build FIN Central readiness before broad tenant rollout. It should track tenant state, channels, portal entitlements, MCP keys, GitHub vault state, Quartz/render status, KB freshness, and proof packages.

Rationale: Multi-tenant deployments without an operator control plane will turn into manual consulting chaos.

6. Priority Gap List

PriorityGapWhy it matters
P0Planning/code conflict around documents tableMust settle before any ingest implementation
P0No GitHub vault adapter or doc schemaBlocks intranet/MCP/doc graph
P0No doc MCP toolsBlocks agentic intranet value
P0No permission model for docs/folders/portalsBlocks customer/employee/vendor surfaces
P1File viewer deep-link route missingBreaks shareable file experience
P1Upload/content support excludes markdown/docx/xlsx/htmlBlocks enterprise doc ingestion
P1FIN Central lacks tenant/channel/readiness control planeBlocks multi-tenant rollout
P1Tier 0 public MCP contract not isolatedBlocks self-service/public product
P1Nathel proof ledger not formalizedWeakens anchor conversion
P2Orgo exec-agent integration not specifiedBlocks Tier 3 premium offer
P2Federal-safe runtime mode not explicitWeakens federal path
P2DOCX/Markdown canonicality unresolvedCreates source sprawl
  1. Design doc: define the human-agent projection layer and reconcile the four-table model with GitHub/Quartz/Obsidian.
  2. Engineering spec: specify schemas, event types, routes, tools, parser, UI, FIN Central additions, tests, and proof gates.
  3. Execution program: break work into waves that protect the live Nathel proof loop and avoid solo-operator overload.
  4. Canonicality pass: decide whether Markdown or DOCX is source of truth, then convert the other to generated/export status.
  5. Implementation wave 1: doc schema/parser/tools plus deep-link fix.

8. Open Decisions

IDDecisionDefault recommendation
OD-001Is Markdown canonical over DOCX?Yes. DOCX should become generated export.
OD-002What is the doc knowledge domain name?doc, unless local naming prefers intranet_doc.
OD-003Should FIN Canon live in this repo or a separate private repo?Separate private repo for pilot; index into FIN.
OD-004Is Quartz a product dependency or pilot accelerator?Pilot accelerator.
OD-005What doc types ship first?Decision records, SOP/runbook, Nathel proof package, system-projected daily summary.
OD-006What gets surfaced to Nathel customers first?Portal-only read views before agent-enabled portal flows.
OD-007How much reverse projection is allowed in v1?Draft/review only. Avoid automatic two-way writes until policy gates are proven.

9. Audit Conclusion

The planning set is strategically strong and internally mostly coherent. The codebase already contains the key foundations: event store discipline, knowledge rows as mutable projections, operational memory, artifact catalog, file viewer, agent runtime, MCP tools, and FIN Central admin surfaces.

The gap is not that the codebase lacks everything. The gap is that the planning session created a broad product vision faster than the runtime has been shaped into a unified content/control plane. The next step is to formalize that plane without violating the four-table architecture, then implement it in proof-led waves.