Skip to content
[ erkle ]
sign inSign up

Who can read, write, and approve what.

Every memory belongs to one scope: the team, a project, or a repository. Your roles decide which scopes you read, where your writes go live, and what you review.

Your agents act as you, with less room: by default, everything an agent writes waits for a person.

// last updated

team: acmeproject: Commercerepo: webapipaymentsproject: Mobileiosandroid

## scopes

team ⊃ project ⊃ repo

Projects group repositories, and a repository can belong to several. A search from a repository reads that repository, every project it belongs to, and the team, and nothing else.

team
read by
Everyone on the team.
reviewed by
Owners and admins.
for
Rules every repository follows: logging, secrets, how to ship.
project
read by
The project's members.
reviewed by
The project's maintainers.
for
Rules a group of repositories shares: API versioning, event names.
repository
read by
Members of any project that links it.
reviewed by
Maintainers of those projects.
for
One codebase's own rules and quirks.

Owners and admins read every scope in the team. SSH and HTTPS remotes, a trailing .git, and letter case all resolve to the same repository. Laying out conventions across repositories →

## roles

Two kinds of role: one per team, one per project.

Everyone has a team role. On top of it, each project you're in gives you a project role, so the same person can maintain one project and contribute to another.

teamowner · admin
Run the team: invite and remove members, create projects, register repositories, change team settings. They read every scope, act as maintainers on every project, and see the call log.
teammember
Reads team memories, and the projects they're added to. Their team-scope writes are proposals.
projectmaintainer
Reviews the project's proposals, and their own writes there go live. Edits the project and manages its members.
projectcontributor
Reads everything in the project. Their writes there are proposals that a maintainer reviews.

## who-can-do-what

For one project, by role.

What a person can do in the dashboard. Their agents get the same reads, and less: see agents.

owner · adminmaintainercontributornot in the project
## read
Team memoriesyesyesyesyes
The project's and its repositories' memoriesyesyesyesnot found
Proposals waiting for reviewyesin their projectstheir own onlytheir own only
## write and edit
A memory in the team scopegoes liveproposesproposesproposes
A memory in the project or a repositorygoes livegoes liveproposesnot found
An edit to an approved memory theregoes livegoes livepending revisionnot found
## review
Approve or reject proposalsany scopein their projects——
Archive and restore approved memoriesany scopein their projectsown proposals onlyown proposals only
## run the team
Edit the project and manage its membersyesyes——
Create projects, register and link repositoriesyes———
Invite and remove team membersyes———
See the call log, change team settingsyes———
See and revoke every API key in the teamyestheir owntheir owntheir own
✓ allowed, or goes live at once◐ becomes a proposal that a reviewer approves— not allowed

Anyone can withdraw (archive) their own proposals, and only its author can revise a rejected proposal. A rejected proposal stays visible to its author and to owners and admins. Every member sees usage for the approved memories they can read.

## agents-and-keys

Agents act as you, with less room.

An agent can be misled by something it read, so a person approves what it writes. API keys narrow things further, to what one machine needs.

agents

OAuth or API key
  • Reads exactly what you can read.
  • Writes are proposals, even a maintainer's agent's, and its edits to approved memories wait as pending revisions.
  • Archives only your own proposals and rejections.
  • You can approve what your own agent proposed, in a scope you review.
  • Let agents publish: an owner or admin can turn this on. Then a maintainer's agent writes, edits, and archives like the maintainer does. Contributors' agents still propose.

API keys

for machines without a browser
  • Acts as the person who made it, on one team, with every agent rule above.
  • Read-only keys write nothing.
  • Project-limited keys read the team scope plus the listed projects you can still read, and their repositories. They never write the team scope or register repositories, even when an owner or admin made them.
  • Expires within 1 to 365 days, and works only on the MCP endpoint, never the dashboard.
Giving agents their own keys →

## enforcement

Checked on every request.

one place
Every access decision is made in one module of the code, from roles loaded fresh on each request. Nothing is trusted from a token.
not found, never denied
A memory or scope you can't read is reported as not found, in the dashboard and to your agents, so nothing reveals that it exists.
takes effect at once
Removing a member, taking someone off a project, or revoking an agent or key applies on the next request.

## faq

Questions

? Who can approve a memory in Erkle?

Maintainers of the project or repository the memory belongs to, and the team's owners and admins, who can review any scope. Team-scope memories are reviewed by owners and admins. A reviewer can approve what their own agent proposed.

? Can an agent publish to team memory without review?

Not by default: every agent write is a proposal, even a maintainer's agent's. An owner or admin can let agents publish, and then a maintainer's agent writes like the maintainer does. Contributors' agents still propose.

? What can an Erkle API key access?

A key acts as the person who made it, on one team, under the same rules as their agents. A read-only key writes nothing. A key limited to projects reads the team scope and those projects and their repositories, and never writes the team scope or registers repositories. Every key expires within 1 to 365 days. Giving agents their own keys →

? Can someone tell that a memory they can't read exists?

No. A memory or scope a person can't read is reported as not found, never as access denied, in the dashboard and to their agents. Search never returns it and nothing counts it.

? What happens when someone leaves the team?

Remove them from the team, and their agents and API keys stop working on the next request. The memories they wrote stay, with their name on them as author.

Shared memory, without sharing everything.