bhouse-nexthop opened a new pull request, #14892: URL: https://github.com/apache/cloudstack/pull/14892
### Description An alternative layout for the guidance in #14872. Most of what an agent needs to know also helps people, so it lives in developer guides, and `AGENTS.md` stays a short map. Agents load `AGENTS.md` on every task, so every line in it costs context. | File | Holds | | --- | --- | | `AGENTS.md` | Where each subject lives, plus a short table of rules most tasks need | | `docs/development/building.md` | Incremental builds, unit tests, running the simulator from source, build pitfalls. Links `INSTALL.md`, `ui/README.md`, `PRE_COMMIT.md` and `tools/docker/README.md` for the rest | | `docs/development/coding-conventions.md` | Layout, keeping changes small, Java, VOs and schema, API, `ConfigKey` settings, logging, unit tests | | `docs/development/writing.md` | Plain English, code comments, commit messages, PR descriptions, review replies | | `docs/development/pull-requests.md` | Branch targets, the two-approval merge rule, CI re-runs, updating a PR, checking a merge | | `docs/development/test-lab.md` | A nested KVM lab on one host: management server, three KVM hosts, Ceph, upgrade testing, fault injection, CKS | | `CONTRIBUTING.md` | A pointer to `docs/development` | Changes from #14872's content: - Dropped "use `get`, not `is`, for boolean getters". The VOs use `is` far more often (about 230 to 51). - Left out personal workflow rules: branch names, `rebase --onto` instead of cherry-pick, and "agents never commit". Agents now confirm with the person they work for before pushing or posting. - "One-line commit messages" became a one-line subject; the PR title is the squash commit subject anyway. - "No inline comments" became "comment only to explain why, and prefer extracting a method". - Covers @bernardodemarco's asks on #14872: logging, unit tests, method size, the UI and the Java version (via `INSTALL.md`). The AI-assisted contribution policy stays in #14848; these files link to `CONTRIBUTING.md` for it. ### Types of changes - [ ] Breaking change (fix or feature that would cause existing functionality to change) - [ ] New feature (non-breaking change which adds functionality) - [ ] Bug fix (non-breaking change which fixes an issue) - [ ] Enhancement (improves an existing feature and functionality) - [ ] Cleanup (Code refactoring and cleanup, that may add test cases) - [ ] Build/CI - [ ] Test (unit or integration test code) Documentation only. ### Feature/Enhancement Scale or Bug Severity #### Feature/Enhancement Scale - [ ] Major - [x] Minor ### How Has This Been Tested? - `pre-commit run` on every changed file: markdownlint, codespell, license headers, gitleaks. - The conventions were checked against the code on `main`: the view re-creation in `DatabaseUpgradeChecker`, the `engine/schema` downloads, the simulator steps in `.github/workflows/ci.yml`. - `test-lab.md` describes a lab we have been running for PR testing over the last few weeks, with our addresses and names replaced by examples. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
