Skip to content

HYPERFLEET-930 - docs: replace CLAUDE.md with AGENTS.md#53

Open
kuudori wants to merge 2 commits into
openshift-hyperfleet:mainfrom
kuudori:HYPERFLEET-930
Open

HYPERFLEET-930 - docs: replace CLAUDE.md with AGENTS.md#53
kuudori wants to merge 2 commits into
openshift-hyperfleet:mainfrom
kuudori:HYPERFLEET-930

Conversation

@kuudori
Copy link
Copy Markdown
Contributor

@kuudori kuudori commented May 26, 2026

Summary

  • HYPERFLEET-930

Test Plan

  • Unit tests added/updated
  • make test-all passes
  • make lint passes
  • Helm chart changes validated with make test-helm (if applicable)
  • Deployed to a development cluster and verified (if Helm/config changes)
  • E2E tests passed (if cross-component or major changes)

@openshift-ci openshift-ci Bot requested review from aredenba-rh and mbrudnoy May 26, 2026 20:28
@openshift-ci
Copy link
Copy Markdown

openshift-ci Bot commented May 26, 2026

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign ma-hill for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 26, 2026

Note

Reviews paused

It looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the reviews.auto_review.auto_pause_after_reviewed_commits setting.

Use the following commands to manage reviews:

  • @coderabbitai resume to resume automatic reviews.
  • @coderabbitai review to trigger a single review.

Use the checkboxes below for quick actions:

  • ▶️ Resume reviews
  • 🔍 Trigger review

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Central YAML (base), Organization UI (inherited)

Review profile: ASSERTIVE

Plan: Enterprise

Run ID: eb18db21-59d1-47f5-a921-b4a6b2650966

📥 Commits

Reviewing files that changed from the base of the PR and between f93128e and b131c1f.

📒 Files selected for processing (1)
  • .github/workflows/ci.yml

📝 Walkthrough

Summary by CodeRabbit

  • Documentation

    • Added comprehensive API specification authoring guide, documenting operational standards, schema verification procedures, build requirements, version management, and release processes.
    • Consolidated repository documentation to reference the new authoring guidelines and standards.
  • Chores

    • Enhanced CI pipeline with automated contract change detection to intelligently gate version validation checks based on whether API contracts were modified.

Walkthrough

This PR adds comprehensive development conventions documentation to the HyperFleet API Spec repository and enhances the CI workflow to intelligently gate version checks. AGENTS.md introduces rules for API spec verification, version bumping, TypeSpec authoring, shared-vs-core architecture boundaries, and operational constraints. CLAUDE.md is refactored to reference AGENTS.md instead of duplicating guidance. The CI workflow now detects changes to TypeSpec contract files (\*.tsp) between the pull request base and head, and conditionally executes the version bump check only when contracts have changed, skipping the check and logging a message when no contract changes are detected.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly and concisely describes the main change: replacing CLAUDE.md with AGENTS.md documentation. It directly reflects the primary objective of the PR.
Description check ✅ Passed The description references the Jira ticket HYPERFLEET-930 and provides a test plan checklist related to the changeset, demonstrating awareness of the PR's scope and requirements.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In @.github/workflows/ci.yml:
- Around line 45-50: The CI step uses BASE_REF and relies on git cat-file -e
"$BASE_REF" but in shallow clones (actions/checkout@v6 default fetch-depth:1)
that SHA is absent so the script sets changed=true incorrectly; update the check
to fetch the missing base commit before falling back (e.g., attempt git fetch
origin "$BASE_REF" --depth=1 or change checkout to fetch full history) and then
re-run git cat-file -e and git diff --name-only "$BASE_REF" HEAD -- '*.tsp' so
the contract-change detection only triggers when the actual base commit is
present; modify the logic around BASE_REF, git cat-file -e and CHANGED to
perform the fetch-first fallback.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Central YAML (base), Organization UI (inherited)

Review profile: ASSERTIVE

Plan: Enterprise

Run ID: 55564d9f-e54d-4a0a-b815-312f004d3a89

📥 Commits

Reviewing files that changed from the base of the PR and between 5c39355 and ff9f01d.

📒 Files selected for processing (2)
  • .github/workflows/ci.yml
  • AGENTS.md

Comment thread .github/workflows/ci.yml
Copy link
Copy Markdown

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In @.github/workflows/ci.yml:
- Around line 16-24: The workflow uses mutable refs for GitHub Actions; replace
actions/checkout@v6 and actions/setup-node@v6 with their corresponding immutable
40-character commit SHAs (e.g., actions/checkout@<sha>,
actions/setup-node@<sha>) so the CI uses fixed action versions; also update the
similar softprops/action-gh-release@v2 reference in
.github/workflows/release.yml to its commit SHA. Locate the two uses: the "uses:
actions/checkout@v6" and "uses: actions/setup-node@v6" entries in ci.yml (and
the softprops/action-gh-release@v2 entry in release.yml) and substitute the
mutable tags with the exact commit SHAs from the corresponding action
repositories.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Central YAML (base), Organization UI (inherited)

Review profile: ASSERTIVE

Plan: Enterprise

Run ID: 3490fd34-8f77-486b-95fc-5bd22c4e947d

📥 Commits

Reviewing files that changed from the base of the PR and between ff9f01d and b813913.

📒 Files selected for processing (1)
  • .github/workflows/ci.yml

Comment thread .github/workflows/ci.yml
Copy link
Copy Markdown

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@core/models/cluster/model.tsp`:
- Line 5: Remove the stray test artifact line ("* test") from
core/models/cluster/model.tsp; locate the added line in model.tsp (the literal
"* test") and delete it so the file matches production schema, then run the
repo's pre-commit/CI lint/schema checks to ensure no contract-change is
triggered and do not modify main.tsp, schemas, or CHANGELOG for this removal.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Central YAML (base), Organization UI (inherited)

Review profile: ASSERTIVE

Plan: Enterprise

Run ID: 61c9fd16-b628-4ac3-936e-d33da5a5b34c

📥 Commits

Reviewing files that changed from the base of the PR and between b813913 and f93128e.

📒 Files selected for processing (1)
  • core/models/cluster/model.tsp

Comment thread core/models/cluster/model.tsp Outdated
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.

1 participant