Separate commit: org-archive-browser test waits for the bus run button instead of asserting right after open() (timing race seen under load).
Review: Sol changes 4, daybreak-blue changes 2 (5 distinct incl. cross-org assistant scope and var values in refusal text), all fixed. Final gate on the fix commit: organization 434/0, webui 594/0, browser 604/1 (the race above; passed 4/4 after the wait fix). The roles proposal (chief hireable list) is NOT in this PR; it waits for Jason.
Phase A slice A1 (#1873): agent levels and the Agents grid. Read-only; no authority change.
- Three levels: root agents in <configDir>/agents.json (hand-written, no writer), org agents (existing roles), project agents (new projects.<p>.agents key in the org file: define, narrow, exclude).
- Union resolution root -> org -> project, most specific wins; narrows only intersect limits.*; bad root file refuses the whole root level.
- GET /api/agents/levels: owner only, orgs from organizations.members(session); no paths, credential refs or var values in the body.
- Agents grid (sample 08): level band, per-project availability table, honest empty states.
- Design: docs/plans/2026-11-10_agent-levels-design.md.
- Separate commit: org-archive-browser test waits for the bus run button instead of asserting right after open() (timing race seen under load).
Review: Sol changes 4, daybreak-blue changes 2 (5 distinct incl. cross-org assistant scope and var values in refusal text), all fixed. Final gate on the fix commit: organization 434/0, webui 594/0, browser 604/1 (the race above; passed 4/4 after the wait fix). The roles proposal (chief hireable list) is NOT in this PR; it waits for Jason.
Phase A slice A1, no authority change. Agents are defined at three levels:
the user's root (<configDir>/agents.json), the organization (roles) and the
project (projects.<p>.agents in the organization file). A project's agents
are their union, the most specific level winning.
- organization: agent-levels.mjs loads and checks the root file (no link,
owner uid, no group or other write) and project entries (define, narrow
intersect keys only, exclude), and resolves the union. The organization
file checks project agents for every reader and leaves them out of the
loaded business, so buses see what they saw before. Old-path re-export
in packages/business.
- webui: GET /api/agents/levels, owner only, with no host path, credential
reference or var other than the model in its body. display.js leaves it
unscoped. SERVER_PROJECT_KEYS holds agents.
- Agents grid: the level band, a project picker, and per agent its level,
the file that defines it, memory, status and model, with narrowed keys,
overrides and what the project does not get.
- Design: docs/plans/2026-11-10_agent-levels-design.md. The roles/ change is
a proposal outside this branch.
Two independent reviews (Sol, daybreak-blue) asked for changes.
- An organization's own assistant instance is scoped to that
organization. Only the root assistant, which no union holds, is
cross-organization.
- A root opt-out or project exclude whose name a more specific level
defines is no longer listed as unavailable.
- A malformed root agents.json refuses with "not valid JSON" only; the
parser's text, which can quote the file's bytes, is dropped.
- A refused root or project var names its key, never its value; an id
check's quote of a root value is dropped too. A value can be a secret
typed in the wrong place, and these refusals reach the Console.
- The root assistant's row shows the model the root file sets.
Tests cover each case, with a sentinel value checked absent from the
route body. The design doc records the behavior.
open() waits only for the editor title; the setup step enables the bus run
button after its async /setup read. Under load the assert ran first and
failed (A1 final gate, 2 of 4 runs). Wait for the enabled button instead.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Phase A slice A1 (#1873): agent levels and the Agents grid. Read-only; no authority change.
.agents key in the org file: define, narrow, exclude).
Review: Sol changes 4, daybreak-blue changes 2 (5 distinct incl. cross-org assistant scope and var values in refusal text), all fixed. Final gate on the fix commit: organization 434/0, webui 594/0, browser 604/1 (the race above; passed 4/4 after the wait fix). The roles proposal (chief hireable list) is NOT in this PR; it waits for Jason.