Skip to content
Beskid Platform specification

Beskid

Jump to a Beskid service

Beskid

Jump to a Beskid service

Contracts and edge cases

Platform spec article

Contracts and edge cases

Spec standingStandard

Owner
Piotr Mikstacki
Submitter
Piotr Mikstacki

Document contracts and edge cases for the Console Controls feature: role-specific normative detail beyond the feature hub.

  • Feature hub: Console Controls
  • Sibling articles in this bundle (design model, contracts, flow, examples, verification)
IDRequirement
CTL-001Frame.Render must clamp child layout to columns × rows from ConsoleSize.
CTL-002Progress ratio must be in 0..=1; out-of-range should clamp.
CTL-003Full-screen controls should emit Erase.DisplayAll before draw when ANSI enabled.
CTL-004LiveTick must not block the scheduler indefinitely; one tick == one render pass.
  • Terminal shrink: controls should truncate lines rather than panic.
  • Zero-size terminal: render may produce empty buffer.
  • Resize mid-frame: next tick or ConsoleMessage::Resize should trigger relayout (Console terminal events).

See the verification and traceability article in this bundle and compiler/corelib/beskid_corelib/tests/corelib_tests/src/console/.