Claim Step 3: tenant label + canonical namespace search UI and CommandLayer namespace guardrails#286
Merged
GsCommand merged 1 commit intoMay 22, 2026
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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.
Motivation
commandlayer-namespaceendpoint only accepts CommandLayer-mode requests mapped to supported canonical parents.Description
Tenant labelinput, aSearch CommandLayer capability namespacesautocomplete, and a separateENS namespacefield for user-owned mode, plus contextual safety copy and tenant validation hints inpublic/claim.html.validTenantLabel), canonical parent selection (limited to the 10 Trust Verification parents), rendering of selected canonical parents, and explicit wallet-ENS detection messaging withcontrolStatus: not_checked(no fake verification).api/claim/commandlayer-namespace.jsvalidation to requireactivationMode === 'cl', reject tenants containing.eth, require that eachcapabilitymaps to a supported Trust Verification canonical parent, ensureagentsentries matchtenant + '.' + canonicalParent, and verify declaredcapabilitiesinclude each agent's capability.tests/api-claim-commandlayer-namespace.test.jscovering rejection ofactivationMode: 'own', invalid agent ENS parent, unsupported canonical parent mapping, and tenant values containing.eth.Testing
npm test; all tests passed (47/47) after the changes, including the new backend guardrail tests.examples/webhook-auto-verifywithnpm installandnpm run check; the examplechecksucceeded.npm run buildis not present in this repo (no build script) and therefore was not executed.Codex Task