Skip to content

Latest commit

 

History

History
17 lines (13 loc) · 2.2 KB

AGENTS.md

File metadata and controls

17 lines (13 loc) · 2.2 KB

Agent guidelines

These instructions apply repository-wide; follow more specific nested guidance.

Development

Start development on a new branch; merge through a PR. Use Conventional Commits. Obtain explicit authorization before committing, pushing, creating or merging PRs, or releasing. Write only the code needed to preserve or improve functionality. Reuse helpers; avoid speculative abstractions, dependencies, and unrelated refactors. Match existing style. Keep comments brief, explaining non-obvious intent or constraints. Preserve unrelated changes. This Lua jdx/mise plugin uses hooks/ for entry points, lib/ for implementation, and bin/install-dependencies.sh for system dependencies. Preserve supported PHP versions, mise hook contracts/options, Linux/macOS/Windows, source/static install paths, and Composer/PECL/PIE version/platform restrictions. Update README.md when user-facing behavior or options change.

Validation

Follow README.md Contributing: mise plugin link php-dev /path/to/verzly/mise-php, mise config set env._.php-dev.verbose true, then mise install php-dev@latest. Choose relevant checks from .github/workflows/test.yml; CI smoke tests require the PR's needs-ci label or manual dispatch. Install checks need configured mise, dependencies, network access, and installed PHP. .github/scripts/check-php-install.sh checks source/static installs; source 1 additionally requires PECL where supported. No single smoke test proves full compatibility. Report checks run and gaps.

Collaboration and releases

Use professional English for code, comments, documentation, commit messages, issues, and PRs. Keep issue/PR descriptions brief: problem/change, rationale, validation; no templated filler. Dispatch .github/workflows/release.yml from the default branch and choose patch, minor, major, or current recovery. Releases must not run automatically after PRs. Each release creates an immutable vX.Y.Z tag and force-updates the single stable branch to that release. There are no moving latest, vX, vX.Y, or next tags and no prerelease channel. Pin an exact vX.Y.Z tag for a fixed plugin version, or use #stable for rolling updates. Release workflow uses GITHUB_TOKEN by default.