{"url":"/runs/usecases/gtm-agent-from-workflow.json","recordedAt":"2026-11-18T01:07:05.725Z","runId":"wfrun_pFd2hzD8S0GUeFSZ","sha":"8f3975de202b4361424d6cc7ddec63aad8aaacf7d01d5b868111eb8d42a167ec","sdk":"platform 504447660691","costUsd":0.023514,"ms":39702,"exitCode":0,"status":"succeeded","definition":"name: showcase-gtm-agent-on-release\ndescription: When a release ships, hand its notes to the GTM agent for positioning and launch angles\nmaxRunCostUsd: 1.5\non:\n  webhook: {}\ndo:\n  - id: release\n    script.run:\n      input: { repo: \"tangle-network/agent-runtime\" }\n      egress: { allowDomains: [api.github.com] }\n      timeoutMs: 60000\n      source: |\n        export default async function run(input: { repo: string }) {\n          const res = await fetch(\"https://api.github.com/repos/\" + input.repo + \"/releases/latest\", { headers: { accept: \"application/vnd.github+json\", \"user-agent\": \"tangle-workflow\" } });\n          if (!res.ok) throw new Error(\"GitHub releases returned \" + res.status);\n          const r = await res.json();\n          const notes = String(r.body || \"\").replace(/ by @[A-Za-z0-9-]+/g, \"\");\n          console.log(r.tag_name + \" published \" + r.published_at + \"\\n\" + notes);\n          return { repo: input.repo, tag: r.tag_name, publishedAt: r.published_at, url: r.html_url, notes };\n        }\n  - id: gtm\n    needs: [release]\n    agent.run:\n      profile: gtm\n      timeout: 15m\n      prompt: |\n        A release just shipped: ${steps.release.tag} of ${steps.release.repo} (${steps.release.url}).\n\n        Notes:\n        ${truncate(steps.release.notes, 4000)}\n\n        Work from these notes and the public repository only; take no external action and post nothing.\n        Return, in under 250 words: who this release matters to (one ICP line), the single strongest launch angle,\n        three one-line message variants for developers, and one metric to watch after launch.\n","title":"Start the GTM agent from a workflow","events":[{"atMs":5009,"kind":"call","id":1,"name":"script.run","label":"release","result":{"status":"succeeded","stdout":"v2.3.7 published 2026-10-28T11:32:13Z\nLive topology exposes actual worker and supervisor activity clocks and full-stream cadence, preserves recorded failure causes, and retains complete EOF events without duplicate append counts.","exitCode":0,"output":"{\"repo\": \"tangle-network/agent-runtime\", \"tag\": \"v2.3.7\", \"publishedAt\": \"2026-10-28T11:32:13Z\", \"url\": \"https://github.com/tangle-network/agent-runtime/releases/tag/v2.3.7\", \"notes\": \"Live topology exposes actual worker and supervisor activity clocks and full-stream cadence, preserves recorded failure causes, and retains complete EOF events without duplicate append counts.\"}"},"durationMs":4390},{"atMs":9467,"kind":"call","id":2,"name":"agent.run","label":"gtm","result":{"status":"succeeded","costUsd":0.023514,"model":"gemini-3.7-flash","inputTokens":36003,"cacheReadTokens":16417,"outputTokens":306},"durationMs":30225},{"atMs":10493,"kind":"stream","parent":2,"type":"iteration.started","data":{"node":"gtm","model":"gemini-3.7-flash","name":"gtm"}},{"atMs":24796,"kind":"stream","parent":2,"type":"reasoning","data":{"node":"gtm","text":"**Framing The Agent Runtime**\n\nI'm now focusing on framing the launch of agent-runtime v2.3.7. Using the release notes and public repo, I'm working to construct a concise release brief. It's crucial I avoid any information outside these sources, and instead focus on crafting a compelling narrative for the launch.\n\n\n**Analyzing Release Impact**\n\nI'm now analyzing the implications of this agent-runtime release. It primarily concerns developers building on the system, offering a smoother development experience. I've pinpointed the strongest launch angle and drafted three succinct message variants for developer communication. Following launch, I intend to closely monitor one key metric to gauge the release's impact.\n\n\n"}},{"atMs":24796,"kind":"stream","parent":2,"type":"message.part.updated","data":{"part":{"type":"tool","tool":"webfetch","node":"gtm","state":{"status":"completed","input":{"url":"https://github.com/tangle-network/agent-runtime/releases/tag/v2.3.7"},"output":"                                Release v2.3.7 \u00b7 tangle-network/agent-runtime \u00b7 GitHub                                           \n\n[Skip to content](#start-of-content)    \n\n    \n\n         \n\n## Navigation Menu\n\n[](/)\n\n[Sign in](/login?return_to=https%3A%2F%2Fgithub.com%2Ftangle-network%2Fagent-runtime%2Freleases%2Ftag%2Fv2.3.7)\n\n-   Products\n    \n    -   Platform\n        \n        -   [![](https://github.githubassets.com/assets/platform-4ce65ae0bf273ce2.png)![](https://github.githubassets.com/assets/platform-dark-ac89fbf373737ed3.png)GitHubRepository hosting, code review, and collaboration](https://github.com/platform)\n        -   [![](https://github.githubassets.com/assets/copilot-e2b89335a66dba00.png)![](https://github.githubassets.com/assets/copilot-dark-2b28403b6080e898.png)CopilotAI coding agent for tasks, projects, and automated work](https://github.com/features/copilot)\n        \n    -   Build & Ship\n        \n        -   [ActionsCI/CD and automation](https://github.com/features/actions)\n        -   [Code QualityQuality analysis, fixes, and enforcement](https://github.com/features/code-quality)\n        -   [CodespacesCloud development environments](https://github.com/features/codespaces)\n        \n    -   Secure\n        \n        -   [Code SecurityVulnerability detection and remediation](https://github.com/security/advanced-security/code-security)\n        -   [Secret ProtectionSecret scanning and leak prevention](https://github.com/security/advanced-security/secret-protectio\u2026 (4094 chars)"}}}},{"atMs":35576,"kind":"stream","parent":2,"type":"reasoning","data":{"node":"gtm","text":"**Framing The Agent Runtime**\n\nI'm now focusing on framing the launch of agent-runtime v2.3.7. Using the release notes and public repo, I'm working to construct a concise release brief. It's crucial I avoid any information outside these sources, and instead focus on crafting a compelling narrative for the launch.\n\n\n**Analyzing Release Impact**\n\nI'm now analyzing the implications of this agent-runtime release. It primarily concerns developers building on the system, offering a smoother development experience. I've pinpointed the strongest launch angle and drafted three succinct message variants for developer communication. Following launch, I intend to closely monitor one key metric to gauge the release's impact.\n\n\n\n\n**Analyzing Release Notes**\n\nI've just been reviewing the release notes, and I've found that they match the user's provided text exactly. It describes the new live topology features, specifically highlighting worker and supervisor activity clocks, the full-stream cadence, and the preservation of failure causes. I'm noting the mention of EOF events and the avoidance of duplicate append counts.\n\n\n**Defining Release Audience**\n\nI'm focused on the requirements, especially the word count and banned words. I'm starting to identify the key stakeholders for this release, aiming for a concise ICP line. I'm working through the launch angle and message variants, trying to stay within the limits. I'm making sure to define a useful post-launch metric.\n\n\n**Formulating Technical\u2026 (2312 chars)"}},{"atMs":39692,"kind":"stream","parent":2,"type":"agent.finished","data":{"result":{"agentId":"gtm","status":"completed","result":{"response":"**Target ICP**  \nBackend and platform engineers running multi-agent worker/supervisor architectures in production who debug silent worker stalls, stream desyncs, or lost crash contexts.\n\n**Single Strongest Launch Angle**  \nDeterministic stream integrity and crash attribution: v2.3.7 exposes real worker/supervisor clocks, stops duplicate append counts at stream termination, and guarantees crash causes survive supervisor resets.\n\n**Three Developer Message Variants**  \n1. *Debugging angle:* Stop guessing whether a worker hung or crashed: v2.3.7 surfaces live supervisor activity clocks and preserves the original failure cause.  \n2. *Data integrity angle:* Eliminate duplicate appends at stream boundaries: v2.3.7 retains clean, complete EOF events across full-stream runs.  \n3. *Changelog direct angle:* Agent Runtime v2.3.7 adds live topology clocks, preserves worker exit errors, and fixes duplicate EOF append counts.\n\n**Metric to Watch Post-Launch**  \n14-day count of newly opened GitHub issues citing stream truncation, duplicate append errors, or supervisor crash context loss."}}}},{"atMs":39702,"kind":"stdout","text":"run succeeded\n"}]}