feat: add board goal context to agent templates

This commit is contained in:
Abhimanyu Saharan
2026-02-05 14:44:50 +05:30
parent 5471671dc4
commit 56b898130b
4 changed files with 36 additions and 0 deletions

View File

@@ -129,6 +129,13 @@ def _build_context(
"agent_name": agent.name,
"agent_id": agent_id,
"board_id": str(board.id),
"board_name": board.name,
"board_type": board.board_type,
"board_objective": board.objective or "",
"board_success_metrics": json.dumps(board.success_metrics or {}),
"board_target_date": board.target_date.isoformat() if board.target_date else "",
"board_goal_confirmed": str(board.goal_confirmed).lower(),
"is_board_lead": str(agent.is_board_lead).lower(),
"session_key": session_key,
"workspace_path": workspace_path,
"base_url": base_url,