[core] arena-core 0.1.0: strict launcher parsers, library model, merge #1

Closed
mnovak wants to merge 0 commits from feature/core into main
Owner

arena-core 0.1.0: the pure core of Arena Domi (Day 1).

  • Strict parsers: Steam libraryfolders.vdf + appmanifest_.acf (own KeyValues tokenizer/parser/writer), Epic .item JSON, GOG entries from passed values, manual exe, Domi games (link or allow-listed https web game)
  • Library model (Game, GameId, Source, Launch, WinPath, CoverHint) with validating serde; merge/dedupe with source priority Steam > Epic > GOG > Domi > Manual
  • Launch::uri() rebuilt from validated fields only; Launch::exe requires .exe (no .bat/.cmd/.lnk reaches a shell)
  • Docs: README, docs/FORMATS.md (what each parser accepts/refuses, every cap), docs/PORTABILITY.md

Self-review (lead re-ran everything locally)

  • 128 tests pass: unit/valid fixtures, 20 hostile tests (huge, deep, wrong types, bad paths, non-UTF-8, NUL, duplicates, every truncation and every single-byte corruption of every fixture), 15 property tests (VDF never panics, round trip; launch strings; WinPath/GameId)
  • Tests were committed before the implementation (e85f160 before cf5ba34)
  • Pure: no fs/process/net/env/clock; forbid(unsafe_code); unwrap/expect/indexing/panic denied in the lib
  • cargo clippy -D warnings, cargo fmt --check clean; cargo check for wasm32-unknown-unknown and aarch64-linux-android pass
  • Dependencies: serde, serde_json (MIT/Apache-2.0), proptest dev-only. Hand-written fixtures, no real launcher files, no binaries
  • Open (verify on the PC in the app): GOG registry layout and launchParam quoting, the Epic launch URI form, Steam StateFlags for partial installs
arena-core 0.1.0: the pure core of Arena Domi (Day 1). - Strict parsers: Steam libraryfolders.vdf + appmanifest_<id>.acf (own KeyValues tokenizer/parser/writer), Epic .item JSON, GOG entries from passed values, manual exe, Domi games (link or allow-listed https web game) - Library model (Game, GameId, Source, Launch, WinPath, CoverHint) with validating serde; merge/dedupe with source priority Steam > Epic > GOG > Domi > Manual - Launch::uri() rebuilt from validated fields only; Launch::exe requires .exe (no .bat/.cmd/.lnk reaches a shell) - Docs: README, docs/FORMATS.md (what each parser accepts/refuses, every cap), docs/PORTABILITY.md Self-review (lead re-ran everything locally) - 128 tests pass: unit/valid fixtures, 20 hostile tests (huge, deep, wrong types, bad paths, non-UTF-8, NUL, duplicates, every truncation and every single-byte corruption of every fixture), 15 property tests (VDF never panics, round trip; launch strings; WinPath/GameId) - Tests were committed before the implementation (e85f160 before cf5ba34) - Pure: no fs/process/net/env/clock; forbid(unsafe_code); unwrap/expect/indexing/panic denied in the lib - cargo clippy -D warnings, cargo fmt --check clean; cargo check for wasm32-unknown-unknown and aarch64-linux-android pass - Dependencies: serde, serde_json (MIT/Apache-2.0), proptest dev-only. Hand-written fixtures, no real launcher files, no binaries - Open (verify on the PC in the app): GOG registry layout and launchParam quoting, the Epic launch URI form, Steam StateFlags for partial installs
mnovak added 4 commits 2026-11-22 23:37:58 +01:00
Author
Owner

Merged into main with --no-ff as 0ac5223; tagged core-v0.1.0.

Merged into main with --no-ff as 0ac5223; tagged core-v0.1.0.
mnovak closed this pull request 2026-11-22 23:38:02 +01:00

Pull request closed

Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: mnovak/ArenaPublic#1