Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions openspec/specs/agent-update/spec.md
Original file line number Diff line number Diff line change
Expand Up @@ -446,6 +446,16 @@ When a managed package is no longer installed but Quantex still records install
- **THEN** Quantex does not remove the installed-agent state entry
- **AND** the uninstall command reports failure

#### Scenario: Ghost recovery does not run when npm presence probing is inconclusive

- **GIVEN** an agent has recorded managed install state with install type `npm`
- **AND** npm is available
- **AND** npm global presence probing cannot confirm whether the package is installed or absent
- **WHEN** the user runs `quantex uninstall <agent>`
- **AND** the managed package-manager uninstall command reports failure
- **THEN** Quantex does not remove the installed-agent state entry
- **AND** the uninstall command reports failure

### Requirement: Exec and shortcut install flows MUST honor global timeout during managed install

When `quantex exec` or shortcut `quantex <agent>` runs with `--timeout` and must install a missing agent before launch, Quantex SHALL apply the configured timeout to the install phase. After the deadline fires, Quantex SHALL wait up to `min(timeoutMs, 250)` for managed install work to finish before cancelling managed installer subprocesses.
Expand Down
Loading