Redirect bare /docs to the introduction page with proper metadata
resolution. Add a test for the redirect. Trim the media type in the
Accept header parser so whitespace around semicolons does not break
markdown content negotiation. Add a test script to package.json.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>