Knowledge Portal · engineering documentation

Skip to content

Federated from workspace · PRD-000 · zaixos-company-platform/app/Modules/Discovery/README.md Do not edit canonical truth here — update the source repo, then re-run npm run docs:sync.


Discovery

Discovery sessions, structured question flow, and conversational capture of project requirements.

Routes

MethodPathName
GET/discoverydiscovery.show
POST/api/v1/discovery/sessionsdiscovery.api.sessions.store
GET/api/v1/discovery/sessions/{token}discovery.api.sessions.show
POST/api/v1/discovery/sessions/{token}/answersdiscovery.api.sessions.answer

Application layer

  • DiscoveryFlowService — rule-based question graph (no PL-003)
  • StartDiscoverySessionAction — creates session + first question
  • SubmitDiscoveryAnswerAction — records answer + advances flow
  • GetDiscoverySessionAction — resumes session state

Persistence

  • discovery_sessions
  • discovery_questions
  • discovery_answers

Organization id is captured from OrganizationContextContract when authenticated.

ZAIXOS Knowledge Portal — public engineering docs at /docs · Staff operations at /admin