The adapter's CORS allow-list offered `X-Seal-Home-Session` and openapi declared it as a `localSession` security scheme required on every operation — while no handler ever consulted the header and the scheme's own description admitted it authenticates nothing. Generated clients would fabricate a token for a check that does not exist, and a browser client sending it could fail a preflight against a header the server no longer offers. Remove the header from the allow-list (it now mirrors the two headers this adapter actually reads), drop the scheme and its `security` requirement, and state the trust model plainly in `info.description` where an API consumer sees it. SECURITY.md keeps the authoritative wording and points at that paragraph instead of at a scheme that no longer exists. The local-adapter stance itself is untouched: no authentication is added, per `.agents/rules/security-posture.md`.
2.3 KiB
2.3 KiB