Repository navigation
Let the Agent Score form accept docs paths of any depth - #1199
Merged
Merged
Conversation
The form's slug check capped paths at 4 segments, mirroring a backend limit that Promptless/promptless#5775 removes. The 200-character slug limit still bounds the path.
InlinePizza
requested review from
adit-chandra,
frances720,
hawkeyexl and
mattlink
as code owners
October 25, 2026 13:29
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This branch was successfully deployed
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.
The Agent Score form rejected URLs with more than 4 path segments, such as
…/docs/technical-documentation/networking.html, with "Paths can have at most 4 segments." That check insrc/lib/agent-score/slug.tsmirrors a backend limit that Promptless/promptless#5775 removes. This PR dropsMAX_PATH_SEGMENTSfrom the form. The 200-character slug limit and the path-character rules still apply.Merge order: deploy Promptless/promptless#5775 first. Until it ships, the backend still returns "Docs paths can have at most 4 segments." for these URLs.
Tests: the 5-segment rejection case is removed, and a 6-segment slug is now expected to parse.
tests/unit/agent-score.spec.tspasses (9 tests) andastro checkreports 0 errors.