Program: implement SimpleBot #86

Closed
opened 2026-08-08 08:24:31 +00:00 by hugo · 1 comment
Owner

Objective

Port SimpleBot using the public Rust client API for login, IM/chat handling, movement, animations, and clean shutdown.

Deliverables

  • Preserve documented arguments and help/where/sit/stand/dance/fly/walk/jump/greeting commands.
  • Use async event subscriptions with cancellation and no retained client cycles.
  • Provide fake-grid scripted conversations and redact credentials.

Validation

  • CLI/help and fake-grid behavior tests pass.
  • All commands produce expected client calls/replies.
  • SIGINT/logout leaves no tasks or sockets.

Prerequisite

The library behavior required by the program is implemented and its translated parity tests pass.

Project constraints

  • Programs must use the native Rust public API; no CLR, C# process, bridge, RPC, or fallback.
  • Provide deterministic offline/fake validation before opt-in live or device tests.
  • Never log/store credentials or capability tokens, and keep destructive/spending actions separately opt-in.
  • Update program/source completeness, docs, and workspace validation evidence.
## Objective Port SimpleBot using the public Rust client API for login, IM/chat handling, movement, animations, and clean shutdown. ## Deliverables - Preserve documented arguments and help/where/sit/stand/dance/fly/walk/jump/greeting commands. - Use async event subscriptions with cancellation and no retained client cycles. - Provide fake-grid scripted conversations and redact credentials. ## Validation - CLI/help and fake-grid behavior tests pass. - All commands produce expected client calls/replies. - SIGINT/logout leaves no tasks or sockets. ## Prerequisite The library behavior required by the program is implemented and its translated parity tests pass. ## Project constraints - Programs must use the native Rust public API; no CLR, C# process, bridge, RPC, or fallback. - Provide deterministic offline/fake validation before opt-in live or device tests. - Never log/store credentials or capability tokens, and keep destructive/spending actions separately opt-in. - Update program/source completeness, docs, and workspace validation evidence.
hugo added this to the 11 - Programs and live-grid validation milestone 2026-08-08 08:24:31 +00:00
hugo added the enhancement label 2026-08-08 08:24:31 +00:00
Author
Owner

Implemented in f0fd975.

  • Added the native async simple-bot client with positional/environment credentials, bounded login timeout, IM/local-chat subscriptions, every requested command and alias, native movement/animation calls, and Ctrl-C cleanup.
  • Added cancellation-safe delayed jump/greeting work, bounded event delivery, subscription teardown without retained client cycles, logout, and client disposal.
  • Added deterministic bounded fake-grid scripts, full call/reply transcripts, self-message filtering, credential/token/capability redaction, stable exit codes, and user documentation.
  • Implemented the public native Animations::dance1() mapping required by the program and regenerated API coverage.

Verified: SimpleBot unit and CLI suites; translated core_runtime_shims; native callback/redaction and client-retention tests; rustfmt; Clippy with warnings denied for changed crates; shim generation/API coverage/API compile; complete workspace all-target check and no-run test build; rustdoc with warnings denied.

Implemented in f0fd975. - Added the native async `simple-bot` client with positional/environment credentials, bounded login timeout, IM/local-chat subscriptions, every requested command and alias, native movement/animation calls, and Ctrl-C cleanup. - Added cancellation-safe delayed jump/greeting work, bounded event delivery, subscription teardown without retained client cycles, logout, and client disposal. - Added deterministic bounded fake-grid scripts, full call/reply transcripts, self-message filtering, credential/token/capability redaction, stable exit codes, and user documentation. - Implemented the public native `Animations::dance1()` mapping required by the program and regenerated API coverage. Verified: SimpleBot unit and CLI suites; translated `core_runtime_shims`; native callback/redaction and client-retention tests; rustfmt; Clippy with warnings denied for changed crates; shim generation/API coverage/API compile; complete workspace all-target check and no-run test build; rustdoc with warnings denied.
hugo closed this issue 2026-08-11 07:30:43 +00:00
Sign in to join this conversation.