Skip to content

Spec 9: Human-Worker Interaction

DWS Spec 9: Human-Worker Interaction Model

Digital Worker Standard — DWS Specification

Version: 1.0 Tier: 2 — Orchestration Status: Release Candidate Dependencies: Spec 1 (Worker Identity), Spec 4 (Intent Artifacts), Spec 6 (Workflow & Phase Model)


1. Overview

DWS’s existing model treats humans as either authors (they write intents, review PRs, commit definitions) or escalation targets (workers get stuck and flag a human). Real business work is neither. A human and a digital worker operating together looks more like pair work than a vending machine: the human provides direction, asks questions, gives feedback on drafts, and the worker does the same in return.

This specification defines how workers interact with humans during normal execution, not just when they fail. It introduces three interaction modes, a structured check-in system, feedback channels for mid-task human input, and a question protocol for workers that need clarification without escalating.

Key Terms

  • Interaction Mode: How closely a human is involved during worker execution. Distinct from authority level (Spec 1), which defines what a worker is allowed to do.
  • Check-In: A structured progress report from worker to human.
  • Feedback Channel: A mechanism for humans to provide input to workers during execution.
  • Question: A structured request from a worker to a human for information or preference, distinct from escalation.

2. Interaction Modes

Interaction modes define the degree of human involvement during a workflow phase. They are set per-phase in the workflow definition (Spec 6), because the same worker may operate autonomously in one phase and collaboratively in another.

Interaction mode is not the same as authority level. Authority (Spec 1) defines what the worker is allowed to do. Interaction mode defines how closely a human is involved while the worker operates.

ModeDescriptionHuman Involvement
autonomousWorker operates independently. Human receives results at phase completion. Check-ins at milestones only.Minimal: review output after completion.
collaborativeWorker and human work together. Worker asks questions, shares drafts, requests feedback. Human provides direction mid-task.Active: ongoing dialogue during execution.
supervisedHuman monitors in real-time. Worker pauses at key decision points for human input before proceeding.High: human approves key decisions inline.

2.1 Schema

{
"type": "object",
"required": ["mode"],
"properties": {
"mode": { "type": "string", "enum": ["autonomous", "collaborative", "supervised"] },
"check_in_policy": { "type": "object" },
"feedback_channels": {
"type": "array",
"items": { "type": "string", "enum": ["inline", "review", "annotation", "directive"] }
},
"notification_preferences": {
"type": "object",
"properties": {
"channel": { "type": "string", "enum": ["email", "slack", "dashboard", "webhook"] },
"frequency": { "type": "string", "enum": ["immediate", "batched", "daily_digest"] },
"urgency_threshold": {
"type": "string",
"enum": ["all", "warnings_and_above", "escalations_only"],
"description": "Minimum urgency level for notifications to be sent."
}
},
"description": "How and when humans are notified about worker activity."
}
}
}

3. Check-In Policy

Check-ins are structured progress reports from worker to human.

3.1 Frequency

  • Time-based: ISO 8601 duration (e.g., PT15M for every 15 minutes).
  • Event-based: Triggered by specific events: phase_entry, artifact_produced, decision_point, confidence_drop, milestone, error_recovered, cost_threshold.

3.2 Format

{
"status": "in_progress",
"progress_percentage": 65,
"current_activity": "Reviewing authentication module for SQL injection patterns.",
"blockers": [],
"decisions_pending": [],
"artifacts_produced": ["partial-review-report"],
"next_milestone": "Complete security review of remaining 3 modules.",
"estimated_completion": "PT45M"
}

3.3 Channel

Check-ins are delivered via: event (emits interaction.check_in event), webhook, or inline (direct message in collaborative mode).


4. Feedback Channels

ChannelDescriptionWhen Used
inlineSynchronous direct message during execution.Collaborative and supervised modes.
reviewAsynchronous review of completed artifacts.All modes.
annotationLine-level or section-level comments on specific parts.Collaborative mode, especially for document/code review.
directivePriority or direction changes mid-task.All modes. Overrides current approach without requiring a new intent.

4.1 Feedback Acknowledgment

Workers MUST acknowledge received feedback with one of:

StatusMeaning
acceptedWill incorporate the feedback.
notedAcknowledged but not changing approach (with reason).
deferredValid feedback but belongs in a later phase.
conflictsConflicts with constraints. May escalate.

5. Question Protocol

Workers may need information or preferences from humans without escalating.

5.1 Question Types

TypeDescription
clarificationWorker needs information the intent didn’t provide.
preferenceWorker needs a human to choose between valid options.
confirmationWorker wants to verify its understanding before proceeding.

5.2 Urgency

  • blocking — Worker pauses until answer arrives or timeout expires.
  • non_blocking — Worker continues with default_action. Answer is incorporated if it arrives before phase completion.

5.3 Question vs Escalation

A question is normal workflow. An escalation is a failure or limit condition. Questions are configurable as blocking or non-blocking. Escalations are always blocking.


6. Artifact Visibility

ModeIn-progress artifactsDraftsFinal artifacts
autonomousHiddenUnavailableVisible after phase exit
collaborativeVisible on requestAvailable for reviewVisible after phase exit
supervisedAlways visibleEncouraged for continuous feedbackVisible after phase exit

7. Human Availability

Humans signal their availability to the runtime:

StatusMeaning
availableNormal operations. All interaction types.
busyNon-blocking questions only.
awayQueue everything until return.
do_not_disturbEscalations only.

When a human is away or do_not_disturb, workers in collaborative or supervised mode SHOULD fall back to autonomous behaviour for non-critical interactions.


8. Key Design Decisions

DecisionResolutionRationale
Separate interaction mode from authority levelDifferent concepts, different configurationA worker with authority: autonomous and interaction_mode: collaborative can make decisions independently but keeps a human informed.
Push-based check-insWorker pushes progress to human, not human pollingReduces human overhead. Pull is available but not the default pattern.
Question vs escalationSeparate protocolsQuestions are normal workflow. Escalations are failure conditions. Merging them makes every question feel like a crisis.
Worker as sole artifact producerHumans provide feedback; workers incorporate itAvoids concurrent editing conflicts. Clear ownership of the artifact.

9. References

  • Spec 1: Worker Identity — Authority levels constrain what workers can do; interaction modes constrain how closely humans are involved.
  • Spec 6: Workflow & Phases — Interaction modes are set per-phase.
  • Spec 10: Approval & Handoff — Approval gates are a specific type of human interaction at decision points.
  • Spec 11: Events & Telemetry — Interaction events: check_in, question_asked, question_answered, feedback_received.