Skip to content

chore: add agents - #20

Merged
gabrielfrasantos merged 2 commits into
mainfrom
feature/add-agents
Apr 3, 2026
Merged

chore: add agents#20
gabrielfrasantos merged 2 commits into
mainfrom
feature/add-agents

Conversation

@gabrielfrasantos

Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI review requested due to automatic review settings April 3, 2026 11:35
@gabrielfrasantos

gabrielfrasantos commented Apr 3, 2026

Copy link
Copy Markdown
Contributor Author

⚠️MegaLinter analysis: Success with warnings

Descriptor Linter Files Fixed Errors Warnings Elapsed time
✅ ACTION actionlint 5 0 0 0.36s
✅ CPP clang-format 15 5 0 0 1.17s
✅ CPP cppcheck 15 0 0 0.96s
✅ DOCKERFILE hadolint 1 0 0 0.34s
✅ JSON jsonlint 7 0 0 0.17s
✅ JSON prettier 7 2 0 0 2.02s
⚠️ MARKDOWN markdownlint 12 1 19 0 2.42s
✅ MARKDOWN markdown-table-formatter 12 1 0 0 1.33s
✅ REPOSITORY git_diff yes no no 0.92s
✅ REPOSITORY grype yes no no 29.4s
✅ REPOSITORY ls-lint yes no no 0.06s
✅ REPOSITORY secretlint yes no no 42.46s
✅ REPOSITORY syft yes no no 1.27s
✅ REPOSITORY trivy yes no no 6.36s
✅ REPOSITORY trivy-sbom yes no no 1.16s
✅ REPOSITORY trufflehog yes no no 8.59s
⚠️ SPELL lychee 38 3 0 73.79s
✅ YAML prettier 8 1 0 0 1.51s
✅ YAML v8r 8 0 0 5.11s
✅ YAML yamllint 8 0 0 0.44s

Detailed Issues

⚠️ SPELL / lychee - 3 errors
[ERROR] file://.github/copilot-instructions.md | Cannot find file
[ERROR] http://mcd.rou.st.com/modules.php?name=mcu | Network error: error sending request for url (http://mcd.rou.st.com/modules.php?name=mcu) Maybe a certificate error?
[404] https://api.securityscorecards.dev/projects/github.com/embedded-pro/hal-st | Network error: Not Found
[TIMEOUT] https://st.com/ | Timeout
📝 Summary
---------------------
🔍 Total..........247
✅ Successful.....240
⏳ Timeouts.........1
🔀 Redirected.......0
👻 Excluded.........3
❓ Unknown..........0
🚫 Errors...........3

Errors in README.md
[404] https://api.securityscorecards.dev/projects/github.com/embedded-pro/hal-st | Network error: Not Found
[TIMEOUT] https://st.com/ | Timeout

Errors in .github/ISSUE_TEMPLATE/add-or-update-hal-driver.md
[ERROR] http://mcd.rou.st.com/modules.php?name=mcu | Network error: error sending request for url (http://mcd.rou.st.com/modules.php?name=mcu) Maybe a certificate error?

Errors in .github/agents/orchestrator.agent.md
[ERROR] file://.github/copilot-instructions.md | Cannot find file
⚠️ MARKDOWN / markdownlint - 19 errors
.github/agents/executor.agent.md:11 MD041/first-line-heading/first-line-h1 First line in a file should be a top-level heading [Context: "You are the executor agent for..."]
.github/agents/orchestrator.agent.md:18:401 MD013/line-length Line length [Expected: 400; Actual: 420]
.github/agents/orchestrator.agent.md:18 MD041/first-line-heading/first-line-h1 First line in a file should be a top-level heading [Context: "You are the orchestrator agent..."]
.github/agents/planner.agent.md:11 MD041/first-line-heading/first-line-h1 First line in a file should be a top-level heading [Context: "You are the planner agent for ..."]
.github/agents/planner.agent.md:39 MD040/fenced-code-language Fenced code blocks should have a language specified [Context: "```"]
.github/agents/reviewer.agent.md:14 MD041/first-line-heading/first-line-h1 First line in a file should be a top-level heading [Context: "You are the reviewer agent for..."]
.github/agents/reviewer.agent.md:122 MD040/fenced-code-language Fenced code blocks should have a language specified [Context: "```"]
.github/instructions/hal-st-cpp.instructions.md:18 MD040/fenced-code-language Fenced code blocks should have a language specified [Context: "```"]
.github/ISSUE_TEMPLATE/add-or-update-hal-driver.md:10 MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "How to import a HAL driver"]
.github/prompts/orchestrate.prompt.md:8 MD041/first-line-heading/first-line-h1 First line in a file should be a top-level heading [Context: "Start a new development workfl..."]
CHANGELOG.md:83 MD024/no-duplicate-heading Multiple headings with the same content [Context: "⚠ BREAKING CHANGES"]
CHANGELOG.md:87 MD024/no-duplicate-heading Multiple headings with the same content [Context: "Features"]
CHANGELOG.md:94 MD024/no-duplicate-heading Multiple headings with the same content [Context: "Bug Fixes"]
CHANGELOG.md:103 MD024/no-duplicate-heading Multiple headings with the same content [Context: "Features"]
CHANGELOG.md:122 MD024/no-duplicate-heading Multiple headings with the same content [Context: "Bug Fixes"]
CHANGELOG.md:140 MD024/no-duplicate-heading Multiple headings with the same content [Context: "⚠ BREAKING CHANGES"]
CHANGELOG.md:144 MD024/no-duplicate-heading Multiple headings with the same content [Context: "Features"]
CHANGELOG.md:151 MD024/no-duplicate-heading Multiple headings with the same content [Context: "Features"]
CHANGELOG.md:162 MD024/no-duplicate-heading Multiple headings with the same content [Context: "Bug Fixes"]

