Skip to content

agent-setup: handle outdated leiter hooks#26

Merged
scode merged 1 commit intomainfrom
agent-setup-hook-upgrade
Feb 26, 2026
Merged

agent-setup: handle outdated leiter hooks#26
scode merged 1 commit intomainfrom
agent-setup-hook-upgrade

Conversation

@scode
Copy link
Copy Markdown
Owner

@scode scode commented Feb 26, 2026

Previously, agent-setup told the agent to skip if any leiter hooks
were present. After a leiter upgrade, this could leave stale hooks in place.
Now the instructions distinguish three cases: no hooks (add them),
hooks that don't match (replace them), and exact matches (skip).

Copy link
Copy Markdown
Owner Author

scode commented Feb 26, 2026

This stack of pull requests is managed by Graphite. Learn more about stacking.

Previously, agent-setup told the agent to skip if any leiter hooks
were present. After a leiter upgrade, this left stale hooks in place.
Now the instructions distinguish three cases: no hooks (add them),
hooks that don't match (replace them), and exact matches (skip).
@scode scode force-pushed the agent-setup-hook-upgrade branch from c6608c5 to 3daa4fe Compare February 26, 2026 04:10
@scode scode merged commit 9f6cf32 into main Feb 26, 2026
8 checks passed
@scode scode deleted the agent-setup-hook-upgrade branch March 4, 2026 04:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant