Skip to content

feat(j5): define agent authority for shared environment preferences #135

Closed

Description

@Jacksondr5

The upstream integration deliberately defers t3_environment_preferences_update from the agent catalog, as approved by the maintainer. Environment reads and existing human settings controls remain available.

The tool changes shared environment settings: defaultThreadEnvMode, newWorktreesStartFromOrigin, enableProviderUpdateChecks, backgroundActivity.profile, and sourceControlWritingStyle. Define which of these an agent may change, under what existing authority, then expose the useful subset with the smallest integration. Keep upstream credential/mode checks and the owning environment boundary; avoid a new generic approval framework.

Acceptance:

  • Record the concrete allowed scope for all five settings and retain human control.
  • Reuse upstream implementation for admitted settings rather than duplicating preference storage or handlers.
  • Test allowed/refused calls, persistence, and isolation from other connected environments.
  • Update production tool discovery/direct-call tests and any changed user guidance.

This work is deferred from the upstream merge to avoid adding a new product policy during integration.

Activity

  1. Jacksondr5 commented on Oct 25, 2026

    @Jacksondr5
    OwnerAuthor

    Superseded by the #519 decision: #553 admits t3_environment_preferences_update unchanged, under upstream's own authority (McpToolAccess.writesEnvironment: only a full-access calling thread can write environment settings). No separate rule for each setting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions