MicroFish/backend/app
Ubuntu 83cf890c83 feat(simulation): add DELETE agent, POST generate-config, PATCH config endpoints
- DELETE /<sim_id>/agent/<user_id>: removes agent from reddit_profiles.json (atomic write, guards against running/completed status)
- POST /<sim_id>/generate-config: transitions profiles_ready→configuring→ready, runs LLM config generation in background thread, returns task_id
- PATCH /<sim_id>/config: merges time/platform config fields into simulation_config.json (atomic write)
- Corresponding SimulationManager methods: delete_agent_profile(), patch_simulation_config()
- 7 tests all passing (3 original + 4 new)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-03 21:43:02 +00:00
..
api feat(simulation): add DELETE agent, POST generate-config, PATCH config endpoints 2026-05-03 21:43:02 +00:00
graph fix(graph): cap get_all_edges to 5000 edges to prevent unbounded RAM growth 2026-04-26 14:50:21 +00:00
models refactor(project): clean up _to_dict delegation and remove unused import 2026-05-03 01:16:03 +00:00
services feat(simulation): add DELETE agent, POST generate-config, PATCH config endpoints 2026-05-03 21:43:02 +00:00
storage fix(storage,db): path traversal fix, delete_prefix validation, remove dead import, factory uses Config 2026-05-03 00:06:58 +00:00
utils fix(llm): centralise Azure URL normalisation in parse_azure_url utility 2026-04-25 21:09:48 +00:00
__init__.py feat(app): inject SQLAlchemy DB and StorageService into Flask app factory 2026-05-03 00:08:13 +00:00
config.py feat(config): add DATABASE_URL, STORAGE_TYPE, AZURE_STORAGE_*, JWT config vars 2026-05-02 23:53:16 +00:00
db.py test(conftest): add in_memory_db and task manager singleton reset fixtures; fix broken tests 2026-05-03 00:15:42 +00:00