feat: multi-project support, contradiction detection, synthesis, open-source polish#3
Merged
feat: multi-project support, contradiction detection, synthesis, open-source polish#3
Conversation
15-task TDD plan covering backend models, migrations, services, API endpoints, and frontend project context/UI.
Switch from legacy Column API to Mapped/mapped_column, add String lengths (36 for IDs, 500 for titles, 50 for status), use plain DateTime without timezone, add updated_at column, and add index on project_id.
…_filter docstring
Add 39 new tests across 8 test files covering: - SettingsPage: save settings, toggle key visibility, form editing - ProjectsPage: create/delete projects, select project, dialog flow - ContradictionsPage: tab switching, scan, collapse/expand, bulk actions - SynthesisPage: all status states (completed, failed, generating, pending) - OutlineEditor: move/remove sections, edit fields - UploadDropzone: drag and drop interactions - ContradictionCard: both-selection flow, deselect, dismissed state - Sidebar: synthesis status icon states (spinner, check, error)
Exclude App.tsx (router glue), src/components/ui/** (shadcn/ui auto-generated primitives), and src/index.css from coverage metrics. These files contain no testable application logic.
- Refactor SettingsPage to derive form state from query data instead of syncing via useEffect (fixes react-hooks/set-state-in-effect) - Refactor SynthesisPage to use state-based comparison for project change detection (fixes react-hooks/set-state-in-effect and refs) - Add eslint ignores for coverage dir, test files, shadcn/ui components, and context files (react-refresh/only-export-components) - Add coverage/ to .gitignore
…tradiction bulk/reopen, synthesis retry
…ete-document 404 test
This was referenced Apr 19, 2026
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.
Summary
This PR rolls up all work on
feat/multiple-projectsand polishes WorldForge for public open-source release.Major features
.md,.txt,.pdffilesOpen-source polish pass
backend.yml(UV + pytest matrix on 3.11/3.12),frontend.yml(lint/typecheck/test/build),docker.yml(GHCR publishing),ci.ymlumbrellaCONTRIBUTING.md, issue templates (bug report, feature request), PR templatepackage.jsonand backendpyproject.tomlfilled out with proper open-source fields; version bumped to1.0.0docs/ARCHITECTURE.md, design specs for contradiction detection and world synthesisTest plan
uv run pytest tests/ -v -m "not integration") — 87/87npm run test:coverage) — 170/170, coverage thresholds exceedednpm run typecheck)npm run lint)npm run build)Merge strategy
Squash merge. After merge, tag
v1.0.0as the initial open-source release.