harness-state
Skill4 starsChanged 6 months agoMITView on GitHub
Pick up where the last session left off — feature list, progress log, and evidence on disk. Use when context is lost between sessions or long tasks need continuity across days.
In this repository14 other files it gives its agents.
- AGENTS.mdAGENTS.md
- templates/agents.mdAGENTS.md
- harness-auditSkill
- harness-diagnoseSkill
- harness-e2eSkill
- harness-environmentSkill
- harness-evaluatorSkill
- harness-instructionsSkill
- harness-lifecycleSkill
- harness-observabilitySkill
- harness-repo-knowledgeSkill
- harness-scaffoldSkill
- harness-scopeSkill
- harness-verificationSkill
The file
We split this skill into the rules it gives an agent
6 rules. About 0 are common, 1 is distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 60
Do not mark passing without an entry in evidence.
- Very specific: line 83
Read progress.md → most recent verified state
- Very specific: line 84
Read feature_list.json → highest-priority unfinished feature
- Very specific: line 89
Update progress.md with what was done and what remains
- Very specific: line 90
Update feature_list.json (status + evidence)
- Distinctive: line 92
Commit if the repo is restartable
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Harness State
What this does for you
- Memory that survives chat — progress and status in files, not context window
- Clear next step — highest-priority unfinished feature is obvious
- Proof of done — evidence recorded before marking a feature passing
Long tasks lose continuity if state lives only in chat (Lesson 05). Persist progress on disk so the next session resumes exactly where the last one stopped.
State artifacts
| File | Role | Update when |
feature_list.json | Source of truth for features | Status changes or evidence is added |
progress.md / claude-progress.md | Session log | At start (read) and close (write) |
session-handoff.md | Compact handoff | When closing long sessions |
| Git log | Change history | Descriptive commits |
feature_list.json rules
{
"rules": {
"single_active_feature": true,
"passing_requires_evidence": true,
"do_not_skip_verification": true
}
}Valid statuses:
not_started— no work yetin_progress— active feature (only one)blocked— blocker documented innotespassing— verification run + evidence inevidence[]
Evidence format
"evidence": [
{
"date": "2026-06-16",
"verification_run": "npm test && npm run lint",
"result": "pass",
"notes": "42 tests passed, 0 lint errors"
}
]Do not mark passing without an entry in evidence.
progress.md structure
# Progress Log
## Current State
- Active feature: [id] — [title]
- Last verification: [command] — [pass/fail]
- Blockers: [none | description]
## Session History
### YYYY-MM-DD — [brief title]
- Worked on: ...
- Verification: ...
- Next: ...Multi-session flow
Session start:
- Read
progress.md→ most recent verified state - Read
feature_list.json→ highest-priority unfinished feature git log --oneline -5→ recent changes./init.sh→ confirm healthy baseline
Session end:
- Update
progress.mdwith what was done and what remains - Update
feature_list.json(status + evidence) - Optional: complete
session-handoff.md - Commit if the repo is restartable
Anti-patterns
- Relying on chat memory
- Marking features done without evidence
- Leaving multiple features as
in_progress - Aspirational progress ("almost done") vs verified
Templates
- templates/progress.md
- templates/session-handoff.md
- templates/feature-list.json
Course reference
- Lesson 05: Why long tasks lose continuity
- Project 03: Continuity across sessions
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

