Repository navigation
fix(discovery): advertise /api/provision/login, fix /api/agent/register refs - #82
Merged
Merged
Conversation
agent.json (also served at /.well-known/agent.json) advertised the undocumented, unrate-limited /api/kassa/agent/login. Point it at the documented /api/provision/login. Replace the nonexistent /api/agent/register in PLUGIN-BLUEPRINT.md and ONTOLOGY.md with /api/provision/signup. Auth behaviour and the kassa route are unchanged. Adds a test that agent.json's login path exists in openapi.json. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub. 1 Skipped Deployment
|
…only Matches the other sites (crawler:amazonbot). No verification signal is available in this middleware, so claimed vs verified is explicit. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…en tests Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
agent.json (also served at /.well-known/agent.json) advertised /api/kassa/agent/login, which is not in openapi and not rate-limited. It now advertises /api/provision/login, matching openapi, skill.md and governance.json.
PLUGIN-BLUEPRINT.md and ONTOLOGY.md referenced /api/agent/register (404). They now point to the real route, POST /api/provision/signup (app/routes/provision.py, agent_signup; body field is name, not display_name).
No auth behaviour change; the kassa login route stays. Adds a test that agent.json's login path exists in openapi.json.
Crawler middleware (ai_bot_detected): distinct_id is now lowercase (crawler:amazonbot), matching other sites; bot_verified is null with bot_verification 'ua_only' because no cheap verification signal exists in the middleware. This repo emits no server-side MCP analytics events, so no $host change was needed there.
Tests: test_h1_key_revocation, test_agent_readiness, test_routes_provision (52 passed); node --test tests/ai-crawler.test.mjs (15 passed).
Not changed: kassa.html/shell.html call kassa routes for the in-page UI; ONTOLOGY.md still lists /api/agent/profile (not verified).
Cutover note: crawler distinct_id changes from mixed case (crawler:Amazonbot) to lowercase (crawler:amazonbot) from the merge date. History stays under the old ids; group by lower(bot_name) across that date.
Blueprint/ONTOLOGY profile routes also fixed: /api/agent/profile does not exist; own profile is GET /api/kassa/agent/me, update is PATCH /api/agents/{handle}. The blueprint register snippet now sends only accepted fields and reads
tokenfrom the signup response.🤖 Generated with Claude Code