Watch
0
0
Fork
You've already forked hyperhive
0
hyperhive/hive-sh4re/src
Repository files (latest commit first)
Filename Latest commit message Latest commit date
atlas 7d217f8267 remove the create_repo agent tool
mara ruled on #4849 (c88934): "remove create_repo tool". The tool ran in
hive-c0re with the hive's core token, so it only ever worked for agents
on the hive that runs the forge.

Removed:

- the create_repo MCP tool and CreateRepoArgs (hive-agent-mcp)
- wire variants Request::CreateRepo and Response::RepoCreated
  (hive-core-agent-sock)
- hive-c0re's handle_create_repo, its valid_repo_name check and the
  dispatch arm
- forge::create_agent_repo and apply_operator_branch_protection, which
  had no other caller, plus AGENTS_ORG and OPERATORS_TEAM, whose only
  users they were
- the tool's docs (docs/tools/forge.md repo management, docs/turn-loop/
  mcp.md, the conventions tool-group table) and the doc comments that
  named it (hive-sock-client's response timeout, ensure_repo_creation_
  disabled, the security doc's merge-gate bullet)

ToolGroup::Forge is kept with no tools, the same way b88a5b24 kept
Lifecycle, so existing meta/capabilities.json grants still parse.

Forge state is untouched: existing agents/* repos keep their collaborators
and operators-team branch protection. The swarm-controller's own
create_repo (config-org repos) is a different path and is unchanged.

Closes #4849
2026-10-01 09:04:17 +02:00
..
approvals.rs Make agent creation swarm-only and refuse a name placed on another hive 2026-09-29 15:47:40 +02:00
assets.rs hive-sh4re: drop the nix explanation from the panic message too 2026-08-30 04:19:11 +02:00
bash_task.rs hive-sh4re: split bash-task schema into its own topic module 2026-08-10 22:12:38 +02:00
container.rs topology: drop the parent field and the hierarchy it fed 2026-09-21 22:08:47 +02:00
inbox.rs hive-sh4re: one saturating_age for every loose-end producer 2026-09-02 14:20:25 +02:00
lib.rs remove the get_host_journal MCP tool and its capability 2026-09-21 19:31:45 +02:00
manager.rs topology: drop the parent field and the hierarchy it fed 2026-09-21 22:08:47 +02:00
paths.rs move hive-sh4re's harness_dir() into hive-agent-sock, drop the dev-fallback derivation 2026-08-09 19:54:13 +02:00
permissions.rs remove the create_repo agent tool 2026-10-01 09:04:17 +02:00
schedule.rs hive-sh4re: split inbox, container, journal, and schedule wire shapes into their own modules 2026-08-10 23:26:15 +02:00
wire_time.rs hive-sh4re: delete now_unix(), the migration's last call sites are gone 2026-08-02 02:12:19 +02:00