Knowledge types
Handshake maintains two types of knowledge.Factual records
Handshake writes deterministic records during Git-aware checkpoints:- Checkpoint log.
- Git timeline.
- Bounded text diffs.
- Per-session timelines.
AI-authored documents
An agent can publish:project-brief.md: Project purpose, state, decisions, risks, and next actions.repo-map.md: Directories, entry points, data flow, and build or test commands.
Facts revision
Handshake assigns a facts revision to each project. The revision changes when a checkpoint records material project information. An AI-authored document declares the facts revision that its author used. Handshake rejects a publication when that revision is not current. A later checkpoint marks older AI-authored documents as stale.Authoring sequence
- The active agent gets the first opportunity to publish current documents.
- A configured background writer waits for the grace period.
- The background writer starts only if the documents are still stale.
- Handshake accepts the output only for the current facts revision.
Knowledge bundle
Handshake stores the bundle at:Use project knowledge in a restore
Handshake adds current project knowledge to a restored session. It does not inject an AI-authored document that is stale. Agents use two MCP tools:get_project_knowledge_contextgets the project ID, facts revision, and freshness state.publish_project_knowledgepublishes a project brief or repository map for a specified facts revision.