Skip to content

T27 OS: local provider router in .t27 so no pane hits the disabled-subscription error (M12b stage 2) #11032

Closed

Description

@gHashTag

Refs #10782. Blocked in part on t27c issue 10902 (variadic calls, sockets); if a primitive is missing, file a t27c issue and stop. Only .t27: no code in any other language, not even scratch probes or a loader; see skill only-t27. Builds and tests run on the Railway lab. Key values are never printed or committed.

Boundary

  • specs/t27os/provider_router.t27
  • specs/t27os/provider_profile.t27

User Scenarios

  • Given a pane whose Claude Code returns "organization has disabled Claude subscription access", when the router is the pane's base URL, then the request is answered by the next provider in the chain.
  • Given a 429, 529 or 402 from the head provider, when the router sees it, then it retries on the next provider and demotes the head.
  • Given an owner-picked provider, when the chain is built, then that provider is first.

Requirements

  • FR-001: The chain MUST be read from agent-provider-chain.t27, not copied.
  • FR-002: Request and response shapes MUST go through specs/provider/transform.t27.
  • FR-003: Subscription variables MUST be stripped from the pane environment at spawn.

Success Criteria

  • t27c test-report specs/t27os/provider_router.t27 does not print FAIL
  • grep -c "test " specs/t27os/provider_router.t27 prints at least 6
  • grep -c "ORDER_DEFAULT" specs/t27os/provider_router.t27 prints 0
  • The lab run of the spec tests ends with exit 0

Activity

  1. added
    shape-refusedClosed by the issue-shape gate (specs/policy/issue_shape.t27); a passing edit reopens it
    on Oct 19, 2026
  2. github-actions commented on Oct 19, 2026

    @github-actions
    Contributor

    Closed by the issue-shape gate (specs/policy/issue_shape.t27, #7498): an issue must have the template's sections. Edit the body; an edit that passes reopens it.

    • missing: ## Success Criteria -- an outcome a machine can settle: a number with a unit, a backticked file, exit 0, or a backticked command
  3. removed
    shape-refusedClosed by the issue-shape gate (specs/policy/issue_shape.t27); a passing edit reopens it
    on Oct 19, 2026
  4. github-actions commented on Oct 19, 2026

    @github-actions
    Contributor

    The shape check passes now (specs/policy/issue_shape.t27); reopened.

  5. gHashTag commented on Oct 20, 2026

    @gHashTag
    CollaboratorAuthor

    lane done on playras-MacBook-Pro: branch claude/evolve-lane-11032-playras-MacBook-Pro, provider_router 7/7, provider_profile 3/3, vacuous 0, seals MATCH, ORDER_DEFAULT count 0. Covers the decision core only: statuses 429/529/402 and the disabled-subscription body move to the next provider, the head is demoted, an owner pick goes first, the chain text is passed in (not copied), the pane env strip is pinned against keys.t27. Not done: the socket listener (needs t27c#10902) and the call into specs/provider/transform.t27 (FR-002), which need the transport first.

  6. added a commit that references this issue on Oct 30, 2026
    b1a5857
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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions