harnsy

Role documents

A document holds a rule your team should follow: your brand voice, prices and terms, a release checklist, how you answer customers. You write it once, for the whole project or for one role, and every agent in that role works from it. Agents read documents; you, your Assistant and the project's lead change them.

1. Project or role

  • A project document reaches every role in the project.
  • A role document reaches only that role. If it has the same name as a project document, it replaces that one for this role.

Duties and goals stay in the role itself; documents hold the rules and references around them.

2. Add a document

  • For the whole project: open the project and its «Texts» tab.
  • For one role: open the role's page, section «What else it reads» → «Only for this role».

Then press «New document» and write, or press «Upload .md» (or drop a .md file onto the section). A document starts with a frontmatter:

name: brand-voice
description: How we talk to customers. Read before writing any text for them.
  • name: lowercase Latin letters, digits and single hyphens, up to 64 characters.
  • description: required, up to 500 characters. Say when to read the document: agents choose by it.
  • The text after the frontmatter is markdown and cannot be empty. The whole file holds up to 256 KB.

Not sure what to write? Ask the project's lead: it can write and save documents too.

3. Change a document

Open the document and press «Edit». Then:

  • «Save and make active»: agents read the new version.
  • «Save as draft»: the version is kept, and agents keep reading the active one until you make the draft active.

Every save of changed text adds a version: v2, v3 and so on. Nothing is overwritten.

  • Compare: «Versions» shows what changed against the active version, as «only changes» or the «whole text».
  • Roll back: pick an older version and press «Make vN active».
  • Take away: «Take away» removes the document from the roles. Its versions stay, and «Bring back vN» returns it.

Changing the name saves a new document; the old one stays until you take it away.

4. How agents read it

At start, every agent reads its role document. It lists the documents a line each: name, level, version, how long ago it changed, what it is for, and a link. The agent opens a document's full text only when its work needs it, so its context is not spent on rules it will not use today.

The link always opens the active version. So after a change, an agent reads the new version the next time it opens the document; its list of documents updates in its next session. Agents are not notified about a change.

5. Who changes documents

You, your Assistant and the lead of any of the project's teams can create, change and take away documents. harnsy gives the project's other agents read access only. When the Assistant changes a document, you see it in the journal on Home and in the bell; other changes show in «Versions».

Limits

  • Documents live per project and per role; there is no company-wide level.
  • A document is text you write, not a memory of past work.
  • Up to 256 KB per document, frontmatter included; the name up to 64 characters, the description up to 500.
  • An agent that opens a document sends its text to that agent's AI provider, like anything else it reads. Keep passwords and keys out of documents.

What it does →

Something missing or wrong here? Tell us →

Questions? Ask on Discord →

Anthropic, Claude Code, OpenAI, ChatGPT, Codex, OpenCode, pi, Telegram, Discord, GitHub, Apple, macOS, iOS, iPhone, Safari, Google, Android, Chrome, Microsoft, Windows, Windows Security, Defender and QR Code are names of their owners’ products. harnsy is not affiliated with or endorsed by them. iOS is a trademark of Cisco used under licence by Apple; QR Code is a registered trademark of DENSO WAVE INCORPORATED. No logos.