See detailed reports in MegaLinter artifacts

Your project could benefit from a custom flavor, which would allow you to run only the linters you need, and thus improve runtime performances. (Skip this info by defining FLAVOR_SUGGESTIONS: false)

  • Documentation: Custom Flavors
  • Command: npx mega-linter-runner@9.0.1 --custom-flavor-setup --custom-flavor-linters ACTION_ACTIONLINT,CPP_CPPCHECK,CPP_CLANG_FORMAT,DOCKERFILE_HADOLINT,JSON_JSONLINT,JSON_PRETTIER,MARKDOWN_MARKDOWNLINT,MARKDOWN_MARKDOWN_TABLE_FORMATTER,REPOSITORY_GIT_DIFF,REPOSITORY_GRYPE,REPOSITORY_LS_LINT,REPOSITORY_SECRETLINT,REPOSITORY_SYFT,REPOSITORY_TRIVY,REPOSITORY_TRIVY_SBOM,REPOSITORY_TRUFFLEHOG,SPELL_LYCHEE,YAML_PRETTIER,YAML_YAMLLINT,YAML_V8R

MegaLinter is graciously provided by OX Security

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 GitHub Copilot agent/prompt configuration and repository-specific C++ guidance for the hal-st STM32 HAL driver codebase, aiming to standardize planning/execution/review workflows and capture project constraints.

Changes:

  • Introduces an orchestrated workflow prompt to triage and route hal-st tasks to specialist agents.
  • Adds agent definitions for orchestrator, planner, executor, and reviewer roles.
  • Adds a hal-st C++ coding rules instructions file for STM32 driver development constraints and conventions.

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 7 comments.

Show a summary per file
File Description
.github/prompts/orchestrate.prompt.md Adds a prompt to collect key STM32/driver context and route work to planner/executor/reviewer.
.github/instructions/hal-st-cpp.instructions.md Introduces hal-st-specific C++/STM32 HAL coding rules and constraints.
.github/agents/orchestrator.agent.md Defines an orchestrator agent to triage requests and hand off to specialists.
.github/agents/planner.agent.md Defines a planning agent that produces structured implementation plans for hal-st changes.
.github/agents/executor.agent.md Defines an implementation agent to make code changes following hal-st constraints.
.github/agents/reviewer.agent.md Defines a review agent with a detailed checklist for hal-st standards.

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

Comment thread .github/instructions/hal-st-cpp.instructions.md Outdated
Comment thread .github/instructions/hal-st-cpp.instructions.md
Comment thread .github/agents/planner.agent.md Outdated
Comment thread .github/instructions/hal-st-cpp.instructions.md Outdated
Comment thread .github/instructions/hal-st-cpp.instructions.md Outdated
Comment thread .github/instructions/hal-st-cpp.instructions.md Outdated
Comment thread .github/instructions/hal-st-cpp.instructions.md Outdated
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@gabrielfrasantos
gabrielfrasantos merged commit aed37f1 into main Apr 3, 2026
15 checks passed
@gabrielfrasantos
gabrielfrasantos deleted the feature/add-agents branch April 20, 2026 09:58
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.

2 participants