Skip to content

refactor: remove dead lazyInit field from codebase#548

Merged
FL4TLiN3 merged 2 commits intomainfrom
refactor/remove-lazy-init
Feb 17, 2026
Merged

refactor: remove dead lazyInit field from codebase#548
FL4TLiN3 merged 2 commits intomainfrom
refactor/remove-lazy-init

Conversation

@FL4TLiN3
Copy link
Contributor

Summary

  • Remove the lazyInit field from all schemas, types, runtime code, and config files (25 files, -219 lines)
  • Delete the lazy-init.test.ts E2E test and lazy-init.toml fixture (tested batch event timing, not lazy initialization)
  • Remove lazyInit from CI workflow matrix, TOML configs, and documentation

The field existed in schemas and types but no code ever read it to control behavior — SkillManager.fromExpert() connects all skills synchronously regardless. All hardcoded assignments set it to false.

Supersedes #547.

Test plan

  • pnpm typecheck — all 23 packages pass
  • pnpm test — all unit tests pass
  • pnpm build — all packages build
  • pnpm format-and-lint — no new issues
  • pnpm run validate:changeset — passed
  • grep -r lazyInit returns only CHANGELOG.md (historical)

🤖 Generated with Claude Code

The lazyInit field existed in schemas and types but no code read it to
control behavior. All hardcoded assignments set it to false, and
SkillManager.fromExpert() connects all skills synchronously regardless.
Remove the field, its E2E test (which tested batch event timing, not
lazy initialization), and all references across 25 files.

Supersedes #547.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Missed in previous commit when switching branches.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@FL4TLiN3 FL4TLiN3 merged commit 2ef7374 into main Feb 17, 2026
11 checks passed
@FL4TLiN3 FL4TLiN3 deleted the refactor/remove-lazy-init branch February 17, 2026 03:16
@FL4TLiN3 FL4TLiN3 mentioned this pull request Feb 17, 2026
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