File size: 4,756 Bytes
cc678b9
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
# Glossary

## Agent

An AI coding collaborator operating inside the repository.

## Harness

The repo-level operating system that tells humans and agents how to turn intent
into safe product changes.

## Product Contract

The current expected behavior of the product. Product docs plus executable tests
become the living contract once implementation exists.

## Story Packet

A story-sized work file or folder that describes the product contract, affected
docs, design notes, and validation expectations for a feature.

## Feature Intake

The classification step that turns a prompt into tiny, normal, or high-risk
work before implementation begins.

## Component Taxonomy

A map from Harness files and capabilities to the responsibilities they serve,
used to evaluate coverage, attribute failures, and identify missing harness
capabilities.

## Maturity Level

A verifiable stage in Harness capability, from H0 bare environment through H5
self-improving harness. Each level has required files, criteria, and benchmark
indicators.

## Trace Quality Tier

The expected depth of a task trace: minimal for tiny work, standard for normal
work, and detailed for high-risk work.

## Verification Gate

An advisory Harness check that runs or inspects mechanical proof before a task
is closed. In Phase 4, `story verify <id>` executes a story's `verify_command`,
`story verify-all` runs all configured story proof commands, and
`trace --story <id>` warns when that story's verification has not passed.

## Tool Registry

The compiled and registered tool manifest exposed by
`scripts/bin/harness-cli query tools`. It lets agents discover available
commands, arguments, responsibilities, and custom project tools.

## Intervention

A durable record of human, reviewer, CI, or agent feedback that corrected,
overrode, escalated, or approved work. Interventions are stored separately from
traces and feed improvement proposals.

## Context Score

The advisory result from `scripts/bin/harness-cli score-context <trace-id>`.
It compares a trace's recorded `files_read` against compiled context rules and
retrieval triggers.

## Entropy Score

The drift score printed by `scripts/bin/harness-cli audit`. Lower is better.
It counts stale or incomplete durable records such as orphaned stories,
unverified proof commands, missing backlog outcomes, and broken registered
tools.

## Improvement Proposal

A structured recommendation generated by `scripts/bin/harness-cli propose` from
repeated friction, intervention patterns, and audit findings. Proposals are
advisory unless committed to the backlog with `--commit`.

## Context Phase

A phase of an agent task that changes what context should be read, such as
intake, planning, implementation, validation, or trace recording.

## Retrieval Trigger

A condition that tells an agent to fetch additional context, such as touching a
database schema, changing a public contract, or discovering missing validation.

## Harness Delta

A documentation, template, validation, backlog, or decision update that makes
future agent work safer or easier.

## Backlog Outcome Loop

The feedback workflow for Harness improvements: record predicted impact when a
backlog item is created, then record actual measured outcome when the item is
closed so future agents can compare expectation with result.

## Durable Layer

The SQLite database and CLI (`scripts/bin/harness-cli`) that stores operational records
(intakes, stories, decisions, backlog items, traces) as structured, queryable
data. Policy docs describe how to work; the durable layer stores what happened.

## Product Delta

A product-facing change such as code, tests, API shape, data model, or product
documentation.

## Trace

A structured record of what an agent did during a task: actions taken, files
read, files changed, decisions made, errors encountered, outcome, and any
harness friction discovered.

## Tool Registry

The compiled and user-registered tool manifest exposed by
`scripts/bin/harness-cli query tools` and documented in `docs/TOOL_REGISTRY.md`.

## Intervention

A durable record of a human, reviewer, CI, or agent correction, override,
escalation, or approval that is separate from the normal task trace.

## Context Score

The advisory result from `scripts/bin/harness-cli score-context <trace-id>`,
which compares a trace's recorded reads against compiled context rules.

## Entropy Score

The drift score from `scripts/bin/harness-cli audit`. Lower scores mean fewer
orphaned, stale, unverified, outcome-missing, or broken-tool records.

## Improvement Proposal

A structured proposal generated by `scripts/bin/harness-cli propose` from
repeated friction, interventions, and audit drift. Proposals can be committed as
backlog items with `--commit`.