Skip to content

Stabilize research orchestration and runtime recovery - #139

Merged
Yushangjinghong2 merged 3 commits into
mainfrom
local/runtime-framework-fixes-20260916
Sep 18, 2026
Merged

Yushangjinghong2 merged 3 commits into
mainfrom
local/runtime-framework-fixes-20260916

Conversation

@Yushangjinghong2

Copy link
Copy Markdown
Collaborator

Summary

  • make Research Team ownership and external waits durable without changing the Engineer–Reviewer review loop
  • recover parent missions from owned subagent state instead of leaving stale running backlog entries
  • add a durable runtime incident layer that verifies deterministic recovery and escalates failed or repeated incidents to Manager supervision

Details

  • preserve upstream's configurable portfolio route count, provider-capacity pool width, and regeneration behavior
  • reconcile the runtime-owned idea selector from the resident Curator and prevent duplicate portfolio/poller creation
  • bind subagents to owner_mission_id and aggregate all owned subagent states before parking or requeuing a parent mission
  • record and verify startup orphan, stale Team owner, hard-timeout, process-group cleanup, report delivery, and resource-lease recovery
  • keep incident persistence fail-soft so monitor reporting cannot block the original deterministic recovery path
  • publish typed runtime incident events and regenerate frontend payload types and renderer fixtures

Validation

  • affected daemon, LifeSupervisor, Manager, Curator, Team, Research portfolio, subagent, and process-ownership test suites pass
  • generated event types and renderer fixtures pass --check
  • Python compileall passes
  • git diff --check passes

Prevent duplicate research portfolios, isolate subagent ownership, preserve external waits, and reconcile selectors from the daemon-resident Curator.

Co-authored-by: Copilot <[email protected]>

Copilot-Session: f3fbb53a-0adf-4d28-8b03-e2d941d62608
Co-authored-by: Copilot <[email protected]>

Copilot-Session: f3fbb53a-0adf-4d28-8b03-e2d941d62608
Co-authored-by: Copilot <[email protected]>

Copilot-Session: f3fbb53a-0adf-4d28-8b03-e2d941d62608
@Yushangjinghong2
Yushangjinghong2 merged commit 666178e into main Sep 18, 2026
1 of 2 checks passed
@Yushangjinghong2
Yushangjinghong2 deleted the local/runtime-framework-fixes-20260916 branch September 18, 2026 13:44
Yushangjinghong2 pushed a commit that referenced this pull request Sep 21, 2026
main's #139/#141 landed with lint and an architecture ratchet failing; after
merging main into dev the same three points remain:
- argus/skills/stage_machine.py used typing.Any without importing it.
- argus/life/supervisor/_planning_cycle_intake.py kept an import whose only
  use moved to _planning_cycle_completion.py.
- tests/skills/test_research_idea_portfolio.py imported argus.team.pool unused.
- The runtime-incident store and the runtime failure circuit read
  memory.root like the rest of the supervisor (their reader in _idle_cycle.py
  uses the same root), so MEMORY_ROOT_READS is 81 with the reason recorded.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Yushangjinghong2 pushed a commit that referenced this pull request Sep 22, 2026
main's #139/#141 added life.runtime.incident.detected/recovered/escalated to
the event catalog; dev's exhaustive event renderer had no case for them, so
the merged tree failed tsc in the desktop build. They join the runtime
failure circuit events in the bookkeeping fallback group. Regenerate the
renderer coverage fixture and rebuild the web dist and TUI bundle.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
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.

2 participants