33 lines
932 B
Markdown
33 lines
932 B
Markdown
# 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
|