Skip to content

Commit Protocol

AYNIG chooses the command from the latest commit (HEAD) by reading trailers in the commit message.

Minimum required trailer:

dwp-state: <state>

dwp-state must appear in the trailing trailer block. If multiple appear, last wins.

Optional trailers:

dwp-source: git:<remote-name>
dwp-log-level: <debug|info|warn|error>

Recommended structure:

<subject>
<prompt/body>
dwp-state: <state>
<key>: <value>

Only the workflow command decides the next state by creating a new commit with a new dwp-state trailer.