Skip to content

refactor(core): share gameplay rules and declare relays by family - #678

Merged
Mathih13 merged 2 commits into
mainfrom
t3/issue-635-phase-7
Oct 11, 2026
Merged

Mathih13 merged 2 commits into
mainfrom
t3/issue-635-phase-7

Conversation

@Mathih13

@Mathih13 Mathih13 commented Oct 11, 2026 •

Copy link
Copy Markdown
Contributor

Spell effects, gameplay rules and Relay wiring had separate definitions that contributors had to keep in sync. The Gateway could also disagree with the Module about carried items, quest completion, trainer state and movement speed.

The shared crate now owns the typed effect taxonomy and the pure rules both tiers call. Each Protocol Family declares its Relay tables and callbacks next to its outbound builders. Those declarations generate subscriptions and callback registration. Package API version 4 exposes actor::EffectKind and keeps existing Actor byte values.

This completes phase 7 of #635. Closes #635.

Local validation passed: 306 shared tests, 402 importer tests, 1,564 Module tests, 1,990 Gateway unit tests and 144 schema-parity tests. Package API and build-script tests, the package-delta and test-support suites, formatting, script tests and workspace Clippy also passed. Data-dependent and standalone Gateway tests remain ignored in the unit tier. All nine CI checks passed on 7b826044, including all three durable jobs, Gateway bindings, the Headless Client checks and the Official Package build. Rust, durable tests and bindings, Runtime Scripts.

Two independent adversarial review rounds found and resolved the mounted-speed projection gap and generated-query schema coverage. The final review found no remaining material objections.

Made with GPT-6 Astra in the Codex harness through T3 Code.

@Mathih13
Mathih13 marked this pull request as ready for review October 11, 2026 15:25
@Mathih13
Mathih13 merged commit 5fac28f into main Oct 11, 2026
9 checks passed
@Mathih13
Mathih13 deleted the t3/issue-635-phase-7 branch October 11, 2026 18:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Contributor readiness: retire text-pinning tests, cut onboarding, split the Store seam

1 participant