Skip to content

refactor(module): narrow the Package API to named operations - #665

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

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

Conversation

@Mathih13

@Mathih13 Mathih13 commented Oct 11, 2026 •

Copy link
Copy Markdown
Contributor

Packages could depend on whole Module families through broad root exports. This made internal changes part of the Package contract.

Package API v3 names five roots: actor, hooks, package, tables, and script_binding. Table exports are explicit. Actor operations now own sessionless body restoration and movement stopping. The Package API lint runs as a named test; the build script retains code generation.

Phase 6 of #635. The Official Packages migration uses the matching t3/issue-635-phase-6 branch. Phase 7 remains separate.

Validation on 55118071: workspace Clippy, Wasm compilation, and 4,732 local tests pass, including 141 schema-parity tests, 37 API lint tests and seven build-script tests. With Official Packages installed, 1,691 Module unit tests, debug compilation and three private durable tests pass: controller cutover, remote-target movement, and stopping at the rendered position between ticks.

Two independent adversarial reviews are clear. Review fixes cover nested import and Unicode alias escapes, raw C strings, and quadratic comment scanning. The reviewers checked the moved Actor operations against their former Package implementations and found no schema or reducer-registration changes. All nine Core CI checks passed. Official Packages full CI exposed stale upgrade and cooldown fixture assumptions; those repairs are in the paired PR. The Core check passed again with Packages 15312b6. Full Official Packages CI passed on 0b1a90a, including all durable and acceptance jobs.

The branch now includes main at ce53af37 through merge 6e73c274. The integration preserves the narrowed Package API and the Hearthstone fix. Independent review found no integration defects. Local verification passes: formatting, 1,570 Core Module tests, 1,691 Module tests with Packages installed, 37 Package API lint tests and all three Hearthstone durable tests. All nine Core CI checks passed on 6e73c274. Full Official Packages CI is still running on 607a4c5.

Models: GPT-6 Astra and GPT-6.1 Sol. Harness: Codex in T3 Code.

@Mathih13
Mathih13 merged commit 1b7ea35 into main Oct 11, 2026
9 checks passed
@Mathih13
Mathih13 deleted the t3/issue-635-phase-6 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.

1 participant