How tate-d-lim/flashpoint works
Flashpoint helps app teams determine which security requirements apply, which are covered by selected platform tools, and which remain their responsibility. Builders assess app risk, answer applicability questions, assemble and track a project plan, and can view that plan as a hotel; they then export review files or an agent brief. Tool owners maintain versioned coverage claims, while admins review those claims and manage the requirements catalog. Business logic lives in lib/; the sampled excerpts show core plan construction and database access, while some feature links rely on README statements or the SOURCE INDEX.
Main entry points: project-context.tsx Project plan · db.ts MongoDB · app/page.tsx App risk setup · needs/page.tsx Applicability questions
Components 27
App builder
- App risk setup
app/start/app/page.tsx - Applicability questions
app/start/needs/page.tsx - Project plan
app/plan/project-context.tsx - Requirement checklist
app/plan/checklist.tsx - Hotel plan view
app/hotel/scene.ts - Tool selection
app/plan/tools-panel.tsx - Plan export routes
app/api/export/ssp/route.ts - OSCAL export
lib/export/oscal.ts - Spreadsheet export
lib/export/ssp-xlsx.ts
Plan engine
- Risk assessment
lib/risk/assess.ts - Plan input selection
lib/plan/select.ts - Plan builder
lib/plan/engine.ts
Project data
- Plan data loader
app/plan/plan-data.tsx - Project repository
lib/data/repos/projects.ts - Plan data repository
lib/data/repos/plan-data.ts - MongoDB
lib/data/db.ts - Tool version repository
lib/data/repos/tool-versions.ts - Catalog repository
lib/data/repos/catalog.ts
Tool governance
- Coverage editor
app/tool-owner/tools/[toolId]/coverage-editor.tsx - Coverage approval
app/admin/[toolId]/page.tsx - Agent coverage brief
app/api/tool-owner/tools/[toolId]/agent-brief/route.ts
Requirements catalog
- Catalog management
app/admin/catalog/page.tsx - Catalog upload
app/admin/catalog/upload/file/route.ts - Catalog file parsing
lib/catalog/parse-file.ts
Other components
- App builder
- Tool owner
- Administrator
Connections 30
- App builder → App risk setup: describes app
README.md - App risk setup → Risk assessment: assesses risk
app/start/app/page.tsx - App risk setup → Applicability questions: continues setup
README.md - Applicability questions → Plan data loader: loads plan data
app/start/needs/page.tsx - Plan data loader → MongoDB: opens database
app/plan/plan-data.tsx - Plan data loader → Plan data repository: loads plan records
app/plan/plan-data.tsx - Plan data repository → MongoDB: reads collections
lib/data/repos/plan-data.ts - Applicability questions → Plan input selection: selects requirements
app/start/needs/page.tsx - Plan input selection → Plan builder: prepares plan input
lib/plan/select.ts - Plan builder → Project plan: builds plan
app/plan/project-context.tsx - App builder → Tool selection: picks tools
README.md - Tool selection → Project plan: updates plan
app/plan/project-context.tsx - Project plan → Requirement checklist: shows checklist
README.md - Project plan → Hotel plan view: shows hotel view
- Project plan → Project repository: saves project
app/plan/project-context.tsx - Project repository → MongoDB: reads and writes
app/projects/page.tsx - App builder → Plan export routes: requests review export
README.md - Plan export routes → OSCAL export: creates OSCAL
- Plan export routes → Spreadsheet export: creates spreadsheet
app/api/export/ssp/route.ts - Tool owner → Coverage editor: edits coverage
README.md - Coverage editor → Tool version repository: creates versions
app/tool-owner/tools/[toolId]/coverage-editor.tsx - Tool version repository → MongoDB: reads and writes
lib/data/repos/tool-versions.ts - Administrator → Coverage approval: reviews claims
README.md - Coverage approval → Tool version repository: reviews versions
app/admin/[toolId]/page.tsx - Administrator → Catalog management: manages catalog
README.md - Catalog management → Catalog repository: loads catalog
app/admin/catalog/page.tsx - Catalog upload → Catalog file parsing: parses upload
app/admin/catalog/upload/file/route.ts - Catalog upload → Catalog repository: stores release
app/admin/catalog/upload/file/route.ts - Catalog repository → MongoDB: reads and writes
- Tool owner → Agent coverage brief: requests brief