harness-session
Installation
SKILL.md
Harness Session
Use session files for handoff state only. A session is not a log.
The scripts resolve one shared harness, serialize registry mutations with a common file lock, and write files atomically so agents in different worktrees cannot overwrite one another.
Before Work
- Resolve the shared path with the
harness-initresolver or the session script. - Read
<harness>/index.md. - Read
<harness>/sessions/registry.md. - Read an active session only when its worktree, branch, scope, or user request matches.
- Create a new session when no active session matches.
If the session runs in a Git worktree whose development environment is not ready or isolated, use worktree-setup before implementation work. Keep setup behavior in canonical project automation and documentation, not in the session note.
Use: