Skip to content

fix: install.sh consent text claims manual skill-injection default — actual default is auto#36

Open
pstayets wants to merge 1 commit into
pilot-protocol:mainfrom
pstayets:fix/skill-injection-default-consent
Open

fix: install.sh consent text claims manual skill-injection default — actual default is auto#36
pstayets wants to merge 1 commit into
pilot-protocol:mainfrom
pstayets:fix/skill-injection-default-consent

Conversation

@pstayets

Copy link
Copy Markdown

Exact issue

The consent block in install.sh says:

"SKILL INJECTION (on by default, manual mode) … In MANUAL mode (the default), skills are installed once now and refreshed only when you run 'pilotctl update'."

This contradicts the actual default, which is AUTO, on three of the project's own surfaces:

  1. The docs consent page (/docs/consent#skillinject): "auto (default on fresh install) — A reconcile pass runs every 15 minutes."
  2. skillinject/config.go: GetMode() returns ModeAuto when no persisted flag exists ("existing behaviour — live ticker").
  3. This same script's post-install banner: "The daemon scans every 15 minutes and injects the Pilot Protocol skill into installed agent tools."

Skill injection writes instruction content into agent config directories (~/.claude/…, OpenClaw, OpenHands, …) on a recurring background tick. The consent screen is precisely where the default must be stated accurately — understating it as "install once, manual" means users consent to less than what runs.

Change

Consent text now states AUTO is the default with the 15-minute reconcile pass, and presents MANUAL/disable as the opt-outs. No behavior change — text only. bash -n passes.

Note for maintainers

skillinject/config.go also declares const defaultMode = ModeManual ("the mode used when no persisted value exists") directly above a GetMode() that returns ModeAuto in exactly that case — worth reconciling in code too, whichever direction you intend.

🤖 Generated with Claude Code

https://claude.ai/code/session_01D2boz7GoTW34JmzymSjCpf

…ult is auto

The install-time consent block described skill injection as 'on by
default, manual mode' with skills 'installed once now and refreshed only
when you run pilotctl update'. The real fresh-install default is AUTO:
the docs consent page states 'auto (default on fresh install) — a
reconcile pass runs every 15 minutes', skillinject's GetMode() returns
ModeAuto when no persisted flag exists, and this script's own
post-install banner says 'The daemon scans every 15 minutes and injects
the Pilot Protocol skill'. The consent screen — the one place users
grant this — was the only surface claiming manual. Align it with the
actual behavior.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01D2boz7GoTW34JmzymSjCpf
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.

2 participants