HERMES-GIELIE/api
t 3ac19a5518 fix(#4812): capture idle SSE fingerprint baseline BEFORE first attach (TOCTOU)
Final-gate Codex caught a TOCTOU race in the prior idle-seam fix: the fingerprint
baseline was captured AFTER the first attach_active_stream() lookup, so a run
completing DURING that first attach folded into the baseline and was silently
missed (only : keepalive emitted, no snapshot). Move the baseline capture before
the first attach so any completion from that point on is detected. Add an ordering
regression test (baseline fp precedes the idle-loop attach + advance still emits
one snapshot). 23/23 SSE tests green.

Co-authored-by: rodboev <rodboev@users.noreply.github.com>
2026-07-10 20:24:47 +00:00
..
__init__.py
agent_health.py Single-flight remote gateway health probe to stop cold-cache stampede 2026-07-09 03:54:10 +00:00
agent_sessions.py Release: classify external_agent imports as CLI to match client render (#5846, #5831) (#5855) 2026-07-09 14:20:20 -07:00
auth.py
auth_oidc.py
background.py
background_process.py Merge remote-tracking branch 'origin/master' into paperclip/pr-5732 2026-07-09 09:43:54 +08:00
clarify.py
commands.py
compression_anchor.py
compression_recovery.py
config.py Merge remote-tracking branch 'origin/master' into paperclip/pr-5732 2026-07-11 02:07:37 +08:00
crash_visibility.py
dashboard_probe.py
extensions.py
gateway_chat.py Preserve latest session on wakeup pause clear 2026-07-10 13:20:40 +08:00
gateway_restart.py
gateway_watcher.py fix(sessions): open state.db read-only for lineage reads + watcher projection 2026-07-08 20:17:45 +00:00
goals.py
helpers.py
kanban_bridge.py
metering.py
models.py Merge remote-tracking branch 'origin/master' into paperclip/pr-5732 2026-07-10 10:15:21 +08:00
oauth.py Release Batch D: terminal resource-leak fix + fsync atomic writers (#5835, #5843) (#5848) 2026-07-09 10:54:06 -07:00
office_documents.py
onboarding.py
passkeys.py Release Batch D: terminal resource-leak fix + fsync atomic writers (#5835, #5843) (#5848) 2026-07-09 10:54:06 -07:00
paths.py
plugin_providers.py
plugins.py
profiles.py fix(#5696): revert profiles cache TTL 60s->4s (stale profile rows); contributor-flagged follow-up 2026-07-06 20:40:08 +00:00
providers.py Require fingerprint evidence for wakeup credential recovery 2026-07-10 12:23:02 +08:00
request_diagnostics.py perf(webui/session-load-latency) tier4: fix CI failures — lint B009/B905 + _emit_slow format args 2026-07-09 04:22:21 +00:00
rollback.py
route_approvals.py
route_session_list_cache.py
routes.py fix(#4812): capture idle SSE fingerprint baseline BEFORE first attach (TOCTOU) 2026-07-10 20:24:47 +00:00
run_journal.py fix(#4812): re-sync idle no-cursor SSE subscriber on run completing during keepalive wait 2026-07-10 20:15:49 +00:00
runner_client.py
runtime_adapter.py
session_discoverability.py Release Batch D: terminal resource-leak fix + fsync atomic writers (#5835, #5843) (#5848) 2026-07-09 10:54:06 -07:00
session_events.py
session_export_html.py
session_lifecycle.py
session_ops.py
session_recovery.py Merge latest master into compression recovery action 2026-07-05 10:23:15 +08:00
skill_usage.py
sse_chunked.py
startup.py
state_sync.py fix(state-sync): mirror WebUI API call counts 2026-07-07 19:48:19 +00:00
streaming.py fix(#3929 ux): gate wakeup-pause disclosure on actual pause + cover both error paths 2026-07-10 19:28:06 +00:00
system_health.py
terminal.py Release Batch D: terminal resource-leak fix + fsync atomic writers (#5835, #5843) (#5848) 2026-07-09 10:54:06 -07:00
todo_state.py
turn_journal.py
updates.py Release: fix Experimental channel version display on stable-tagged installs (#5864, #5862) (#5868) 2026-07-09 20:18:03 -07:00
upload.py Release: write Office upload sidecars (#5734, #540) (#5859) 2026-07-09 15:57:21 -07:00
usage.py
webui_session_db.py
workspace.py
workspace_git.py fix(workspace-git): hide git subprocess console windows on Windows (#5692) 2026-07-07 02:07:39 +00:00
worktrees.py Release Batch A: worktree cli-shadow + atomic settings.json + state.db read-only (#5832, #5829, #5833) (#5837) 2026-07-09 09:04:59 -07:00