- clarify frontend may only rely on backend-issued session token cookie for auth
- forbid frontend browser storage for domain/business data
- require backend-mediated LLM calls across agent workflows
- add EntityTask domain and CRUD API backed by PostgreSQL
- relate generated messages directly to tasks and delete on task removal
- move preview generation to backend Llama endpoint
- migrate frontend task APIs from localStorage to backend endpoints
- update tests and CLAUDE rules for backend-owned LLM/persistence
- remove prompt and preview generation from task creation
- create tasks as inactive and route directly to edit page
- add generated message history UX to edit task
- update entity/task views and related test coverage
Replace the local preview stub with a real Ollama-backed test message flow using the configured local model.
Show the exact final prompt live on create and edit task pages, render generated output below it, and cover the integration with frontend tests.
Return all tasks for an entity so inactive items remain visible in the entity detail view while global task listings stay active-only.
Add inactive task styling and coverage for the entity page state.
Add task reactivation support to the local task API and update the edit task page to switch between Activate and Inactivate based on the current task state.
Keep the separate entity-page inactive-visibility changes out of this commit so they can be reviewed independently.
Extend the local task store with active state, inactivation, and hard delete support.
Update the edit task page and tests so inactive tasks are hidden from normal lists and task lifecycle actions are available from the details view.
Add a task details action from the entity page and route it to a prefilled edit task page.
Extend the local task API with single-task read and update helpers, and cover the new flow with frontend tests.
Replace the EntityDetailPage modal flow with a route-based CreateTaskPage for better accessibility and long-form usability.
Add route /entities/:entityId/tasks/new and update tests for both entity detail navigation and create-task page behavior.