Repository navigation
Releases
wqb-cli 0.6.3
wqb-cli 0.6.3
This release adds native CLI updates, ships the merged community-publishing
repair, and fixes the workflow defects reported in issue #3. It also includes
the Help Center commands and simulation reliability improvements from the
previously unreleased 0.6.2 source version.
Native updates
wqb upgrade --check
wqb upgrade
wqb upgrade --version 0.6.3
wqb upgrade --reinstall
The updater selects stable releases from this repository, checks SHA256SUMS,
GitHub asset digests when available, wheel identity, Python and dependency
compatibility, then uses the current Python interpreter. It verifies the new
version in a fresh process and preserves diagnostic receipts. Downgrades require
an exact version and --allow-downgrade; --dry-run previews without installing.
On Windows, wqb.exe hands installation to a one-time hidden helper so pip can
replace the launcher after it exits. upgrade_started is an acceptance receipt,
not installation success. Read the final status without locking the launcher:
python -I -m wqb_cli upgrade --status <status_path> --wait
The updater does not change dependencies or restart workers. Incompatible
dependencies are reported before installation. Source/editable and externally
managed installations are rejected. Existing optional GitHub authentication is
used only for the GitHub API and is excluded from receipts and CDN requests.
Publication and workflow fixes
- Community writes use the authenticated identity API token. Image uploads can
use an explicit verified brand ID, avoiding unnecessary HTML write-context
requests. Identity checks, challenge diagnostics and no automatic write
replay remain in place. This does not bypass browser challenges. - Add JSON
--outputto base API/auth commands, repair workflow documentation
paths and development dependencies, and document resuming the original
simulation after a local wait timeout. - Preserve platform-returned checks on rejected Alpha submissions, distinguish
reported failures from pending checks, and handle null IS payloads safely. - Raise minimum versions for six dependencies with confirmed advisories. The
local pickle reader still requires trusted input; it is not sandboxed.
Installation and verification
Older releases do not have wqb upgrade. Bootstrap 0.6.3 in the intended Python
environment with the attached wheel, then use the native command for later
updates:
python -m pip install --upgrade https://github.com/untuitivist/wqb_cli/releases/download/v0.6.3/wqb_cli-0.6.3-py3-none-any.whl
wqb --version
Pre-publication validation: 322 tests and 175 subtests passed on Windows;
the advisory recheck of 18 clean-environment runtime dependencies returned no
known vulnerabilities. A real native Windows launcher reinstalled itself with
real pip and preserved private test data; that pre-publication test used a local
release-download fixture. No new forum posts or Alpha submissions were made.
Remote CI is not enabled; optional Actions configurations are included as
documentation examples. This is a scoped defect/dependency review, not a
complete security audit.
Artifacts are built from merged master commit
5aa6e00510eaa915175bb7f4c7b161293588d8fc. BUILD_INFO.json records provenance
and package checks; SHA256SUMS.txt covers the wheel, source archive and build
receipt. Post-publication verification downloaded all four actual release
assets, matched their local-build SHA-256 values and GitHub API digests, and
confirmed the tag resolves to that merged commit. Native Windows wqb.exe
then downloaded the actual public wheel and successfully reinstalled itself:
fresh-process runtime/distribution versions were 0.6.3, private test data was
unchanged, pip check passed and wqb upgrade --check reported up_to_date.
v0.6.1
Verified community API authentication fix (2026-09-25)
The Zendesk API session was valid, but the CLI required an HTML landing page that
returned a browser challenge. Fresh login and cache validation now use the current-user
JSON API; HTML write context is obtained separately only when required.
- Live installed CLI: fresh login saved its session, and another process reused it.
- Restricted consultant post and comments returned HTTP 200.
- The original failed sqlitecom run resumed: 200 posts processed (71 inserted, 129 updated).
The validation run paused at the requested page budget with no error and a durable cursor;
it was not a completed full-forum refresh. - 221 tests passed. Installed files match the built release artifacts.
- No browser identity emulation, challenge solving, scheduled jobs or replayed writes.
HTML-page and write access are separate capabilities; this result verifies API reads and sync.
Earlier authentication notes below describe the prior failed implementation and are
retained as release history. This validation supersedes its sync-blocked status.
Community content-negotiation maintenance
-
Identify default sessions using the actual wqb-cli package version.
-
Consistent HTML/XHTML headers for SSO/page/cache reads and JSON headers for APIs, with explicit language preferences.
-
Preserve immediate challenge detection; do not emulate a browser or automatically retry challenged requests.
-
217 tests passed. This maintenance does not claim the live SSO challenge is resolved.
Imported post ID reconciliation maintenance
-
Fix sqlitecom sync failing when plugin imports contain the same post under multiple sections.
-
Reconcile using the API section; preserve original rows in community_row_history and union comments by ID.
-
Update full-text indexes transactionally and preserve pending work on comment/authentication failures.
-
215 tests passed, including duplicate imports, rollback, comment preservation and resumability.
-
This fixes the local ID collision; it does not bypass or resolve a separate online browser verification challenge.
Persistent community sessions - 2026-09-25
Rebuilt v0.6.1 from commit f7de56e and force-reinstalled it in WQBRAIN.
-
Cache validated Zendesk session cookies separately from BRAIN cookies, with original scope and expiry.
-
Isolate account/configuration profiles and validate the forum identity before reusing a session.
-
Renew expired sessions and save rotated cookies; reject anonymous HTTP 200 pages.
-
Prevent stale processes from overwriting or resurrecting sessions through revision-checked transactions.
-
Recover from missing/corrupt caches, bound transient validation retries, and expose cache outcomes in
community auth.
Validation: 211 tests passed, wheel/source audit passed, installed CLI checked.
The current live SSO request still returns browser_verification_required (403).
The persistent-session path is covered by tests but has not completed a live successful
round trip in this challenged environment. No browser-challenge tokens are cached,
and this release does not claim to automatically solve browser verification.
Previous release notes follow.
Community authentication maintenance - 2026-09-24
The v0.6.1 wheel and source archive have been replaced, retaining the package version.
Source commit: 36a8bf4.
-
Add
wqb community authand structured authentication failure stages/codes. -
Honor bounded Retry-After waits for BRAIN login/support rate limits and transient SSO errors.
-
Renew expired page reads once and clear stale authentication/CSRF state.
-
Recognize Cloudflare browser verification immediately, without redundant password logins or write replay.
Validation: all 195 tests passed; wheel/source contents audited; the wheel was
force-reinstalled in WQBRAIN. Live diagnosis correctly reports
browser_verification_required at support_sso (403).
**Community access is still challenged in the current environment. This release
does not automate browser verification or claim that online collection is unblocked.**
Normal browser verification or platform-supported API access is still required.
Previous release notes follow.
Continuous simulations and durable error handling
This replaces the assets in the existing v0.6.1 release. The package version remains 0.6.1.
-
Compatible FASTEXPR Regular simulations, including GLB, dispatch in batches of up to 10. Each accepted Location is saved and the sender continues immediately, without a client slot cap. ALL, Super and Python retain single-object requests.
-
Concurrent and API rate limits wait according to Retry-After, with a 10-second fallback. A confirmed daily simulation limit pauses the sender until the next America/New_York midnight, including daylight-saving changes. Accepted results continue collecting.
-
Confirmed ERROR, FAIL and CANCELLED results retry once by default, then become recorded permanent failures so later experiments can continue. Due retries precede never-sent candidates to avoid starvation by large queues.
--max-simulation-retriescontrols this independently of enrichment and pending-request resend intervals. -
SQLite schema 8 preserves failed-attempt history, retry budgets, existing results and daily-quota deadlines across restarts. Ambiguous POST outcomes remain available for reconciliation and are never blindly repeated.
wqb sqlitesimu resume RUN_ID --db simulations.sqlite3 --no-resend --max-simulation-retries 1
COMPLETED_WITH_ERRORS returns exit code 3; callers can record failures and proceed to their next stage. status exposes the daily reset deadline.
Community publishing remains included
The authenticated forum editor's shared CSRF token fixes live community writes. community create/update --html supports local images, reusable SHA-256 asset receipts, exact prepared-body output and independent API/page verification. community image-upload exposes the official user-image endpoints. A failed readback never repeats a write. The simulation entry point remains wqb simu.
Validation: 182 tests passed, clean wheel/sdist audit, independent installed-wheel checks and offline command previews. The earlier authorized CLI post returned HTTP 201 and its HTML page and original image returned HTTP 200; its JSON GET returned 404, retained separately from successful HTML verification. Update/comment/delete mutations were not live-tested.
Announcement published through the CLI
For an existing 0.6.1 installation, force reinstall the replaced wheel. The timezone dependency is now explicit:
python -m pip install "tzdata>=2024.1"
python -m pip install --force-reinstall --no-cache-dir --no-deps https://github.com/untuitivist/wqb_cli/releases/download/v0.6.1/wqb_cli-0.6.1-py3-none-any.whl
For a first installation, omit --no-deps.
v0.6.0
wqb_cli 0.6.0
Online community access and a persistent local research library now sit alongside the Regular, Super and ALL simulation workflow.
New in 0.6.0
communityreads live forum topics, posts, comments, searches and author activity. Its separate API inventory describes 10 paths and 16 method cases, with native request previews through--dry-run.sqlitecom syncdiscovers new and updated posts, retrieves comments, and stores resumable progress in SQLite. Stable IDs, transactional upserts and a 48-hour overlap prevent duplicate imports and preserve unfinished work.sqlitecom search/get/stats/status/schema/import/sqlprovides offline research access. Parameterized read-only SQL accepts a UTF-8 file, CTEs and JSON functions, with a default 200-row limit and 10-second deadline.- Forum requests reuse BRAIN authentication and renew the support SSO session. Read retries respect server backpressure; write requests are never automatically replayed after an uncertain result.
- Plugin imports remain supported and merge into the existing database without clearing omitted documentation or overwriting newer synchronized posts.
Migration and operating notes
- Old local
community search,community statsandcommunity exportmove tosqlitecom search,sqlitecom statsandsqlitecom import.community searchnow queries the live forum. - Use
sqlitecom sync --sqlite community.sqlite3again for an incremental update or to resume unfinished work.--sincecan bound the first scan;--max-pagesleaves a resumable pause. - Old comment edits may not change a parent post's timestamp. Use
--reconcilefor a full-index revisit; recently checked unchanged comments are skipped according to--refresh-comments-days(default 7). Remote omissions do not delete stored history. - The 0.5.0 Regular/ALL mixed queue and 0.4.0 durable batch runner are included. ALL uses one parent request per HTTP call because the platform does not support ALL in batch arrays. Regional child results remain in schema 7.
Validation
- Full unit suite: 157 passed.
- Real online reads: topics, search, native cursor pagination and forum authentication succeeded.
- Two live sync runs: first inserted 173 posts; the next inserted 1 new post and skipped 173 unchanged posts. The database contained 174 unique posts, 319 comments and no pending items. CLI SQL and full-text lookup passed.
- Built wheel and source archive from a clean source staging directory. Independent wheel installation, version 0.6.0, packaged resources, SQL and existing simulation entry points passed smoke checks.
- Release assets exclude runtime databases, local credentials, cookies, logs and research files.
SHA256SUMS.txtcontains asset checksums. - Forum create/update/delete interfaces are implemented from the documented contract and preview-tested; live posting and other forum writes have not been performed.
Install
Requires Python 3.11 or later:
python -m pip install --upgrade https://github.com/untuitivist/wqb_cli/releases/download/v0.6.0/wqb_cli-0.6.0-py3-none-any.whl
wqb --version
wqb community --help
wqb sqlitecom --help
Preserve your local configuration and research databases when upgrading. See the Chinese guide and changelog.
wqb-cli 0.4.0
Adds durable SQLite batch simulations, template-family validation and reporting, hardened session recovery, and two isolated A-M research workflows. Verified by 95 unit tests and a clean wheel installation. See CHANGELOG.md for behavioral details.
Full Changelog: v0.3.2...v0.4.0
wqb-cli 0.3.2
Added
- Generic competition and consultant leaderboard commands, including competition board types and consultant board scopes.
- Competition Guidelines and FAQ helpers.
- SPC prompt-submission list, create, history, OPTIONS, PUT, and PATCH workflows.
- Canonical endpoint definitions, raw-call examples, generated CLI documentation, coverage reports, and regression tests for the new competition resources.
- Basic Auth retry support for alpha endpoints after a cookie-session
401.
Changed
- Expanded the bundled API inventory from 104 endpoints / 126 method cases to 109 endpoints / 134 method cases without removing existing registrations.
- Synchronized the runtime version and package metadata at
0.3.2. - Added maintained Added/Changed/Removed histories to both README files and the changelog.
- Included the bilingual README and changelog in source distributions.
Removed
- Removed obsolete analyst/PV vector samples and one redundant workflow document. No published CLI command or registered API endpoint was removed.
Validation
- Pytest: 32 passed.
- Unittest: 32 passed.
- Wheel and source distribution built from merge commit
daaa73a5d332e91dbb099b061ff8f4192f8faba9. - Isolated wheel install verified version
0.3.2, 109 endpoints, and the new leaderboard/SPC command surfaces.
wqb-cli 0.3.1
Changes
- Updated package metadata for version 0.3.1.
- Added author metadata and repository/author URLs.
- Replaced MIT license with GPL-3.0-only plus Commons Clause attribution and non-sale terms.
- Documented that all_data.pickle must be downloaded from the WebDataScope plugin's Baidu Netdisk package.
- Updated workflow node F to prefer tower tags such as CHN/D1/PV for existing ACTIVE REGULAR alpha discovery, with region/delay full-scan fallback.
- Expanded the README into a full GitHub tutorial covering installation, authentication, API commands, alpha listing, simulations, submit semantics, local data setup, workflow docs, development, troubleshooting, release steps, and license terms.
- Added bilingual documentation: English README and Simplified Chinese README_CN.
- Emphasized the agent-native positioning: structured outputs, explicit waits, local endpoint inventory, workflow nodes, preserved request/response context, and no dry-run ambiguity.
Documentation
- English README: https://github.com/untuitivist/wqb_cli/blob/master/README.md
- 简体中文 README: https://github.com/untuitivist/wqb_cli/blob/master/README_CN.md
- Repository: https://github.com/untuitivist/wqb_cli
- Author: https://github.com/untuitivist
Verification
- Editable package build succeeded for wqb-cli 0.3.1.
- Test suite passed: 25 passed.