Skip to content

Update instruction files#1456

Merged
pstroffolino merged 9 commits into
dev_sprint_25_2from
feature/VPAAMP-4_update_using_coding_guidelines
May 22, 2026
Merged

Update instruction files#1456
pstroffolino merged 9 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 thread .github/instructions/cpp.instructions.md Outdated
Comment thread .github/instructions/aamp.instructions.md
Comment thread .github/copilot-instructions.md Outdated
p-bond and others added 3 commits May 22, 2026 11:54
Replace the flat ban on ///< with a two-style model:
- /** ... */ for API-level docs (classes, functions, macros, file headers)
- ///< trailing comments for member docs (struct fields, enum values)

Adds 10 core principles covering: document meaning not type,
adjacency, conciseness, non-obvious constraints, grouping,
avoiding redundancy, consistency, relevance, and sync with code.

Updates Doxygen Style Guide intro and corrects Data Member and
Enum examples to use ///< instead of the now-discouraged /**< */
The two documentation bullets were a stale copy of the old section 3
rules and contradicted the reworked guidance. Replace with a single
pointer to instructions/cpp.instructions.md (section 3) which is now
the authoritative source.
@pstroffolino pstroffolino merged commit be50395 into dev_sprint_25_2 May 22, 2026
8 checks passed
@pstroffolino pstroffolino deleted the feature/VPAAMP-4_update_using_coding_guidelines branch May 22, 2026 16:18
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