Skip to content

docs(kickoff): clarify agent permissions live in .claude/settings.json, not config keys#589

Merged
dollspace-gay merged 1 commit into
developfrom
feat/581-config-default-skip-permissions
May 11, 2026
Merged

docs(kickoff): clarify agent permissions live in .claude/settings.json, not config keys#589
dollspace-gay merged 1 commit into
developfrom
feat/581-config-default-skip-permissions

Conversation

@dollspace-gay
Copy link
Copy Markdown

@dollspace-gay dollspace-gay commented May 11, 2026

Summary

GH#581 was filed proposing a new kickoff.skip_permissions config key. Per the maintainer comment on the issue, that's the wrong lever — agent permissions are already configured via the agent config file (.claude/settings.json), and the gap is documentation, not a missing config knob. This PR closes that gap.

Three surfaces updated:

  • docs_src/guides/kickoff.qmd — new "Configuring agent permissions" subsection at the end of "Controlled agent execution", contrasting the persistent .claude/settings.json mechanism (allowedTools array + Claude Code's permissions.allow / permissions.deny blocks, preserved across init --force merges) with the per-invocation --skip-permissions flag, and pointing at Claude Code's settings reference for the canonical schema.
  • docs_src/guides/container-agents.qmd — extends the existing --dangerously-skip-permissions paragraph with a pointer to the persistent mechanism, cross-linked back to the kickoff guide section.
  • crosslink/src/main.rs — tightens both --skip-permissions clap doc-comments (kickoff run and kickoff plan) so --help itself surfaces the contrast inline.

Closes GH#581. Tracked locally as #730.

Test plan

  • cargo fmt --check — clean
  • cargo check --lib --bin crosslink — clean
  • crosslink kickoff run --help — verified the new doc-comment renders correctly under --skip-permissions
  • Pure docs/help-text change — no behavioral surface, no new tests needed
  • Render the quarto site locally (or rely on CI docs build) to confirm the new section and cross-link land cleanly

🤖 Generated with Claude Code

…n, not config keys (#730, GH#581)

`--skip-permissions` is a per-invocation override of Claude's permission
prompts; it is not the configuration knob. Persistent agent permissions
live in the worktree's `.claude/settings.json` (`allowedTools` array +
Claude Code's `permissions.allow` / `permissions.deny` blocks), which
crosslink writes via `init` and preserves across `init --force` merges.

Documents the contrast in three places per GH#581:

- `docs_src/guides/kickoff.qmd` — new "Configuring agent permissions"
  subsection at the end of "Controlled agent execution", explaining
  both levers and when to use each. Links to Claude Code's settings
  reference for the canonical schema.
- `docs_src/guides/container-agents.qmd` — extends the existing
  `--dangerously-skip-permissions` paragraph with a pointer to the
  persistent mechanism, cross-linked to the new kickoff section.
- `crosslink/src/main.rs` — tightens both `--skip-permissions` clap
  doc-comments (kickoff `run` and kickoff `plan`) so `--help` surfaces
  the contrast inline. Verified rendered output via `kickoff run --help`.

Pure docs/help-text change — no behavioral surface, no new tests.
`cargo fmt --check` clean, `cargo check` clean.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@dollspace-gay dollspace-gay self-assigned this May 11, 2026
@dollspace-gay dollspace-gay linked an issue May 11, 2026 that may be closed by this pull request
@dollspace-gay dollspace-gay merged commit 3caab92 into develop May 11, 2026
6 checks passed
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.

feat: config key to default --skip-permissions for kickoff run

1 participant