MVP: add mock-first Next.js app shell, AI analysis libs, API routes, DB schema and tests - #1
Open
dalgme wants to merge 1 commit into
Open
MVP: add mock-first Next.js app shell, AI analysis libs, API routes, DB schema and tests#1dalgme wants to merge 1 commit into
dalgme wants to merge 1 commit into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation
Description
MockReport,PaywallGate, project creation form, orientation, analysis pages, action board and report preview/download flows.lib/ai/*): mock/openai provider stubs, prompt runner, system constitution prompts, JSON output validation and context normalizer.lib/analysis/*,lib/orientation/*,lib/report/compose.js), a failure-pattern matcher, a local insight pipeline and import script, an in-memorystore, a small mock DB helper for client project creation, and billing helpers.supabase/migrations/...,supabase/seeds/...) and numerous documentation files describing architecture, data strategy, and roadmaps.package.json,tsconfig.json,next.config.mjs, smoke/unit placeholders and automated test helpers underscripts/(includingsmoke-test.js,migration-test.js,import-local-insights.js, andwrite-stage-report.js).Testing
npm run validate:stageandnpm run test:smoke, and the smoke suite completed successfully printing a full flow verification message.node scripts/migration-test.jsand local-insight import vianode scripts/import-local-insights.js, both of which passed (schema/seed checks and sample import succeeded).npm run report:stage -- --stage=16 --ready=yeswhich wrote the stage report file; lint/typecheck/test/build placeholders were included in the validate flow and returned successful placeholders in CI-local runs.Codex Task