HaHafeng
ac724266c1
feat(ssa): SSA Agent mode MVP - prompt management + Phase 5A guardrails + UX enhancements
Backend:
- Agent core prompts (Planner + Coder) now loaded from PromptService with 3-tier fallback (DB -> cache -> hardcoded)
- Seed script (seed-ssa-agent-prompts.ts) for idempotent SSA_AGENT_PLANNER + SSA_AGENT_CODER setup
- SSA fallback prompts added to prompt.fallbacks.ts
- Phase 5A: XML tag extraction, defensive programming prompt, high-fidelity schema injection, AST pre-check
- Default agent mode migration + session CRUD (rename/delete) APIs
- R Docker: structured error handling (20+ patterns) + AST syntax pre-check
Frontend:
- Default agent mode (QPER toggle removed), view code fix, analysis result cards in chat
- Session history sidebar with inline rename/delete, robust plan parsing from reviewResult
- R code export wrapper for local reproducibility (package checks + data loader + polyfills)
- SSA workspace CSS updates for sidebar actions and plan display
Docs:
- SSA module doc v4.2: Prompt inventory (2 Agent active / 11 QPER archived), dev progress updated
- System overview doc v6.8: SSA Agent MVP milestone
- Deployment checklist: DB-5 (seed script) + BE-10 (prompt management)
Made-with: Cursor
2026-03-08 15:23:09 +08:00
..
2026-02-07 21:56:11 +08:00
2026-02-19 20:57:00 +08:00
2026-02-19 20:57:00 +08:00
2026-03-02 22:23:54 +08:00
2026-02-23 13:21:52 +08:00
2026-02-25 18:29:20 +08:00
2026-02-26 13:28:08 +08:00
2026-02-27 14:35:25 +08:00
2026-02-27 14:35:25 +08:00
2026-03-01 15:27:05 +08:00
2026-03-01 15:27:05 +08:00
2026-03-01 22:49:49 +08:00
2026-03-01 22:49:49 +08:00
2026-03-01 22:49:49 +08:00
2026-03-07 19:24:21 +08:00
2026-03-08 15:23:09 +08:00
2026-02-07 21:56:11 +08:00
2025-10-10 20:33:18 +08:00
2025-11-16 15:43:04 +08:00
2025-11-16 15:43:04 +08:00
2026-02-19 20:57:00 +08:00
2026-02-08 21:22:11 +08:00
2025-10-10 15:56:45 +08:00