Skip to navigation

nemo_gym.models.token_capture.harness_notes.base

View as MarkdownOpen in Claude

The record of one message that a harness adds to a request in the model’s name.

Module Contents

Classes

NameDescription
HarnessNoteOne note a harness writes as an assistant message, with the harness releases checked to send this exact text.

API

class nemo_gym.models.token_capture.harness_notes.base.HarnessNote(
harness: str,
name: str,
text: str,
checked_versions: frozenset[str]
)
Dataclass

One note a harness writes as an assistant message, with the harness releases checked to send this exact text.

harness names the agent harness (for example opencode) and name the note within it. A release goes into checked_versions only after its text was compared with text, so a new default release of the harness cannot silently break capture: the harness’s own tests check that its default release is listed.

checked_versions
frozenset[str]
harness
str
name
str
text
str