Skip to content

Consolidate PolyTerm updates: premium removal, lazy CLI, bug fixes#5

Merged
NYTEMODEONLY merged 3 commits intomainfrom
codex/consolidate-polyterm-prs
Mar 14, 2026
Merged

Consolidate PolyTerm updates: premium removal, lazy CLI, bug fixes#5
NYTEMODEONLY merged 3 commits intomainfrom
codex/consolidate-polyterm-prs

Conversation

@NYTEMODEONLY
Copy link
Owner

Summary

  • Premium language removal: Renamed "Premium Features" → "Advanced Analytics" across README, TUI guide, and analysis doc. Deleted stale roadmap.md (669-line premium monetization strategy). Updated positioning to "MIT-licensed, no paywalls."
  • Lazy CLI loading: Replaced eager import of 70+ command modules with LazyGroup — commands load only when invoked. Significant startup time improvement for --version, --help, and single-command usage.
  • Bug fixes: Chart --hours semantics, CLOB socket leak prevention, portfolio analytics fallback, news feed caching, Atom feed parsing, cluster timing hot path, fractional timestamps.
  • New tests: 15+ new test files covering charts, crypto15m, news, portfolio, rewards, lazy CLI, output contracts, cluster detector, negrisk, positions, API clients. Total: 659 passing.
  • Docs: Added COMPETITIVE_GAP.md, EXECUTION_ROADMAP.md, TODO_BACKLOG.md, CONTRIBUTING.md, CI workflow.

Test plan

  • Full test suite: 659 passed, 1 skipped, 0 failures
  • Lazy CLI verified: --version and --help load without importing all commands
  • Premium language grep across entire codebase: zero hits in user-facing content
  • Smoke test key commands: polyterm monitor --once, polyterm whales, polyterm news
  • Verify CI workflow runs on push

🤖 Generated with Claude Code

NYTEMODEONLY and others added 3 commits March 14, 2026 12:56
PolyTerm is fully free and open source — no paywalls, no tiers. Renamed
"Premium Features" to "Advanced Analytics" in README and TUI guide,
replaced premium conversion metrics with feature adoption rate, updated
positioning to "MIT-licensed, no paywalls", corrected test count to 650+,
and deleted the stale roadmap.md which was entirely a premium monetization
strategy document.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
Replace eager import of 70+ command modules with a LazyGroup that
loads each command only when invoked. Reduces polyterm startup time
significantly for commands like --version and --help. Config import
is also deferred until the CLI context is created.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
The _get_config_class() caching mechanism interacted poorly with
unittest.mock.patch on Python 3.10, causing the real Config class
to be used instead of the mock. Fix: make cli() respect pre-set
config in ctx.obj, and inject mocks via Click's obj parameter
instead of patching the module-level Config variable.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Paperclip <noreply@paperclip.ing>
@NYTEMODEONLY NYTEMODEONLY merged commit 85d0e2c into main Mar 14, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant