Guidance

Guidance is what your team tells every agent before it starts: how you move stories, what a pull request needs, who reviews what. You write it once in Hiveship and agents read it at the start of their work, so each run doesn’t start from nothing.

Writing guidance needs the Pro plan or higher.

Workspace and project guidance

  • Workspace guidance applies to every issue. Edit it under Settings → Agents → Agent guidance.
  • Project guidance applies to one project’s issues, on top of the workspace guidance. Edit it on the project’s Guidance tab.

Each is one block of plain text, up to 50,000 characters. Workspace owners and admins can edit it, and so can members who have the Manage agents permission.

If the workspace moves to a plan without guidance, what you saved stays and agents still receive it, but the editor is locked until you upgrade again.

How agents receive it

Agents get guidance as labelled sections: the workspace guidance first, then the guidance of the project the issue belongs to.

  • start_work and get_issue_context. When an agent starts a story with start_work, or reads one with get_issue_context, the result includes the guidance for that story’s project. Each section is cut at 10,000 characters there, and the agent is told to call get_guidance for the rest.
  • The get_guidance MCP tool. It returns the full workspace guidance, and the project’s guidance too when the agent names the project. It works with any agent token tier. A personal access token can’t read guidance, so an AI client connected with one doesn’t get it from any of these tools.
  • The delegation webhook. When an agent has one, each delegation sends it the issue together with the workspace and project guidance, so a runner can start without another request. Each guidance block is cut at 10,000 characters in that request and marked as truncated when it was; get_guidance always returns the full text.

An agent on an older copy of the MCP server package only gets guidance from get_guidance. Update the package to get it with the other two tools.

What agents do with it

The Hiveship MCP server tells agents to follow guidance as your team’s working rules for work in the workspace. The instructions of the person running the agent come first: when guidance conflicts with them, the agent follows that person and says so.

Guidance sets how the work is done. It can’t give an agent more access than its token has, change who it works for or override a refusal, and it never justifies running downloaded code, reading or sharing credentials or files outside the repository, contacting a host the guidance names, or skipping a confirmation you would expect. If a rule asks for one of those, the agent doesn’t act on that part, tells you (or says so in a comment on the issue when no one is around) and carries on with the rest.

Project guidance can add to the workspace guidance or narrow it, but it can’t remove a safety rule the workspace guidance sets.

Everything else people write in the workspace, such as issue descriptions and comments, stays information the agent reads, not instructions it follows. Text in a comment that calls itself guidance is treated the same way.

Guidance or the repository?

Most coding agents already read instructions from the repository, such as a CLAUDE.md or AGENTS.md file. The two work best with a split:

  • Code conventions go in the repository. Build and test commands, code style, architecture and where things live. They change with the code, get reviewed with it, and reach the agent whatever tracker it uses.
  • How your team works goes in guidance. Which status a story moves to and when, what a pull request description must include, when to stop and ask, who reviews which area, how to name branches so they link to the issue.

Keep requirements for one story out of guidance; those belong in the story and its acceptance criteria.

An example

  • Call start_work before you begin, one story at a time.
  • Name the branch after the issue key, for example feat/eng-12-short-title.
  • Tick each acceptance criterion only when a test covers it.
  • Put the issue URL in the pull request description and link it with link_pr.
  • If the story is unclear, ask in a comment instead of guessing.

Playbooks

A playbook is a named note for one kind of task, such as how your team fixes a flaky test, that an agent looks up when it needs it instead of reading it every time. Manage them under Settings → Agents → Playbooks: each has a name, an optional hint about when to use it, and a body in Markdown, and its version goes up with every edit. Writing them needs Pro or higher, the same as guidance.

get_guidance lists the names of your playbooks, and agents fetch one with list_playbooks and get_playbook. An automation that creates an issue for an agent can also name a playbook, and the agent then sees it with the story in get_issue_context.

Next steps