mirror of
https://github.com/tiennm99/claude-code-usage-bubble.git
synced 2026-10-15 02:16:45 +00:00
2.0 KiB
2.0 KiB
phase, title, status, priority, effort, dependencies
| phase | title | status | priority | effort | dependencies | ||
|---|---|---|---|---|---|---|---|
| 5 | Verify and document | pending | P1 | 3h |
|
Phase 5: Verify And Document
Overview
Prove the third-provider workflow works and document setup/privacy accurately.
Requirements
- Functional: Claude Code, Codex, and OpenCode Go can be toggled independently; polling and tray refresh do not regress.
- Non-functional: Privacy docs must list every local file read and network endpoint called.
Architecture
Verification must cover pure tests, build, and Windows manual smoke tests. OpenCode Go cannot be fully claimed without a real authenticated account or a captured fixture from Phase 1.
Related Code Files
- Modify:
README.md - Optional Modify:
docs/release-process.mdonly if release steps change - Read:
src/app.rs - Read:
src/settings.rs - Read:
src/usage/* - Read:
src/creds/*
Implementation Steps
- Run
cargo test. - Run
cargo build --release. - Run app with old settings file and confirm migration/defaults.
- Run app with all three providers enabled; verify separate bubbles, positions, tray icons, panel labels, and menu toggles.
- Verify missing OpenCode Go auth shows auth/no-credentials state without breaking other providers.
- With real OpenCode Go auth, verify weekly/monthly percent and remaining-time bars match the official console/source found in Phase 1.
- Update README privacy section with OpenCode auth file and endpoints.
Success Criteria
- Tests pass.
- Release build passes.
- Existing two-provider settings migrate.
- Three-provider UI works on Windows.
- OpenCode Go renders four bars: weekly usage percent, weekly remaining time, monthly usage percent, monthly remaining time.
- README setup/privacy docs are accurate.
- No unresolved OpenCode Go usage-source uncertainty remains.
Risk Assessment
Manual verification needs real OpenCode Go auth. If unavailable, ship code only behind disabled-by-default toggle and explicitly mark e2e verification deferred.