Skip to content

feat: add llama.cpp runtime sizing editor - #77

Merged
sjug merged 1 commit into
quadsproject:mainfrom
sjug:phase4-llamacpp-runtime-editor
Aug 6, 2026
Merged

feat: add llama.cpp runtime sizing editor#77
sjug merged 1 commit into
quadsproject:mainfrom
sjug:phase4-llamacpp-runtime-editor

Conversation

@sjug

@sjug sjug commented Aug 6, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Turn the verified llama.cpp runtime card into a typed automatic/custom sizing editor that seeds the exact persisted requested policy, previews aggregate context, and validates fixed gateway limits before submission.
  • Follow the transactional relaunch through the existing provisioning task and log stream while identifying task generations by started_at, including fast terminal failures and later unrelated lifecycle operations.
  • Protect multi-tab edits with pristine re-seeding, dirty-form staleness, explicit Reset behavior, confirmation, double-submit prevention, and fail-closed handling of ambiguous network responses.
  • Add accessible responsive controls, operator and upgrade documentation, controller tests, and DOM-level regressions.

Safety and behavior

The browser performs only deterministic boundary validation and arithmetic preview. The gateway estimator and post-load runtime verification remain authoritative, and the node leaves routing while the disruptive relaunch runs.

An ambiguous lost POST response keeps the form locked until a new task generation appears or the operator reloads to reconcile current node and task state. The lifecycle lease rejects concurrent relaunch attempts.

Validation

  • Python 3.12: 1,484 tests passed
  • Python 3.13: 1,484 tests passed
  • Coverage: 92.57% against the 92% floor
  • mypy strict: 143 files, no issues
  • Ruff check and format, ShellCheck, Node syntax checks, and git diff --check: clean

Post-merge validation

Run the agreed Phase 4 staging matrix, including the two-tab stale-form scenario and deep-JSON equality between the submitted custom policy and llamacpp_runtime.requested after relaunch.

@sjug
sjug requested review from grafuls and sadsfae August 6, 2026 12:09
Turn the verified runtime card into a typed automatic and custom sizing
editor. Seed it from the persisted requested policy, preview aggregate
context, validate fixed limits, and confirm the disruptive relaunch.

Track provisioning tasks by started-at generation so status and logs
attach only to the intended operation. Handle fast failures, stale
multi-tab edits, later lifecycle tasks, and ambiguous network responses
safely.

Add accessible responsive controls, operator documentation, and
controller and DOM regressions for the full interaction contract.
@sjug
sjug force-pushed the phase4-llamacpp-runtime-editor branch from add53ec to a08ef1b Compare August 6, 2026 12:13
@sjug
sjug merged commit 9251b03 into quadsproject:main Aug 6, 2026
3 checks passed
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.

1 participant