Skip to content

Update instruction files#1456

Open
p-bond wants to merge 7 commits into
dev_sprint_25_2from
feature/VPAAMP-4_update_using_coding_guidelines
Open

Update instruction files#1456
p-bond wants to merge 7 commits into
dev_sprint_25_2from
feature/VPAAMP-4_update_using_coding_guidelines

Conversation

@p-bond
Copy link
Copy Markdown
Contributor

@p-bond p-bond commented May 15, 2026

Full detail on method in ticket, including derived coding guidelines.

Comment thread .github/instructions/aamp.instructions.md
@p-bond p-bond marked this pull request as ready for review May 18, 2026 08:49
@p-bond p-bond requested a review from a team as a code owner May 18, 2026 08:49
Copy link
Copy Markdown
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

This PR updates the repository’s Copilot/agent instruction documents to more explicitly describe AAMP’s C++11 legacy context, set C++17 as the modernization target, and expand guidance around ownership, documentation style, naming, and logging.

Changes:

  • Clarifies that the current codebase is predominantly C++11 while new work should target C++17.
  • Expands C++ guidance with additional ownership rules, documentation examples, and printf format guidance.
  • Adds AAMP-specific conventions for file naming, include guards, and logging macro usage.

Reviewed changes

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

File Description
.github/instructions/legacy-cpp-patterns.instructions.md Adds explicit context on C++11 legacy and C++17 modernization target.
.github/instructions/cpp.instructions.md Expands C++17 guidance, ownership rules, Doxygen rules/examples, and printf format reference.
.github/instructions/aamp.instructions.md Adds conventions for naming, include guards, and logging guidance; updates language baseline statement.
.github/copilot-instructions.md Updates global Copilot formatting + documentation guidance and reiterates C++11→C++17 modernization direction.

Comment on lines +48 to +49
- Use C-style Doxygen comment blocks (`/** ... */`) for all public API documentation.
- Do not use `///` style for AAMP public API documentation.
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Guidelines specify C style.
Whether they should still is another matter.

Comment thread .github/instructions/aamp.instructions.md
Comment on lines +152 to +153
- Use C-style Doxygen comment blocks (`/** ... */`) for all APIs.
- Do not use `///` style for AAMP public API documentation.
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Guidelines specify C style.

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.

5 participants