> ## Documentation Index
> Fetch the complete documentation index at: https://docs.nika.sh/llms.txt
> Use this file to discover all available pages before exploring further.

# clock

> Contract, placement, related fields and source examples for this Nika YAML field.

[Language reference](https://docs.nika.sh/reference/language/overview.md) / `clock`

## Meaning and placement

### → run

system (wall time, default) · virtual (the injected virtual clock · time becomes a contract input · a timeout: budget reads against it)

| Property | Declaration |
| - | - |
| Requirement | Optional in this object |
| Schema location | `/properties/run/properties/clock` |
| enum | declaration below |

<details>
  <summary>`enum` schema declaration (spec source, not a lesson)</summary>

  ```json theme={"system"}
  [
    "system",
    "virtual"
  ]
  ```
</details>

**In the same object:** [access](https://docs.nika.sh/reference/language/words/access.md) · [entropy](https://docs.nika.sh/reference/language/words/entropy.md) · [reasoning](https://docs.nika.sh/reference/language/words/reasoning.md)

[Schema source (use the pointer above)](https://github.com/supernovae-st/nika-spec/blob/4e259e5b8012fcdf92f094142a52dfef24099b85/schemas/workflow.schema.json)

## In a source template

Excerpt from `templates/bounded-batch.nika`, source lines 10–19. This is a fragment, not a runnable workflow.

```yaml illustration theme={"system"}
nika: bounded-batch
model: ollama/qwen3.5:4b
run:
  clock: system
const:
  brief: '<SLOT: the per-item instruction>'
  items:
  - first note
  - second note
permits:
```

### Templates containing this field

| Template | Source |
| - | - |
| `templates/bounded-batch.nika` | [Line 13](https://github.com/supernovae-st/nika-spec/blob/4e259e5b8012fcdf92f094142a52dfef24099b85/templates/bounded-batch.nika#L13) |
| `templates/fanout.nika` | [Line 57](https://github.com/supernovae-st/nika-spec/blob/4e259e5b8012fcdf92f094142a52dfef24099b85/templates/fanout.nika#L57) |
| `templates/parallel-review.nika` | [Line 13](https://github.com/supernovae-st/nika-spec/blob/4e259e5b8012fcdf92f094142a52dfef24099b85/templates/parallel-review.nika#L13) |
| `templates/project-public-fields.nika` | [Line 13](https://github.com/supernovae-st/nika-spec/blob/4e259e5b8012fcdf92f094142a52dfef24099b85/templates/project-public-fields.nika#L13) |
| `templates/recover-optional-file.nika` | [Line 12](https://github.com/supernovae-st/nika-spec/blob/4e259e5b8012fcdf92f094142a52dfef24099b85/templates/recover-optional-file.nika#L12) |

These are literal key occurrences in the source files, not an execution or conformance claim. [How to instantiate a template](https://docs.nika.sh/guides/templates.md).

## Contract and implementation

This page projects the named specification revision. Check [released engine status](https://docs.nika.sh/reference/status.md) and [the validation workflow](https://docs.nika.sh/guides/agent-authoring.md) before running a file. An optional field is not evidence that every engine supports every value.

Canonical identity: `language:word:clock`. Spec revision: [`4e259e5b8012`](https://github.com/supernovae-st/nika-spec/tree/4e259e5b8012fcdf92f094142a52dfef24099b85).

[How documentation stays connected](https://docs.nika.sh/reference/knowledge-system.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.