Watch
0
0
Fork
You've already forked hyperhive
0
hyperhive/frontend/packages/dashboard/src
Repository files (latest commit first)
Filename Latest commit message Latest commit date
atlas 5785c0024c Make agent creation swarm-only and refuse a name placed on another hive
swarm-controller's POST /api/agents now refuses (409) a name the swarm
has already placed on a different hive: a non-Destroyed declaration in
that hive's wanted state, or a SetAgentWanted node still queued for it.
The same name on the same hive is that agent being re-created and goes
through. A wanted state that cannot be read refuses (503/500) instead of
reading as "placed nowhere". Creations are serialised from that read to
the graph insert so two concurrent creations of one name cannot both
pass.

Hive-level creation is removed: hivectl `agent create` / `request-create`,
HostRequest::Spawn / RequestSpawn, the dashboard POST /api/request-spawn
route, and ApprovalKind::Spawn with its approve/resolve arms and the
approval-carrying `templates::spawn`. The swarm path (deploy request or
wanted-state sweep -> queue_first_deploy -> templates::first_deploy) used
none of them. Old `spawn` approval rows are skipped by collect_lenient,
as `init_config` rows were in a3b672d1.

policy.rs's comment on agent_object_name stated swarm-wide name
uniqueness as a fact; it now says where it is enforced and what that
check cannot see.

Refs #4396
2026-09-29 15:47:40 +02:00
..
agent-menu treefmt: apply prettier 2026-09-02 15:25:07 +02:00
builds.css treefmt: apply prettier 2026-09-02 15:25:07 +02:00
builds.html treefmt: apply prettier 2026-09-02 15:25:07 +02:00
builds.js treefmt: apply prettier 2026-09-02 15:25:07 +02:00
call.js Make agent creation swarm-only and refuse a name placed on another hive 2026-09-29 15:47:40 +02:00
colors.css refactor(frontend): base16 theme contract in a swappable colors.css 2026-06-08 21:24:07 +02:00
common.css docs: retire the stray top-level web-ui.md, fold it into web-ui/README.md 2026-09-07 15:49:52 +02:00
common.js docs: retire the stray top-level web-ui.md, fold it into web-ui/README.md 2026-09-07 15:49:52 +02:00
core.css treefmt: apply prettier 2026-09-02 15:25:07 +02:00
core.html treefmt: apply prettier 2026-09-02 15:25:07 +02:00
core.js dashboard: pre-fill resource-limit inputs so editing one doesn't clear the other 2026-09-21 15:55:05 +02:00
credentials.css hive-dashboard: remove the MATRIX credentials tab and its login route 2026-09-29 13:54:18 +02:00
credentials.html hive-dashboard: remove the MATRIX credentials tab and its login route 2026-09-29 13:54:18 +02:00
credentials.js hive-dashboard: remove the MATRIX credentials tab and its login route 2026-09-29 13:54:18 +02:00
dashboard.css Make agent creation swarm-only and refuse a name placed on another hive 2026-09-29 15:47:40 +02:00
dashboard.html docs: retire the stray top-level web-ui.md, fold it into web-ui/README.md 2026-09-07 15:49:52 +02:00
flow.css docs: retire the stray top-level web-ui.md, fold it into web-ui/README.md 2026-09-07 15:49:52 +02:00
flow.html treefmt: apply prettier 2026-09-02 15:25:07 +02:00
flow.js docs: retire the stray top-level web-ui.md, fold it into web-ui/README.md 2026-09-07 15:49:52 +02:00
home.css treefmt: apply prettier 2026-09-02 15:25:07 +02:00
home.js treefmt: apply prettier 2026-09-02 15:25:07 +02:00
index.html hive-dashboard: remove the MATRIX credentials tab and its login route 2026-09-29 13:54:18 +02:00
logs.css treefmt: apply prettier 2026-09-02 15:25:07 +02:00
logs.html treefmt: apply prettier 2026-09-02 15:25:07 +02:00
logs.js treefmt: apply prettier 2026-09-02 15:25:07 +02:00
permissions.js treefmt: apply prettier 2026-09-02 15:25:07 +02:00
schedules.js remove operator as target for scheduled prompts 2026-09-11 23:32:45 +02:00
state.js dashboard: remove the Y3R C4LL questions pane (ask/answer removal, frontend) 2026-08-29 20:35:27 +02:00
stats.css fix(stats): move window selector into the page header tab bar 2026-07-26 17:21:21 +02:00
stats.html treefmt: apply prettier 2026-09-02 15:25:07 +02:00
stats.js treefmt: apply prettier 2026-09-02 15:25:07 +02:00
stream-worker.js treefmt: apply prettier 2026-09-02 15:25:07 +02:00
swarm.js docs/web-ui: drop the redundant Topology tree section 2026-09-28 13:18:12 +02:00
system-sections.css treefmt: apply prettier 2026-09-02 15:25:07 +02:00
tabs.js Make agent creation swarm-only and refuse a name placed on another hive 2026-09-29 15:47:40 +02:00
theme.css refactor(frontend): base16 theme contract in a swappable colors.css 2026-06-08 21:24:07 +02:00
util.js treefmt: apply prettier 2026-09-02 15:25:07 +02:00