feat(sessions_send): add spawnIfInactive parameter#82
Closed
dgarson wants to merge 10 commits into
Closed
Conversation
- Replace minimal Pi note with comprehensive portability table (node:sqlite, Node version, architecture, WAL/filesystem considerations) - Add recommended database path section for Pi (/data/openclaw/workq/workq.db) with config example and directory setup commands - Add 5-step probe/verification command sequence for new host deployments - Fix hardcoded local path in Installation section to use relative repo path
Enhances workq extension documentation for Claude Code agents with: - Detailed breakdown of all 8 queue tools with parameters and examples - Expected call order workflow (claim -> status/files -> in-review -> done) - Status state machine diagram and valid transitions - Practical examples covering happy path, conflicts, blocked tasks, queries - Common pitfalls and integration notes for platform squad agents - File conflict detection guidance Provides agents with actionable reference for coordinating work across the multi-agent fleet.
The previous test used vi.fn() to mock the WorkqDatabase class, but this doesn't work properly when the actual code uses 'new WorkqDatabase()'. Changed to use a proper class mock with vi.hoisted() to ensure the mock functions are available when the vi.mock() factory runs. All 41 tests now pass.
…tructure
Agent: oscar
Original branch: feat/workq-extension
Working on: workq-extension
Reason: restructuring workspace so git repos live at git/{reponame}/
All untracked config + code changes captured here.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds the
spawnIfInactiveparameter to the sessions_send tool schema.\n\nThis allows callers to automatically spawn a new sub-agent if the target session is not active, instead of failing.