Skip to content

release: aegis 0.7.5 - #697

Merged
kdudka merged 5 commits into
mainfrom
aegis-0.7.5
Jun 26, 2026
Merged

release: aegis 0.7.5#697
kdudka merged 5 commits into
mainfrom
aegis-0.7.5

Conversation

@kdudka

@kdudka kdudka commented Jun 25, 2026

Copy link
Copy Markdown
Collaborator

What

Prepare the 0.7.5 release: update pinned dependencies, fix type errors from pydantic-ai v2, update the changelog, and streamline the release checklist.

Why

The pydantic-ai v2 upgrade deprecated MCPServerStdio and changed GoogleProvider overloads, breaking ty type checks. The release checklist in DEVELOP.md still referenced manual PyPI publishing steps that are now automated.

How to Test

make          # format + lint + type-check + tests
make test-web # web API tests

Related Tickets

Summary by Sourcery

Prepare the 0.7.5 release by updating MCP integrations for pydantic-ai v2, adjusting Google provider initialization, refreshing release docs, and syncing dependencies and changelog.

Enhancements:

  • Migrate MCP-based tool integrations from deprecated MCPServerStdio to MCPToolset with StdioTransport to align with pydantic-ai v2.
  • Update GoogleProvider initialization to match the new overloads expected in pydantic-ai v2.

Build:

  • Refresh uv.lock to capture updated dependency versions for the 0.7.5 release.

Documentation:

  • Add 0.7.5 release notes to the changelog, documenting new features, changes, and fixes.
  • Streamline and clarify the release checklist in DEVELOP.md, including automated PyPI publishing and updated lockfile sync instructions.

@coderabbitai

coderabbitai Bot commented Jun 25, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Enterprise

Run ID: a5911694-18d0-437c-833f-660cee30cf26

📥 Commits

Reviewing files that changed from the base of the PR and between 08a308d and 3684101.

