Skip to content

chore: improve agent guidance and scoped lint workflow - #77

Merged
cmpadden merged 1 commit into
mainfrom
chore/agent-efficiency-guidance
Dec 2, 2026
Merged

cmpadden merged 1 commit into
mainfrom
chore/agent-efficiency-guidance

Conversation

@cmpadden

@cmpadden cmpadden commented Dec 2, 2026

Copy link
Copy Markdown
Owner

Summary

Improves agent efficiency and repository validation ergonomics based on a review of past Pi sessions in ~/src/dotfiles:

  • Makefile: Support make lint FILES="..." to run pre-commit run --files on touched files instead of forcing --all-files on every check.
  • .gitignore: Ignore Pi runtime crash state (pi/.pi/agent/crashes.json).
  • AGENTS.md:
    • Document Stow vs. wt worktree live-reload behavior and dirty main checkout hygiene (stage explicitly by path; avoid repo-wide make format on a dirty tree).
    • Clarify validation cadence (targeted checks while prototyping, scoped make lint FILES="..." once before commit/PR) and align the documented hook list with .pre-commit-config.yaml.
    • Add package-specific verification and inspection tips for pi/, hammerspoon/, ghostty/, and bash//tmux/, including bounded rg flags for pi/.pi/agent/install/.
  • pi/.pi/agent/AGENTS.md: Add cross-repo guidance to batch independent read-only calls and keep search outputs bounded.

Verification

  • make lint (pre-commit run --all-files) passed all hooks on this branch.

@cmpadden
cmpadden marked this pull request as ready for review December 2, 2026 19:45
@cmpadden
cmpadden merged commit b363f6b into main Dec 2, 2026
1 check passed
@cmpadden
cmpadden deleted the chore/agent-efficiency-guidance branch December 2, 2026 19:46
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