Conversation
The committed .cursor/environment.json only handled the macOS self-hosted 'vibe MacBook' worker (brew + colima/kind); on a Linux Cloud Agent VM the install was a no-op, leaving none of the repo's dev/CI tooling available. Extend install to detect brew (mac path unchanged) vs Linux and, on Linux, install the repo's CI toolchain idempotently: OpenTofu (pinned via terraform/.opentofu-version), tflint, pre-commit and uv (PyYAML for the consistency/security scripts). start hook unchanged (still guarded). Co-authored-by: s3lcsum <s3lcsum@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Makes the repo's
.cursor/environment.jsonwork for Linux Cloud Agents, not just the macOS self-hostedvibe MacBookworker.Previously the
installstep wascommand -v brew >/dev/null 2>&1 || exit 0followed bybrew install colima/kind/helm/kubernetes-cli. On a Linux Cloud Agent VMbrewdoesn't exist, soinstallexited immediately and none of the repo's dev/CI tooling was set up. Thestarthook likewise pointed at a Mac-only path.Change
installnow branches on the platform:colima,kind,helm,kubernetes-clifor the local KINDvibecluster.terraform/.opentofu-version(1.12.5) — formake check/tofu fmt/tofu validate0.64.0— used by theterraform_tflintpre-commit hookpython3-yaml(PyYAML) for thecheck-consistency.py/test_security_invariants.pyscriptsstartis unchanged (still guarded, a no-op off the Mac).Validation (on a Linux Cloud VM)
installfrom clean stateinstallidempotencemake test(security invariants + consistency)tofu fmt -check -recursive terraform/tofu validate(per module viapre-commit)pre-commit run --all-filesNotes
Makefilestill hasserve/build/lintMkDocs targets, butmkdocs.ymlwas dropped ina4ce83b, so those are already non-functional and are intentionally not wired up here.