30 Commits
Author SHA1 Message Date
Daniel SamsonandClaude Haiku 5.5 7a43a9f1cd docs(reports): add qwen3.8-27b M5 authentication score
Score the recreated newz repo's M5 (JWT authentication) commit b186d0f
at 44 (40/46 base + 4 bonus), overall level 5. Note that the commit is
on local develop only and has not been pushed.

Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
2026-10-30 17:33:47 +00:00
Daniel SamsonandClaude Haiku 5.5 0a51f7d60f docs(reports): add qwen3.8-27b M4 developer environment score
Score the recreated newz repo's M4 (Docker Compose developer
environment) at 20 (17/29 base + 3 bonus), overall level 1 as
delivered: fixed 172.28.0.0/16 subnet conflicts on this host, the
frontend healthcheck fails, and no default .env is committed.

Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
2026-10-30 15:44:21 +00:00
Daniel Samson e64b72454f merge: qwen3.8-27b milestone scores M1-M3 2026-10-30 14:26:52 +00:00
Daniel Samson 7f0c49ff6c merge: qwen3.5-9b milestone scores M1-M6 2026-10-30 14:26:52 +00:00
Daniel SamsonandClaude Haiku 5.5 f371d15c18 docs(reports): add qwen3.8-27b milestone scores M1-M3
Add scoring reports for the recreated newz repo milestones M1 through
M3, with verification notes and remediation steps for each.

Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
2026-10-30 14:25:52 +00:00
Daniel SamsonandClaude Haiku 5.5 5168b13044 docs(reports): add qwen3.5-9b milestone scores M1-M6
Add scoring reports for the newz repo milestones M1 through M6, with
verification notes and remediation steps for each.

Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
2026-10-30 11:49:52 +00:00
daniel 10da55b377 Delete CONTRIBUTING.md 2026-10-30 11:27:41 +00:00
daniel b27ef3ae19 Delete README.md 2026-10-30 11:27:28 +00:00
daniel b49cdc7f01 Delete directory 'docs' 2026-10-30 11:27:09 +00:00
Daniel Samson 0824474e70 chore: initial project setup with documentation and standards 2026-10-30 09:42:38 +00:00
Daniel Samson 4c82e4f54c feat: add M6 setup admin area milestone
Backend (FastAPI):
- is_admin field added to User model with default False
- Admin-only dependency validates JWT AND is_admin flag
- Protected CRUD endpoints for items management
- Pagination, search by title/url, sort by title/date

Frontend (React + TypeScript):
- AdminLayout with sidebar navigation protected by auth check
- AdminDashboard with pagination controls and page size selector
- EditItemPage with Lexical WYSIWYG editor toolbar
- DeleteConfirmation modal requires explicit confirmation
- Warning icon and consequences message before delete

Security:
- Server-side 403 Forbidden for non-admin users
- JWT token validation required on all admin routes
2026-10-29 16:23:52 +00:00
Daniel Samson c1313c8758 feat: add M5 setup authentication milestone based on reference implementation
Backend (FastAPI):
- User model with username, password_hash, created_at fields
- PBKDF2 password hashing (120,000 iterations with salt)
- JWT token generation using HS256 algorithm (7-day expiry)
- Auth endpoints: POST /api/auth/register, POST /api/auth/login
- GET /api/auth/me validates Bearer tokens
- Environment variable HN_SECRET_KEY for JWT signing

Frontend (React + TypeScript):
- AuthContext for authentication state management
- Login.tsx, Register.tsx, SignOut.tsx pages
- AUTH_TOKEN stored in localStorage
- Session restoration on page load
- API client with auth methods and token attachment

Security:
- Passwords hashed with PBKDF2-SHA256 (not plaintext)
- Random salt per password using secrets.token_hex
- JWT signed with configurable SECRET_KEY
- 401 responses for invalid/expired tokens

Reference implementation used: /home/daniel/Gitea/daniel/news
2026-10-29 16:17:14 +00:00
Daniel Samson e6a72964b0 feat: add M4 setup developer environment milestone
- Add docker-compose.yml orchestrating backend and frontend services
- Create .env.example with documented environment variables
- Create .env file with default development configuration
- Makefile with dev, stop, restart, test, clean commands
- data/.gitignore excludes SQLite database from version control
- .dockerignore files for both frontend and backend builds
- Update README.md with M4 milestone links

