intake: assign kanban tasks to the default profile so the dispatcher claims them
Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01YECpkAwQUwgu7NVy91R8fW
This commit is contained in:
co-authored by
Claude Fable 5
parent
208cee9830
commit
2bc7d510c1
@@ -363,7 +363,7 @@ def intake_start_task(state: dict, post_id: str, entry: dict) -> None:
|
|||||||
raw = kanban("create", title,
|
raw = kanban("create", title,
|
||||||
"--body", f"{content}\n\n(from Pulse post {post_id}, "
|
"--body", f"{content}\n\n(from Pulse post {post_id}, "
|
||||||
f"ledger {entry['ledger_id'][:8]})",
|
f"ledger {entry['ledger_id'][:8]})",
|
||||||
"--created-by", "pulse-bridge",
|
"--created-by", "pulse-bridge", "--assignee", "default",
|
||||||
"--idempotency-key", f"pulse-{post_id}", "--json")
|
"--idempotency-key", f"pulse-{post_id}", "--json")
|
||||||
task = json.loads(raw)
|
task = json.loads(raw)
|
||||||
task_id = task["id"] if isinstance(task, dict) else task[0]["id"]
|
task_id = task["id"] if isinstance(task, dict) else task[0]["id"]
|
||||||
|
|||||||
Reference in New Issue
Block a user