From 1c8a531f6a6f3470a47840e618b683aba47d1df4 Mon Sep 17 00:00:00 2001 From: Abhimanyu Saharan Date: Mon, 16 Feb 2026 23:42:38 +0530 Subject: [PATCH] feat: update JSON key access syntax in BOARD_HEARTBEAT.md.j2 and BOARD_TOOLS.md.j2 --- backend/templates/BOARD_HEARTBEAT.md.j2 | 4 ++-- backend/templates/BOARD_TOOLS.md.j2 | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/backend/templates/BOARD_HEARTBEAT.md.j2 b/backend/templates/BOARD_HEARTBEAT.md.j2 index 45adad15..3a56483e 100644 --- a/backend/templates/BOARD_HEARTBEAT.md.j2 +++ b/backend/templates/BOARD_HEARTBEAT.md.j2 @@ -98,7 +98,7 @@ jq -r ' | .value | to_entries[] | select((.value.tags // []) | index("agent-lead")) | ((.value.summary // "") | gsub("\\s+"; " ")) as $summary - | "\(.key|ascii_upcase)\t\($path)\t\(.value.operationId // "-")\t\(.value.\"x-llm-intent\" // "-")\t\(.value.\"x-when-to-use\" // [] | join(\" | \"))\t\(.value.\"x-routing-policy\" // [] | join(\" | \"))\t\($summary)" + | "\(.key|ascii_upcase)\t\($path)\t\(.value.operationId // "-")\t\(.value[\"x-llm-intent\"] // "-")\t\(.value[\"x-when-to-use\"] // [] | join(\" | \"))\t\(.value[\"x-routing-policy\"] // [] | join(\" | \"))\t\($summary)" ' /tmp/openapi.json | sort ``` {% else %} @@ -110,7 +110,7 @@ jq -r ' | .value | to_entries[] | select((.value.tags // []) | index("agent-worker")) | ((.value.summary // "") | gsub("\\s+"; " ")) as $summary - | "\(.key|ascii_upcase)\t\($path)\t\(.value.operationId // "-")\t\(.value.\"x-llm-intent\" // "-")\t\(.value.\"x-when-to-use\" // [] | join(\" | \"))\t\(.value.\"x-routing-policy\" // [] | join(\" | \"))\t\($summary)" + | "\(.key|ascii_upcase)\t\($path)\t\(.value.operationId // "-")\t\(.value[\"x-llm-intent\"] // "-")\t\(.value[\"x-when-to-use\"] // [] | join(\" | \"))\t\(.value[\"x-routing-policy\"] // [] | join(\" | \"))\t\($summary)" ' /tmp/openapi.json | sort ``` {% endif %} diff --git a/backend/templates/BOARD_TOOLS.md.j2 b/backend/templates/BOARD_TOOLS.md.j2 index f829332d..f75806e5 100644 --- a/backend/templates/BOARD_TOOLS.md.j2 +++ b/backend/templates/BOARD_TOOLS.md.j2 @@ -32,7 +32,7 @@ jq -r ' .paths | to_entries[] as $p | $p.value | to_entries[] | select((.value.tags // []) | index("{{ role_tag }}")) - | "\(.key|ascii_upcase)\t\($p.key)\t\(.value.operationId // "-")\t\(.value.\"x-llm-intent\" // "-")\t\(.value.\"x-when-to-use\" // [] | join(\" | \") )\t\(.value.\"x-routing-policy\" // [] | join(\" | \"))" + | "\(.key|ascii_upcase)\t\($p.key)\t\(.value.operationId // "-")\t\(.value[\"x-llm-intent\"] // "-")\t\(.value[\"x-when-to-use\"] // [] | join(\" | \"))\t\(.value[\"x-routing-policy\"] // [] | join(\" | \"))" ' api/openapi.json | sort > api/{{ role_tag }}-operations.tsv ```