AgentStage agent.stage@1

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

Version
1.0.0
Owner
actor
Visibility
public
Status
active
Compatibility
backward
Schema
https://openvibe.network/contracts/agent/stage.v1.json

Closed open-ticket stages. First matching row wins: delivery failure, attention, ready report, blocked/failed report without a later human input, absent/pending assignment, waiting report/ended assignment, working. Labels and conditions: docs/agent-work.md.

Fields

This schema has no named fields.

Examples

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

Valid: example
"working"
Valid: idle
"idle"
Valid: person-answer
"person/answer"
Valid: person-blocked
"person/blocked"
Valid: person-delivery
"person/delivery"
Valid: person-failed
"person/failed"
Valid: person-review
"person/review"
Valid: working-queued
"working/queued"
Valid: working
"working"
Rejected: unknown
"unknown"

Validate

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