Skip to content

interactive harness: set CLAUDE_CODE_REMOTE=1 to skip remaining prompts - #615

Merged
max-sixty merged 1 commit into
mainfrom
claude-code-remote
May 27, 2026
Merged

max-sixty merged 1 commit into
mainfrom
claude-code-remote

Conversation

@max-sixty

Copy link
Copy Markdown
Owner

Why

Per user request: set CLAUDE_CODE_REMOTE=1 in the interactive harness's env so claude knows we're in a non-interactive context and skips any remaining permission/confirmation prompts. The env var is documented in the claude binary alongside CLAUDE_CODE_REMOTE_SESSION_ID, CLAUDE_CODE_REMOTE_MEMORY_DIR, CLAUDE_CODE_REMOTE_ENVIRONMENT_TYPE, and CLAUDE_CODE_REMOTE_SETTINGS_PATH.

What

Set CLAUDE_CODE_REMOTE=1 in two action steps:

  • Install tend plugins — covers claude plugin marketplace add / claude plugin install, which could in principle prompt for auth/install confirmation.
  • Run Claude — covers the supervised session. Belt-and-suspenders alongside the .claude/settings.local.json defaultMode: dontAsk allow list landed earlier.

No generator changes; defensive add-on.

Per user request — declares to claude that we're in a remote/
non-interactive context. Belt-and-suspenders alongside the
.claude/settings.local.json defaultMode=dontAsk allow list. Set in both
the plugin-install step (where `claude plugin install` runs) and the
supervised Run-Claude step (where the main session runs). The env var
is documented in the claude binary's known env vars list
(CLAUDE_CODE_REMOTE, CLAUDE_CODE_REMOTE_SESSION_ID, CLAUDE_CODE_REMOTE_
MEMORY_DIR, CLAUDE_CODE_REMOTE_ENVIRONMENT_TYPE, CLAUDE_CODE_REMOTE_
SETTINGS_PATH).

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
@max-sixty
max-sixty merged commit 02b2702 into main May 27, 2026
6 checks passed
@max-sixty
max-sixty deleted the claude-code-remote branch May 27, 2026 04:16
@max-sixty max-sixty mentioned this pull request May 27, 2026
max-sixty added a commit that referenced this pull request May 27, 2026
## Why

Cut the 0.1.2 release so consumer repos (and tend's own nightly regen)
pick up the new
`claude-interactive` harness and per-workflow `harness`/`model`
overrides.

## What's new since 0.1.1

**New `claude-interactive` harness**
(`max-sixty/tend/[email protected]`) — opt-in
alternative to the released `claude` harness. PTY-supervised interactive
`claude` via
`script(1)`, end-of-turn detected through Stop/StopFailure hooks. Built
as the
trial path ahead of Anthropic's June 15 billing split between Agent-SDK
metering and
the flat Claude Code subscription. Smoke tested end-to-end on tend
itself. PRs:
#609, #611, #613, #614, #615, #616.

**Per-workflow `harness` / `model` override** — adopters can flip a
single workflow
to a different harness or model without changing `.config/tend.yaml`
defaults. #612.

**Skill refinements** — nightly upstream-bot rebases (#605),
running-in-ci PR bar
(#604) and recheck (#573), env-filter loophole fix (#599),
authorAssociation warning
(#600), review-gates Gate 1 (#602).

**Bug fix** — mention queue-delay now uses `comment.updated_at` so edit
events report
accurately (#595).

## Compatibility

Released `claude` harness path is byte-identical; `claude-interactive`
is strictly
additive and opt-in. Consumer repos that don't touch `harness:` see no
change beyond
the new skill text and the mention-edit fix.
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