atlas
f56b5c5a7b
fix( #991 ): start nginx when unit is in failed state, not just reload
...
nginx -s reload signals a running master process. When nginx enters
failed state (start-limit-hit from repeated nginx -t failures on a
bad agents.conf), there is no master and the reload is a silent no-op.
c0re kept re-firing the same no-op reload forever via RELOAD_PENDING.
Fix: probe the nginx unit's ActiveState before sending the reload:
- active → nginx -s reload (existing zero-downtime path)
- failed → systemctl reset-failed nginx + systemctl start nginx
- other → systemctl start nginx
This makes c0re self-healing: once a corrected agents.conf is published,
the next reload_gateway_nginx call clears the start-limit and restarts
nginx automatically without operator intervention.
New helpers: nginx_active_state() (systemctl show --property=ActiveState
--value) and gateway_systemctl() (host-side systemctl --machine=hive-gateway).
2026-06-01 19:31:30 +02:00
..
bin
hive-c0re: scrub manager-surface cookies + SetParent doc fix ( #715 batch 7)
2026-05-31 17:53:45 +02:00
actions.rs
fix( #948 ): pre-enqueue topology-sorted cascades on meta-update approval
2026-06-01 17:55:01 +02:00
agent_ports.rs
rename( #162 ): scrub remaining hm1nd references from comments and MCP instructions
2026-06-01 19:18:02 +02:00
agent_server.rs
refactor: unify AgentRequest/Response + ManagerRequest/Response into Request/Response ( #691 )
2026-06-01 11:20:10 +02:00
agent_sockets.rs
fix( #977 ): add MANAGER_CONTAINER=h-root, migrate root container name
2026-06-01 18:32:19 +02:00
approvals.rs
hive-c0re: scrub manager-surface cookies + SetParent doc fix ( #715 batch 7)
2026-05-31 17:53:45 +02:00
auto_update.rs
rename(162): update hm1nd comment in ensure_manager
2026-06-01 17:33:09 +02:00
bash_tasks_vacuum.rs
fix( #942 ): host-side bash-tasks vacuum, 48h retention
2026-06-01 16:11:08 +02:00
broker.rs
fix( #937 ): drop dead has_pending_from — superseded by has_pending_with_body
2026-06-01 15:39:26 +02:00
build_logs.rs
feat( #986 ): dedicated logs page with build/agent/system sub-tabs
2026-06-01 19:20:54 +02:00
client.rs
hive-c0re: admin socket server + client (stub dispatch)
2026-05-14 20:49:11 +02:00
container_view.rs
rename( #162 ): scrub remaining hm1nd references from comments and MCP instructions
2026-06-01 19:18:02 +02:00
coordinator.rs
feat( #2 ): split harness-internal state from agent-visible state
2026-06-01 13:27:35 +02:00
crash_watch.rs
docs: migrate reminder/gateway/crash-watch/migrate prose to docs ( #715 )
2026-06-01 11:38:42 +02:00
dashboard.rs
feat( #986 ): dedicated logs page with build/agent/system sub-tabs
2026-06-01 19:20:54 +02:00
dashboard_events.rs
chore: scrub #NNN issue references from code comments and nix descriptions
2026-06-01 13:30:52 +02:00
events_vacuum.rs
feat( #2 ): split harness-internal state from agent-visible state
2026-06-01 13:27:35 +02:00
flake_check.rs
chore: scrub #NNN issue references from code comments and nix descriptions
2026-06-01 13:30:52 +02:00
forge.rs
fix( #975 ): use hyperhive.local email domain to pass Forgejo validation
2026-06-01 18:28:22 +02:00
gateway_nginx.rs
fix( #991 ): start nginx when unit is in failed state, not just reload
2026-06-01 19:31:30 +02:00
lib.rs
feat( #702 ): add priv_client module to hive-c0re
2026-06-01 17:27:14 +02:00
lifecycle.rs
fix( #962 ): top_level_agents = parentless agents, not children of manager
2026-06-01 19:19:24 +02:00
limits.rs
chore: scrub #NNN issue references from code comments and nix descriptions
2026-06-01 13:30:52 +02:00
loose_ends.rs
rename: open_threads → loose_ends + cancel_thread → cancel_loose_end across wire / tools / web ui
2026-05-18 18:24:09 +02:00
main.rs
rename( #162 ): scrub remaining hm1nd references from comments and MCP instructions
2026-06-01 19:18:02 +02:00
manager_server.rs
rename( #162 ): scrub remaining hm1nd references from comments and MCP instructions
2026-06-01 19:18:02 +02:00
matrix.rs
fix( #922 ): fall back to m.login.password when matrix user already exists
2026-06-01 19:28:50 +02:00
meta.rs
fix( #975 ): use hyperhive.local email domain to pass Forgejo validation
2026-06-01 18:28:22 +02:00
migrate.rs
fix( #977 ): abort phase 5 if stop fails; clean up old root.conf after rename
2026-06-01 18:32:19 +02:00
operator_questions.rs
clippy: zero pedantic warnings across the tree
2026-05-18 22:09:34 +02:00
priv_client.rs
fix( #971 ): remove duplicate BindMount re-export in priv_client
2026-06-01 18:05:43 +02:00
questions.rs
hive-c0re: scrub manager-surface cookies + SetParent doc fix ( #715 batch 7)
2026-05-31 17:53:45 +02:00
rebuild_queue.rs
fix(948): topo-sort cascade agents in meta_update_cascade_agents
2026-06-01 16:50:41 +02:00
reminder_scheduler.rs
rename( #162 ): scrub remaining hm1nd references from comments and MCP instructions
2026-06-01 19:18:02 +02:00
scheduled_prompts.rs
scheduled_prompts: address argus 🟡 on #849 — submit paths section + persistence.md anchor fix
2026-05-31 17:18:15 +02:00
scheduled_prompts_worker.rs
fix( #937 ): use has_pending_with_body in worker — mirrors broker change
2026-06-01 15:39:26 +02:00
server.rs
feat: socket-activate the hive-c0re admin socket
2026-06-01 16:29:41 +02:00
stats_vacuum.rs
feat( #2 ): split harness-internal state from agent-visible state
2026-06-01 13:27:35 +02:00
tool_groups.rs
feat( #513 ): inject HIVE_TOOL_GROUPS from meta tool-groups.json per agent
2026-06-01 13:03:51 +02:00
topology.rs
fix( #962 ): top_level_agents = parentless agents, not children of manager
2026-06-01 19:19:24 +02:00