agent-orchestrator/packages/core/src
suraj-markup 596913aa34 Fix review issues: busy-wait loops, lock race, import hygiene, typed errors
- Replace CPU-burning spin loops in running-state.ts with async setTimeout
  and jittered backoff; make all exports async
- Fix TOCTOU race in acquireLock by extracting tryAcquire helper with
  retry loop instead of force-remove-and-retry-once
- Hoist dynamic imports in addProjectToConfig/choice-2 to static imports
- Add try/finally around readline in detectAgentRuntime
- Validate session prefix uniqueness in "Start new orchestrator" menu
- Add ConfigNotFoundError class to @composio/ao-core, replace fragile
  string matching in ao start with instanceof check
- Fix setup.sh to recommend `ao start` instead of deprecated `ao init`
- Fix start-all.ts: resolve next binary with fallback, wait for children
  on SIGTERM instead of immediate process.exit

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-17 17:33:06 +05:30
..
__tests__ fix(lifecycle): implement stuck detection using agent-stuck threshold (#376) 2026-03-13 10:02:33 +05:30
recovery feat: support distinct worker and orchestrator agents (#439) 2026-03-12 20:58:55 +05:30
utils fix: preserve project ownership for legacy sessions 2026-03-11 23:27:48 +05:30
agent-selection.ts feat: support distinct worker and orchestrator agents (#439) 2026-03-12 20:58:55 +05:30
atomic-write.ts feat(core): add feedback tools contracts, validation, storage, and dedupe 2026-03-10 22:31:39 +05:30
config-generator.ts feat: add `ao start <url>` one-command project onboarding (#267) 2026-03-03 13:52:49 +05:30
config.ts Fix review issues: busy-wait loops, lock race, import hygiene, typed errors 2026-03-17 17:33:06 +05:30
decomposer.ts feat: lifecycle manager, backlog auto-claim, task decomposition, and verification gate (#365) 2026-03-10 12:31:25 +05:30
feedback-tools.ts feat(core): add feedback tools contracts, validation, storage, and dedupe 2026-03-10 22:31:39 +05:30
global-pause.ts fix: pause workers on model limits and stabilize session visibility (#367) 2026-03-10 08:42:17 +05:30
index.ts Simplify onboarding: absorb init + add-project into ao start 2026-03-17 01:17:33 +05:30
key-value.ts feat(core): add feedback tools contracts, validation, storage, and dedupe 2026-03-10 22:31:39 +05:30
lifecycle-manager.ts fix(lifecycle): implement stuck detection using agent-stuck threshold (#376) 2026-03-13 10:02:33 +05:30
metadata.ts feat(core): add feedback tools contracts, validation, storage, and dedupe 2026-03-10 22:31:39 +05:30
observability.ts feat: add end-to-end observability across core, web, and terminal (#436) 2026-03-12 16:57:40 +05:30
opencode-session-id.ts feat: OpenCode session lifecycle and CLI controls (#315) 2026-03-08 09:55:44 +05:30
orchestrator-prompt.ts Remove two-arg support from ao spawn and batch-spawn 2026-03-17 14:29:14 +05:30
orchestrator-session-strategy.ts feat: OpenCode session lifecycle and CLI controls (#315) 2026-03-08 09:55:44 +05:30
paths.ts feat: add end-to-end observability across core, web, and terminal (#436) 2026-03-12 16:57:40 +05:30
plugin-registry.ts fix(core): wire built-in GitLab integrations (#393) 2026-03-10 12:57:35 +05:30
prompt-builder.ts feat: lifecycle manager, backlog auto-claim, task decomposition, and verification gate (#365) 2026-03-10 12:31:25 +05:30
scm-webhook-utils.ts feat: add SCM webhook lifecycle triggers (#394) 2026-03-11 10:34:41 +05:30
session-manager.ts Fix CI failures: lint eqeqeq + test manifest displayName 2026-03-17 13:55:08 +05:30
tmux.ts fix: increase delays in spawn prompt submission to ensure Enter is processed (#62) 2026-02-16 20:31:07 +05:30
types.ts Fix review issues: busy-wait loops, lock race, import hygiene, typed errors 2026-03-17 17:33:06 +05:30
utils.ts Publish ao-web on npm, harden error handling, deduplicate code 2026-03-14 19:01:49 +05:30