You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Gap]: give agents a redirect-focused URLCode quick path #383
ai-firstReduces friction for AI agents authoring URLCode projectsdocumentationImprovements or additions to documentationimportantHigh-priority work selected for near-term focus
In the URLCode benchmark, Agent B built the pinned @jimhoyd/[email protected] Redirector task.
Where it broke down
llms.txt exists but is broad; the installed package did not provide a bounded redirect-focused starting command or recipe. The agent expanded into broad documentation/package inspection before implementing.
Observed evidence: one GPT-5.6 Terra/medium Agent B session took 412,681 ms and reported 807,280 total tokens (106,769 input, 691,200 cached input, 9,311 output).
Code or YAML you had to write by hand
The agent used declarative YAML where possible, then wrote adapter code for /users/:id -> /profiles/:id and /legacy/* -> /modern/*; it reported those shapes as not declaratively expressible in 0.4.6.
Suggested improvement
Add a redirect-focused agent entrypoint: a concise urlcode context redirects, or an early llms.txt section mapping fixed, parameterized, wildcard-suffix, query-preserving redirects and 404 behavior to exact supported YAML/recipes. Include unsupported-shape guidance and a small runnable fixture. The planned MCP server could expose this bounded task context too.
What was not verified
This is one session, not repeated evidence or a framework winner claim. The benchmark harness did not finish comparison artifacts.
Priority: highest (maintainer). An agent has started; first step is verifying which redirect shapes are actually supported in the current release, so the quick path states exact supported YAML and names the unsupported shapes instead of guessing.
Delivered in #386: urlcode context --project DIR --task redirects (and MCP get_context with task: redirects), an early redirects section in llms.txt, redirect rows moved to the top of AI-AUTHORING's handler table, and the redirect recipe extended to cover every supported shape with fixtures. Established by running the current release, not assumed: fixed, parameterized-path, fixed-depth-suffix, query-preserving and method-preserving redirects, plus site.notFound for 404s, are all supported today (the benchmark's reported parameterized-path gap did not hold). Two real gaps found and filed separately with proposed designs/security notes: #387 (wildcard-suffix path shape) and #388 (host/scheme/relative destinations, a deliberate refusal).
ai-firstReduces friction for AI agents authoring URLCode projectsdocumentationImprovements or additions to documentationimportantHigh-priority work selected for near-term focus
Activity
jimhoyd commentedon Sep 21, 2026
Priority: highest (maintainer). An agent has started; first step is verifying which redirect shapes are actually supported in the current release, so the quick path states exact supported YAML and names the unsupported shapes instead of guessing.
docs/feat: bounded redirect quick path for agents (refs #383)
docs/feat: bounded redirect quick path for agents (refs #383) (#386)
jimhoyd commentedon Sep 21, 2026
Delivered in #386: urlcode context --project DIR --task redirects (and MCP get_context with task: redirects), an early redirects section in llms.txt, redirect rows moved to the top of AI-AUTHORING's handler table, and the redirect recipe extended to cover every supported shape with fixtures. Established by running the current release, not assumed: fixed, parameterized-path, fixed-depth-suffix, query-preserving and method-preserving redirects, plus site.notFound for 404s, are all supported today (the benchmark's reported parameterized-path gap did not hold). Two real gaps found and filed separately with proposed designs/security notes: #387 (wildcard-suffix path shape) and #388 (host/scheme/relative destinations, a deliberate refusal).
jimhoyd commentedon Sep 21, 2026
Benchmark evidence update: the completed Redirector v8 run was pinned to the published @jimhoyd/[email protected] package. Its Agent B feedback again found llms.txt links to package-absent docs and fell back to llms-full.txt (59,218 ms; 355,835 total tokens). Recording this only as release-specific evidence for the pre-#386 package, not as a claim that the delivered context work is absent. The benchmark review marks it duplicate and proposes a separately versioned rerun when the changes are in a published package. Public redacted evidence: https://github.com/jimhoyd-com/urlcode-benchmarks/tree/codex/benchmark-program/results/bundles/2026-09-21-redirector-sonnet-v8
feat: agent efficiency, phases 1-4 (relative and wildcard redirects, …
docs: consolidate production-gate lists and move dated backlogs out o…