Repository navigation
Add CI, Cursor cloud setup, agent rules, and Java 17 test toolchain - #6
Merged
Merged
Conversation
GitHub Actions build on main PRs, README badge, .cursor/environment.json for Cloud Agents, and Java 17 Gradle test launcher for WPILib JNI. Co-authored-by: Cursor <cursoragent@cursor.com>
Project-wide and file-scoped rules for command-based structure, tests, and cloud agent build instructions. Co-authored-by: Cursor <cursoragent@cursor.com>
Set JavaCompile encoding and CI locale so Unicode in source comments does not fail javac on Linux US-ASCII defaults. Co-authored-by: Cursor <cursoragent@cursor.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.
Summary
Sets up merge gating, Cursor Cloud Agents, and shared AI conventions for Demonator15. No robot behavior changes — swerve refactor and unit tests come in a follow-up PR.
What's included
CI and Gradle
.github/workflows/ci.yml):./gradlew buildon push/PR tomainusing WPILib robot code CI (wpilib/roborio-cross-ubuntu:2025-22.04).Cursor Cloud
.cursor/environment.json+cloud-install.sh: idempotent Cloud Agent Build runs./gradlew test..cursor/environment.jsononmainafter merge and run a Build.Agent / team conventions
.cursor/rules/— focused rules (not one giant file):frc-project.mdc— always on: repo layout, WPILib/Gradle, PathPlanner naming, secrets, CI.frc-commands-subsystems.mdc—src/main/java/**: command-based structure,RobotContainer, subsystem vscommands/.frc-unit-tests.mdc—src/test/**: JUnit 5, sim extension, test style (activates once swerve tests land onmain).AGENTS.md— build commands and architecture summary for Cloud Agents and contributors.Test plan
main.cursor/environment.jsononmain