Split input host contract

This commit is contained in:
gamer147
2026-08-03 10:56:47 -04:00
parent fdf2afdadc
commit 853326dff0
4 changed files with 62 additions and 38 deletions

View File

@@ -798,6 +798,12 @@ do not mix mechanical moves with semantic changes.
imported `Model`, so no call sites changed; surface request shape, enum values, and graphics behavior remain
unchanged. Runtime validation remains green.
The eighth bounded contract slice introduced `IInputHost` for modal fullwidth entry, ADV wait overloads and
callback servicing, input clock, cursor resources, and skip-state interaction. `IHost` inherits the focused
contract; all fourteen members, the required base wait, overload/default chains, and existing host classes
remain behaviorally unchanged. Input transport records remain in their prior locations pending a separate
cleanup. Runtime validation remains green.
4. **Make the build graph express source ownership.** Stop linking production `.cs` files from `godot/` and
`tools/movie-corpus-gate/` into `Age.Engine.Tests`. Extract the platform-neutral frontend/movie/diagnostic
code into a small production project referenced by Godot, tests, and the corpus gate. Retain both existing
@@ -1158,9 +1164,8 @@ layer's rendering diverges from ADV; save layout.
## 8. Immediate next step
Continue step 3 of the **codebase consolidation** maintenance slice: clarify runtime contracts without changing
behavior or the aggregate host accepted by the VM. With diagnostic, lifecycle, audio, and movie contracts
established beneath `IHost`, shared movie/image transport neutral, and the graphics contract now separated, move
the input host contract next: modal text entry, ADV waits and callback servicing, input clock, cursor resources,
and skip-state interaction. Preserve the existing overload/default chains and aggregate `IHost` entry point before
separating the remaining ADV text/presentation contract.
established beneath `IHost`, shared graphics transport neutral, and graphics/input contracts now separated, move
the unchanged `FullwidthTextEditRequest`, `FullwidthTextEditResult`, and `AdvAutoWaitState` declarations from
`Hosting` to `Model` next. Preserve all consumers before extracting the remaining ADV text/presentation contract.
Concrete playthrough blockers may still preempt this bounded maintenance work; the consolidation effort does
not replace Phase B gameplay validation or the open cross-platform gates.