Taskbase — Team: an Organization's Roles over the Shared Personas¶
Kind: reference
An organization's team is a roster of roles, one per task persona. A role gives a persona a
title, a manager, the personas its runs may assign work to, an active switch and a repository read
scope. The persona's text still comes from the shared agents repository
(ADR-0005). An organization
that never edits its team behaves exactly as before. Only people edit a team; agents read it. The
one exception is the organization pause, which operator runs may also set and lift, and read for
every organization their runner serves (Operator runs).
The team is used in five places:
- the delegation rule: whom an agent run may assign a task to;
- the pause: which agent tasks are held from the claim;
- escalation: which role triages a Needs attention item first, and who gets it next;
- the project manager's claim, so it routes work from data;
- the repository read scope: which repositories a run may read through Taskbase.
An organization with the Org Chart v2 switch on gets more: roles of their own over a shared base persona, each with a mandate, an area it owns and what it may decide; routing of unassigned tasks; a run brief with the chart for every run; an explicit escalation to the manager; and a decision gate that answers decisions before they reach the owner. With the switch off, everything on this page above Org Chart v2 holds unchanged.
Design: ADR-0024. Read on
2026-10-27 from Skatzi/taskbase main 38d2efa: api/internal/role/, api/internal/task/pause_pg.go,
api/internal/task/handler.go, api/internal/runner/claim_context.go, ui/src/Team.jsx and
mcp/internal/tools/agenttypes.go.
Shipped in¶
| Part | Task | Pull request | Release |
|---|---|---|---|
Roster, organization pause, API, MCP list_roles |
#1763 | taskbase#631 | v1.243.0 |
| Team tab | #1764 | taskbase#638 | v1.244.0 |
| Pause holds tasks from the claim | #1765 | taskbase#645 | v1.245.0 |
| Escalation up the reporting line | #1767 | taskbase#646 | v1.246.0 |
| Delegation rule, roster in the project manager's claim | #1766 | taskbase#639 | v1.247.0 |
needs_person on finish |
#1769 | taskbase#633 | v1.242.0 |
| Repository read scope for runs | #1771 | taskbase#642 | not read, see Open questions |
| Operator runs pause and resume | #2422 | taskbase#688, merged 2026-11-03 | not read, see Operator runs |
| Operator runs list served organizations and read their roster | #3231 | taskbase#736 | not read, see Operator runs |
| Org Chart v2: data, switch, routing rules | #2838 | taskbase#712 | v1.257.0 |
| Org Chart v2: run brief, escalate to the manager | #2839 | taskbase#713 | v1.259.0 |
Org Chart v2: routing, may_assign default |
#2840 | taskbase#714 | v1.258.0 |
| Org Chart v2: the chart in the Team tab | #2842 | taskbase#717 | v1.260.0 |
| Org Chart v2: a run reads every repository of its organization | #2843 | taskbase#720 | v1.261.0 |
| Org Chart v2: the decision gate | #2841 | taskbase#718 | v1.262.0 |
| Org Chart v2: the gate sweep closes gate tasks whose item was already handled | #2864 | taskbase#724, merged 2026-11-12 | not read, see Open questions |
On 2026-11-12 at 07:00 UTC dev and production both ran v1.261.1 (database migration 92), so everything above but the decision gate; v1.262.0 (migration 93, the gate) was deploying to dev.
Release is the first Taskbase tag that contains the merge. On 2026-10-27 production
(deploy/prod/ in the taskbase repository) ran v1.244.0: the roster, the Team tab and
needs_person were live there; the pause, escalation and delegation rule were released but not yet
promoted.
Roles¶
| Field | Meaning |
|---|---|
persona_slug |
The task persona this role is. One role per persona per organization. Session personas are never roles |
title |
Free text, at most 200 characters, such as "Tech lead". Empty means the persona's name |
reports_to |
The manager role, by its persona slug. null means the organization's people |
may_assign |
Persona slugs the role's runs may assign tasks to. null means any persona; [] means only the exceptions of the delegation rule |
active |
false pauses the role: its tasks stay queued and are not claimed |
repo_read |
task, organization, served, or null for the persona's default. Decides which repositories the role's runs may read through Taskbase, see Repository read scope |
repo_read_default |
The persona's default scope, which applies while repo_read is null |
default |
true for a default role, which has no stored row |
persona_active |
false once the persona was removed from the agents repository; the Team tab shows "Persona removed" |
The roster also carries the organization's pause: agents_paused_at and agents_paused_by.
Default roles¶
Every active task persona without a stored row is a default role: titled with the persona's
name, reporting to the people, may_assign null, active, repo_read null. Default roles have
id: null. New personas synced from Git join every organization's team this way. Editing a role
stores its row; Reset to default deletes it.
Rules for the tree¶
A write is refused with 400 when it would:
- make a cycle (
reports_to would make a cycle: …); - put a role more than 3 roles below the people (
role.MaxDepth); - name a session persona as the role, or a slug that is not a task persona of the organization in
reports_toormay_assign; - set
repo_readto anything but the three scopes ornull.
With Org Chart v2 on, the chart may be 6 roles deep (role.MaxDepthV2), and
managers, may_assign, routing rules, the gate and the dispatcher name any role, a role of its own
included; cycles are refused either way.
Making a default role a manager stores its default row first, because reports_to refers to a row.
Deleting a role others report to is refused with 409 (roles report to <slug>; give them another
manager first). The table is organization_roles.
The Team tab¶
The organization's Team tab (/organizations/{id}/team) shows the tree, managers before their
reports, with the people at the top. For each role:
- title, persona name and slug; chips Default, Persona removed, and Active, Paused or Organization paused;
- whom it reports to, the persona's default model, whom it may assign to ("any persona", the titles, or "no one") and, when set, its repository read scope;
- its open and queued tasks, and the API-equivalent cost of its runs finished in the last 30 days, with triage runs as their own figure;
- for a role with reports, the same sums for its subtree (the role and every role below it).
Open tasks are agent tasks assigned to the persona that are not done and not in a Done column;
queued tasks are those of them with dispatch_state queued. A run's cost is credited to a persona
the same way as on the Usage page, from the recorded task_runs.cost_usd; a run counts as
triage when its task is an attention-triage task.
People edit a role with Edit (title, reports to, repository read, may assign: "Any persona" or "Only these", active), switch Active directly, Reset to default, and Pause all agent work or Resume agent work for the organization. A refused write shows the API's message and keeps the form open.
Delegation rule¶
When a request authorized as an agent run (X-Taskbase-Run, see
Run-scoped access) creates a task with an agent assignee, or
changes a task's assignee, the API checks the run's role. This covers POST /api/projects/{id}/tasks
and PUT /api/tasks/{id}, so also the MCP tools create_task and update_task.
The run's role is the role of the persona the run runs as (task_runs.persona): the task's assignee,
the project's review persona for a review, or the triage task's persona for a triage run. The
assignment is allowed when the target persona is:
- in the role's
may_assign, ormay_assignisnull(every default role); - the role's own persona;
- the role's manager's persona.
A person assignee or no assignee is never refused. Anything else answers 403, for example:
forbidden: Tech lead (senior-developer) may assign tasks to developer, senior-developer; leave it unassigned or give it to project-manager
For a role that reports to the people, the end reads "give it to a person". This is the message the
test TestAgentRunAssignsWithinItsRole (api/internal/task/delegation_test.go) expects.
- Only a change is checked. On
PUT, an unchanged assignee passes, so a run can still edit a task a person gave to a persona outside its role. - People are not limited, and neither is a person's confirmed session plan: it runs as the person, without a run scope.
- A paused target is not a refusal. The task is created and waits.
- An inactive manager is not skipped. The rule allows the manager's persona even when it was removed from Git; only triage walks further up (Fallback).
Pause¶
A paused task stays queued: the claim passes over it and the
unclaimable-queue sweep does not park it, the same as a task
waiting on a depends_on target (task.PausedSQL is part of waitingSQL). Nothing is stored on the
task, so the next claim after resuming takes it. A run already in progress is never stopped.
| Pause | Holds | Set by |
|---|---|---|
| Role | Agent tasks assigned to the role's persona | active: false on the role |
| Organization | Every agent task of the organization, reviews included | PUT /api/organizations/{id}/pause, by a person or an operator run |
Pausing an organization that is already paused keeps the first pause's time and who set it. A paused role gets no triage task, and an organization pause leaves every Needs attention item with the people (Triage up the reporting line). Session turns (chats) are not tasks and are not held.
An open agent task that is paused carries paused, which the board shows on its card as
Paused: role <title> or Organization paused (with who paused it and when in the tooltip):
{ "paused": { "scope": "organization", "by": "dunk", "at": "2026-10-27T10:12:00Z" } }
{ "paused": { "scope": "role", "role": "Tech lead" } }
paused is left out for every other task (api/internal/task/pause_pg.go).
Operator runs¶
A run of the persona operator may pause and resume the organizations its runner serves, so it can
hold agent work while an upgrade takes a shared service offline
(Drain). Decided on
2421, built in #2422 (taskbase#688,¶
merged 2026-11-03).
- Which organizations. The run's own organization, the organizations its runner lists, or every organization for an instance runner.
- Who it names.
agents_paused_byis the run's runner login, for exampleops-agent, so the operator can tell its own pause from a person's. - It lifts only its own pause. Resuming a pause someone else set answers
409"paused by X; an agent run resumes only a pause it set", and the pause stays. People resume any pause. - It reads before it pauses.
GET /api/organizations(MCPlist_organizations) lists the organizations its runner serves (Guard.ListedOrganizations), andGET /api/organizations/{orgId}/roles(MCPlist_roles, guard ruleoperator) gives it each one's roster, withagents_paused_atandagents_paused_by. So the Hold step can record which organizations were already paused, and by whom, before it pauses (Drain). On an organization other than its own it may use only these reads and the two pause routes. - An organization its runner does not serve answers
403"forbidden: this run's runner does not serve this organization". - Every other agent run and session turn is refused both pause routes with
403, and reads only its own organization's roster: another organization's answers403"forbidden: no access to this organization" (seen from atechnical-writerrun on 2026-11-14).
The MCP tools are list_organizations, list_roles, pause_organization and resume_organization
(MCP Server). An operator run can also read GET /api/runners
to see when runs have finished (Control-room endpoints).
The sources are task #2422, the merged pull request's title and the MCP tool descriptions read on 2026-11-03 for the pause; and for the two reads task #3231, and task #3232, which summarises the diff of taskbase#736, read on 2026-11-14. The code was outside this writer's read scope both times. Open: the first release and production version with each change.
Repository read scope¶
With Org Chart v2 on, repo_read is ignored (it is kept for the switch-off
path): a run reads every repository of its task's organization, and a run whose role's base persona
is operator every organization its runner serves (ADR-0026 §6, task #2843). The rest of this
section describes the switch off.
A run reads a project's repository through Taskbase only when the project is within its role's
repo_read. The check sits on GET /api/projects/{id}/repository/tree and /file, which back the
MCP tools list_repository_files and read_repository_file (Taskbase task #1771,
Skatzi/taskbase#642, merged 2026-10-27;
the guard rule is runRepo in api/internal/authz/guard.go). Design:
ADR-0024 §6.
repo_read |
A run may read the repository of | The Team tab shows |
|---|---|---|
null |
the persona's default, repo_read_default |
Persona's default |
task |
its task's project only | The task's repository |
organization |
every project of its task's organization | The organization's repositories |
served |
every project of every organization its runner serves | Every repository the runner serves |
Persona defaults, read from list_roles on 2026-10-28: organization for project-manager,
served for operator, task for every other task persona.
- Outside the scope the read is refused with a message naming the scope. A
taskrun reading another project getsforbidden: this run's role reads only its task's repository(seen from atechnical-writerrun on 2026-10-28). - Platform docs (
/api/platform-docs/*) are open to every run, whatever its scope. - Reads only.
repo_readwidens nothing else: a run still writes only through a branch and pull request in its task's repository, and its other Taskbase routes stay within its task's organization (Run-scoped access). - Not a hard wall in v1. The runners' own Gitea accounts are not narrowed, so
repo_readis what Taskbase grants and what the personas are told to use; a run could still reach what its runner's Gitea token reaches (ADR-0024 §6, narrowing deferred there). - Session turns do not use
repo_read: a turn reads only its own project's repository (Agent Sessions — Reading files).
Open questions¶
- The HTTP status of a refusal and the messages for the
organizationandservedscopes were not read: the guard and its tests are in Skatzi/taskbase, outside this writer's read scope on 2026-10-28. - The first Taskbase release containing taskbase#642, and whether production runs it, were not read for the same reason. The refusal above shows the check answering on 2026-10-28.
- The first Taskbase release containing taskbase#724 (task #2864) was not read: Skatzi/taskbase was outside this writer's read scope on 2026-11-12. Its behaviour, in Attention — Item already handled, is written from tasks #2864 and #2877, not checked against the code.
In the project manager's claim¶
A claim whose persona is project-manager carries roster, the organization's roles with default
roles included and personas removed from Git left out. For every other persona it is null.
{ "roster": [ { "persona": "developer", "title": "Developer", "reports_to": "project-manager",
"may_assign": null, "active": true } ] }
A roster that cannot be read fails the claim with 500 rather than sending the project manager
without it. See POST /api/runners/{id}/claim.
With Org Chart v2 on, every claim also carries the run brief.
Org Chart v2¶
An organization's hierarchy of agent roles, each with a mandate, an area it owns and what it may
decide; tasks routed to the owning team's lead; and a decision gate between the runs and the owner.
Design: ADR-0026,
which extends ADR-0024. Built in Taskbase tasks #2838–#2843 (Shipped in). Read on
2026-11-12 from the Org Chart v2 sections of Skatzi/taskbase's CLAUDE.md at main 97ca65d
(v1.262.0), which name the code below.
Not yet rehearsed
The dev rehearsal of ADR-0026's rollout (task #2844) had not run when this page was written. The behaviour here is read from the code's notes, not seen on a running organization.
The switch¶
Everything in this section is behind the per-organization switch org_chart_v2, default off
(organizations.org_chart_v2, migration 091). With it off, the organization behaves exactly as
before: the roster, delegation rule, triage and repository reads of the sections above. Turning it
off again returns the organization to that behaviour; roles of their own, rules and texts stay
stored. All migrations are expand-only, so production runs the code with the switch off.
People turn it on in the Team tab (confirmed), or with PUT /api/organizations/{orgId}/org-chart
or the MCP tool update_org_chart. The same call names the decision gate role
(decision_role) and the dispatcher role (dispatcher_role), and replaces all three; each named
role must exist.
Roles of their own¶
With the switch on, a role is no longer one per persona. A role's slug is its own name, and
persona_slug is its base persona, the skill template from the agents repository; several roles
may share one. Tasks are assigned to role slugs: a run of a role gets its base persona's text and
default model, and the run records the role.
| Field | Meaning |
|---|---|
slug |
The role's name, unique in the organization: lowercase letters, digits and single hyphens, at most 64 characters, e.g. iam-lead. A persona's slug is that persona's default role and always builds on it |
persona_slug |
The base persona, a task persona. Required for a role of its own |
title |
Display name, e.g. "IAM lead" |
reports_to |
The manager role; null means the people |
mandate |
Plain text, at most 10,000 characters: what the role does, how it works, its bias and when it escalates. Added to every run's brief after the persona text. For the decision gate role it is the owner's decision policy |
owns |
Plain text, at most 4,000 characters: the area the role is responsible for, e.g. "users, login, Keycloak, roles and permissions, sessions, MFA" |
decides |
Plain text, at most 4,000 characters: what the role may settle on its own, before anything reaches the gate |
may_assign |
As before; null now means its subtree and every team lead |
active |
As before |
A team is a role others report to; its lead is that role. A role of its own built on
operator counts as operator everywhere that persona is special: it runs large on role=ops,
and in routine and triage tasks (task #2856).
With the switch off, PUT …/roles/{slug} accepts only a persona's slug (else 404), refuses a
non-empty mandate, owns or decides with 409, and keeps the stored ones on save.
DELETE …/roles/{slug} removes a role of its own with its routing rules; it answers 409 while the
role is the decision gate or the dispatcher.
Ownership and routing¶
Each role's owns text describes its area. Routing rules are exact and win over the text: an
ordered list per organization (at most 200), each naming a role and one of:
kind |
Matches | Example |
|---|---|---|
repository |
The task's project repository, owner/repo, case-insensitive |
eloro/webshop-shop-template → frontend-lead |
path |
A glob over the work's paths; ** is any directories |
internal/identity/** → iam-lead |
label |
A label of the work | area:iam → iam-lead |
People set them in a role's editor or with PUT /api/organizations/{orgId}/routing-rules
(MCP set_routing_rules), which replaces the whole list and answers 409 with the switch off.
The router. A task created through POST /api/projects/{id}/tasks (people, MCP create_task,
agents' follow-ups, general chats) that is open, has no assignee and asks no decision goes to a role
as an agent task:
- the first routing rule, in order, that matches;
- else the organization's dispatcher role, typically a project-manager node, which picks the
owner from the
ownstexts and reassigns the task; - else nobody, and the task stays unassigned.
The task's routed field (tasks.routed_by) says why, e.g. rule 2 (path internal/identity/**) or
dispatcher. A new task has no pull request or labels yet, so today only repository rules match
at creation; path and label rules match once something supplies paths or labels. A task created
with an assignee is never routed, and Renovate, incident, deploy-failure, request, triage and routine
tasks keep their own routes. A role the project refuses (its review persona) leaves the task
unassigned. See Org Chart v2 routing.
may_assign default¶
With the switch on, a role whose may_assign is null, a default role included, may assign to its
own subtree and to every team lead, plus, as before, itself and its manager (role.DefaultMayAssign).
An explicit list still narrows it. The delegation rule is otherwise unchanged.
The run brief¶
With the switch on, every claim, not only the project manager's, carries role_brief, and the
persona text the run gets ends with it in words:
- the run's role:
slug,title,mandate(marked as the organization's instructions for the role),decidesandmay_assignas the delegation rule applies it; - its
manager(null: the people) and itsreports; - the
directory: every active role withreports_to, whether it is alead, itsownstext (cut at 2,000 characters) and its routing rules; - how to use it: a follow-up for another area goes to the owning team's lead; work that drifted into another area is reassigned or split to that lead, with a comment; escalate when stuck.
With the switch off, role_brief is null and the persona text unchanged.
Escalating to the manager¶
A run may hand its own task to its manager role: POST /api/tasks/{id}/escalate {comment}, MCP
escalate_task. Taskbase posts the comment signed "<role title> via Taskbase escalation",
assigns the task to the manager without asking may_assign, and queues it again (Blocked, Review or
In Progress back to Backlog) for after the escalating run ends. Refused with 403 for any other task
or caller, and with 409 when the switch is off, the role has no manager ("leave it to the
people"), or the task is no longer assigned to the run's role. A run that just leaves a work item
open still climbs the chart through triage, as before.
The decision gate¶
The organization's decision_role answers decisions before the owner hears of them, within the
policy in its mandate, or forwards them to the owner with a brief. Hard limits never go to it. See
The decision gate on the attention page.
The chart in the Team tab¶
Below the pause bar the tab has the org_chart_v2 switch and, with it on, the Decision gate and
Dispatcher pickers. With the switch off the tab is the tree as before. With it on
the roles are an org chart: boxes under "The people", joined by lines, in a region that scrolls
to pan; below 768 px wide it is an indented tree. A team lead is marked and can collapse its
reports. Each box shows the title, base persona, the marks Decision gate, Dispatcher and
Paused, its live status (running, queued, and Stuck: tasks on Needs attention) and its 30-day
cost, with Edit and Add role under….
The editor sets the slug (new roles only), base persona (roles of their own only), title, reports
to, mandate, owns, decides, may assign and active, and the role's routing rules, which replace that
role's rules in place in the ordered list. It also removes a role of its own or resets a persona's
role. Dragging a box onto another, or onto the people, changes reports_to after a confirm; a
cycle or a chart deeper than 6 is refused before asking, and by the API.
Set up a chart¶
A person with the organization does this in the Team tab; the MCP tools in brackets do the same.
- Plan the chart on paper: the teams and their leads, who reports to whom (at most 6 deep), the gate and the dispatcher. Example from ADR-0026's rehearsal: a decision gate, a dispatcher, team "frontend" (a lead and a developer) and team "iam" (a lead).
- Add the roles with Add role under… (
save_role): slug, base persona, title, and the manager. Build on the persona whose skills fit:project-manageroranalystfor the gate and the dispatcher,senior-developerfor a lead,developerfor a developer. - Write each role's texts.
owns: the area, in the words tasks use.decides: what it settles alone.mandate: how it works and when it escalates; for the gate, the owner's decision policy, one line per kind of decision. - Add the exact rules (
set_routing_rules): arepositoryrule per repository that belongs to one team, since only those match a new task today. - Turn the switch on and pick the Decision gate and Dispatcher (
update_org_chart). Without a gate, decisions go to the owner as before; without a dispatcher, a task no rule matches stays unassigned. - Check with
list_rolesandget_org_chart, then create one unassigned task in a repository with a rule and check itsroutedfield.
To roll back, turn the switch off: the organization behaves as before at once.
API and MCP¶
| Route | Who | Does |
|---|---|---|
GET /api/organizations/{orgId}/org-chart |
Callers who read the organization | org_chart_v2, decision_role, dispatcher_role |
PUT /api/organizations/{orgId}/org-chart |
People only | Replaces all three; org_chart_v2 required; named roles must exist |
GET /api/organizations/{orgId}/routing-rules |
Callers who read the organization | The ordered rules |
PUT /api/organizations/{orgId}/routing-rules |
People only | Replaces the list (at most 200); 409 with the switch off |
POST /api/tasks/{id}/escalate |
An agent run, on its own task | Escalating to the manager |
The roster (GET …/roles, MCP list_roles) adds org_chart_v2, decision_role, dispatcher_role
and per role slug, mandate, owns and decides. MCP tools: get_org_chart,
update_org_chart, list_routing_rules, set_routing_rules, save_role, delete_role (people
only for the writes) and escalate_task (runs). The gate's routes are in
attention.md.
| Part | Code (Taskbase repository) |
|---|---|
Roles, slugs, routing, DefaultMayAssign, run brief |
api/internal/role/ |
| Router on create | api/internal/task/routing.go |
| Brief in the claim | runner.UseClaimBrief |
| Escalation | api/internal/escalation/, task.Handler.Escalate |
| Decision gate | api/internal/decisiongate/, triage.GateSweeper |
| Chart | ui/src/OrgChart.jsx, ui/src/orgChart.js |
| Migrations | 000091_org_chart_v2, 000092_task_routed_by, 000093_decision_gate |
API¶
| Route | Who | Does |
|---|---|---|
GET /api/organizations/{orgId}/roles |
The organization's people, agent runs and session turns of the organization, and operator runs for the organizations their runner serves |
The roster with default roles, the pause, each role's persona default_model, open_tasks, queued_tasks, cost_usd, triage_cost_usd, and cost_since (30 days ago) |
PUT /api/organizations/{orgId}/roles/{slug} |
People only | Stores the whole role: title, reports_to, may_assign, active (default true), repo_read. 404 for an unknown persona |
DELETE /api/organizations/{orgId}/roles/{slug} |
People only | Makes it a default role again. 404 when it has no row, 409 while roles report to it |
PUT /api/organizations/{orgId}/pause |
People, and operator runs for the organizations their runner serves |
Pauses the organization's agent work |
DELETE /api/organizations/{orgId}/pause |
People, and operator runs for a pause they set |
Resumes it; 409 for an operator run when someone else set the pause (Operator runs) |
PUT /api/organizations/{orgId}/minimum-model |
People only | {"minimum_model": "small" \| "medium" \| "large" \| null}: the smallest tier the organization's agent tasks run on, null for none; anything else is 400. Task models below it are raised on every write and at the claim (Runners and Runs, database schema). Returns the organization |
"People only" is humansOnly in the guard (api/internal/authz/guard.go): agent runs and session
turns are refused. The two pause routes also let operator runs through and refuse every other agent
run and session turn. Example body of a PUT:
{ "title": "Tech lead", "reports_to": "project-manager",
"may_assign": ["developer", "junior-developer"], "active": true, "repo_read": null }
The MCP tool list_roles(organization_id) reads the same roster, read-only
(MCP Server).
Code¶
| Part | Code (Taskbase repository) |
|---|---|
| Roster, tree checks, delegation rule, routes | api/internal/role/ (role.go, handler.go, store_pg.go) |
| Delegation check on create and update | api/internal/task/handler.go (checkDelegation), wired in api/cmd/server/main.go |
| Pause in the claim and on the task | api/internal/task/pause_pg.go, waitingSQL in api/internal/runner/store_pg.go |
| Roster in the claim | api/internal/runner/claim_context.go (addClaimRoster) |
| Team tab | ui/src/Team.jsx, ui/src/teamTree.js |
MCP list_roles |
mcp/internal/tools/agenttypes.go |
| Repository read scope for runs | api/internal/authz/guard.go (runRepo) |
| Migration | api/internal/migrations/000085_organization_roles.up.sql |
Not built yet¶
These parts of ADR-0024 v1 were open on 2026-10-27:
- "with <title> (triage #n)" on Needs attention items a manager role holds, task #1815.
The parts ADR-0024 puts later (decision rights, review routing, a planning cascade, lead check-ups,
budgets) wait for their triggers in the ADR. Org Chart v2 built the decision rights (decides and
the decision gate); the rest, with organization templates,
per-role models and learning ownership from history, waits for the triggers in
ADR-0026.