Skip to content

Consolidate usage readers and role policy onto upstream contracts #420

Closed

Description

@tannerpolley

Plan step 4 of #416.

  • Read usage facts and target/options contracts from upstream.
  • Keep the configured role order, headroom sorting and Writer owner-routing in small owned modules.
  • Reset-credit automation is a separate owner decision; leave its behavior unchanged here.

Activity

  1. added this to the Fork backlog milestone on Nov 20, 2026
  2. tannerpolley commented on Nov 20, 2026

    @tannerpolley
    OwnerAuthor

    T3 Code status: Unavailable

    Issue: #420 Consolidate usage readers and role policy onto upstream contracts

    Thread: thread:delegated-task:milestone-issue%3Athread%3Adelegated-task%3Arepository-handoff%253A421f7a75-1bf7-49e2-abb0-448fcf274ea0%3A8%3A6431418260%3Afirst

    Model: gpt-6.2-sol

    Branch: issue-420-consolidate-usage-readers-and-role

    Updated: 2026-11-20T23:23:53.145Z

  3. tannerpolley commented on Nov 20, 2026

    @tannerpolley
    OwnerAuthor

    T3 Code closeout: failed

    Issue: #420 Consolidate usage readers and role policy onto upstream contracts
    Thread: thread:delegated-task:milestone-issue%3Athread%3Adelegated-task%3Arepository-handoff%253A421f7a75-1bf7-49e2-abb0-448fcf274ea0%3A8%3A6431418260%3Afirst
    Model: gpt-6.2-sol
    Branch: issue-420-consolidate-usage-readers-and-role
    Completed: 2026-11-20T23:05:44.779Z

    failed to load workspace requirements: invalid data

    Last assistant message before the run failed:

    The regression test reproduced the ranking error when an upstream usage window identified Opus by model ID. The implementation now reads that field and keeps the legacy Claude name matching. I also verified that the role target’s JSON schema and saved-option limits match the original. The focused checks and review are underway.

  4. tannerpolley commented on Nov 20, 2026

    @tannerpolley
    OwnerAuthor

    T3 Code closeout: failed

    Issue: #420 Consolidate usage readers and role policy onto upstream contracts
    Thread: thread:delegated-task:milestone-issue%3Athread%3Adelegated-task%3Arepository-handoff%253A421f7a75-1bf7-49e2-abb0-448fcf274ea0%3A8%3A6431418260%3Afirst
    Model: gpt-6.2-sol
    Branch: issue-420-consolidate-usage-readers-and-role
    Completed: 2026-11-20T23:06:39.551Z

    failed to load workspace requirements: invalid data

  5. tannerpolley commented on Nov 20, 2026

    @tannerpolley
    OwnerAuthor

    T3 Code closeout: failed

    Issue: #420 Consolidate usage readers and role policy onto upstream contracts
    Thread: thread:delegated-task:milestone-issue%3Athread%3Adelegated-task%3Arepository-handoff%253A421f7a75-1bf7-49e2-abb0-448fcf274ea0%3A8%3A6431418260%3Afirst
    Model: gpt-6.2-sol
    Branch: issue-420-consolidate-usage-readers-and-role
    Completed: 2026-11-20T23:10:30.241Z

    failed to load workspace requirements: invalid data

  6. tannerpolley commented on Nov 20, 2026

    @tannerpolley
    OwnerAuthor

    T3 Code closeout: done

    Issue: #420 Consolidate usage readers and role policy onto upstream contracts
    Thread: thread:delegated-task:milestone-issue%3Athread%3Adelegated-task%3Arepository-handoff%253A421f7a75-1bf7-49e2-abb0-448fcf274ea0%3A8%3A6431418260%3Afirst
    Model: gpt-6.2-sol
    Branch: issue-420-consolidate-usage-readers-and-role
    Completed: 2026-11-20T23:22:23.794Z

    Implemented #420 and pushed draft PR #528. GitHub reports it can merge cleanly into main.

    Role ranking now reads model-scoped quotas from the upstream usage contract and still supports legacy Claude window names. Codex usage readers and delegation options reuse upstream types. Configured role order, Writer routing to the owner, and reset-credit automation were preserved. Disabled providers now get the same explanation in capability reporting and delegation.

    • All 441 focused tests passed, and vp run typecheck passed for the server, contracts, and shared packages.
    • check:changed passed formatting, lint, unused-code checks, GraphQL verification, and all 409 selected tests. Its broader type check still fails on three mobile errors reproduced on clean main. Tracking issue #470
    • Both findings from the Review Consolidate usage readers and role policy onto upstream contracts #420 usage and role consolidation were addressed.

    PR #528, head 215d942da5c6aa1dcca072618870164d01f2d4f1, draft with no hosted checks or reviews reported.

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

    No labels
    No labels

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions