botserver/prompts/dev/platform
Rodrigo Rodriguez (Pragmatismo) 856e2f0252 feat(bot): persist user messages and refine session handling
Add logic to save user messages to session history for better traceability and context continuity. Simplify session creation error handling and remove redundant warning on closed response channel. Update README with guidance on maintaining production-ready source code.
2025-11-07 10:26:34 -03:00
..
add-keyword.md Enhance bot memory and Redis guards 2025-10-16 14:22:28 -03:00
add-model.md Enhance bot memory and Redis guards 2025-10-16 14:22:28 -03:00
add-service.md Enhance bot memory and Redis guards 2025-10-16 14:22:28 -03:00
botserver.md refactor: update configuration prefix to 'pragmatismo-' and add CLI example format 2025-10-27 18:32:36 -03:00
cli.md refactor: update configuration prefix to 'pragmatismo-' and add CLI example format 2025-10-27 18:32:36 -03:00
doc-guide-topic.md Enhance bot memory and Redis guards 2025-10-16 14:22:28 -03:00
fix-errors.md Refactor bootstrap and package manager, add ureq 2025-10-19 11:08:23 -03:00
ide.md feat(package_manager): add check_cmd to ComponentConfig and services 2025-11-04 09:25:03 -03:00
README.md feat(bot): persist user messages and refine session handling 2025-11-07 10:26:34 -03:00
shared.md refactor: update configuration prefix to 'pragmatismo-' and add CLI example format 2025-10-27 18:32:36 -03:00

LLM Strategy & Workflow

Fallback Strategy (After 3 attempts / 10 minutes):

When initial attempts fail, sequentially try these LLMs:

  1. DeepSeek-V3-0324 (good architect, adventure, reliable, let little errors just to be fixed by gpt-*)
  2. DeepSeek-V3.1 (slower)
  3. gpt-5-chat (slower, let warnings...)
  4. gpt-oss-120b
  5. Claude (Web): Copy only the problem statement and create unit tests. Create/extend UI.
  6. Llama-3.3-70B-Instruct (alternative)

Development Workflow:

  • One requirement at a time with sequential commits
  • On error: Stop and consult Claude for guidance
  • Change progression: Start with DeepSeek, conclude with gpt-oss-120b
  • If a big req. fail, specify a @code file that has similar pattern or sample from official docs.
  • Final validation: Use prompt "cargo check" with gpt-oss-120b
  • Be humble, one requirement, one commit. But sometimes, freedom of caos is welcome - when no deadlines are set.
  • Keep in the source codebase only deployed and tested source, no lab source code in main project. At least, use optional features to introduce new behaviour gradually in PRODUCTION.