diff --git a/backend/templates/BOARD_HEARTBEAT.md.j2 b/backend/templates/BOARD_HEARTBEAT.md.j2 index 45adad1..3a56483 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 f829332..f75806e 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 ```