Skip to content

Sweep stale claude-specific wording from CLI-agnostic layers (comments/docstrings only) - #391

Merged
tildesrc merged 1 commit into
mainfrom
panopticon/claude-wording-sweep
Aug 24, 2026
Merged

Sweep stale claude-specific wording from CLI-agnostic layers (comments/docstrings only)#391
tildesrc merged 1 commit into
mainfrom
panopticon/claude-wording-sweep

Conversation

@tildesrc

Copy link
Copy Markdown
Contributor

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_task now says "hook payload" (not "Stop payload"); launch trims the per-adapter detail about resuming
  • container/cli/__init__.py — trim redundant module docstring to a short pointer at base
  • container/agent.py — generalise the write_settings call 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 gating
  • core/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 phrasing
  • sessionservice/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 deletion

No code, signature, or behaviour change. make check passes.

Plan: panopticon://tasks/4e2453a8d6f34e809707f802ec5c663f/artifacts/plan.md

…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
tildesrc marked this pull request as ready for review August 24, 2026 01:58
@tildesrc
tildesrc merged commit 4adf9d4 into main Aug 24, 2026
3 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.

1 participant