Repository navigation
Conversation
) Agents, skills and tool policies capped names at 120 characters; providers, connections, outputs, env mappings, agent teams, access teams, API tokens, worker profiles and worker tokens accepted any length (10,000 in the audit). - orbit-domain: MAX_NAME_CHARS (120) and name_length_issue(path, name), used by the agent and tool-policy validators and every create/update handler above, including provider and connection renames and portable imports (path metadata.name). A provider rename to an empty name is refused instead of stored as "". - A middleware rejects %00 in the path or query string with a 422 (path "path" or "query"); ?q=%00 and ?status=%00 used to reach the store and fail with a 500. %2500 is ordinary text. - docs/architecture/api.md states both rules; custom role names keep their 80-character limit. Together with #465 and #474 this covers every finding of #438. 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.
Closes #438 (the rest of it; #465 and #474 fixed items 1–4, 6 and the field-path half of 5).
Summary
Agents, skills and tool policies capped names at 120 characters; providers,
connections, outputs, env mappings, agent teams, access teams, API tokens,
worker profiles and worker tokens accepted any length (10,000 in the audit).
the agent and tool-policy validators and every create/update handler above,
including provider and connection renames and portable imports (path
metadata.name). A provider rename to an empty name is refused instead of
stored as "".
"path" or "query"); ?q=%00 and ?status=%00 used to reach the store and fail
with a 500. %2500 is ordinary text.
80-character limit.
Together with #465 and #474 this covers every finding of #438.
Testing
cargo fmt --check,clippy --workspace --all-targets -D warnings: cleancargo test --workspace --no-fail-fastwith a database: 764 passed, 0 failed%00detection unit test; API testnames_share_one_limit_and_nul_in_uris_is_refused(121 chars → 422 atnamefor 8 resource families, 120 accepted, empty/too-long provider rename → 422,%00in query/path → 422,%2500→ 200)pnpm docs:check: passedAccess teams are not in the API test (they need an enterprise licence in the test app) but use the same check. Behaviour change: an existing name over 120 characters must be shortened before the resource can be saved again.
🤖 Generated with Claude Code