Draft
Conversation
Open
Agent-Logs-Url: https://github.com/alis-is/ascend/sessions/2d159042-87eb-47b0-bd27-3941f8b19082 Co-authored-by: cryi <36897290+cryi@users.noreply.github.com>
Agent-Logs-Url: https://github.com/alis-is/ascend/sessions/2d159042-87eb-47b0-bd27-3941f8b19082 Co-authored-by: cryi <36897290+cryi@users.noreply.github.com>
Agent-Logs-Url: https://github.com/alis-is/ascend/sessions/2d159042-87eb-47b0-bd27-3941f8b19082 Co-authored-by: cryi <36897290+cryi@users.noreply.github.com>
Agent-Logs-Url: https://github.com/alis-is/ascend/sessions/2d159042-87eb-47b0-bd27-3941f8b19082 Co-authored-by: cryi <36897290+cryi@users.noreply.github.com>
Agent-Logs-Url: https://github.com/alis-is/ascend/sessions/2d159042-87eb-47b0-bd27-3941f8b19082 Co-authored-by: cryi <36897290+cryi@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add support for user slices management
Add user-slice plumbing for ascend/asctl
Apr 22, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This adds the basic plumbing for per-user ascend instances, similar to
systemctl --user.ascendnow resolves into a user slice automatically when started as a non-root Unix user, andasctlcan target user slices explicitly.User-slice resolution
src/common/slices.luaascenddefaults now move from system paths to per-user paths:XDG_CONFIG_HOME/~/.configXDG_STATE_HOME/~/.local/stateXDG_RUNTIME_DIRwhen availableCLI targeting
--user/-usupport toasctlasctl --usertargets the current user sliceasctl --user=<name>targets another user’s slice via a user-specific socket pathProcess model changes
ascendis running in user-slice mode, per-serviceuseroverrides are ignoredDocs and coverage
asctl --userasctlsocket targetinguseroverrides in user-slice modeExample: