Skip to content

fix(agents): preserve queries and serve OpenAPI HEAD - #656

Merged
harlan-zw merged 1 commit into
mainfrom
fix/agent-representation-requests
Oct 14, 2026
Merged

harlan-zw merged 1 commit into
mainfrom
fix/agent-representation-requests

Conversation

@harlan-zw

Copy link
Copy Markdown
Collaborator

🔗 Linked issue

Related module fix: nuxt-ai-ready #220.

❓ Type of change

  • 📖 Documentation
  • 🐞 Bug fix
  • 👌 Enhancement
  • ✨ New feature
  • 🧹 Chore
  • ⚠️ Breaking change

📚 Description

Markdown negotiation dropped weekly and all-time query selections. OpenAPI HEAD requests returned 404 while GET returned the schema.
Keep query selections in Markdown redirects, and reuse the GET handler for OpenAPI HEAD.

Correct Markdown rendering also requires the published module fix from nuxt-ai-ready #220.
The site can adopt that patch after publication.

🤖 AI disclosure: Harlan Agent Kit modified this description. My AI open-source policy.

@harlan-github-agent harlan-github-agent Bot added harlan-agent-running An Agent holds a Task on this issue or pull request right now. harlan-agent-review-required Pull request triage requires an adversarial Review for this head commit. labels Oct 14, 2026
@harlan-github-agent

harlan-github-agent Bot commented Oct 14, 2026 •

Copy link
Copy Markdown
Contributor

🤖 MERGED

Harlan Agent Kit posted this automated review. It is not Harlan's personal review or approval. AI open source policy. Last updated: 2026-10-14 06:32 UTC.

GitHub merged this pull request.

No material findings were recorded.

5757525c-d517-4ee3-a423-23856040b006

@harlan-zw harlan-zw added the harlan-agent-review Pull request triage requires an adversarial Review. Adding this label manually always forces one. label Oct 14, 2026
@harlan-zw

Copy link
Copy Markdown
Collaborator Author

Agent verification from Harlan Agent Kit:

The built Cloudflare Worker preview returned 200 for OpenAPI GET and HEAD. HEAD had an empty body and JSON content type.
GET retained the production schema byte hash: 165c8a70e7aa4aebc02524fd8ef1952e13fb99d44de6a92861d10226cb96b42d.

Built a second preview with the packed 3.4.1 module from nuxt-ai-ready #220.
Weekly, all-time, and monthly requests returned distinct Markdown titles, bodies, and query-specific canonical URLs.
Negotiation retained the selected query. The published dependency pin was restored before committing.

Production query rendering still requires the module release and a separate site dependency update.

@harlan-github-agent harlan-github-agent Bot removed the harlan-agent-review Pull request triage requires an adversarial Review. Adding this label manually always forces one. label Oct 14, 2026
@harlan-github-agent harlan-github-agent Bot added harlan-agent-pending The automated Review is waiting on a gate for this head commit. and removed harlan-agent-running An Agent holds a Task on this issue or pull request right now. harlan-agent-review-required Pull request triage requires an adversarial Review for this head commit. labels Oct 14, 2026

@harlan-github-agent harlan-github-agent Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Harlan Agent Kit posted this automated review. AI open source policy.

Automated Review: READY.

Read the Review results

@harlan-github-agent harlan-github-agent Bot added harlan-agent-ready The automated Review passed every gate on this head commit. and removed harlan-agent-pending The automated Review is waiting on a gate for this head commit. labels Oct 14, 2026
@harlan-zw
harlan-zw merged commit 576710e into main Oct 14, 2026
8 checks passed
@harlan-github-agent harlan-github-agent Bot removed the harlan-agent-ready The automated Review passed every gate on this head commit. label Oct 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant