Skip to content

Janithht aidlc experience run - #2

Open
janithht wants to merge 2 commits into
99x-Projects:mainfrom
janithht:janithht-aidlc-experience-run
Open

Janithht aidlc experience run#2
janithht wants to merge 2 commits into
99x-Projects:mainfrom
janithht:janithht-aidlc-experience-run

Conversation

@janithht

@janithht janithht commented Jun 4, 2026

Copy link
Copy Markdown

No description provided.

janithht added 2 commits June 4, 2026 11:11
Complete first AI-DLC cycle: Intent → Elaboration → Units → Bolt → Code → Retro → Improvement

AI-DLC Process Artifacts:
- Intent: Cabin Owner Registration & Cabin Profile Creation
- Mob Elaboration: 5 units extracted with acceptance criteria
- Bolt-01 plan: Auth + Cabin CRUD in execution order
- Retrospective: documented lessons learned
- Improvement: mandatory file read before code generation
- Prompt log: full audit trail

Backend (.NET 8 Web API):
- JWT authentication via Supabase (symmetric for dev)
- CabinsController with POST and GET endpoints
- Repository pattern with Dapper + Npgsql
- Server-side ownership validation (EC-007)
- Input validation with BadRequest(ModelState)

Frontend (React 18 + TypeScript + Vite):
- Supabase Auth integration (signUp, signInWithPassword)
- Reactive auth state via onAuthStateChange (per code-standards)
- Protected route wrapper with redirect preservation
- App layout shell with navigation
- Registration, Login, Dashboard, and Create Cabin pages
- Client-side validation matching server rules

Database:
- cabins table migration with RLS policies
- Row-level security: owner can only access own cabins

Infrastructure:
- .gitignore fix: /build/ instead of build/ (was blocking ai-dlc/ops/build/)
- Dev setup guide updated with correct paths
- Environment variable templates (.env.example, appsettings.Development.json.example)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant