Skip to content

Fix/engine - #175

Open
andev0x wants to merge 9 commits into
mainfrom
fix/engine
Open

Fix/engine#175
andev0x wants to merge 9 commits into
mainfrom
fix/engine

Conversation

@andev0x

@andev0x andev0x commented Sep 13, 2026

Copy link
Copy Markdown
Member

No description provided.

- Define ErrInvalidTransition/ErrBackwardTransition/ErrEventNotAllowed
- Replace all string-matched error checks with errors.Is/As
- Add composite prompt guard (<=6 words, >=0.95 conf)
- Add generationEpoch isolation for async payloads
- Filter stale RuntimeResultMsg/domainEventMsg/result messages
- Zero-timer wheel + timestamp scroll state

- Pool slice+join viewport + truncate fix

- CursorStatic pure-SGR virtual cursor
- Footer/stage pre-existing changes
- Sanitizer and streaming tests
- Bi-modal virtual cursor (500ms idle blink; freeze-ON scroll frame)
- Token glyph flip: ↑=input ↓=output; footer ^C stop badge + width-aware
- Lock-free MPMC ring (overflow drain) + non-blocking producer send
- New tests: TestBiModalVirtualCursor, TestFooterTokenLayout,
  TestEngineStreamDecoupling; full race suite clean
- Purge hardcoded 5-slot grid (22/8/8/12/10) from footer
- Natural inline flow: tight ' · ' separator, faint dot
- Two-zone flex dispatch: left cluster / right pinned badge
- Dynamic gap = totalWidth - width(left) - width(right)
- Zero trailing padding; fixed-precision token formatters
- Add flexPinRight, menuBadge, footerDotStyle
- Update legacy tests; add TestFooterFlexFlowLayout,
  TestZeroFloatingSeparators
- layout_builder: formatTokensCompact alignment
- footer: model/update/status/status_test/token_usage_render updates
- telemetry tracker test updates
- add minimal ≤50 token prompt tiering (BuildMinimal/Agentic)
- drop tools on casual payload in all providers
- isolate TUI traces from LLM history via GetLLMMessages
- prune casual window to 6 msgs and strip heavy blocks
- analyze test cases for coverage
- resolve test failures
- adjust expected elapsed time from 5ms to 50ms
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