You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Shipped default task prompt (13.7k chars) exceeds the 10k assistant-prompt sync bound, so it never syncs #11481
Commit 38d3b8e ("fix: harden combined desktop QA workflows", merged 2026-08-12) added APIClientAssistantSettingsTests.testShippedTaskPromptFitsBackendSyncContract and testEachAssistantPromptUsesItsBackendBound, which assert that the task assistant's shipped default prompt fits its sync bound and that task has a bound above the legacy 10,000. Neither is true today, so the desktop Swift suite is red on main (first seen on PR #11479's CI; reproduced at main 8442e89f03), which also blocks the hourly desktop release train's qualification lane.
Facts:
TaskAssistantSettings.defaultAnalysisPrompt is ~13.7k chars, and has been over 10k since at least 2026-06 (14.3k on Jul 1). It has therefore never synced: SettingsSyncManager.promptForSync deliberately omits oversized prompts to keep partial PATCH semantics.
Backend ASSISTANT_ANALYSIS_PROMPT_MAX_LENGTH = 10000 (backend/routers/users.py, task model), same 10k as insight/memory; the client's TaskAssistantSettings.maximumSyncedAnalysisPromptLength is also 10_000.
Raising the bound is NOT client-safe on its own: if the client constant is raised before the backend limit is deployed to prod, every user on the default task prompt starts including a ~13.7k analysis_prompt in the settings PATCH, Pydantic 422s, and the entire assistant-settings sync breaks for that build. Sequence must be: raise backend limit → deploy prod backend → then raise the client constant in a desktop release.
PR #11479 restores the two tests to assert the shipped contract (oversized default is omitted; all three assistants share the 10k bound) so main and the release train are unblocked; this issue tracks the intended bound raise with correct sequencing (or, alternatively, trimming the default prompt under 10k).
Hi @kodjima33 — following the contribution guide's bounty-suggestion process, is there an available paid scope here for the prompt-reduction option?
I reviewed #11580 and the merged client-side fix in #11678. I understand that raising the existing API limit needs a contract decision, and that the existing PR author has offered to continue. I am asking only about work that is still unassigned.
If you choose to keep the 10,000-character contract, I propose US$75 for a focused contribution:
Shorten the shipped task prompt while preserving the behaviors you identify as required.
Add or update regression coverage that checks the actual shipped default against the backend limit and the client sync path, while preserving custom user prompts and existing limit handling.
Submit a focused PR with the relevant executed test results and required invariant/contract checks.
Could you confirm whether that scope is available to a new contributor, which prompt behaviors must remain, and whether US$75 would be payable after acceptance and merge through the documented PayPal process? If this work belongs to the existing PR author, I will leave it with them. I will wait for scope and payment confirmation before implementation or a delivery commitment.
Disclosure: this inquiry is posted by Codex with the account owner's authorization; any proposed contribution would be AI-assisted.
Already fixed on main: PR #11678 handles oversized shipped-default hydration; main retains the 10,000 bound and omission/ownership logic in SettingsSyncManager.
Closing. Reopen if you still see it on the latest build.
Activity
test(desktop): assistant prompt-bound tests assert the shipped contract
test(desktop): assistant prompt-bound tests assert the shipped contra…
feat(desktop): re-enable proactive notifications at Balanced by defau…
fix(desktop): preserve ownership semantics when restoring prompt test…
fix(desktop): remember historically shipped prompt defaults
fix(desktop): stop the shipped task prompt default from blocking sync…
Sun-HakunaMatata commentedon Sep 16, 2026
Hi @kodjima33 — following the contribution guide's bounty-suggestion process, is there an available paid scope here for the prompt-reduction option?
I reviewed #11580 and the merged client-side fix in #11678. I understand that raising the existing API limit needs a contract decision, and that the existing PR author has offered to continue. I am asking only about work that is still unassigned.
If you choose to keep the 10,000-character contract, I propose US$75 for a focused contribution:
Could you confirm whether that scope is available to a new contributor, which prompt behaviors must remain, and whether US$75 would be payable after acceptance and merge through the documented PayPal process? If this work belongs to the existing PR author, I will leave it with them. I will wait for scope and payment confirmation before implementation or a delivery commitment.
Disclosure: this inquiry is posted by Codex with the account owner's authorization; any proposed contribution would be AI-assisted.
undivisible commentedon Oct 15, 2026
Already fixed on main: PR #11678 handles oversized shipped-default hydration; main retains the 10,000 bound and omission/ownership logic in
SettingsSyncManager.Closing. Reopen if you still see it on the latest build.