agora.git.commit
Agent-attributed commits with structured commit messages.
Commit message format:
[<agent-name>] <task description>
Task: <task-id>
Phase: <project-phase>
Contract: <specification-fingerprint>
Functions
|
Classes
CommitMetadata(agent_name: 'str', task_id: 'str', task_description: 'str', phase: 'str' = '', fingerprint: 'str' = '', email_domain: 'str' = 'agora.local') |
|
Create structured, attributed commits on the current branch. |
- class agora.git.commit.CommitMetadata[source]
Bases:
objectCommitMetadata(agent_name: ‘str’, task_id: ‘str’, task_description: ‘str’, phase: ‘str’ = ‘’, fingerprint: ‘str’ = ‘’, email_domain: ‘str’ = ‘agora.local’)
- __init__(agent_name, task_id, task_description, phase='', fingerprint='', email_domain='agora.local')