Skip to content

feat: configure command runners - #1605

Merged
jbeda merged 4 commits into
mainfrom
impl/operator-configured-command-runners
Sep 15, 2026
Merged

jbeda merged 4 commits into
mainfrom
impl/operator-configured-command-runners

Conversation

@jbeda

@jbeda jbeda commented Sep 15, 2026

Copy link
Copy Markdown
Contributor

Implementation

Completed acceptance criteria

AC1.1–AC3.3 are covered by the ten approved named proofs:

  • TestCommandRunnerConfig_Scenario1_SettingsShellDefault
  • TestCommandRunnerConfig_Scenario1_CLIAndDisablePrecedence
  • TestCommandRunnerConfig_Scenario1_StrictOperatorOnlyValidation
  • TestCommandRunnerEnvironment_Scenario2_DefaultScrub
  • TestCommandRunnerEnvironment_Scenario2_MainGrant
  • TestCommandRunnerEnvironment_Scenario2_NonOverridableAndAbsent
  • TestCommandRunnerEnvironment_Scenario2_ShellPromptContract
  • TestCommandRunnerEnvironment_Scenario3_HardenedChildrenStayScrubbed
  • TestCommandRunnerEnvironment_Scenario3_InternalGitStaysScrubbed
  • TestCommandRunnerEnvironment_Scenario3_DirectWriteParity

Verification

  • task lint ✓
  • task test ✓ (a first full-suite run exposed an unrelated, non-reproducible JSONL lineage conformance race; focused -count=100 and the subsequent full suite passed)
  • task docs ✓
  • task api:check ✓
  • go run ./cmd/mecademo ✓
  • go run github.com/stacklok/ac-trace/cmd/[email protected] --strict --plan docs/acceptance/operator-configured-command-runners.md ✓
  • Panel review: ship_blockers=0 important=3 advisory=3 reviewer_failures=0

Interfaces match approved contract: Yes. No gRPC/protobuf, exported engine API, tool-schema, event, or persistence changes.

Non-material implementation deviations

None.

Review follow-ups

The panel identified non-blocking test-depth follow-ups for end-to-end child/internal-Git environment wiring and all command-root propagation, plus Windows environment-name casing semantics. These do not alter the approved interface and should be addressed separately.

Closes #1495

@jbeda
jbeda merged commit d144947 into main Sep 15, 2026
36 checks passed
@jbeda
jbeda deleted the impl/operator-configured-command-runners branch September 15, 2026 19:58
@toolhive-release-app toolhive-release-app Bot mentioned this pull request Sep 21, 2026
2 tasks
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.

Agent shells cannot use CLI tools authenticated via an environment variable, and the failure is misattributed

1 participant