Skip to content

bug: Antigravity entries not capturing model name #3

@codeprakhar25

Description

@codeprakhar25

Bug

When Antigravity makes code changes, the ledger entry records the agent as the git user (human) rather than antigravity, and the model field is empty.

Expected:

{"agent": "antigravity", "model": "claude-3-7-sonnet", ...}

Actual:

{"agent": "Prakhar Khatri", "model": null, ...}

Root cause (suspected):
The capture-antigravity.py hook may not be firing, or the payload from Antigravity's hook does not include the model name in a parseable field.

Debugging steps:

  1. Check ~/.agentdiff/logs/antigravity-hook-fired.log after an Antigravity edit — if empty, the hook is not firing at all
  2. If the log has entries, inspect the payload for the model field name

Environment:

  • agentdiff v0.1.16
  • Antigravity (version unknown)

Contributions welcome — especially from anyone who has Antigravity's hook payload schema.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions