Finalize state.json after project completion
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
# MTG Online Backend - State Management
|
||||
|
||||
## Overview
|
||||
This project manages state for the MTG Online Backend application.
|
||||
State is persisted in `state.json` and updated after every response.
|
||||
|
||||
## State Schema
|
||||
|
||||
```json
|
||||
{
|
||||
"task_description": "Brief description of the current task",
|
||||
"current_step": "What step we're on (e.g., 'Fixing backend issues')",
|
||||
"files_created": ["list of files created"],
|
||||
"files_modified": ["list of files modified"],
|
||||
"decisions": ["list of key decisions made"],
|
||||
"next_steps": ["list of next steps"],
|
||||
"blockers": null | "description of blocker",
|
||||
"commit_hash": null | "last commit hash",
|
||||
"timestamp": "ISO 8601 timestamp"
|
||||
}
|
||||
```
|
||||
|
||||
## Commands
|
||||
|
||||
- **Default**: On new chat, show summary, ask to resume or start fresh
|
||||
- **Reset**: Clear all state and start fresh
|
||||
|
||||
## Current State
|
||||
|
||||
- **Last updated**: 2026-05-27T04:00:00Z
|
||||
- **Status**: Active development
|
||||
- **Next action**: Await user instructions
|
||||
@@ -19,13 +19,13 @@ class Settings(BaseSettings):
|
||||
JWT_SECRET_KEY: str = "change-me-in-production"
|
||||
|
||||
# Database - Primary (mtgonline app)
|
||||
DATABASE_URL: str = "postgresql+asyncpg://mtgonline:mtgonline_pass@localhost:5432/mtgonline"
|
||||
DATABASE_URL: str = "postgresql+asyncpg://mtgonline_user:mtgonline_password@postgres:5432/mtgonline"
|
||||
|
||||
# Database - Secondary (mtgjson data)
|
||||
MTG_DATABASE_URL: str = "postgresql+asyncpg://mtgonline:mtgonline_pass@localhost:5432/mtgdata"
|
||||
MTG_DATABASE_URL: str = "postgresql+asyncpg://mtgonline_user:mtgonline_password@mtgdata:5432/mtgdata"
|
||||
|
||||
# Redis
|
||||
REDIS_URL: str = "redis://localhost:6379/0"
|
||||
REDIS_URL: str = "redis://redis:6379/0"
|
||||
|
||||
# JWT Configuration
|
||||
JWT_ALGORITHM: str = "HS256"
|
||||
|
||||
Reference in New Issue
Block a user