Skip to content

[Request]: Evaluate a tested headless auth and profile composition recipe #810

Closed

Description

@jimhoyd

Problem or use case

The auth-profile attempt in test8 found and installed URLCode/auth 0.6.4, but spent 77 tool calls investigating registration/session APIs, operator service configuration and profile persistence without finishing the application. Its first explicit file write/edit occurred at call 67 (CLI commands had scaffolded and modified extensions earlier). This is evidence of composition/discovery friction, not proof that a service API is missing.

The benchmark also has an independently filed task-contract problem (jimhoyd-com/urlcode-benchmarks#57), so its failures must not be used to infer auth correctness or to dictate undocumented behavior to this package.

Proposed behavior and alternatives

Evaluate a small, runnable, tested first-party headless JSON API recipe built from the existing public auth/service contracts. It should demonstrate registration, login/session issuance, authenticated profile read/update, logout/revocation and cross-user denial, with explicit request/response shapes and status codes. Keep AUTH_SECRET environment-owned and preserve existing session, registration, CSRF/origin and authorization boundaries; do not invent a parallel authentication implementation merely to fit benchmark paths.

Make ownership boundaries clear: which behavior is auth-owned, which is application profile data, which operator exports are required, and how routes receive the shared service. Provide a bounded entry point for agent tooling rather than requiring package-source/type scans.

First audit existing public exports and docs. If the supported composition already exists, link it from the authoring packet and add an executable recipe; request new APIs only for a reproduced gap. Use the corrected public benchmark contract for a later adaptation test, with unseen failure cases and independent acceptance. No new API design or production readiness claim is established by the current experiment.

Related: #807 (agent bootstrap), #806 (assisted authoring workflow). Public docs and package recipe belong in this repository.

Activity

  1. added
    enhancement
    documentation
    ai-first
    extension
    in-progress
    on Sep 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    ai-firstdocumentationenhancementextensionin-progress

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions