Low-Context Execution Packet
Use branch stage/d3-11-live-bridge.
Do not begin until D3-07 and D3-10 both have passing outcome reports.
Frontend changes:
- replace local echo with selected send path
- keep a compile-time flag to re-enable local echo for offline debug
- poll receive path non-blockingly once per frame or via the proven background path
- drop malformed packets into a debug counter instead of freezing
Before editing frontend network code, search and cite relevant atoms:
scripts/intel/query-shachi-atoms.sh search "non blocking socket"
scripts/intel/query-shachi-atoms.sh search "KOS network"
Backend changes:
- run the D3-10 listener through the documented command or service
- enable logging to
/mnt/kitchen/collab/d3-tui/logs/d3-11/ - keep the kill command available during testing
Autonomous test script should live at:
scripts/live_bridge_50_cycle.py
Test loop requirements:
- inject or simulate input using D3-01 method
- send
Ping Hermes Core <n>forn=1..50 - wait for frontend receipt proof
- record send timestamp, backend receive timestamp, backend send timestamp, frontend receipt timestamp
- verify message ID and body integrity
If OCR is used, save OCR screenshots and parsed text. If a hidden frontend debug log is used, document where it is written and why it is reliable.
docs/LIVE_BRIDGE_VALIDATION_REPORT.md must include:
- 50-cycle result table or CSV path
- average RTT, p95 RTT, max RTT
- packet loss and malformed count
- FPS or stutter notes
- proof video path
- rollback instructions to local echo