You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix second-round review findings in agents validation and static analysis
- Run validateAgentsConfig() outside the VALIDATE_MANIFEST guard: Vite
compiles import.meta.env.DEV to false in production server/edge
bundles, which stripped the security validation and let a typo'd
policy fail open again.
- Mask comments before locating the manifest capabilities block so a
block-commented example cannot shadow the live registry in verify.
- Resolve the default-exported capability to the module-scope binding
(brace-depth 0), not a shadowed inner declaration.
- Make template-literal scanning interpolation-aware so a nested
template in run() no longer truncates extraction and silently
privatizes an exposed capability.
- Extend the typegen collision guard to basename collisions between the
declaration and capabilities outputs.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
0 commit comments