Skip to content

docs: "Use a harness" says approve turns the tools on, but trust already does #57

Closed

Description

@tenphi

In short

  • The site tells people that npx harnesspm approve turns a package's tools on.
  • In 0.9.0, trust alone turns them on: after trust, harnesspm run works, with the agent's usual prompt.
  • approve writes what an agent may not grant itself: hooks, MCP servers, and allow rules that skip the prompt.

Where

  • docs/guide/getting-started.mdx, "3. Decide what may run", step 3: "Turn the tools on in your own terminal: npx harnesspm approve."
  • docs/guide/ask-your-agent.mdx, "Turn on a package's tools": "You run npx harnesspm approve in your own terminal. Until then, new hooks, MCP servers and allow rules wait." This one is accurate.

trustOf() (src/exec-outputs.ts) checks only trust in harnesspm.json, the block lists the tools of trusted packages, and the held-back list has only allow rules, hooks and MCP servers.

Where we met it

Cookbook's docs copied the step ("Turn the tools on in your own terminal"). In a test site, tasty:styles, glaze:inspect and tasty-lint:check ran right after the person set trust, before any approve. Cookbook now says: "Let the lint hook run, and the tools run without a prompt: run npx harnesspm approve."

Proposal

Reword step 3 of the getting-started page along the lines of the "Ask your agent" page: trust turns the tools on; approve lets hooks and MCP servers run and the tools run without a prompt.

Activity

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

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions