fix: gap3/gaps session-delete hardening + workspace command (local work) - #5
Conversation
…iring api_server (campanha 2026-08-08)
…cleanup delegations+obligations no delete; N4 retry colisao id + warning upsert; N8/N9 defensivos; testes + correcoes suite gateway (2026-08-08)
port + review fixes) Folder-based workspaces (workspaces/<name>/SYSTEM.md + platforms/<plat>/<chat>/topics.yaml): prompt/skills/model per topic, survives /new. Fixes do review: capture state por user+topic+msg, resolucao compartilhada via SessionSource, path traversal hardening. CLI + gateway + Telegram picker. 1710/1710 gateway telegram suite.
|
Warning Review limit reachedYou’ve reached a temporary PR review limit under our Fair Usage Limits Policy. Next review available in: 52 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (31)
Comment |
O que é
Trabalho local rodando no install (branch
feat/coding-brain-upgrades) que nunca foi publicado no fork — sem este PR, o próximo sync pode perdê-lo. Cherry-pick limpo dos 3 commits de campanha sobremain(PR #1 já tem o purge de routing; estes são a evolução).Commits
SessionStore.forget_sessions+ backstop multi-processo (_prune_dead_persisted_entries) + wiring no api_server — sessão deletada por outro processo nunca ressuscita no próximo save do gateway/workspace(port PR feat(workspace): add /workspace command for per-topic prompts, skills, and models NousResearch/hermes-agent#30968 + fixes de review) — workspaces por pasta (SYSTEM.md + topics.yaml), prompt/skills/model por tópico, sobrevive a/newArquivos principais
gateway/session.py— forget_sessions + backstop +_query_existing_session_ids(chunk 500)gateway/platforms/api_server.py— sessions_dir dinâmico do SessionStore + forget após deletehermes_state.py— N3/N5 cleanup no-FK side tables, N1 anti-ressurreiçãoagent/workspace_resolver.py(novo),gateway/run.py,gateway/config.py,agent/skill_utils.pyVerificação
_read_ctxfiel (lock_io),_HOME_ENVnos testes feishu (Windows)31 arquivos, +9100/-328.
Summary by cubic
Hardens multi‑process session deletion so deleted sessions never resurrect, and adds folder‑based workspaces with a
/workspacecommand for per‑topic prompts, skills, and model overrides that survive/new.Bug Fixes
SessionStore.forget_sessions()and wired it into the API delete path; gateway saves now prune dead session entries before persisting to prevent resurrection.group_topics/dm_topicsfrom top‑level config intoextrafor simpler config authoring.New Features
/workspacecommand (CLI and gateway): create, link/unlink, set model, list, show, remove.~/.hermes/workspaces/<name>/SYSTEM.md(frontmatter + prompt) and per‑chat~/.hermes/platforms/<platform>/<chat_id>/topics.yamlmapping threads to workspace names.skills/under each workspace) are auto‑loaded; lightweight resolver with stat cache./model> workspace > config); includes Telegram interactive picker.Written for commit 6b425e0. Summary will update on new commits.