PF research library · 8 min read

PF Simulation r34 — investigation recovery

r34 documentation · investigation-recovery.md

On this page
  1. Continuation and connection-recovery update
  2. What changes
  3. Continue a paused investigation
  4. When continuation is unavailable
  5. Configuration
  6. Upgrade and validation

Website edition: 27 November 2026. This guide is published from the corrected full r34 application. Read the full-release overview, storage-recovery correction and current validation scope for the current identities and qualification limits. Dated sections retain their original evidence scope.

The AI research assistant can pause a bounded investigation, retain its evidence and continue from a private checkpoint. The shared implementation serves OpenAI Responses, compatible chat-completions endpoints, DeepSeek, Gemini and Anthropic in both standalone and SaaS.

Continuation and connection-recovery update

The r34 + BYOK recovery revision addresses two separate problems. Earlier continuation requests restored tool history without explicitly asking the model to advance the investigation or supplying the previous partial conclusion. The updated request tells the model to use completed evidence and pursue unfinished work. The previous partial response is supplied as untrusted context, not as an instruction or proof that its claims are correct. Provider-native tool history and reasoning/signature blocks remain intact, and repeated identical tool calls reuse their recorded results.

Earlier transport diagnostics used the same warning for socket timeouts and other connection failures. Updated diagnostics distinguish an individual request timeout, a connection interruption and exhaustion of the overall investigation time budget. Truncated HTTP responses are rejected even if the received prefix happens to parse as JSON. Retries remain bounded by the existing retry count and overall deadline.

SaaS personal-key connections preserve the sanitized timeout type and share the passed connection budget across approved server addresses instead of resetting it for each address. System DNS lookup still follows the host resolver's own timeout; Python cannot cancel that operating-system call here. Elapsed lookup time is checked before further connection work.

A retryable failure can now retain a safe checkpoint before the first tool result, including a failed first request after resuming. Retry saved investigation uses that checkpoint; Continue investigation advances an ordinary budget pause. The status banner reflects the latest failed, paused or completed operation. Previous warnings remain in the conversation as historical records.

The update also corrects ordinary follow-up questions after completed OpenAI SaaS BYOK answers. Those answers now retain an exact plain-text continuation bound to the personal credential revision, allowing the next question to include the earlier completed question and answer. Rotating credentials still prevents reuse of incompatible private context. Historical answers that lack this binding remain visible, but are not assigned invented provenance.

These changes do not establish why a particular remote endpoint was slow or unreachable. The original generic yellow warning alone cannot distinguish a timeout, connection refusal, DNS failure or interrupted response. Expand Provider failure diagnostics to see the recorded code and any HTTP status. Raw provider response bodies and API keys are not exposed.

Diagnostic Meaning and next action
request_timeout A provider socket operation exceeded its available timeout. Check connectivity and the configured request/total budgets; retry the saved investigation when available.
network The connection failed or its response was interrupted. Check the endpoint and network; retry the saved investigation when available.
time_limit The bounded investigation exhausted its total time. Continue its retained checkpoint when available.
http_error The provider returned an HTTP status. Follow the displayed account, model-access, quota or service guidance.

For a provider that legitimately needs longer responses, the operator may increase PF_AI_TIMEOUT_SECONDS from its default 45 seconds up to 120, and PF_AI_TOTAL_SECONDS from 180 up to 600. These settings apply to SaaS personal-key requests too; a personal key does not override the operator's budgets. Restart/reload the service after changing its configuration. The individual timeout is limited by the remaining total time, and increasing either budget can increase latency and usage. Check the hosting proxy's request timeout as well. The update keeps the existing defaults and upper bounds.

What changes

In r33, an investigation could consume its last round reading evidence and then stop before the model received those results. r34 reserves a conclusion opportunity within the configured round limit. It disables tool use for that conclusion request. A provider request that ignores the no-tools instruction cannot execute further tools during the conclusion step.

Budget-limited progress is identified as partial. It does not become a claim that an investigation, correction or numerical validation finished. When time or context prevents a model-generated conclusion, PF reports the interruption and retains the available tool audit and citations. Genuine provider authentication, refusal and protocol failures remain distinguishable from an ordinary pause.

Repeated identical tool requests reuse a previously recorded result within the investigation. A repeated proposal or execution request therefore does not intentionally create another identical side effect. Repeated requests that make no progress end the current chunk instead of driving an unbounded loop.

Continue a paused investigation

  1. Open AI research assistant for the completed run.
  2. Review the partial response, evidence citations, recorded tools and any existing proposals.
  3. When Continue investigation is available, select it to request another bounded chunk of work.
  4. Review the resulting response or proposal. A proposed layer still requires numerical validation and explicit activation.

