{"version":"2.1.248","anchor":"goal-state-is-published-as-a-live-event","canonical_anchor":"goal-state-is-published-as-a-live-event","heading":"Goal state is published as a live event","tier":"notice","area":"Goals","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.248\/e\/goal-state-is-published-as-a-live-event","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.248","markdown":"### Goal state is published as a live event\n\nGoal progress is now streamed live, so goal indicators update as it advances.\n\n**What**\n\nThe state behind `\/goal` (its condition, iteration count, tokens at start and last reason) is now emitted as a streamed event, so any view showing a goal indicator updates as the goal advances. The value is null once the goal is cleared.\n\n**Details**\n\n- Emitted when the `\/goal` Stop hook reports the condition met, which clears it, or not yet met, which bumps the iteration count and last reason.\n\n**Evidence**\n\n`Emitted when the user's \/goal Stop hook reports met (clears) or not-yet-met (bumps iterations + last_reason).`\n\n- Area: Goals\n- Names: `\/goal`\n- Tier: You'll notice\n- Useful: 3\/5\n- Signal: 3\/5"}