Skip to content

Add Coding Standards and AI Tool Advice.#185

Open
zzcgumn wants to merge 8 commits into
developfrom
feat/add_coding_standards_and_ai_advice
Open

Add Coding Standards and AI Tool Advice.#185
zzcgumn wants to merge 8 commits into
developfrom
feat/add_coding_standards_and_ai_advice

Conversation

@zzcgumn

@zzcgumn zzcgumn commented Jun 12, 2026

Copy link
Copy Markdown
Collaborator

Adds a document about coding standards and AI tools. It is based on my experience from modernising the code base in the first quarter of 2026. I have also tidied up GitHub instructions, which define the coding standards and fixed the command to extract the documentation from Doxygen style comments.

zzcgumn and others added 5 commits June 12, 2026 14:54
…tories

Bazel constructs a minimal PATH that excludes Homebrew on macOS, causing
the doxygen availability check to fail even when doxygen is installed.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Adds project documentation describing DDS coding standards and practical guidance for using coding agents/tools, while also tidying GitHub/Git workflow instructions and improving the Bazel Doxygen doc generation rule’s PATH handling.

Changes:

  • Add docs/coding_standards_and_ai_advice.md with coding standards links and tooling recommendations.
  • Update the //:doxygen_docs genrule to adjust PATH based on host OS before invoking doxygen/zip.
  • Simplify GitHub/Git workflow instructions to prefer CLI-based workflows over MCP-specific guidance.

Reviewed changes

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

Show a summary per file
File Description
MODULE.bazel.lock Updates Bazel module lock digest for Emscripten deps.
docs/coding_standards_and_ai_advice.md New documentation on coding standards + AI/tooling guidance; includes docs build instructions.
BUILD.bazel Improves doxygen_docs genrule robustness by setting PATH per OS.
.github/instructions/github.instructions.md Removes MCP-server-specific guidance; updates contributor workflow tooling section.
.github/instructions/git.instructions.md Updates PR-opening step to reference CLI workflow.

Comment thread .github/instructions/github.instructions.md Outdated
Comment thread .github/instructions/git.instructions.md Outdated
Comment thread docs/coding_standards_and_ai_advice.md Outdated
zzcgumn and others added 3 commits June 13, 2026 12:24
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

@tameware tameware left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Great stuff!

@@ -32,25 +31,14 @@ You have access to an MCP server named **`github`** (running `mcp-github`) which
5. Small PRs are preferred — keep them focused on one logical change.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This is OK. Slightly better: "…keep each focused…"

- `Merge PR #45 after approval`

## Automation
- CI/CD runs automatically for all PRs.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Do we have any CD?

Comment thread BUILD.bazel
cmd = """
set -e
case "$$(uname -s)" in
Darwin) PATH="/opt/homebrew/bin:/usr/local/bin:$$PATH" ;;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Is homebrew an official tool for dds' macOS builds? If so, we should document that. I certainly use it.

Comment thread MODULE.bazel.lock

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Consider mentioning somewhere that this file is intentionally included in the repo, per current bazel best practices.

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