Skip to content

fix(windows): merge startup and recovery hardening - #38

Merged
lbx154 merged 3 commits into
mainfrom
agents/merge-windows-stabilization-argus
Aug 14, 2026
Merged

fix(windows): merge startup and recovery hardening#38
lbx154 merged 3 commits into
mainfrom
agents/merge-windows-stabilization-argus

Conversation

@lbx154

@lbx154 lbx154 commented Aug 14, 2026

Copy link
Copy Markdown
Owner

Summary

Performance and safety decisions

  • keep gpt-5.4-mini for the default front-door classifier; only lower its reasoning effort
  • prewarm only the active Web project and only the lightweight classifier transport; hover/poll snapshots do not prewarm
  • retain the multi-project warm-context cache to avoid ACP restart thrashing
  • bound Windows backend startup to 30 seconds and fail immediately when the child exits
  • reuse or safely replace an existing Argus backend before selecting another local port
  • avoid repeated PowerShell liveness probes by retaining a native Windows process handle after one identity check
  • keep stale PID repair manual because the existing daemon lock protocol cannot delete it automatically without a race
  • use an injective portable filename encoding for Windows-unsafe task IDs

Validation

  • targeted Python lifecycle/Doctor/Manager/Curator/release tests: passed
  • changed portability tests: passed
  • TUI: 284 passed, 1 skipped
  • Web: 192 passed
  • Desktop TypeScript typecheck: passed
  • Ruff and targeted Mypy: passed
  • production release build and artifact verification: passed
  • sdist and wheel build, including argus_doctor.py: passed

Closes #34
Closes #35

lbx154 and others added 3 commits August 14, 2026 16:58
Integrate the safe portions of the Windows Web/ACP and Doctor recovery work while keeping hot paths bounded. Preserve the mini front-door model, make prewarming explicit, bound failed startup waits, use lock-aware repair, and avoid repeated PowerShell polling for adopted teammates. Regenerate all release artifacts from the merged sources.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Let standalone bootstrap diagnostics use the current managed Python when a source checkout has no local .venv, matching CI and packaged installations while still verifying the Argus Core import.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…tabilization-argus

# Conflicts:
#	argus_doctor.py
#	argus_skill/agent_cli/runner_backend.py
#	argus_skill/apps/cli/_core.py
#	argus_skill/apps/cli/_parser.py
#	argus_skill/core/runtime_env.py
#	argus_skill/daemon/_life_worker_boot.py
#	argus_skill/release_manifest.json
#	argus_skill/team/curator.py
#	argus_skill/team/task_board.py
#	argus_skill/tools/subagent/_experiment_preflight.py
#	argus_skill/tools/subagent/_registry.py
#	desktop/src/renderer/main.ts
#	frontend/core/src/release.generated.ts
#	frontend/tui/bundle/argus.mjs
#	frontend/web/dist/assets/ResearchWorkbenchPanel-BOPEGTC6.js
#	frontend/web/dist/assets/ResearchWorkbenchPanel-B_S8_hIy.js
#	frontend/web/dist/assets/ResearchWorkbenchPanel-D0ioPsHb.js
#	frontend/web/dist/assets/index-DYvAJ_cb.js
#	frontend/web/dist/assets/pdf-3Hzpt9_8.js
#	frontend/web/dist/assets/pdf-CTB8ZGev.js
#	frontend/web/dist/assets/pdf-Dzq_asqX.js
#	frontend/web/dist/index.html
#	tests/apps/test_cli_parser.py
#	tests/core/test_runtime_env.py
#	tests/test_bootstrap_doctor.py
#	tests/test_doctor.py
@lbx154
lbx154 merged commit 4b460b3 into main Aug 14, 2026
5 checks passed
@lbx154
lbx154 deleted the agents/merge-windows-stabilization-argus branch August 14, 2026 10:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant