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
[Request]: audit cannot cover the ui extension's content-hashed asset mount, so ui-composed sites never report ready #816
ai-firstReduces friction for AI agents authoring URLCode projectsenhancementNew feature or requestextensionInvolves an extension or companion package (store, ui, auth, admin)in-progressAn agent or PR is actively working on this
This came up while building the cookie-jar work for #811, in PR #815.
With #811, the headless-auth-profile recipe's fixtures cover every /account/* and /api/profile/* method, with 0 failed and 0 unasserted cases. urlcode audit still does not report the project ready. Two method/route pairs stay uncovered: GET and HEAD on the ui extension's asset mount, /assets/ui/*.
That mount serves only content-hashed file names, so a fixture cannot know a valid path in advance.
A coveredElsewhere waiver needs another passing fixture on the same route.
As a result, any project that composes ui, meaning every auth, admin or forms site, is blocked from a ready audit by a mount it cannot write a fixture for.
Proposed behavior and alternatives
Choose one:
The ui extension exposes one stable, unhashed path under its mount, for example a small manifest, that fixtures and audit can hit.
Audit treats an extension's declared asset mount as covered by the extension's own contract. It would still check that an unknown path under the mount answers 404.
A documented, reviewed waiver form for extension asset mounts.
Evidence
Observed in recipes/headless-auth-profile. Its README documents that audit is not among its commands for this reason, and packages/auth/test/headless-auth-profile-recipe.test.ts asserts it. Not reproduced on other compositions.
Decision (owner, 2026-09-27): option (b). Audit treats an extension's declared asset mount as covered by the extension's own contract. This is generic, with no ui special case in core. Audit still actively checks that an unknown path under the mount answers 404 with no cookie, and it reports those pairs under a distinct label.
ai-firstReduces friction for AI agents authoring URLCode projectsenhancementNew feature or requestextensionInvolves an extension or companion package (store, ui, auth, admin)in-progressAn agent or PR is actively working on this
Activity
jimhoyd commentedon Sep 27, 2026
Decision (owner, 2026-09-27): option (b). Audit treats an extension's declared asset mount as covered by the extension's own contract. This is generic, with no ui special case in core. Audit still actively checks that an unknown path under the mount answers 404 with no cookie, and it reports those pairs under a distinct label.
Generated by Claude Code
Audit covers extension asset mounts via a per-mount declaration, so u…