This milestone enables developers to run the full application stack using Docker Compose.
2026-10-29 16:05:24 +00:00
Daniel Samson 091c7dc673 feat: add react-router-dom v6.x dependency and configuration to M3
Key changes:
- Added react-router-dom as required dependency (v6.x)
- App.tsx now includes BrowserRouter wrapper with Routes
- Route definitions map pages to URLs (/ → Home, /articles → ArticlePage, /categories → CategoriesPage)
- Header navigation uses React Router <Link> components instead of anchor tags
- Updated scoring rubric: 49 total points
- New critical requirement: Agent must install BOTH lucide-react AND react-router-dom
2026-10-29 15:59:14 +00:00
Daniel Samson b627ddc418 feat: update M3 frontend setup with comprehensive requirements
- Add lucide-react dependency with Home, FileText, Settings icons
- Create assets/ folder with styles/ subdirectory for global.css
- Establish clear separation between pages/ (route-level) and components/ui/, components/articles/
- Implement Layout.tsx wrapper component for page structure
- Update component list: Header, Layout, ArticleCard, AuthorAvatar, CategoryBadge
- Add ArticlePage.tsx and CategoriesPage.tsx as placeholders in pages/
- Update scoring rubric to 40 points reflecting all new requirements
2026-10-29 15:56:43 +00:00
Daniel Samson 85490bc0a2 feat: update M2/M3 milestones to include testing infrastructure
M2 (Backend):
- Add tests/ folder with pytest test files
- Add pytest.ini for test configuration and coverage
- Update scoring to require unit tests (Score 4+)

M3 (Frontend):
- Add tests/ folder with Vitest component unit tests
- Add playwright/e2e/ folder with E2E Playwright tests
- Add @playwright/test dependency and configuration
- Update scoring to require both unit and E2E tests (Score 5)

README.md updated with all milestone links and test requirements
2026-10-29 15:54:10 +00:00
Daniel Samson d66fe178c3 feat: add M3 setup frontend milestone with scoring rubric
- Add m3-setup-frontend-prompt.md with React + TypeScript + Vite setup instructions
- Add m3-setup-frontend-scoring.md with comprehensive acceptance criteria scoring (22 points)
- Update README.md with M3 frontend milestone links
2026-10-29 15:50:24 +00:00
Daniel Samson 48fcbf16f6 feat: update M2 backend setup with correct structure
- Move backend to proper subfolder structure (newzy/backend/)
- Add .gitignore file for Python exclusions
- Add Dockerfile for containerization
- Update requirements.txt and docker-compose references
- Expand scoring rubric to 19 points for comprehensive evaluation
2026-10-29 15:46:22 +00:00
Daniel Samson 8e05ae3497 feat: add M2 setup backend milestone with scoring rubric
- Add m2-setup-backend-prompt.md with structured documentation for FastAPI backend setup
- Add m2-setup-backend-scoring.md with acceptance criteria scoring table
- Update README.md with M2 milestone links
2026-10-29 15:43:10 +00:00
Daniel Samson db902a64df feat: add M1 setup git project milestone with scoring rubric
- Add m1-setup-git-project-prompt.md with structured documentation
- Add m1-setup-git-project-scoring.md with acceptance criteria scoring table
- Update README.md with milestones section
2026-10-29 15:39:51 +00:00
daniel 9f2afabfdf Update README.md 2026-10-29 15:00:35 +00:00
daniel 3888562a47 Update README.md 2026-10-29 14:58:26 +00:00
daniel ea39197be6 Update README.md 2026-10-29 14:47:04 +00:00
daniel f4f8f9659e Update README.md 2026-10-29 14:43:21 +00:00
daniel e36eb4e12c Update README.md 2026-10-29 14:43:09 +00:00
daniel 8503717d49 Update README.md 2026-10-29 14:40:27 +00:00
daniel 7b039cae2a Update README.md 2026-10-29 14:36:59 +00:00
daniel 1bb3d9209f Update README.md 2026-10-28 12:20:55 +00:00
daniel 393a3b1cec Update README.md 2026-10-28 12:20:22 +00:00
daniel 4a363d97e1 Initial commit 2026-10-28 12:13:45 +00:00