Commit Graph

10 Commits

Author SHA1 Message Date
Ubuntu 2aa44760d1 feat(f2a-b): step02/03 UX overhaul, Azure OpenAI fix, offline report interviews
Step 02/03 UX:
- Remove duplicate simulation params (total_hours, minutes_per_round) from Fase B form
- Add following_probability + recsys_type to step 03 config panel instead
- Step 03 now read-only by default with Edit / Save toolbar toggle
- Add common.edit and log.configSaved i18n keys to all 4 locales

Backend - Azure OpenAI fix (run_parallel_simulation.py):
- create_model() now detects Azure URLs (cognitiveservices.azure.com / openai.azure.com)
  and uses ModelPlatformType.AZURE with AzureOpenAIModel, passing api_version and
  azure_deployment_name explicitly — fixes 404 "Resource not found" from camel-ai

Backend - offline report interviews (simulation_runner.py):
- interview_agents_batch() falls back to _offline_batch_interview() when OASIS env is
  closed (simulation finished), reading posts from SQLite DB instead of failing with
  "No successful interviews / check OASIS environment status"

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-04 23:20:41 +00:00
Ubuntu 65554bcd50 docs(plan): add F2-A+B implementation plan — agent editing, simulation params, graph isolation 2026-05-03 21:25:33 +00:00
Ubuntu 27cef87e65 docs(spec): add graph_id_simulation cleanup on simulation delete
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-03 20:38:43 +00:00
Ubuntu bb80ec115a docs(spec): fix F2-A graph isolation — ReportAgent queries graph_id_simulation only
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-03 20:38:20 +00:00
Ubuntu a1862c1c86 docs(spec): update F2-A spec — add agent creation/deletion and graph isolation (ex F2-D)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-03 20:32:33 +00:00
Ubuntu 26f0b72b3c docs(spec): add F2-A design spec for agent edit, regen and clone
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-03 20:12:10 +00:00
Ubuntu d69d1976d8 docs(plan): add Fase 1 implementation plan for persistence infrastructure
Covers 9 tasks with TDD approach:
- Task 1: Dependencies (SQLAlchemy, Alembic, Azure Blob, bcrypt, flask-jwt-extended)
- Task 2: Config vars (DATABASE_URL, STORAGE_TYPE, AZURE_STORAGE_*, JWT_*)
- Task 3: SQLAlchemy models (all 11 entities)
- Task 4: Alembic migrations
- Task 5: StorageService (Protocol + LocalFS + AzureBlob + factory)
- Task 6: Flask app factory injection
- Task 7: TaskManager refactor → DB
- Task 8: ProjectManager refactor → DB + Storage
- Task 9: Test suite + e2e verification

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-26 17:40:18 +00:00
Ubuntu 6ec363add4 docs(persistencia): aclarir RBAC, auth provisional, forgot-password i look&feel
- Admin és també user: accés a tots els projectes + admin en pantalles separades
- Documentar auth provisional (DEMO_PASSWORD) a eliminar
- Afegir flux forgot-password amb resposta genèrica (no revela validesa email)
- Principi de seguretat: cap endpoint d'auth revela si un email existeix
- Look & feel: Sistema de Disseny Gencat, consistent amb AgentCAT

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-26 17:31:23 +00:00
Ubuntu 36107c2c69 docs(persistencia): afegir especificació completa de la capa de persistència
Disseny validat durant sessió de brainstorming. Cobreix:
- Model de dades SQLAlchemy 2.x (User, Project, Ontology, Graph, Simulation, Report, Task, SystemConfig)
- StorageService amb adaptadors LocalFS / Azure Blob (S3 preparat però diferit)
- Autenticació JWT + RBAC (user/admin) amb flux d'invitació
- SystemConfig per a configuració dinàmica (LLM keys, límits, features)
- 4 fases d'implementació amb criteris de verificació

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-26 17:03:47 +00:00
Ubuntu d09ee23cd3 feat: ontology import, project recovery, graphiti improvements, and docs
- Add ontology import from file (Step 1)
- Persist active task_id to project.json for browser-refresh recovery
- Add project list endpoint and frontend recovery UI
- Improve Graphiti backend stability and oasis profile generation
- Add TechnicalDesign.md and enterprise roadmap spec
- Update .gitignore to exclude secrets and local-only docs

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-26 14:28:14 +00:00