Continuation is an explicit action; the application does not automatically launch unlimited provider requests. Each continuation uses the configured time, round and tool budgets and counts as another metered chat in SaaS. Previously recorded usage remains part of the audit; it is not presented as newly consumed provider tokens.

The checkpoint preserves the model protocol history needed for continuation, including completed tool results and applicable native reasoning/signature state. This state remains private and is not exposed in the browser transcript. Original numerical outputs remain unchanged.

When continuation is unavailable

The checkpoint is tied to the exact owner, session, provider, model, endpoint, tool definitions, completed-run evidence, attachments, image-input policy, assistant instruction policy and active source/profile state. Changed inputs require a fresh investigation. Starting a new ordinary question supersedes the pending continuation for that session.

Checkpoint identifiers are single-use. Starting a continuation marks its saved state as running before external work. If a process stops with uncertain tool outcomes, PF does not infer that those tools never ran or automatically replay them. Inspect the retained proposals and runs before starting a fresh investigation. Hosted abandoned compute reservations retain their existing operator-reconciliation requirements.

Saved continuation is bounded to 2 MiB per private checkpoint, 2,048 history items, 256 cached tool requests and 16 total investigation chunks, including the initial chunk. There is one pending checkpoint per session, subject to existing owner/storage limits. An oversized or invalid checkpoint is reported as unavailable; useful public evidence and already-created proposals remain reviewable. A failed request is resumable only when a safe checkpoint was retained.

If the next request exceeds the configured context budget, PF retains the checkpoint and shows the minimum required PF_AI_MAX_CONTEXT_BYTES. A blocked continuation does not contact the model or consume another SaaS chat admission. After the operator increases that setting within the application's allowed range and reloads the service configuration, refresh the conversation to check whether continuation is available. This byte budget is separate from the model's token context window; increasing it cannot increase the model's own capacity.

Configuration

Defaults and upper bounds remain finite:

Setting Default r34 upper bound
PF_AI_MAX_ROUNDS 8 16
PF_AI_MAX_TOOL_CALLS 16 48
PF_AI_TOTAL_SECONDS 180 600
PF_AI_TIMEOUT_SECONDS 45 120
PF_AI_MAX_OUTPUT_TOKENS 4096 32768

The configured round budget includes the conclusion opportunity. A value of 1 permits only the tool-disabled conclusion request; at least 2 rounds are needed for tool investigation. The default of 8 remains a reasonable starting point, with explicit continuation for additional work. The total time budget is shared across requests, retries and tool work. Output limits apply per response and must also be supported by the selected model. Other context, response, attachment and execution limits still apply.

Increasing a budget can increase API usage and latency. It does not establish model accuracy or guarantee completion of every complex scenario. The new continuation action allows a user to decide whether another bounded investigation chunk is worthwhile.

Existing settings files and environment overrides remain supported. For longer synchronous SaaS investigations, hosting request timeouts must accommodate the configured operation duration. Private numerical validation/execution continues to require the configured sandbox and scientific dependencies.

Upgrade and validation

Extract r34 into a fresh folder, retain earlier installations and results, and launch the research workbench. Existing provider configuration is reused.

For this recovery revision, retain the existing assistant state, database and (in SaaS BYOK) the same credential vault key. Restart the application on the updated code and reload the browser. Do not overwrite or purge saved evidence to resolve a provider timeout. Installing changed source invalidates pending checkpoints through the existing source binding; their old diagnostics cannot be retroactively made more specific. If an older checkpoint is marked stale, start a new question using the retained run and explicitly reference the earlier findings. New checkpoints created by this revision can survive service restart when their provider, source, evidence, profile and credential revision are unchanged.

Rebuild/select the matching assistant execution image when deploying private code execution:

docker build -f Dockerfile.assistant -t pf-ai-research-assistant:r34 .

Use PF_AI_DOCKER_IMAGE=pf-ai-research-assistant:r34 for that image. Core-release changes still require rebasing and revalidating private source layers. Old r33 failures did not retain resumable investigation checkpoints; start a new question for those historical failures.

For the current r34 + BYOK recovery revision, use validation_r34_byok/test_execution.json and the accompanying PF_Simulation_r34_BYOK_Validation_Report.md. The release includes source hashes, test results and retained numerical evidence. To verify the current evidence or execute a new test pass against the original supplied r34 archive:

python release_tools/audit_r34_core.py verify
python release_tools/validate_r34_byok_release.py verify
python release_tools/validate_r34_byok_release.py execute --baseline /path/to/original/r34.zip

Execution requires the research/development dependencies and Node.js for the interface suites. Scripted provider stress tests exercise orchestration and protocol behavior. They do not establish live model accuracy, native Windows operation, deployed Docker isolation or production SaaS performance. Numerical checks support only their documented scope; experimental accuracy and commercial advantage remain outcomes to demonstrate.