Skip to content

chore: adopt embedded-agent-kit rules - #53

Merged
gabrielfrasantos merged 2 commits into
mainfrom
claude/ecstatic-fermat-oe7k00
Nov 23, 2026
Merged

gabrielfrasantos merged 2 commits into
mainfrom
claude/ecstatic-fermat-oe7k00

Conversation

@gabrielfrasantos

Copy link
Copy Markdown
Contributor

Adopts embedded-agent-kit (bundles core + toolbox). Merge embedded-pro/embedded-agent-kit#3 first.

Change

  • AGENTS.md (122 lines): shared sections from the kit; Domain keeps the robotics specifics (source root, numerical-toolbox via FetchContent, coverage pattern, test locations, roadmap and doc layout); Build has the presets.
  • Exceptions: no plain TEST(), because MegaLinter's cppcheck reports a syntax error on it.
  • CLAUDE.md: @AGENTS.md only.
  • Shared reviewer agent and the algo-implementer and unit-tester skills (.claude/skills/) replace the orchestrator, planner, executor, algo-implementer and unit-tester agents and both prompts.
  • modernizer agent kept; model pin and rules now in AGENTS.md removed.
  • Removed copilot-instructions.md and .github/instructions/. README.md and TESTING.md links fixed; TESTING.md no longer bans heap in tests.
  • Agent Rules workflow verifies AGENTS.md on each pull request.
  • No code change. No code breaks the new rules.

Not in this PR

  • modernizer.agent.md contradicts itself: it says to preserve Q15/Q31 and also that every algorithm is float-only.

Generated by Claude Code

- AGENTS.md: shared sections from embedded-agent-kit 0.3.0; Domain,
  Build and Exceptions from the former AGENTS.md and instructions
- CLAUDE.md: imports AGENTS.md only
- Shared reviewer in .claude/agents and .github/agents; algo-implementer
  and unit-tester skills in .claude/skills
- Remove orchestrator, planner, executor, algo-implementer and
  unit-tester agents, both prompts, copilot-instructions.md and
  .github/instructions: AGENTS.md and the skills hold those rules
- modernizer agent: drop the model pin and rules AGENTS.md now holds
- README, TESTING.md: point to AGENTS.md; tests may use the heap
- Agent Rules workflow: verifies AGENTS.md on each pull request

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014WUWh6PszuBc5nyRurYVqf
@github-actions

Copy link
Copy Markdown

✅⚠️MegaLinter analysis: Success with warnings

Descriptor Linter Files Fixed Errors Max errors Warnings Elapsed time
✅ ACTION actionlint 8 0 0 0.52s
✅ CPP clang-format 221 0 0 0 2.52s
✅ CPP cppcheck 221 0 0 4.65s
✅ DOCKERFILE hadolint 1 0 0 0.7s
✅ JSON jsonlint 9 0 0 0.11s
✅ JSON prettier 9 2 0 0 0.42s
⚠️ MARKDOWN markdownlint 80 0 7 0 2.38s
✅ MARKDOWN markdown-table-formatter 80 0 0 0 0.24s
⚠️ SPELL lychee 130 1 0 2.5s
✅ YAML prettier 13 0 0 0 0.54s
✅ YAML yamllint 13 0 0 0.69s

Detailed Issues

⚠️ SPELL / lychee - 1 error
📝 Summary
---------------------
🔍 Total..........387
🔗 Unique.........132
✅ Successful.....376
⏳ Timeouts.........0
🔀 Redirected.......5
👻 Excluded.........9
❓ Unknown..........0
🚫 Errors...........1
⛔ Unsupported......1

Errors in .github/workflows/static-analysis.yml
[403] https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-$ (at 37:21) | Rejected status code: 403 Forbidden

Hint: Followed 5 redirects. You might want to consider replacing redirecting URLs with the resolved URLs. Use verbose mode (`-v`/`-vv`) to see redirection details.
Hint: You can configure accepted/rejected response codes with `-a` or `--accept`
⚠️ MARKDOWN / markdownlint - 7 errors
.claude/agents/reviewer.md:8 error MD041/first-line-heading/first-line-h1 First line in a file should be a top-level heading [Context: "Review code. Do not change fil..."]
.claude/agents/reviewer.md:30 error MD040/fenced-code-language Fenced code blocks should have a language specified [Context: "```"]
.claude/skills/algo-implementer/SKILL.md:6 error MD041/first-line-heading/first-line-h1 First line in a file should be a top-level heading [Context: "Deploy one algorithm from `roa..."]
.claude/skills/unit-tester/SKILL.md:6 error MD041/first-line-heading/first-line-h1 First line in a file should be a top-level heading [Context: "Add or extend the tests of one..."]
.github/agents/reviewer.agent.md:6 error MD041/first-line-heading/first-line-h1 First line in a file should be a top-level heading [Context: "Review code. Do not change fil..."]
.github/agents/reviewer.agent.md:28 error MD040/fenced-code-language Fenced code blocks should have a language specified [Context: "```"]
CLAUDE.md:1 error MD041/first-line-heading/first-line-h1 First line in a file should be a top-level heading [Context: "@AGENTS.md"]

Notices

⚠️ Your configuration references items that have been removed from MegaLinter and are ignored: REPOSITORY_GITLEAKS, REPOSITORY_KICS. See Removed linters to find their replacements.

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@10.2.0 --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,SPELL_LYCHEE,YAML_PRETTIER,YAML_YAMLLINT

MegaLinter is provided by OX Security
Show us your support by starring ⭐ the repository

@sonarqubecloud

Copy link
Copy Markdown

@gabrielfrasantos
gabrielfrasantos merged commit b4ccb78 into main Nov 23, 2026
10 checks passed
@gabrielfrasantos
gabrielfrasantos deleted the claude/ecstatic-fermat-oe7k00 branch November 23, 2026 08:26
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