testsAndMisc/docs/superpowers/contracts/monitor-autoconfig-boot-2026-11-12.json
Krzysztof kuhy Rudnicki ba7b502322
Some checks are pending
dependency freshness / dependencies on newest stable (push) Waiting to run
md-naming / markdown naming convention (push) Waiting to run
Pre-commit checks / pre-commit (${{ matrix.group }}) (mypy, mypy) (push) Waiting to run
Pre-commit checks / pre-commit (${{ matrix.group }}) (pylint, pylint) (push) Waiting to run
Pre-commit checks / pre-commit (${{ matrix.group }}) (rest, ) (push) Waiting to run
Pre-commit checks / pre-commit (${{ matrix.group }}) (shellcheck, shellcheck) (push) Waiting to run
Python tests / test (push) Waiting to run
repo-contract / repo contract (push) Waiting to run
Shell tests / shell-tests (push) Waiting to run
Shell tests / lib-tests (push) Waiting to run
Shell tests / arch-tests (push) Waiting to run
Monitors: survive boot, biggest is primary
The watcher started at the LightDM greeter, X refused it, and it hit
the systemd restart limit in 15 s, so DP-2 never came up. It now waits
for X, the unit passes XAUTHORITY, and i3 restarts it at login. The
biggest monitor is now primary and leftmost (DP-0 was hardcoded).
Prunes the oldest evidence file (60-file cap).

CI_GREEN_SKIP: main is red from a runner DNS outage (apt could not
resolve security.ubuntu.com), not code; failed jobs re-run.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WzxdWWTekMNwEdyLgWRgTs
2026-11-12 08:03:06 +01:00

13 lines
921 B
JSON

{
"title": "Monitor autoconfig: survive boot, biggest monitor primary",
"objective": "DP-2 (4K) connects automatically on every boot and hotplug with no manual xrandr: the watcher waits for X at the LightDM greeter instead of crashing, and the biggest monitor becomes primary and leftmost.",
"acceptance_criteria": [
"plan(outputs) with no primary named puts the largest native mode first at 0x0 with --primary",
"_open_display retries on DisplayConnectionError instead of exiting",
"unit sets XAUTHORITY=%h/.Xauthority; i3 config restarts the unit on login/reload",
"live: xrandr --listmonitors shows DP-2 primary 3840x2160+0+0 and HDMI-0 at +3840+0"
],
"out_of_scope": ["Per-monitor custom layouts", "Wayland"],
"verifier": "python3 -m pytest -q linux_configuration/tests/test_monitor_layout.py linux_configuration/tests/test_monitor_autoconfig.py; pre-commit run --files <changed-files>"
}