⛔ Files ignored due to path filters (1)
  • uv.lock is excluded by !**/*.lock
📒 Files selected for processing (4)
  • DEVELOP.md
  • docs/CHANGELOG.md
  • src/aegis_ai/__init__.py
  • src/aegis_ai/toolsets/__init__.py
✅ Files skipped from review due to trivial changes (3)
  • docs/CHANGELOG.md
  • src/aegis_ai/init.py
  • DEVELOP.md
🚧 Files skipped from review as they are similar to previous changes (1)
  • src/aegis_ai/toolsets/init.py

📝 Walkthrough

Summary by CodeRabbit

  • New Features
    • Added/expanded external tool integrations with improved, clearer tool naming and MCP-based transport.
    • Introduced the 0.7.5 release notes entry with updated metadata capture and new quality-review/tooling options (including read-only/force modes).
  • Bug Fixes
    • Improved handling of missing/sparse fields (including security-related CVE cases), better artifact resolution, more readable tool-call logs, and reduced memory usage.
    • Improved environment handling when variables are empty.
  • Documentation
    • Refreshed the publishing/release checklist for a clearer, corrected release workflow.
    • Updated the changelog with the latest 0.7.5 details.

Walkthrough

The PR updates release documentation, adds a 0.7.5 changelog entry, adds a type-check suppression comment in Google provider construction, and migrates MCP toolset wiring from MCPServerStdio to MCPToolset with StdioTransport.

Changes

Integration wiring updates

Layer / File(s) Summary
Google provider instantiation
src/aegis_ai/__init__.py
AppSettings.default_llm_model adds a type-check suppression comment on the GoogleProvider(**provider_kwargs) call.
MCP imports and NVD toolset
src/aegis_ai/toolsets/__init__.py
The MCP import block switches to MCPToolset and StdioTransport, and the NVD toolset is rebuilt with .prefixed("mitre_nvd").
GitHub, Wikipedia, and PyPI toolsets
src/aegis_ai/toolsets/__init__.py
The GitHub, Wikipedia, and PyPI toolsets move to MCPToolset with StdioTransport, .prefixed(...) names, and updated command and environment settings.
Toolset list wiring
src/aegis_ai/toolsets/__init__.py
The public toolset lists append the renamed MCP toolset variables in place of the removed stdio server variables.

Release documentation updates

Layer / File(s) Summary
Release procedure steps
DEVELOP.md
The “Making a Release” list adds lockfile sync, reorders the changelog step, and renumbers the PR, tag, and release steps.
0.7.5 changelog entry
docs/CHANGELOG.md
A 0.7.5 release section adds Changed, Added, and Fixed bullets for the recorded release updates.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~25 minutes

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly identifies the release version and matches the PR's release-focused changes.
Description check ✅ Passed The description follows the required What/Why/How to Test/Related Tickets template and includes concrete test commands.
Docstring Coverage ✅ Passed Docstring coverage is 100.00% which is sufficient. The required threshold is 80.00%.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch aegis-0.7.5

Warning

There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure.

🔧 markdownlint-cli2 (0.22.1)
DEVELOP.md

markdownlint-cli2 v0.22.1 (markdownlint v0.40.0)
Error: Unable to use configuration file '/coderabbit-0.markdownlint-cli2.jsonc'; ENOENT: no such file or directory, open '/coderabbit-0.markdownlint-cli2.jsonc'
at throwForConfigurationFile (file:///usr/local/lib/node_modules/markdownlint-cli2/markdownlint-cli2.mjs:48:9)
at readOptionsOrConfig (file:///usr/local/lib/node_modules/markdownlint-cli2/markdownlint-cli2.mjs:169:5)
at async main (file:///usr/local/lib/node_modules/markdownlint-cli2/markdownlint-cli2.mjs:927:21)
at async file:///usr/local/lib/node_modules/markdownlint-cli2/markdownlint-cli2-bin.mjs:14:22 {
[cause]: Error: ENOENT: no such file or directory, open '/coderabbit-0.markdownlint-cli2.jsonc'
at async open (node:internal/fs/promises:640:25)
at async Object.readFile (node:internal/fs/promises:1287:14)
at async readOptionsOrConfig (file:///usr/local/lib/node_modules/markdownlint-cli2/markdownlint-cli2.mjs:141:17)
at async main (file:///usr/local/lib/node_modules/markdownlint-cli2/markdownlint-cli2.mjs:927:21)
at async file:///usr/local/lib/node_modules/markdownlint-cli2/markdownlint-cli2-bin.mjs:14:22 {
errno: -2,
code: 'ENOENT',
syscall: 'open',
path: '/coderabbit-0.markdownlint-cli2.jsonc'
}
}

docs/CHANGELOG.md

markdownlint-cli2 v0.22.1 (markdownlint v0.40.0)
Error: Unable to use configuration file '/coderabbit-0.markdownlint-cli2.jsonc'; ENOENT: no such file or directory, open '/coderabbit-0.markdownlint-cli2.jsonc'
at throwForConfigurationFile (file:///usr/local/lib/node_modules/markdownlint-cli2/markdownlint-cli2.mjs:48:9)
at readOptionsOrConfig (file:///usr/local/lib/node_modules/markdownlint-cli2/markdownlint-cli2.mjs:169:5)
at async main (file:///usr/local/lib/node_modules/markdownlint-cli2/markdownlint-cli2.mjs:927:21)
at async file:///usr/local/lib/node_modules/markdownlint-cli2/markdownlint-cli2-bin.mjs:14:22 {
[cause]: Error: ENOENT: no such file or directory, open '/coderabbit-0.markdownlint-cli2.jsonc'
at async open (node:internal/fs/promises:640:25)
at async Object.readFile (node:internal/fs/promises:1287:14)
at async readOptionsOrConfig (file:///usr/local/lib/node_modules/markdownlint-cli2/markdownlint-cli2.mjs:141:17)
at async main (file:///usr/local/lib/node_modules/markdownlint-cli2/markdownlint-cli2.mjs:927:21)
at async file:///usr/local/lib/node_modules/markdownlint-cli2/markdownlint-cli2-bin.mjs:14:22 {
errno: -2,
code: 'ENOENT',
syscall: 'open',
path: '/coderabbit-0.markdownlint-cli2.jsonc'
}
}


Comment @coderabbitai help to get the list of available commands.

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Hey - I've left some high level feedback:

  • In default_llm_model, switching from GoogleProvider(**provider_kwargs) to only GoogleProvider(http_client=provider_kwargs["http_client"]) may drop other configuration options previously passed via provider_kwargs; consider either preserving the full set of kwargs or making the set of supported parameters explicit so behavior remains consistent.
  • The MCP tooling variables are still named *_stdio_server even though they now hold MCPToolset instances; consider renaming these to reflect the new abstraction to avoid confusion for future readers.
Prompt for AI Agents
Please address the comments from this code review:

## Overall Comments
- In `default_llm_model`, switching from `GoogleProvider(**provider_kwargs)` to only `GoogleProvider(http_client=provider_kwargs["http_client"])` may drop other configuration options previously passed via `provider_kwargs`; consider either preserving the full set of kwargs or making the set of supported parameters explicit so behavior remains consistent.
- The MCP tooling variables are still named `*_stdio_server` even though they now hold `MCPToolset` instances; consider renaming these to reflect the new abstraction to avoid confusion for future readers.

Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Actionable comments posted: 2

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@src/aegis_ai/toolsets/__init__.py`:
- Line 98: The GitHub MCP server image reference is unpinned and should be
updated to a reviewed immutable version. In the toolset definition in
__init__.py, replace the bare ghcr.io/github/github-mcp-server image string with
a specific release tag or digest in the same place it is added to the server
list so the runtime uses a fixed version.
- Around line 90-99: The GitHub MCP Podman invocation currently leaves exited
containers behind after each run; update the container launch in the GitHub MCP
setup (the Podman command array in the toolset initialization) to include
automatic cleanup. Add the missing --rm flag to the podman run arguments so
repeated sessions don’t accumulate stale containers.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Enterprise

Run ID: 93aefa48-f968-492d-9543-e230ff474ad1

📥 Commits

Reviewing files that changed from the base of the PR and between cacd475 and def9e03.

⛔ Files ignored due to path filters (1)
  • uv.lock is excluded by !**/*.lock
