AgentStepUpdatedPayload agent.step.updated@1

Generated at from openvibe-contracts v0.419.0 and openvibe-sdk v0.161.0.

Version
1.0.0
Owner
actor
Visibility
first-party
Status
active
Compatibility
backward
Schema
https://openvibe.network/contracts/events/payloads/agent.step.updated.v1.json

agent.step.updated v1 (design 2026-11-07 §2). A step changed: it is waiting, it needs the person, or it moved on. The same payload as agent.step.started; the envelope says what changed. The payload is common.agent-step@1: titles, outcomes and links only, never a prompt or a diff.

Fields

This schema has no named fields.

Examples

From the contract's own test fixtures: valid ones validate, rejected ones must fail.

Valid: waiting
{
  "step_id": "tsk_01JAB2C3D4E5F6G7H8J9K0MNPS",
  "mode": "code",
  "product": "codes",
  "ref": "tsk_01JAB2C3D4E5F6G7H8J9K0MNPS",
  "title": "Waiting for CI on #167",
  "status": "waiting",
  "started_at": "2026-11-07T09:00:00.000Z",
  "ended_at": null,
  "placement": {
    "where": "On your desktop",
    "why": "it needs your files and your Claude sign-in, and it is free"
  },
  "cost_usd": null,
  "link": "https://codes.openvibe.network/tasks/tsk_01JAB2C3D4E5F6G7H8J9K0MNPS",
  "reason": null,
  "transition": null,
  "approval": null
}
Rejected: with-diff
{
  "step_id": "tsk_01JAB2C3D4E5F6G7H8J9K0MNPS",
  "mode": "code",
  "product": "codes",
  "ref": "tsk_01JAB2C3D4E5F6G7H8J9K0MNPS",
  "title": "Running the checkout tests",
  "status": "running",
  "started_at": "2026-11-07T09:00:00.000Z",
  "ended_at": null,
  "placement": {
    "where": "On your desktop",
    "why": "it needs your files and your Claude sign-in, and it is free"
  },
  "cost_usd": null,
  "link": "https://codes.openvibe.network/tasks/tsk_01JAB2C3D4E5F6G7H8J9K0MNPS",
  "reason": null,
  "transition": null,
  "approval": null,
  "diff": "@@ -1 +1 @@"
}

Validate

const contracts = require('openvibe-contracts');
contracts.validate('agent.step.updated@1', value);   // { valid, errors: [{ path, message }] }