Sweep stale claude-specific wording from CLI-agnostic layers (comments/docstrings only) - #391
Merged
Merged
Conversation
…s/docstrings only) After the AgentCLI seam (ADR 0014) made the launcher and control plane CLI-agnostic, several comments and docstrings in those layers still said "claude"/"Claude" as if it were the only CLI. This rewording pass neutralises them — no code or behaviour change. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
tildesrc
marked this pull request as ready for review
August 24, 2026 01:58
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.
Summary
After the AgentCLI seam (ADR 0014, #382/#384/#385) made the launcher and control plane CLI-agnostic, several comments and docstrings in those now-agnostic layers still said "claude"/"Claude" as if it were the only CLI. This pass neutralises them.
container/cli/base.py— ABC docstrings:has_live_background_tasknow says "hook payload" (not "Stop payload");launchtrims the per-adapter detail about resumingcontainer/cli/__init__.py— trim redundant module docstring to a short pointer atbasecontainer/agent.py— generalise thewrite_settingscall comment to "wire turn-flip hooks where the CLI supports them"container/hooks.py— fix stale "token report on stop" comment (removed in Remove all token estimation and tracking #379); now describes the actual background-task gatingcore/models.py,core/workflow.py,taskservice/api.py— "Claude's input box" → "the agent CLI's input box"taskservice/mcp.py— "Claude's first message" → "the agent's first prompt"; "token-cheap" → "more efficient"sessionservice/spawner.py— "arg to claude" / "passed to claude --model" → agent-CLI-agnostic phrasingsessionservice/local_runner.py— "positional arg to `claude`" → "positional arg to the resolved agent CLI"workflows/orchestrator.py— fix garbled mid-sentence line-wrap left by the token-estimate deletionNo code, signature, or behaviour change.
make checkpasses.Plan:
panopticon://tasks/4e2453a8d6f34e809707f802ec5c663f/artifacts/plan.md