# r34 responsiveness and startup consolidation — 20 October 2026 **Historical maintenance record.** These source identities and test receipts retain their 20 October scope. The [current storage-recovery correction](storage-recovery.md) and [bundled deployment guide](hf-windows-deployment.md) govern the new candidate. This full standalone and SaaS release consolidates the patches following the exact base archive SHA256 `468c9d51beb9779342dab7ae143bd1c12c1bdf64e9bf82d6072122d8a7a1a3b4`. The product version remains **r34**. The user authorized this source merge on 20 October 2026 while live HF startup investigation was still open. The merge includes the latest cumulative form of each change. Assistant Lease Commit entered the lineage through Responsiveness Consolidation and was not separately deployed or applied again. Installing this release does not replay Storage Recovery's earlier quota-policy/limit transition or alter deployment data. ## Included patch lineage | Order | Patch group | Incorporated behavior | | --- | --- | --- | | 1 | Assistant Transaction, 18 October | Shared assistant transaction boundaries and request timing reduce unnecessary database work while preserving authorized, durable operations. | | 2 | Responsiveness Consolidation, 18 October | Includes Lease Commit; separates safe lease renewal/validation lock modes, reduces sign-in transaction work, reuses shared catalogue discovery, and rejects obsolete configuration responses. | | 3 | Authoring Opening, 18 October | Opens the authorized authoring workspace before unrelated workbench loads; combines required opening reads and yields shared locks during eligible receipt archival. | | 4 | Attachment Persistence, 18 October | Reconciles eligible uncertain receipt writes against authenticated exact bytes; reduces redundant retention/accounting work and accurately reports upload/save outcomes. | | 5 | Platform Responsiveness, 19 October | Coordinates pending reads across panels, prioritizes foreground run selections, narrows authorization/attempt reads and reduces repeated quota processing. | | 6 | Retention Capacity, 19 October | Handles startup checkpoint capacity through the reviewed retention safeguards and progress paths. | | 7 | Shared Responsiveness, 19 October | Consolidates shared ownership, persistence and UI refresh work across workbench, assistant, workflows, history, storage and administration. | | 8 | Startup Capacity Correction, 19 October | Reuses authenticated quota metadata only after a fresh matching response; schedules eligible retired generations to free capacity and reports bounded cleanup progress. | | 9 | Cleanup Responsiveness, 19 October | Implements D01–D06 deletion/accounting/UI work, S01–S04 retention/inventory work and A01 sanitized transport diagnostics, detailed below. | | 10 | Startup Cleanup Continuation, 20 October | S05 continues bounded authenticated cleanup in the same startup process, retaining verified inventory while enforcing total, no-progress and pass limits. | This is source lineage, not a sequence of deployment commands. Earlier patches must not be replayed on top of the consolidated release. ## Deletion, cleanup and diagnostic scope | Tracker item | Consolidated correction | Preserved condition | | --- | --- | --- | | D01 | Reuses an acknowledged final retained-usage settlement for eligible removal/retry operations. | Failed or uncertain completion retains fallback accounting. | | D02 | Uses explicit trusted lease-only validation where cleanup needs no manifest mutation. | Owner, token and expiry checks remain mandatory. | | D03 | Avoids unnecessary staging for a verified deletion-only manifest shrink. | Existing committed references are rechecked under the final lock; new uploads and repairs still stage. | | D04 | Consolidates compatible owner-scoped usage reads. | Authorization and equivalent accounting remain; filesystem traversal does not hold the SQL transaction. | | D05 | Batches bounded exact-key retirement for native artifacts/uploads and generation-conditional BYOS completion. | Shared allocations, pending markers, verified physical deletion and exact credits remain protected. | | D06 | Releases unnecessary UI blocking after a confirmed mutation and refreshes supplementary lists independently. | Unknown outcomes are not reported as completed; account/selection guards reject stale reads. | | S01 | Reduces redundant quota/journal work within a narrowly scoped retention transition. | Authority/configuration changes and conflicts invalidate reuse. | | S02 | Uses known remaining object counts when scheduling eligible retirement. | Recovery roots and eligibility remain authoritative; legacy counts retain a fair fallback. | | S03 | Reports time-based inventory, deletion and deferred progress. | Progress is distinct from readiness and does not suppress failures. | | S04 | Retains verified immutable inventory across bounded maintenance passes and yields shared persistence capacity. | Ownership, root and configuration changes invalidate process-local reuse. | | A01 | Records sanitized transport phase, exception category, elapsed time and correlation. | No private content, credentials, provider URLs or headers are logged; uncertain provider requests are not replayed. | | S05 | Continues eligible startup cleanup passes without restarting the controller process. | Invalid authority, corruption and uncertain storage failures still stop; HTTP/application admission waits for recovery readiness. | A01 adds evidence for investigation. It does not identify or certify a fix for an external provider's connection failure. No simulation execution or completed simulation result cache was introduced. Pending-read coordination and verified immutable-input reuse are scoped to their stated identities and boundaries. ## Standalone and hosted consistency Standalone and SaaS consume the same shared assistant, catalogue and workbench source. Their applicable authorization, storage, execution and provider adapters remain distinct. Native HF checkpoint/WAL/retention changes apply only to the native HF profile; ordinary standalone execution does not acquire that startup cleanup dependency. Linux/Docker, managed hosting, BYOK and BYOS remain available under their existing setup and access controls. The consolidation preserves synchronous durability, lease takeover protection, current authorization, user/account isolation, quota accounting and provider request admission. Reduced request or transaction counts in controlled tests are not production latency, throughput or cost guarantees. ## Startup cleanup and the current HF observation The previous observed failure occurred while all 16 retained recovery-generation slots were occupied. Startup needed a free slot before creating its new checkpoint. Authenticated protected-object inventory and eligible deletion exceeded the old single 600-second cleanup deadline. Completed deletion cursors were durable, but restarting discarded process-local verified inventory. The continuation correction preserves that verified inventory across bounded passes in one process. Its defaults and accepted ranges are: | Variable | Default | Accepted range | | --- | --- | --- | | `PF_HF_STARTUP_CLEANUP_TIMEOUT_SECONDS` | 3,600 seconds | Integer 30–7,200 seconds | | `PF_HF_STARTUP_CLEANUP_STALL_TIMEOUT_SECONDS` | 600 seconds | Integer 30–3,600 seconds, no greater than the total ceiling | Only verified inventory progress, completed deletion or a reduction in retained generations renews the no-progress allowance. A further 4,096-pass bound applies. Storage-operation timeouts remain in force; these cleanup limits are cooperative between calls, so an in-flight call can finish beyond a cleanup boundary. None of these limits is a promised startup duration. WAL-receiver readiness uses its own existing budget. The local `hf spaces wait --timeout 25m` is an observation deadline and does not cancel the remote process when it expires. At this release's consolidation, the latest operator report showed the installed continuation patch at controller revision `3fbfb07fc4e52dfa6d8a696bebcd4cc3f4964fbd`, followed by `BUILDING` immediately after restart and a 25-minute wait timeout. No subsequent logs established the current startup phase, successful readiness or a new failure cause. These are operator observations, not independent live verification. For a timeout, inspect current status and unfiltered runtime logs before a restart. `PF_NATIVE_STARTUP_CLEANUP` distinguishes started, continuing, waiting, complete and stopped outcomes. Check progress counters as well as reasons; repeated startup records or `PF_NATIVE_STARTUP_FAILURE` mean a different outcome from a single process making progress. If still building, inspect build logs. Cleanup completion alone is insufficient: confirm WAL readiness, application startup/HTTP serving and the matching running revision. Another restart can repeat verification work even though already confirmed deletion cursors persist. ## Verification and evidence From the extracted release root, run: ```text python release_tools/verify_r34_responsiveness_consolidation.py ``` Current targeted execution counts, source identities and limitations are in `validation/reliability_consolidation_20261020/VALIDATION.json`. This source merge retains prior validation records as historical evidence. Repeated cases are test executions, not new distinct scientific benchmarks; historical benchmark totals must not be inflated by adding repeated patch checks. Package hashes establish byte consistency, not independent scientific or production acceptance. Targeted checks do not certify a complete scientific regression, native Windows runtime, live HF startup/performance, production PostgreSQL capacity, live AI or tracking-provider connectivity, external BYOS behavior or mixed-workload soak. The latest startup issue remains open until a fresh live log/status sequence establishes readiness. Consolidation does not change that acceptance status. ## Existing deployments Follow the [native HF deployment guide](docs/HUGGING_FACE_NATIVE_DEPLOYMENT.md) and the existing-deployment backup procedure. Generate a fresh compact native bundle from this full release and verify its complete source inventory. The compact scientific-code hash identifies a different artifact from the full archive hash. A historical patch's preserved scientific pin is not a pin to copy into a freshly generated full-release bundle. Preserve the existing Bucket/prefix, encryption and database keys, Variables, Secrets, quota meter/policy, configured limits and reconciled-request audit history. A deployment already at 40 GiB and `safe_lifecycle` retains that state; do not repeat the historical recovery operation, reset charges or restore old data as part of this source merge. A paused, drained controller and a newly verified private backup remain necessary before a deployment change. An uncertain commit response must be reconciled through its existing receipt and status checks, without blindly repeating the write. After confirmed startup, exercise sign-in/account switching, purpose/topology/ preset selection, authoring opening, small multi-file attachments, a normal assistant interaction, disposable conversation/attachment deletion, Run history selection and refresh, and the applicable storage/administration panels. Confirm both correct outcomes and responsiveness. These live checks remain acceptance work; they are not implied by archive generation.