automaton.harness¶
WARNING
This documentation is almost entirely "vibe coded"; while a helpful resource for humans and agents to understand this codebase, it should not be considered a source of ground truth in the way documentation normally is, and the user is responsible for verifying that all instructions given here are safe.
automaton.harness
¶
Harness management for Automaton.
A harness defines how an autonomous agent is invoked: a run script, prompts,
and harness-specific metadata. Container recipes are not owned by the harness
directory; they are supplied to :class:~automaton.container.ContainerManager
through a :class:~automaton.container.ContainerLayout.
Automaton is content-free: it does not assume any particular on-disk layout
for harnesses. A :class:Harness is constructed from an explicit harness
directory supplied by the caller.
Harness
¶
Represents an Automaton harness loaded from an explicit directory.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
harness_id
|
str
|
Harness identifier. |
required |
harness_dir
|
Path
|
Path to the harness directory containing |
required |
Source code in automaton/harness.py
validate
¶
Validate that all required harness components exist.