Files
hermes-agent/tests
teknium1 4346cdcdc2 fix(profiles): keep tombstoned profiles out of the name-only listing
`list_profile_names()` — the hot-path enumerator behind cron's Bot Chat
delivery targets (`cron_delivery_targets()`) and kanban's profile hints —
listed every directory under profiles/, so a stale process re-creating a
deleted profile's directory (`profiles/<name>/logs`, `state.db`) made
`bot-chat:<name>` reappear as a delivery target. Every other enumerator
(`list_profiles`, `profiles_to_serve`, `HostedRoomService.local_profiles`)
already honors the tombstone; this one now uses the same live-only walk.

Live probe (fresh temp HERMES_HOME, real create/delete, real
cron_delivery_targets): base lists `bot-chat:worker` after the stale
re-mkdir; head lists only default/ops.

Co-authored-by: 686f6c61 <github@00b.tech>
Co-authored-by: ryrenz <dazhang@Davids-Mac-mini.local>
2026-09-16 17:02:02 -07:00
..
…