Skip to content

Add project helpful info readme for AI Coding model#17229

Open
JackieTien97 wants to merge 5 commits intomasterfrom
AGENTMD
Open

Add project helpful info readme for AI Coding model#17229
JackieTien97 wants to merge 5 commits intomasterfrom
AGENTMD

Conversation

@JackieTien97
Copy link
Contributor

This pull request adds documentation files to clarify project guidelines, coding standards, and build/test procedures for contributors. The main changes are the introduction of AGENTS.md with comprehensive rules and CLAUDE.md as a pointer to those rules.

Documentation additions:

  • Added AGENTS.md, which provides a detailed overview of the project, Java code style guide, naming conventions, code structure requirements, license header templates, verification and build commands, and instructions for running unit and integration tests.
  • Added CLAUDE.md, which includes the standard license header and directs readers to AGENTS.md for all project guidelines and instructions.

@codecov
Copy link

codecov bot commented Feb 28, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 39.69%. Comparing base (a434fa7) to head (74de6f1).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff            @@
##             master   #17229   +/-   ##
=========================================
  Coverage     39.69%   39.69%           
  Complexity      282      282           
=========================================
  Files          5102     5102           
  Lines        342050   342050           
  Branches      43578    43578           
=========================================
+ Hits         135775   135778    +3     
+ Misses       206275   206272    -3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
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

Adds contributor/agent-facing documentation at the repo root to consolidate project guidelines, Java style rules, and build/test commands, with a lightweight entrypoint file pointing to the main guidance.

Changes:

  • Added AGENTS.md documenting project overview, Java style rules (Spotless/Checkstyle), license headers, and common build/test commands.
  • Added CLAUDE.md containing the Apache license header and a pointer to AGENTS.md.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 5 comments.

File Description
CLAUDE.md Adds a minimal pointer document directing readers to the main guidelines.
AGENTS.md Introduces consolidated coding standards and build/test instructions for contributors/agents.

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

1. **Star imports are forbidden**: Never use `import xxx.*` or `import static xxx.*`. Always list each required class or static member explicitly.
2. **Import ordering** (enforced by Spotless):
```
org.apache.iotdb.*
Copy link

Copilot AI Feb 28, 2026

Choose a reason for hiding this comment

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

This import-order example uses org.apache.iotdb.* in the diagram, which reads like a star import and conflicts with the earlier “Star imports are forbidden” rule. Consider changing the diagram to indicate “imports with prefix org.apache.iotdb” (without *) or otherwise clarifying it’s a grouping rule rather than a literal import statement.

Suggested change
org.apache.iotdb.*
Imports with prefix org.apache.iotdb

Copilot uses AI. Check for mistakes.
JackieTien97 and others added 4 commits February 28, 2026 14:27
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@sonarqubecloud
Copy link

@chrisdutz
Copy link
Contributor

Please double-check if formally supporting agentic frameworks is not in contrast to current Apache policy.

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