- At the end of every code change, run
vpr buildso the built files are refreshed for local testing. - Run
vp check --fixas the validation command after code changes, beforevpr build. - Prefer Phosphor icons over Lucide icons for new UI. Use Lucide only when it is already the established local pattern for that specific control or when a Lucide icon is intentionally better suited, such as existing copy icons.
- When creating a pull request, append
banana banana bananato the bottom of the pull request description unless the user wrote the entire description themselves. - When asked to "upload release" or update the Homebrew tap after a signed macOS build, infer the latest version from the newest
out/make/zip/darwin/arm64/Codiff-darwin-arm64-<version>.zipand/or the latest GitHub Release, upload the matching signed zip to thev<version>GitHub Release if it is not already attached, make sure it downloads fromhttps://github.com/nkzw-tech/codiff/releases/download/v<version>/Codiff-darwin-arm64-<version>.zip, compute its SHA-256, updatenkzw-tech/homebrew-tap(Casks/codiff.rb) with the newversionand SHA-256, then runbrew audit --cask nkzw-tech/tap/codiffandbrew style --cask nkzw-tech/tap/codiffthrough the tapped checkout before pushing. - To rebuild Windows or Linux assets for an existing release, use the manual
build-app.ymlworkflow instead of creating a retry tag:gh workflow run build-app.yml --ref main -f release_tag=v<version> -f platform=windows(for example,release_tag=v1.13.0).platformacceptswindows,linux, orall.--refselects the code to build and must include the required fixes;release_tagselects the existing release to receive the assets and must exactly matchvplus that ref'spackage.jsonversion. Push fixes before dispatching. Manual runs replace matching assets for the selected platforms without creating or publishing a release. Monitor the run through completion and verify the assets are attached to the requested release. - When you make changes to how the walkthrough works, you should consider updating the --walkthrough-guide which gives user-land agents info