Skip to content

v0.6.1

Choose a tag to compare

@untuitivist untuitivist released this 21 Sep 19:25
· 21 commits to master since this release

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 auth and 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-retries controls 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.