Skip to content

Commit 4ade6aa

Browse files
committed
Fix prettier formatting for search_agents gate
1 parent 3ad7a45 commit 4ade6aa

3 files changed

Lines changed: 4 additions & 8 deletions

File tree

docs/ARCHITECTURE.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -209,15 +209,13 @@ Profiles with `orchestrator: true` may themselves call `task` (one hop only): ne
209209

210210
#### Fleet authority tiers (`src/subagent/authority.ts`) (CL-6941)
211211

212-
213212
Every director package carries a required `tier: SubagentTier` field (`src/agent/directors/types.ts`) — data on the package, never a prompt instruction:
214213

215-
| Tier | Who | Fleet surface |
216-
| ------------------------- | ----------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- |
217-
| 1 — `orchestrator` | skywalker (primary) | Full fleet control over the whole tree. |
214+
| Tier | Who | Fleet surface |
215+
| ------------------------- | ----------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------- |
216+
| 1 — `orchestrator` | skywalker (primary) | Full fleet control over the whole tree. |
218217
| 2 — `nested-orchestrator` | greybeard, or any package with `spawn.maySpawn` | Fleet surface without discovery: may manage only its own descendants via task/spawn, never siblings or ancestors; no `search_agents` / `list_agents`. |
219-
| 3 — `leaf` | every other director | No fleet verbs at all. |
220-
218+
| 3 — `leaf` | every other director | No fleet verbs at all. |
221219

222220
Enforcement is runtime code at the existing tool-mount point, not prompt wording — this is the fix for four prior mechanisms (`writePaths`, `report.requiredSections`, a `--config` comment, the thrash matcher) that were documented-as-enforced while enforcing nothing:
223221

src/agent/directors/greybeard/package.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@ describe("greybeardPackage", () => {
5353
expect(allow).not.toContain("delete_file");
5454
});
5555

56-
5756
test("modelRole is review", () => {
5857
expect(greybeardPackage.modelRole).toBe("review");
5958
});

src/agent/tool-search.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,6 @@ describe("createToolIndex", () => {
9393
);
9494
});
9595

96-
9796
test("manage_tasks is advertised regardless of availability", () => {
9897
expect(coreToolNamesForSessionMode("orchestrator", NO_AVAILABILITY)).toContain("manage_tasks");
9998
});

0 commit comments

Comments
 (0)