rdmsm4x-changelog-20260903-1625-tyrell-multi-account-chatgpt-pro
rdmsm4x-changelog-20260903-1625-tyrell-multi-account-chatgpt-pro
Implemented multi-account ChatGPT Pro quota separation and spoke host delegation routing for Tyrell fleet usage monitoring.
Scope
- Hosts:
rdmsm4x(fleet hub),rdmbair15m5,rdmpw3275m,rdmpw3265m,rdmbair13m5,jdmbair13m5 - Project: Tyrell (
/Users/richh/dev/apps/Tyrell) - Worktree:
/Users/richh/dev/_worktrees/tyrell-issue31-activity-burst-cache-20260903 - Branch:
agy/tyrell-issue30-multi-account-usage-20260903(commitd7d144f) - Associated Tickets:
ISSUE-20260903-30(resolved),ISSUE-20260903-31(resolved)
Files Touched
Sources/TyrellCore/UsageAggregate.swift: Enhanced fleet usage aggregation to trackby_account_hosts,by_account_resets, andby_account_plans. Emitted discrete per-account sub-buckets (openai_vendor_primary_cffb2bdcandopenai_vendor_primary_ee3f0a08) and attached rootaccountsanddelegation_targetsarrays.Sources/TyrellCore/UsageGrading.swift: AddedAccountDetailmodel,accountBreakdown(in:), andavailableDelegationHosts(in:vendor:)helper to identify candidate spoke machines holding healthy quota.Sources/TyrellCore/UsageStatusProjection.swift: UpdatedadviceReasonto state when alternate account headroom is available on spoke hosts while the primary account is constrained. Preserved closed allowlist privacy boundaries inUsageStatusWireSanitizer.Tests/TyrellCoreTests/UsageAggregateTests.swift: Added unit testdiscreteAccountMetersAndDelegationTargetsAreSurfacedverifying discrete per-account meters, host mapping, and delegation target routing./Users/richh/dev/apps/Tyrell/SESSION-STATE.md: Recorded milestone checkpoint.
Commands Run
swift test --filter UsageAggregateTests(passed)swift test --filter UsageStatusProjectionTests(passed)swift test --filter TyrellCoreTests(300+ tests passed, exit 0)swift test --filter TyrellAppSupportTests(passed, exit 0)ticket resolve ISSUE-20260903-30 --as "claude@rdmsm4x/pid44432" .../Users/richh/bin/agent_msg.zsh send --to claude@rdmsm4x --topic tyrell/issue30-coordination ...
Verification Evidence
- Verified live fleet telemetry: Primary account
(
cffb2bdc) at 100% onrdmsm4xandrdmbair15m5; Secondary account (ee3f0a08) at 1.0% onrdmpw3275m,rdmpw3265m,rdmbair13m5, andjdmbair13m5. - Unit test
discreteAccountMetersAndDelegationTargetsAreSurfacedpassed cleanly. - Full
TyrellCoreTestsandTyrellAppSupportTestspassed with 0 failures. - Zero collision with
claude@rdmsm4xworking on Tyrell Build 20 (tyrell-build20-supervisor-approvals-20260903).
Undo / Rollback
- Branch
agy/tyrell-issue30-multi-account-usage-20260903can be cleanly reverted or reset to commit472215e.