Skip to content

docs: require user permission before editing jj config#1

Open
Techcable wants to merge 1 commit into
mtaran:mainfrom
Techcable:config-edits-always-require-user-permission
Open

docs: require user permission before editing jj config#1
Techcable wants to merge 1 commit into
mtaran:mainfrom
Techcable:config-edits-always-require-user-permission

Conversation

@Techcable

@Techcable Techcable commented Jun 6, 2026

Copy link
Copy Markdown

Hi, thank you for this repo! I plan to use this for work, so I have forked and carefully reviewed it. I would prefer that config edits always require user permission:

Add a config-permission guardrail across the skill. Editing jj config (jj config set / jj config edit, --user or --repo) writes persistent settings that silently alter later behavior (git.push/git.fetch redirect pushes; trunk() aliases change rebase targets), so it must be gated on explicit user approval rather than treated as a routine non-interactive operation.

  • SKILL.md: new Critical Rule
  • troubleshooting.md: reframe Configuration block (list = safe; writes = ask first)
  • bookmarks.md: permission callout on multi-remote config workflows
  • revsets.md: glob opt-in is a user-owned config change

Add a config-permission guardrail across the skill. Editing jj config
(jj config set / jj config edit, --user or --repo) writes persistent
settings that silently alter later behavior (git.push/git.fetch
redirect pushes; trunk() aliases change rebase targets), so it must be
gated on explicit user approval rather than treated as a routine
non-interactive operation.

- SKILL.md: new Critical Rule
- troubleshooting.md: reframe Configuration block (list = safe; writes = ask first)
- bookmarks.md: permission callout on multi-remote config workflows
- revsets.md: glob opt-in is a user-owned config change
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