docs: align kanban readiness docs and smoke tests
Salvages #28199 by @bensargotest-sys. Aligns Kanban docs with current tool registration: dispatcher-spawned task workers get task tools, profiles that explicitly enable the kanban toolset get orchestrator routing tools (kanban_list, kanban_unblock). Corrects failure-limit text to current default of 2. Hardens the e2e subprocess script to resolve repo root and use the spawnable default assignee. Updates the diagnostics severity fixture to assert error below the critical threshold.
This commit is contained in:
committed by
Teknium
parent
d37574775b
commit
81584940fe
@@ -1898,10 +1898,11 @@ def test_diagnostics_endpoint_severity_filter(client):
|
||||
# requires ``t_[a-f0-9]{8,}``.
|
||||
p1 = kb.create_task(conn, title="prose", assignee="a")
|
||||
kb.complete_task(conn, p1, summary="mentioned t_deadbeef1234")
|
||||
# An error-severity diagnostic (spawn failures) on another
|
||||
# An error-severity diagnostic (spawn failures) on another.
|
||||
# Keep this below critical severity (failure_threshold * 2).
|
||||
p2 = kb.create_task(conn, title="spawn", assignee="b")
|
||||
conn.execute(
|
||||
"UPDATE tasks SET consecutive_failures=5, last_failure_error='x' WHERE id=?",
|
||||
"UPDATE tasks SET consecutive_failures=2, last_failure_error='x' WHERE id=?",
|
||||
(p2,),
|
||||
)
|
||||
conn.commit()
|
||||
|
||||
Reference in New Issue
Block a user