Skip to content

Phase 0 — Shared Infrastructure (DB Tables, Types, Agent Base) #3596

@haJ1t

Description

@haJ1t

Phase 0 — Shared Infrastructure

All 3 Phase 0 features depend on these shared foundations. Must be completed first.

Tasks

Database

  • Create Sequelize migration for evidence_ai_analysis table (with indexes)
  • Create Sequelize migration for control_readiness_scores table (with indexes)
  • Create Sequelize migration for framework_readiness_scores table (with indexes)
  • Create Sequelize migration for ai_content_metadata table (with indexes)
  • Run migrations and verify tables in verifywise schema

Backend — Shared Types/Interfaces

  • Create Servers/domain.layer/interfaces/i.evidenceAi.ts — IEvidenceAiAnalysis, IQualityScore, ISuggestedControlLink
  • Create Servers/domain.layer/interfaces/i.readiness.ts — IControlReadinessScore, IFrameworkReadinessScore, ReadinessLevel
  • Create Servers/domain.layer/interfaces/i.aiContent.ts — IAIContentMetadata, BadgeType, ReviewAction

Backend — Agent Foundation

  • Create Servers/advisor/agents/agentRegistry.ts — registerAgent/getAgent/listAgents
  • Create document parser: Servers/advisor/parsers/pdfParser.ts (pdf-parse)
  • Create document parser: Servers/advisor/parsers/docxParser.ts (mammoth)
  • Create unified parser entry: Servers/advisor/parsers/index.ts

Frontend — Shared Types

  • Create Clients/src/domain/interfaces/i.evidenceAi.ts
  • Create Clients/src/domain/interfaces/i.readiness.ts
  • Create Clients/src/domain/interfaces/i.aiContent.ts

Commits

  • bb4b397 feat(ai): add Phase 0 shared infrastructure — DB migration, interfaces, agent foundation

Dependencies

None — this is the foundation.

Branch

feat/ai-foundation-infra

Assignees

@haJ1t @HarshP4585


Part of Phase 0 — Immediate Priority AI Features

Metadata

Metadata

Labels

ai-featureAI-powered featureinfraInfrastructure / shared foundationphase-0Phase 0 — Immediate Priority AI Features

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions