mirror of
https://github.com/kuhyx/utils.git
synced 2026-11-13 01:50:59 +01:00
|
Some checks failed
dependency freshness / dependencies on newest stable (push) Waiting to run
earned_time pre-commit / pre-commit (push) Waiting to run
earned_time tests / test (push) Waiting to run
file length / file-length (push) Waiting to run
md-naming / markdown naming convention (push) Waiting to run
palette drift / palette (push) Waiting to run
repo-contract / repo contract (push) Waiting to run
shared gate tests / gate unit tests (push) Waiting to run
gatelock pre-commit / pre-commit (push) Has been cancelled
gatelock tests / test (push) Has been cancelled
music_theory tests / test (push) Has been cancelled
A live claim was not "input is locked": it is published before the window grabs, and leetcode-guard's study mode releases the grab while the claim lives on. leisure-watch (contract C2) must pause shadow billing only while a grab is really held. - Claim.grab_held (always serialised; missing key from an old writer reads as grab != "none"). Arbitration still uses the declared grab only. - Arbiter.set_grab_held(held=) rewrites the claim and holder copies in place through the owner's flocked fd (O_APPEND cleared, pwrite at 0, padded so the file never shrinks) -- same inode, flock liveness untouched. Never raises. - Set true only after grab_set/grab_set_global succeeded; RecoveryLoop reports each tick's real answer (a stolen, un-retaken grab reads false). LockWindow.report_grab_held(held=) is the hook for deliberate releases. - gatelock.held_grabs(claims_dir=None): live claims with grab_held and a real grab. Root callers pass /run/user/1000/gatelock/claims. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Dsh4Znwh2KnC7q6vbGpX1N |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| conftest.py | ||
| test_arbiter_lifecycle.py | ||
| test_arbiter_release.py | ||
| test_arbiter.py | ||
| test_claim_grab_held.py | ||
| test_density.py | ||
| test_detect.py | ||
| test_escape_budget.py | ||
| test_escape.py | ||
| test_fitcheck.py | ||
| test_grab_held_wiring.py | ||
| test_guards.py | ||
| test_keyboard.py | ||
| test_log_integrity.py | ||
| test_morning_session.py | ||
| test_night_lockdown.py | ||
| test_outputs_enumerator.py | ||
| test_outputs_randr.py | ||
| test_outputs.py | ||
| test_queue.py | ||
| test_recovery_invariants.py | ||
| test_recovery_reassertion.py | ||
| test_recovery.py | ||
| test_root.py | ||
| test_scrollable_into_view.py | ||
| test_scrollable.py | ||
| test_surfaces_focus.py | ||
| test_surfaces.py | ||
| test_vt.py | ||
| test_widget_group_ops.py | ||
| test_widget_group.py | ||
| test_widgets.py | ||
| test_window_grab.py | ||
| test_window_lifecycle.py | ||
| test_window_surfaces_lifecycle.py | ||
| test_window_surfaces_preempt.py | ||
| test_window_surfaces.py | ||
| test_window.py | ||