01Model, Agent, Harness

Signal path
- Request
- Harness
- Model
- Proposal
Proposal, not execution
write /README.md link = /docs/setup
Execution, harness boundary
Policy → allowed?
Executor → in-memory write
Sensor → exact-target check
02The Agent Loop
Go to related sheet · AStep through a run
Fixed script. Step through a failed check, replan and retry.
Ready
- Expected target
/docs/setup- Last observed target
- Decision
Budget & Loop, mini-demo
Repeated wrong link. Warning does not stop or repair. Manual repair applies on the next Step only; there is no automatic replan.
Changing a limit starts a fresh run. Pass on the final allowed step → finish.
03What the Agent Sees

Guide × Sensor
Simulated model rule & assumptions
readGuide = true → propose /docs/setup readGuide = false → propose /docs/install
Apply proposal to fake /README.md.
Sensor on: actual === /docs/setup → pass; else fail.
Sensor off: unknown (no verification).
readGuide means the exact target hint is present and used by this fixed rule. No real file read, LLM inference or automatic repair.
All four combinations
| Guide | Sensor | Actual | Observed |
|---|---|---|---|
| Off | Off | /docs/install | unknown |
| On | Off | /docs/setup | unknown |
| Off | On | /docs/install | fail |
| On | On | /docs/setup | pass |
04Who Can Do What?
Go to related sheet · APolicy boundary
| Operation | Target | Policy |
|---|---|---|
| Read | /README.md · /docs/* | Allow |
| Write | /README.md only | Allow |
| Write | Any other file | Deny |
| Publish | Any target | Deny |
Approval × test, illustrative gate
| Approval | Test | Staged change |
|---|---|---|
| No | fail | Hold |
| No | pass | Hold |
| Yes | fail | Hold |
| Yes | pass | Ready for review |
Illustrative logic, not an actual test, sandbox, permission system or publish authorization.
05What Counts as Done?

Keyword vs outcome
Fake files, inspect before scoring
keyword: message.includes("done")
outcome: files["/README.md"] === "/docs/setup"Stable message: done. This grader checks only the exact target predicate: not existence as a separate test, full scope, unchanged other files or deployment.
All grader states
| Fixture | Keyword | Outcome |
|---|---|---|
| Draft changed | pass | fail |
| Target changed | pass | pass |
06Runs That Resume

Checkpoint ≠ current proof
Session A, checkpoint
Environment: revision 1
/README.md → /docs/setup
Check: pass @ revision 1
Saved: task, trace, next action
Session B, changed environment
Environment: revision 2
/README.md → /setup-old
Prior check: stale
Next action: reverify
Observed: unknown until checked
Static example / future demo. No resume control or persistence. Checkpoint ≠ persistent user Memory.
07Design Your Own Harness
Go to related sheet · DYour worksheet
Blank worksheet. Browser memory only; reload clears fields. No automatic optimization.
Before a firewall rule reaches the site
A Jira change approves temporary RDP access from the jump server to one turbine engineering workstation. The Panorama or FortiManager draft targets a group of three. AI does not decide whether the change proceeds: it turns the approval text into a scope draft that can be checked.
- AI intervention: the Jira text, not the rule
Input: “RDP to the turbine engineering workstation only, during the support window.” Output: target wording, service, time condition, and source passage. If the window has no recorded times, AI does not invent them; the case goes to review. Structured approval fields bypass the model.
- Harness: interpretation does not grant authority
The schema and passage are checked; an authorized reviewer confirms scope and the approved inventory resolves the target identity:
RES-EWS-WTG-01. The model cannot write to Jira, edit the rule, or run a push/install. - Graph: approval and firewall draft meet
Code resolves the draft group in the target device’s context.
RES-EWS-SCADA-01andRES-EWS-SWGR-01are outside the approved scope, so the result isHOLD. If evidence is ambiguous, the result isREVIEW_REQUIRED. - Gate + Outer Loop: hold deployment, check the next revision
A deployment path that enforces the check does not allow this revision to reach push/install. Changes to the rule or device scope require a new check. A Jira comment alone does not block firewall deployment.
This is a design example. It connects to no live Jira, firewall, or OT network and deploys no changes.
