Skip to content

packs: labelle check lint (event-direction + raw .global writes + cross-pack registry access) #270

Closed

Description

@apotema

labelle check lint — the enforcement "net" (Phase 5).

AST-scan for what the compile wall can't catch:

  • event-direction inversions — a low pack subscribing to a high pack's event (events are inherently shared, so direction is lint-only).
  • raw .global-facet writes that bypass the sanctioned API — e.g. addComponent(Locked{...}) instead of Locked.tryAcquire (reintroduces double-claim).
  • cross-pack registry access on foreign names (getType/entityHasNamed) — until the two-tier registry partition (engine #650) makes it a compile error.

This is the backstop while enforcement strengthens across phases.


Part of Packs — RFC Flying-Platform/flying-platform-labelle#561 · umbrella labelle-toolkit/labelle-engine#651 · epic labelle-toolkit/labelle-engine#650.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions