Urgent.News

What's breaking now, across thousands of outlets.

Tech

Validate the manifest, reject on failure, and your plugin client is non-conformant

Agent Plugins 1.0.0 ships a JSON Schema for plugin.json . It sets additionalProperties: false . So the obvious loader is four lines: const manifest = JSON . parse ( await readFile ( join ( dir , ' plugin.json ' ))); if ( ! validate ( manifest )) return reject ( ' invalid manifest ' ); That loader is wrong, and the specification says so in a sentence most people never reach. §5.2: Clients MUST…

The JSON Schema for plugin.json in Agent Plugins 1.0.0 enforces additionalProperties: false, meaning the loader expects a specific structure. However, the specification §5.2 and §8.1 state that clients must tolerate unknown top-level fields and extensions fields that are not objects. A validator provides a boolean outcome, but the spec requires three different results.

Consequently, the current implementation is non-conformant in two cases and correct in all others. This subtle bug often goes unnoticed in testing, surfacing as plugins working in one client but not another. This issue has reportedly affected multiple clients, such as Codex, oh-my-pi, dotnet/skills, Kiro, and VS Code. The validation implementation requires testing a real plugin directory against the expected behavior of a conformant client, rather than just validating the plugin itself.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

9 Bugs That All Looked Like a Working System

AgentSelfEdit is an open-source sidecar that rewrites its own system prompt from execution feedback. It A/B tests edits and promotes only statistically-proven winners.

  • Promotion gate incorrectly checked for p-value above 0.95 instead of below 0.05
  • A/B test compared edited prompt against original prompt, not against unedited version
  • Scoring mode marked any trace with non-empty response as 100% correct

# Stop hardcoding AWS Lambda layer ARNs, and use AWS Systems Manager Parameter Store public parameters instead

To add the AWS AppConfig Agent Lambda extension to an AWS Lambda function, you can open the documentation, scroll through a table of ARNs, find the one that matches your AWS Region and architecture…

  • Hardcoding AWS Lambda layer ARNs can cause issues with new versions
  • Use AWS Systems Manager Parameter Store public parameters instead
  • Retrieving ARN via AWS CLI simplifies deployment process

More from Tuesday 1 September →