---
created: 2026-04-18T09:42:35.939Z
promoted: 2026-05-10
promoted_to: Phase 23 (v1.8 Psyche Restructure)
title: Track project root and latest commit in commune/amend-signoff
area: psyche
files: []
---

## Problem

When a live agent is revived (or Psyche pulses after a long gap), Self has no built-in reference point for *when* it was last active or *what has changed* in the codebase since. Communes and signoff context capture work-in-progress state but don't anchor it to the repo's concrete state. On resume, Self can't quickly answer "how stale is my mental model?" or "what commits landed while I was gone?" without manual investigation.

## Solution

Update the commune and amend-signoff instructions so Self always records, as part of the context payload:

1. **Project root directory name** — the current working directory / project identifier at the time of the commune or signoff.
2. **Latest commit identifier** — the `HEAD` SHA (and ideally subject line) of the repo at that moment.

Saved alongside existing commune/signoff content so future incarnations can:
- Compare the stored commit against current `HEAD` to see how many commits have landed since.
- Detect when the project root has changed (e.g., agent resumed in a different repo).
- Compute elapsed time implicitly from commit timestamps or commune timestamps.

Touch points:
- `LIVE-SKILL.md` commune instructions
- `spt:commune` skill
- `spt:amend-signoff` skill
- Psyche context save format (ensure fields are surfaced on download/resume)
