fix: keep Walker lifecycle simple

This commit is contained in:
kiri committed 2026-09-05 22:22:05 +02:00
1 parent 663188920e
commit ca65328b32
2 files changed
+25 -24

No files matched your search

+25 -20
View File
@@ -22,24 +22,26 @@ user-level, harmless, temporary, or needed only for live verification.
## Current checkpoint ## Current checkpoint
- Tranche: desktop, agents, and notes - Tranche: desktop, agents, and notes
- State: Walker and notes verified; project-root Oil launch awaits activation - State: Walker and notes verified; unsafe Elephant restart trigger removed
- Branch: `chore/workflow-system` - Branch: `chore/workflow-system`
- Baseline: `nix flake check --no-build --quiet` and a no-link Zenith system - Baseline: `nix flake check --no-build --quiet` and a no-link Zenith system
build passed on 2026-09-05 with the project-root launcher change; only the build passed on 2026-09-05 with the project-root launcher change and restart
expected dirty-tree and unknown `modules` warnings were emitted. The trigger removal; only the expected dirty-tree and unknown `modules` warnings
generated project menu finds 30 live repositories without `.archive` or were emitted. The generated project menu finds 30 live repositories without
`.worktrees` entries, and the generated daily-note configuration passes an `.archive` or `.worktrees` entries, and the generated daily-note configuration
isolated same-day idempotence test. The managed Actual and WhatsApp entries passes an isolated same-day idempotence test. The managed Actual and WhatsApp
are active in the current user session, Evolution's source registry activates entries are active in the current user session, Evolution's source registry
over D-Bus, and the VPN reconnects successfully. The user activated the activates over D-Bus, and the VPN reconnects successfully. The user activated the
terminal root fix: `xdg-terminal-exec` now selects Kitty correctly and Yazi terminal root fix: `xdg-terminal-exec` now selects Kitty correctly and Yazi
launches from Walker. After restarting the stale Elephant and Walker launches from Walker. After restarting the stale Elephant and Walker
processes, repository launch also succeeds and exiting Neovim leaves a shell processes, repository launch also succeeds and exiting Neovim leaves a shell
in the repository. The project menu remains an explicit Elephant restart in the repository. The daily-note launcher and migrated notebook contents
trigger for future configuration changes. The daily-note launcher and also pass their live sanity check. The attempted Elephant menu restart trigger
migrated notebook contents also pass their live sanity check. stopped its dependent Walker during activation without bringing Walker back,
- Next: the user activates the built configuration, opens one repository from so it has been removed in favor of applying rare menu changes at login.
Walker, and confirms that Neovim starts in Oil at the project root. - Next: the user activates the trigger removal, logs out and back in, then opens
one repository from Walker and confirms that Neovim starts in Oil at the
project root.
## Progress ## Progress
@@ -78,9 +80,9 @@ user-level, harmless, temporary, or needed only for live verification.
None of these block work on independent pilots. Surface the exact applicable None of these block work on independent pilots. Surface the exact applicable
step to the user only when it blocks the current task. step to the user only when it blocks the current task.
- After the next user-controlled activation, open a repository from Walker and - After the next user-controlled activation, log out and back in, open a
confirm Neovim opens Oil at its root; exiting Neovim should still leave a repository from Walker, and confirm Neovim opens Oil at its root; exiting
usable shell in that repository. Neovim should still leave a usable shell in that repository.
- Run the bounded Pinta trial using a recent real edit: clipboard/open, - Run the bounded Pinta trial using a recent real edit: clipboard/open,
selection, crop/resize/canvas, text/drawing/shapes, layers/transparency, selection, crop/resize/canvas, text/drawing/shapes, layers/transparency,
basic adjustments, and PNG/JPEG export. Tell the agent whether it fully basic adjustments, and PNG/JPEG export. Tell the agent whether it fully
@@ -221,10 +223,9 @@ Polaris:
terminating newline, so the launcher now accepts a successful partial read terminating newline, so the launcher now accepts a successful partial read
instead of exiting under `errexit`. It opens Neovim through the configured instead of exiting under `errexit`. It opens Neovim through the configured
`xdg-terminal-exec` owner and leaves an interactive shell after Neovim exits. `xdg-terminal-exec` owner and leaves an interactive shell after Neovim exits.
Elephant reads menu actions only at startup, so the generated menu is also a Elephant reads menu actions only at startup, so rare declarative menu changes
declarative service restart trigger. The generated Walker configuration take effect at the next login. The generated Walker configuration extends,
extends, rather than copies or replaces, the pinned default provider list and rather than copies or replaces, the pinned default provider list and prefixes.
prefixes.
- The shared terminal-launch failure came from the Kitty package rewrite: - The shared terminal-launch failure came from the Kitty package rewrite:
unanchored `sed` changed both `Exec=kitty` and `TryExec=kitty` to include unanchored `sed` changed both `Exec=kitty` and `TryExec=kitty` to include
`-1`. Arguments are invalid in `TryExec`, causing `xdg-terminal-exec` to `-1`. Arguments are invalid in `TryExec`, causing `xdg-terminal-exec` to
@@ -235,6 +236,10 @@ Polaris:
project action. The user confirmed that repository launch works and exiting project action. The user confirmed that repository launch works and exiting
Neovim leaves a usable shell in that repository. Passing the project root to Neovim leaves a usable shell in that repository. Passing the project root to
Neovim now opens the configured Oil default directory explorer immediately. Neovim now opens the configured Oil default directory explorer immediately.
- A custom restart trigger for Elephant proved unsafe: Walker requires Elephant,
so activation stopped Walker with its backend but restarted only Elephant.
The trigger is removed; relogging is the deliberately simple refresh path
unless real usage proves that inconvenient.
- Removed the decided Niri arrow/Page Up/Down/numbered duplicates, direct quit - Removed the decided Niri arrow/Page Up/Down/numbered duplicates, direct quit
and monitor-power bindings, extra screenshot modes, first/last and centering and monitor-power bindings, extra screenshot modes, first/last and centering
actions, repeated resize families, and their four shortcut-only scripts. The actions, repeated resize families, and their four shortcut-only scripts. The
-4
View File
@@ -116,10 +116,6 @@ in
end end
''; '';
systemd.user.services.elephant.Unit.X-Restart-Triggers = [
config.xdg.configFile."elephant/menus/projects.lua".source
];
programs.walker = { programs.walker = {
enable = true; enable = true;
runAsService = true; runAsService = true;