Add Python DeepAgents blueprint agent#24
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: c13b6fbd31
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| raw_patch: dict[str, Any] = {} | ||
| changes: list[dict[str, str]] = [] | ||
| touched_domains: set[str] = set() | ||
| allow_existing_updates = bool(user_prompt.strip()) or mode in {"product", "architecture", "review"} |
There was a problem hiding this comment.
Preserve existing fields in review mode
Do not allow blanket existing-field edits in review mode: allow_existing_updates currently includes "review", which bypasses the guard that protects non-blank/non-default user inputs. This means a readiness review can propose overwrites to already-curated fields, contradicting the mode’s “without overwriting user-entered details” behavior and making accidental regressions likely when users run review passes on mature projects.
Useful? React with 👍 / 👎.
| root = path.split(".", 1)[0] | ||
| return root in ALLOWED_NESTED_ROOTS and "." in path |
There was a problem hiding this comment.
Restrict proposal paths to canonical schema fields
Harden path validation beyond top-level root checks. is_allowed_path currently accepts any dotted path under allowed roots, so hallucinated paths like platform.frontend.framework or index-style paths like functional.requirements.0.title pass validation; later merge logic can replace scalar/list fields with objects, corrupting the stored Project shape and breaking downstream UI/generator assumptions.
Useful? React with 👍 / 👎.
Summary
Verification