agent-orchestrator/packages/cli/__tests__/commands
Harsh Batheja c1e8c1e839
fix: prevent orchestrator sessions from owning PRs (#432)
* fix: repair orchestrator PR metadata and session branch allocation

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-opencode)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>

* fix: harden orchestrator prompt delegation rules

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-opencode)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>

* fix: hide orchestrator PR ownership in status

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-opencode)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>

* fix: restore session suffix parsing for branch allocation

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-opencode)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>

* fix: avoid dynamic delete in metadata repair path

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-opencode)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>

* fix: reduce read-time repair overhead and preserve activity timestamps

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-opencode)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>

* refactor: share orchestrator read-repair logic

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-opencode)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>

---------

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
2026-03-11 22:04:38 +05:30
..
dashboard.test.ts refactor: delegate CLI commands to core SessionManager (#88) 2026-02-18 14:30:17 +05:30
init.test.ts test: align codex plugin version checks and stabilize init port tests 2026-03-07 21:02:07 +05:30
open.test.ts feat: seamless onboarding with enhanced documentation (#66) 2026-02-16 22:22:13 +05:30
review-check.test.ts feat: add PR claim flow for agent sessions (#326) 2026-03-07 03:54:19 +05:30
send.test.ts feat: OpenCode session lifecycle and CLI controls (#315) 2026-03-08 09:55:44 +05:30
session.test.ts fix(core): enforce single-owner PR claim consolidation (#390) 2026-03-10 11:54:26 +05:30
spawn.test.ts fix(core): enforce single-owner PR claim consolidation (#390) 2026-03-10 11:54:26 +05:30
start.test.ts fix: pause workers on model limits and stabilize session visibility (#367) 2026-03-10 08:42:17 +05:30
status.test.ts fix: prevent orchestrator sessions from owning PRs (#432) 2026-03-11 22:04:38 +05:30