2.8 KiB
2.8 KiB
Case: council-wait-timeout-through-bundled-cli
Test Type
This is a forward-test and a timeout-path council workflow validation.
The goal is to verify that a leader using the packaged council-review skill sees the expected timeout contract when reviewer tasks do not complete.
Purpose
Validate that all of the following can be true at the same time:
- the leader can start a council run through the bundled skill CLI
- the leader can call
council waitwith a short timeout - the command reports
woke == falseandall_complete == false - reviewer task metadata remains visible for later follow-up
Preconditions
- council-review skill path exists:
COUNCIL_SKILL_PATH=skills/council-review - bundled CLI executable exists at
COUNCIL_SKILL_PATH/assets/orch - inbox skill path exists:
INBOX_SKILL_PATH=skills/inbox - use an empty temporary directory
TMPDIR - initialize
TMPDIR/coord.dbbefore launching role agents throughINBOX_SKILL_PATH/assets/inbox --db TMPDIR/coord.db --json init
Agent Topology
leader
Inputs
Leader Prompt
Use $council-review at COUNCIL_SKILL_PATH to act as leader on the already initialized SQLite DB TMPDIR/coord.db. Only coordinate through the bundled orch CLI from the skill. Workflow: 1) start council run council_skill_003 with a short review target, 2) immediately call council wait with a short timeout such as 1 second, 3) stop after reporting RUN_ID and the wait result you observed. Do not use ordinary chat to simulate reviewer output.
Execution Parameters
- use the shared execution contract from README.md
- override the council wait timeout to a short interval such as
1s - do not override the default cleanup policy
Execution Steps
- Initialize
TMPDIR/coord.dbonce through the bundled inbox CLI before launching agents - Inject
skills/council-review/intoleader - Point the leader at the database path
TMPDIR/coord.db - Launch the leader
- Wait for the leader to finish
- Independently run the validation commands from the main thread
Validation Commands
COUNCIL_SKILL_PATH/assets/orch --db TMPDIR/coord.db --json council wait --run council_skill_003 --timeout-seconds 1
COUNCIL_SKILL_PATH/assets/orch --db TMPDIR/coord.db --json status --run council_skill_003
Expected Outcomes
- the leader successfully starts
council_skill_003 council waittimes out cleanly- the wait response still includes three reviewer statuses
- the run remains non-terminal because reviewers have not completed
Assertions
wait.data.woke == falsewait.data.all_complete == falsewait.data.reviewerslength is3status.data.run.statusis notdone
Cleanup
- use the default cleanup policy from README.md
- if the run fails, retain
TMPDIRandcoord.dbfor replay and manual inspection