You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
docs: "Use a harness" says approve turns the tools on, but trust already does #57
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