📒 Files selected for processing (4)
  • DEVELOP.md
  • docs/CHANGELOG.md
  • src/aegis_ai/__init__.py
  • src/aegis_ai/toolsets/__init__.py

Comment thread src/aegis_ai/toolsets/__init__.py
Comment thread src/aegis_ai/toolsets/__init__.py
... so that we use supported versions of the modules we depend on.
kdudka and others added 4 commits June 25, 2026 18:34
Migrate MCP servers from deprecated `MCPServerStdio` to
`MCPToolset` + `StdioTransport`, using `.prefixed()` for tool
prefixes. Fix `GoogleProvider` overload mismatch by passing
`http_client` explicitly instead of via `**provider_kwargs`.

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

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@src/aegis_ai/toolsets/__init__.py`:
- Around line 67-75: The NVD MCP toolset setup in MCPToolset/StdioTransport does
not forward the parent environment, so the spawned mcp-nvd process cannot read
NVD_API_KEY. Update the nvd_mcp_toolset construction to explicitly pass
NVD_API_KEY into the StdioTransport environment for the mcp-nvd subprocess,
while keeping the existing .prefixed("mitre_nvd") setup intact.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Enterprise

Run ID: caacbe4d-5bb7-4348-a755-8ae06413325e

📥 Commits

Reviewing files that changed from the base of the PR and between def9e03 and 08a308d.

📒 Files selected for processing (4)
  • DEVELOP.md
  • docs/CHANGELOG.md
  • src/aegis_ai/__init__.py
  • src/aegis_ai/toolsets/__init__.py
✅ Files skipped from review due to trivial changes (3)
  • src/aegis_ai/init.py
  • DEVELOP.md
  • docs/CHANGELOG.md

Comment thread src/aegis_ai/toolsets/__init__.py
@kdudka
kdudka requested review from gvauter and superbuggy June 25, 2026 16:46

@gvauter gvauter left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM

@kdudka
kdudka merged commit 3684101 into main Jun 26, 2026
11 checks passed
@kdudka
kdudka deleted the aegis-0.7.5 branch June 26, 2026 21:24
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