LLM Code Helper Flask Maintenance
This repo is a small Flask app in app.py with an inline HTML template.
Workflow
- Keep changes in
app.pyunless a larger split is explicitly requested. - Preserve the two core flows: format code with line numbers, then process structured JSON changes.
- Update
requirements.txtonly when a dependency is actually needed. - Run with
python app.pyand test throughhttp://localhost:5000. - Favor readable Python and plain browser JavaScript over new frameworks.
Checks
- Confirm
/format-codereturns line-numbered code and stores the original code in session. - Confirm
/process-changesapplies changes only after original-line verification passes.