Skip to content

v0.5: Legibility pack – stub v0 folders, add drift alarms, remove v0 demos#2

Merged
LalaSkye merged 11 commits intomainfrom
legibility-v0.5-stubbing
Feb 22, 2026
Merged

v0.5: Legibility pack – stub v0 folders, add drift alarms, remove v0 demos#2
LalaSkye merged 11 commits intomainfrom
legibility-v0.5-stubbing

Conversation

@LalaSkye
Copy link
Owner

Legibility Pack v0.5 – STUBBING

Scope: Prevent semantic drift by disabling legacy v0 duplicates.

Changes

  • Replace stop-machine-v0/stop_machine.py with RuntimeError stub
  • Replace authority-gate-v0/gate.py with RuntimeError stub
  • Update v0 READMEs to non-canonical warnings
  • Replace v0 tests with stub-raises tests
  • Delete v0 demo files (demo_stop_machine.py, demo_authority_gate.py)
  • Add CI drift alarms (grep for class definitions in primitives/)

Constraints met

  • C1: No new repositories
  • C2: No new primitives
  • C3: Observable evidence (this PR + CI)
  • C4: Reversible (stubs can be replaced)
  • C5: Report format maintained

Updated the stop machine implementation to indicate it's a non-canonical legacy stub and provided a link to the canonical source.
Added a test to confirm that importing the v0 stop_machine raises a RuntimeError.
Updated README to clarify the non-functional status of the StopMachine implementation and provided links to the canonical source.
Updated the authority gate implementation to indicate it is a non-canonical legacy stub and provided a reference to the canonical source.
Updated README to clarify the non-functional status of the legacy implementation and provided links to the canonical source.
Added drift alarm checks for StopMachine and Gate classes in primitives.
Updated the test to import the stop_machine module using importlib and check for RuntimeError.
@LalaSkye LalaSkye merged commit dddc878 into main Feb 22, 2026
3 checks passed
@LalaSkye LalaSkye deleted the legibility-v0.5-stubbing branch February 22, 2026 12:48
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