Skip to content

docs: bootstrap Trunk git-hooks in cloud agent environments#155

Draft
yu-iskw wants to merge 2 commits intomainfrom
codex/improve-agent-installation-of-git-hooks
Draft

docs: bootstrap Trunk git-hooks in cloud agent environments#155
yu-iskw wants to merge 2 commits intomainfrom
codex/improve-agent-installation-of-git-hooks

Conversation

@yu-iskw
Copy link
Copy Markdown
Owner

@yu-iskw yu-iskw commented Apr 24, 2026

Motivation

  • Reduce CI failures caused by cloud/ephemeral coding agents by ensuring they run the same Trunk pre-commit and pre-push checks locally before commits/pushes.

Description

  • Add a brief bootstrap note to AGENTS.md instructing cloud coding agents to run pnpm exec trunk git-hooks install once per checkout (and to repeat in disposable workspaces), and mirror the guidance in CLAUDE.md so the digest stays aligned with the canonical policy.

Testing

  • Ran pnpm test (Vitest all green), pnpm lint:report (ESLint score 100), pnpm build (workspace build succeeded), pnpm knip (succeeded after build), and pnpm coverage:report (coverage report written), while pnpm lint failed in this environment because pnpm exec trunk check -y could not reach Trunk upstream (ENETUNREACH).

Codex Task

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant