Skip to content

HYPERFLEET-761 - docs: align with documentation standards#30

Open
rh-amarin wants to merge 2 commits intoopenshift-hyperfleet:mainfrom
rh-amarin:docs/hyperfleet-761-documentation-standards
Open

HYPERFLEET-761 - docs: align with documentation standards#30
rh-amarin wants to merge 2 commits intoopenshift-hyperfleet:mainfrom
rh-amarin:docs/hyperfleet-761-documentation-standards

Conversation

@rh-amarin
Copy link
Copy Markdown
Collaborator

@rh-amarin rh-amarin commented Mar 27, 2026

https://redhat.atlassian.net/browse/HYPERFLEET-761

Added required files from our standard for documentation

Summary by CodeRabbit

  • Documentation
    • Added contribution guidelines with development setup instructions, repository structure, and workflow examples for common tasks.
    • Added changelog documenting API specification release history and version changes.
    • Added developer documentation explaining the API specification generation workflow and build processes.
    • Updated README with references to new documentation resources.

Ambient Code Bot and others added 2 commits March 27, 2026 10:58
Add CONTRIBUTING.md, CHANGELOG.md, and CLAUDE.md to meet HyperFleet
documentation standards and optimize for AI agent workflows.

- CONTRIBUTING.md: Development setup, repo structure, testing, commit
  standards, and release process
- CHANGELOG.md: Keep a Changelog format with semantic versioning
- CLAUDE.md: AI agent context under 200 lines with build commands,
  validation checklist, code conventions, and boundaries
- README.md: Add Architecture repo link and Contributing section

Addresses requirements from HYPERFLEET-761 for standardizing
documentation across HyperFleet repositories.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Add v1.0.0 and v1.0.2 release entries with key changes extracted
from GitHub release notes.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
@openshift-ci
Copy link
Copy Markdown

openshift-ci bot commented Mar 27, 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 aredenba-rh 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 Mar 27, 2026

Walkthrough

Documentation files have been added to the HyperFleet API specification repository. A new CHANGELOG.md file documents the project's version history and changes using the Keep a Changelog format. A CLAUDE.md file explains the API spec generation workflow, build processes, TypeSpec conventions, and the release procedure. A CONTRIBUTING.md file provides development setup instructions, repository structure guidance, example workflows for common tasks, and contribution standards. The README.md has been updated with sections referencing the architecture documentation and contribution guidelines. No functional code or logic has been modified.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~12 minutes

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately summarizes the main change—adding documentation files (CONTRIBUTING.md, CHANGELOG.md, CLAUDE.md) and updating README.md to align with documentation standards, which directly matches the changeset.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ 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.

@rh-amarin rh-amarin changed the title Docs/hyperfleet 761 documentation standards HYPERFLEET-761 - docs: align with documentation standards Mar 27, 2026
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: 2

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@CHANGELOG.md`:
- Line 28: Change the release note sentence on Line 28 from “Updated OWNERS file
to not block approval by bot” to a clearer phrasing such as “Updated OWNERS file
to prevent bot approval from being blocked.” Locate the text in CHANGELOG.md and
replace the awkward construction with the suggested wording (or equivalent clear
passive-voice-free phrasing) so the intent reads smoothly.

In `@CLAUDE.md`:
- Line 40: Two fenced code blocks in CLAUDE.md (one containing the text
"Provider-specific → `models-{provider}/`" and the other the similar
provider-path example) are missing language info strings; update each
triple-backtick fence to include a language identifier such as "text" or "bash"
(e.g., change ``` to ```text) so the markdown lint rule MD040 is satisfied and
the examples render/lint correctly.
🪄 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: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 8b62fd26-cca1-46bd-8f73-491a1963cad4

📥 Commits

Reviewing files that changed from the base of the PR and between ebeb009 and 8d75ca6.

📒 Files selected for processing (4)
  • CHANGELOG.md
  • CLAUDE.md
  • CONTRIBUTING.md
  • README.md

### Changed
- Standardized TypeSpec schema definitions with enums and validation enhancements
- Refactored to support oapi-codegen compatibility
- Updated OWNERS file to not block approval by bot
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟡 Minor

Improve wording clarity on Line 28.

“Updated OWNERS file to not block approval by bot” reads awkwardly in release notes. Prefer a clearer phrasing like “Updated OWNERS file to prevent bot approval from being blocked.”

Suggested edit
-- Updated OWNERS file to not block approval by bot
+- Updated OWNERS file to prevent bot approval from being blocked
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
- Updated OWNERS file to not block approval by bot
- Updated OWNERS file to prevent bot approval from being blocked
🧰 Tools
🪛 LanguageTool

[style] ~28-~28: Consider changing the order of words to improve your wording.
Context: ...gen compatibility - Updated OWNERS file to not block approval by bot ### Fixed - Rele...

(TO_NOT_VB)

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@CHANGELOG.md` at line 28, Change the release note sentence on Line 28 from
“Updated OWNERS file to not block approval by bot” to a clearer phrasing such as
“Updated OWNERS file to prevent bot approval from being blocked.” Locate the
text in CHANGELOG.md and replace the awkward construction with the suggested
wording (or equivalent clear passive-voice-free phrasing) so the intent reads
smoothly.


**When adding new models:**
- Shared models → `models/`
- Provider-specific → `models-{provider}/`
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟡 Minor

Add language identifiers to fenced code blocks (MD040).

Markdown lint flags fenced blocks without a language at these lines. Add explicit info strings (for example, text or bash) to keep docs lint-clean.

Suggested fix pattern
-```
+```text
 ...

(Apply similarly to the other affected fenced block.)
</details>


Also applies to: 199-199

<details>
<summary>🧰 Tools</summary>

<details>
<summary>🪛 markdownlint-cli2 (0.22.0)</summary>

[warning] 40-40: Fenced code blocks should have a language specified

(MD040, fenced-code-language)

</details>

</details>

<details>
<summary>🤖 Prompt for AI Agents</summary>

Verify each finding against the current code and only fix it if needed.

In @CLAUDE.md at line 40, Two fenced code blocks in CLAUDE.md (one containing
the text "Provider-specific → models-{provider}/" and the other the similar
provider-path example) are missing language info strings; update each
triple-backtick fence to include a language identifier such as "text" or "bash"
(e.g., change totext) so the markdown lint rule MD040 is satisfied and
the examples render/lint correctly.


</details>

<!-- fingerprinting:phantom:triton:hawk:a8eb15fd-9578-47e7-89aa-3de217432631 -->

<!-- This is an auto-generated comment by CodeRabbit -->

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