Skip to content

app: apply confirmed ultrathink effort changes - #3502

Merged
ashhart merged 2 commits into
ashhart:mainfrom
AIflow-Labs:aiflow/fix-ultrathink-confirmation
Nov 18, 2026
Merged

ashhart merged 2 commits into
ashhart:mainfrom
AIflow-Labs:aiflow/fix-ultrathink-confirmation

Conversation

@AIFlowML

@AIFlowML AIFlowML commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

What this changes

change_setting accepts the documented ultrathink value, but its confirmation handler checked for ultrathinks. Clicking Apply now saves the canonical effort and marks the proposal applied only after persistence succeeds.

The production fix is one character. The integration regression exercises the actual tool proposal, renderer event/store and settings-save IPC boundary, including an offscreen source conversation. It also checks rejection of the unsupported plural, retention after a save failure and dismissal without saving.

Checks on this head

Verified 16 November 2026, 16:25 Asia/Bangkok. Base for this PR: e7e24243d63e232b05d4892df4fa01c9a2d6c70b. The published head is unchanged. Its prior full-suite/platform receipts below remain valid; focused tests, types, formatting and preflight were repeated for review. Our 14 contribution branches also pass 36/36 focused test files in a cumulative composition. This is a focused compatibility run, not a full combined-suite result.

  • Head commit: 5670ec697e13493c51bb95417bcb89f2f3415125.
  • Lean checker on base/head: 337/337 inherited findings; zero new findings. python3 tools/pr_check.py --base e7e24243d63e232b05d4892df4fa01c9a2d6c70b: zero errors, 0 warnings.
  • Tests run, with the command and pass, fail and skip counts:
    • From app/, node node_modules/jiti/lib/jiti-cli.mjs electron/agent/setting-confirmation.test.ts: four scenarios pass, zero failures/skips. The original source fails the canonical Apply assertion with 0 save calls instead of 1; the correction passes. The regression also verifies persistence acknowledgement, rejection of the unsupported plural, failed-save retention and dismissal without saving.
    • npm test: 855/856 files pass, one inherited failure, no discovered files omitted. The runner does not aggregate individual case skips. The unchanged failure is electron/agent/sandbox-git-control.test.ts, assertion git commit still works, tracked separately in app: keep Git working when macOS auto-selects Xcode #3479; it passes in the combined validation below.
    • npm run typecheck, npm run build and npm run verify:mobile: pass.
    • Four focused files pass with all twelve existing contribution heads composed: this regression, sandbox Git control, offline Parallel search and the actual bot/routine request regressions. No failures in that focused composition; no claim of a full combined suite.
  • CI: App and mobile checks: success; No GPU: success; Zig format: success. All 12 applicable upstream checks passed on this head. The two scheduled nightly jobs were skipped.
  • Not run, and why: packaged Electron, live provider/model and physical mobile-device runs. This changes the existing confirmation handler; the real renderer store and IPC acknowledgement/error behavior are exercised with a controlled settings-save endpoint. No layout, native persistence or engine qualification is claimed.

Receipt

N/a for the inference receipt: this is app setting-confirmation plumbing, without an engine, model or numerical change.

  • Main against branch: cells and numbers, or why they can't be run: n/a for inference cells; the before/after application regression is described above.
  • Boxes it reaches: desktop confirmation of agent-proposed app settings.
  • New switch? Default, accepted values, profile row: n/a; no switch, setting, default or profile row added. The confirmation now accepts the existing canonical ultrathink spelling and rejects the unsupported plural.
  • Environment, with the TensorFold commit, Zig and backend toolchain, machine and GPU, checkpoint and revision: base/head above; Apple M5 Max, 128 GiB, macOS 27.2, Node 22.23.3 and npm 10.9.8. Zig 0.17.0 used for formatting only. Checkpoint/backend revision n/a; no model loaded.
  • Paths and platforms the change reaches, which I ran and which I could not: actual tool-to-renderer-store flow on macOS; desktop/mobile static checks as above. Windows/Linux desktop, packaged Electron and physical mobile devices unrun locally.
  • Exactness, from tools/bench_concurrent.py --alone --serial or token_sha against "draft": false: n/a; no numerical engine change.
  • Main against this branch, same machine and checkpoint, posted before asking for a run on our machines (or why you can't): n/a for checkpoint benchmarking; the app regression ran locally, without requesting maintainer hardware.
  • Decode speed before and after, from tools/bench_openai.py: n/a; no engine performance claim.
  • Prompt speed before and after: n/a; no prompt-processing implementation change.
  • Licence of any new weights or drafter, or "n/a": n/a; no weights or drafter added.

Checklist

  • The title and description match the head commit, including the receipt and the stack.
  • New tests fail before the change, pass after it, and skip cleanly without their dependency. The regression uses pinned project dependencies; no model or external service is required.
  • Comments and docstrings are one line. No measurements or history in the source.
  • No personal data, machine names, internal hosts or local paths in the diff or its commits. No AI attribution lines. The outgoing commit uses the approved public Git identity.

Igor Lessio - AIFLOW LABS

@AIFlowML
AIFlowML marked this pull request as ready for review November 16, 2026 09:27
@ashhart

ashhart commented Nov 16, 2026

Copy link
Copy Markdown
Owner

Thanks @AIFlowML. The one-token fix matches the allowed values, and the test goes through the real tool, store and settings save. CI is green.

Nothing more is needed from you. It's in our landing queue.

  • Synthena

@ashhart
ashhart force-pushed the aiflow/fix-ultrathink-confirmation branch from 5670ec6 to 7f876fd Compare November 18, 2026 17:06
@ashhart
ashhart merged commit 7b2717a into ashhart:main Nov 18, 2026
2 of 16 checks passed
@ashhart

ashhart commented Nov 18, 2026

Copy link
Copy Markdown
Owner

Thank you @AIFlowML. This is merged into main with your commits under your own name, so you're listed as a TensorFold contributor. It ships in the next release, credited to you in the changelog and the release notes.

@ashhart

ashhart commented Nov 18, 2026

Copy link
Copy Markdown
Owner

Thanks @AIFlowML! This is in TensorFold 1.2.10, out now: https://github.com/ashhart/TensorFold/releases/tag/v1.2.10

  • Synthena

joshuaswarren pushed a commit to joshuaswarren/TensorFold that referenced this pull request Nov 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants