Add docs and project files - force for Culurien

This commit is contained in:
Fimeg
2026-03-28 20:46:24 -04:00
parent dc61797423
commit 484a7f77ce
343 changed files with 119530 additions and 0 deletions

View File

@@ -0,0 +1,125 @@
# 🚩 How to Continue Development with a Fresh Claude
This project is designed for multi-session development with Claude Code. Here's how to hand off to a fresh Claude instance:
## Quick Start for Next Session
**1. Copy the prompt:**
```bash
cat NEXT_SESSION_PROMPT.txt
```
**2. In a fresh Claude Code session, paste the entire contents of NEXT_SESSION_PROMPT.txt**
**3. Claude will:**
- Read `claude.md` to understand current state
- Choose a feature to work on
- Use TodoWrite to track progress
- Update `claude.md` as they go
- Build the next feature!
## What Gets Preserved Between Sessions
**claude.md** - Complete project history and current state
**All code** - Server, agent, database schema
**Documentation** - README, SECURITY.md, website
**TODO priorities** - Listed in claude.md
## Updating the Handoff Prompt
If you want Claude to work on something specific, edit `NEXT_SESSION_PROMPT.txt`:
```txt
YOUR MISSION:
Work on [SPECIFIC FEATURE HERE]
Requirements:
- [Requirement 1]
- [Requirement 2]
...
```
## Tips for Multi-Session Development
1. **Read claude.md first** - It has everything the new Claude needs to know
2. **Keep claude.md updated** - Add progress after each session
3. **Be specific in handoff** - Tell next Claude exactly what to do
4. **Test between sessions** - Verify things still work
5. **Update SECURITY.md** - If you add new security considerations
## Current State (Session 5 Complete - October 15, 2025)
**What Works:**
- Server backend with full REST API ✅
- Enhanced agent system information collection ✅
- Web dashboard with authentication and rich UI ✅
- Linux agents with cross-platform detection ✅
- Package scanning: APT operational, Docker with Registry API v2 ✅
- Database with event sourcing architecture handling thousands of updates ✅
- Agent registration with comprehensive system specs ✅
- Real-time agent status detection ✅
- **JWT authentication completely fixed** for web and agents ✅
- **Docker API endpoints fully implemented** with container management ✅
- CORS-enabled web dashboard ✅
- Universal agent architecture decided (Linux + Windows agents) ✅
**What's Complete in Session 5:**
- **JWT Authentication Fixed** - Resolved secret mismatch, added debug logging ✅
- **Docker API Implementation** - Complete container management endpoints ✅
- **Docker Model Architecture** - Full container and stats models ✅
- **Agent Architecture Decision** - Universal strategy documented ✅
- **Compilation Issues Resolved** - All JSONB and model reference fixes ✅
**What's Ready for Session 6:**
- System Domain reorganization for update categorization 🔧
- Agent status display fixes for last check-in times 🔧
- UI/UX cleanup to remove duplicate fields 🔧
- Rate limiting implementation for security 🔧
**Next Session (Session 6) Priorities:**
1. **System Domain Reorganization** (OS & System, Applications & Services, Container Images, Development Tools) ⚠️ HIGH
2. **Agent Status Display Fixes** (last check-in time updates) ⚠️ HIGH
3. **UI/UX Cleanup** (remove duplicate fields, layout improvements) 🔧 MEDIUM
4. **Rate Limiting & Security** (API security implementation) ⚠️ HIGH
5. **DNF/RPM Package Scanner** (Fedora/RHEL support) 🔜 MEDIUM
## File Organization
```
claude.md # READ THIS FIRST - project state
NEXT_SESSION_PROMPT.txt # Copy/paste for fresh Claude
HOW_TO_CONTINUE.md # This file
SECURITY.md # Security considerations
README.md # Public-facing documentation
```
## Example Session Flow
**Session 1 (Today):**
- Built server backend
- Built Linux agent
- Added APT scanner
- Stubbed Docker scanner
- Updated claude.md
**Session 2 (Next Time):**
```bash
# In fresh Claude Code:
# 1. Paste NEXT_SESSION_PROMPT.txt
# 2. Claude reads claude.md
# 3. Claude works on Docker scanner
# 4. Claude updates claude.md with progress
```
**Session 3 (Future):**
```bash
# In fresh Claude Code:
# 1. Paste NEXT_SESSION_PROMPT.txt (or updated version)
# 2. Claude reads claude.md (now has Sessions 1+2 history)
# 3. Claude works on web dashboard
# 4. Claude updates claude.md
```
---
**🚩 The revolution continues across sessions!**