Agent-readable docs index: /llms.txt. Full docs in one file: /llms-full.txt. Download /docs.zip to grep all markdown files locally.

hook commit

Internal worker started by hook git. Select the session associated with the commit, write its link to refs/notes/halfspan, and upload it while Git sharing remains enabled.

Usage

span hook commit <project> <revision>
The revision must be a full lowercase hexadecimal commit ID of 40 or 64 characters. Session selection uses the agent session from the environment when available; otherwise it looks for one matching active or recently discovered session within 15 minutes. Ambiguous matches are skipped.

Options

No flags. Arguments are positional and supplied by the post-commit callback.

Examples

Background worker invocation:
span hook commit /path/to/project 0123456789abcdef0123456789abcdef01234567