Skip to content

ARO-25801: consolidate LLM workflow rules and local integration guidance#4739

Open
tuxerrante wants to merge 2 commits intomasterfrom
tuxerrante/aro-25801/llm-workflow-improvements
Open

ARO-25801: consolidate LLM workflow rules and local integration guidance#4739
tuxerrante wants to merge 2 commits intomasterfrom
tuxerrante/aro-25801/llm-workflow-improvements

Conversation

@tuxerrante
Copy link
Copy Markdown
Collaborator

Summary

  • Add a team-wide .cursor/rules baseline for worktree isolation, safety rails, validation pipeline, clean history, PR lifecycle, and code review/style guidance.
  • Add and refine .cursor/skills/local-integration-testing/SKILL.md with Linux/Fedora-first instructions, separate macOS notes, and references to canonical docs/ pages to reduce drift.
  • Include direct E2E env export and existing-cluster workflow snippets to speed up local admin API verification without machine-specific assumptions.

Test plan

  • Verified branch contains a single commit scoped to .cursor/ files only.
  • Reviewed guidance for team portability (Linux-first defaults; macOS in dedicated section).
  • Confirmed canonical docs references are present for drift checks.
  • Run runtime validation commands (make dev-env-start, focused e2e) on a developer machine.

Made with Cursor

…ance

Consolidate reusable Cursor rules and local integration testing instructions into a single team-focused change set. Keep Linux/Fedora as the default workflow, isolate macOS guidance, and document canonical docs references to reduce configuration drift.

Made-with: Cursor
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds a team-wide .cursor/ baseline: reusable Cursor rules for worktree isolation, safety/approval rails, validation workflow, PR hygiene, and code review focus areas, plus a “local integration testing” skill to standardize how developers validate admin API/E2E flows against the containerized dev environment.

Changes:

  • Added multiple .cursor/rules/*.mdc rule documents covering worktrees, validation pipeline, safety rails, PR lifecycle, multi-module Go pitfalls, Makefile-first workflow, and code style/review checklists.
  • Added .cursor/skills/local-integration-testing/SKILL.md with Linux-first local RP + focused E2E guidance, plus macOS notes and troubleshooting pointers.
  • Linked guidance back to canonical docs/ pages to reduce drift.

Reviewed changes

Copilot reviewed 10 out of 10 changed files in this pull request and generated 11 comments.

Show a summary per file
File Description
.cursor/skills/local-integration-testing/SKILL.md New Linux-first playbook for running the containerized dev RP and executing focused E2E/admin API verification.
.cursor/rules/worktree-isolation.mdc New rule enforcing isolated worktrees and host checkout hygiene.
.cursor/rules/validation-pipeline.mdc New ordered “fmt → lint → unit → full” validation guidance aligned to Makefile targets.
.cursor/rules/safety-rails.mdc New safety/approval gates and architecture invariants for sensitive operations.
.cursor/rules/pr-lifecycle.mdc New rule for PR creation, CI monitoring, and merge flow.
.cursor/rules/multi-module-awareness.mdc New rule documenting the root vs pkg/api Go module split and related test/build pitfalls.
.cursor/rules/makefile-first.mdc New rule emphasizing Makefile targets as the canonical interface for dev/CI workflows.
.cursor/rules/code-style.mdc New rule documenting CI-enforced formatting/import/error-handling conventions.
.cursor/rules/code-review.mdc New Go-focused review checklist rule (globs **/*.go).
.cursor/rules/clean-history.mdc New rule for keeping linear history and clean commits before PR submission.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Align branch examples with master, harden worktree env linking guidance, and make local integration commands runtime-appropriate for Linux and macOS.

Made-with: Cursor
@rajdeepc2792
Copy link
Copy Markdown
Collaborator

Should we consolidate all the discussions around the usage of agents in the feature repo in the architecture PR:https://github.com/openshift-online/architecture/pull/71 ??
There are similar effort PRs:
Azure/ARO-HCP#4638 - @swiencki
#4726 - @shubhadapaithankar

I believe we should have a common agreed plan to move forward with any agentic code merging in the feature repos.

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.

3 participants