diff --git a/AGENTS.md b/AGENTS.md index 003ab63..723771f 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -3,3 +3,9 @@ - Run every GitHub CLI (`gh`) command outside the sandbox. The sandbox cannot access the host keyring and can incorrectly report that authentication is invalid. +- Keep user-facing documentation aligned with behavior changes. Update the + Unreleased section of `CHANGELOG.md` for user-visible changes, update + `README.md` when commands, settings, requirements, or workflows change, and + extend `docs/TESTPLAN.txt` when new behavior needs interactive release + verification. Record changes to durable design decisions in + `docs/DECISIONS.md`. diff --git a/CHANGELOG.md b/CHANGELOG.md index d7e7aa1..9d80f7c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,9 @@ ## 1.0.0 — Unreleased +- Add a configurable permission mode for Claude sessions launched by Lookout, + defaulting to automatic permission classification while preserving explicit + launch-command overrides and an option to inherit Claude's resolved default. - Clear stale attention indicators as soon as updates are read, prefer unread activity during navigation, synchronize the newest Claude usage observation across windows, and discard quota windows after their reset time. diff --git a/CLAUDE.md b/CLAUDE.md index 7ea0dee..b7b3480 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -63,3 +63,9 @@ Authoritative sources only, never estimated: Codex via `codex app-server` JSON-R - `docs/ROADMAP.md`, `docs/RESEARCH.md` — roadmap and research record - `docs/plans/`, `docs/research/` — Workshop-convention artifacts - `docs/sessions/` — dated session checkpoints; the interactive smoke matrix (`docs/sessions/2026-07-10-smoke.md`) is the gating milestone before Marketplace release + +Keep documentation in the same change as the behavior it describes. Add +user-visible changes to the Unreleased section of `CHANGELOG.md`; update +`README.md` for changed commands, settings, requirements, or workflows; extend +`docs/TESTPLAN.txt` when interactive release verification is needed; and update +`docs/DECISIONS.md` whenever a durable design decision changes. diff --git a/README.md b/README.md index 9072963..e941cb8 100644 --- a/README.md +++ b/README.md @@ -147,6 +147,8 @@ All shortcuts can be changed in Keyboard Shortcuts. The most common settings are: - `lookout.codex.command` and `lookout.claude.command` — provider launch commands; +- `lookout.claude.permissionMode` — permission mode for Lookout-launched Claude + sessions (`auto` by default); an explicit command flag takes precedence; - `lookout.codex.enabled` and `lookout.claude.enabled` — entries shown in the new-agent picker; - `lookout.codex.lifecycleIntegration` and diff --git a/docs/TESTPLAN.txt b/docs/TESTPLAN.txt index 5c51849..5b3e76e 100644 --- a/docs/TESTPLAN.txt +++ b/docs/TESTPLAN.txt @@ -49,6 +49,13 @@ B. LAUNCH AND LAYOUT (~10 min) leaving the editor area free for code and review. The Agents toolbar has no permanent isolated-worktree action, and Launch from Template is absent until at least one template is configured. + 5a. Claude permission mode: with lookout.claude.permissionMode at its default, + launch Claude and confirm /permissions reports auto mode. Set the setting + to manual, launch a new Claude session, and confirm manual mode. Restore + the setting to auto, set lookout.claude.command to + "claude --permission-mode plan", and confirm the explicit plan mode wins. + Finally set permissionMode to inherit, restore the command to "claude", + launch again, and confirm Lookout does not force a mode. Restore defaults. 6. Terminal tab names read "Lookout: