Watch
0
0
Fork
You've already forked hyperhive
0
hyperhive/hive-agent/src
Repository files (latest commit first)
Filename Latest commit message Latest commit date
atlas cfe965783e fix: set the in-agent socket's mode at bind, not afterwards
hive-c0re pushes todos into each agent over the in-agent socket, and
every one of those dials has been failing with EACCES. The socket is
created by todo_server::bind with no mode set at all, so it lands at
0777 & ~umask -- typically 0755. connect(2) on a unix socket requires
*write* permission, and hive-core is neither the socket's owner nor in
its group, so it is locked out.

The tell is the sibling socket. web.sock is bound in the same
directory, by the same process, as the same user, and does set its mode
(0666) immediately after bind. Only the socket missing that call fails,
which is also why no ownership or chown theory explained it: both
sockets share every directory they live in, so anything at the
directory level would have broken them together.

Fix is the two lines web.sock already had. Access control for these
sockets is the containing directory's job, not the socket's -- the mode
here only has to not exclude the host daemon that is supposed to reach
it.

Observable effect: scheduled prompts and message wakes reach agents
again. An agent whose wake is dropped still sees its messages whenever
something else wakes it, so the failure presents as agents that look
healthy but answer late, or not at all if nothing else is waking them.
2026-08-03 23:01:39 +02:00
..
web_ui hive-agent: /cancel matches claude's cmdline, not the kernel comm name 2026-08-03 01:33:09 +02:00
db_migrate.rs hive-agent: finish chrono-clock migration on remaining call sites 2026-08-02 02:12:19 +02:00
disk_watch.rs harness todos: ack reconciled todos instead of deleting them 2026-07-28 09:40:15 +02:00
events.rs hive-agent: finish chrono-clock migration on remaining call sites 2026-08-02 02:12:19 +02:00
harness_state.rs refactor(hive-agent): split the forge notification poller into its own crate 2026-07-26 21:30:29 +02:00
identity.rs refactor(#2464): rename hive-ag3nt crate to hive-agent, collapse lib into main 2026-07-15 16:09:39 +02:00
login.rs docs: give turn-loop/ a README.md landing page 2026-08-03 12:55:18 +02:00
login_session.rs refactor(#2464): rename hive-ag3nt crate to hive-agent, collapse lib into main 2026-07-15 16:09:39 +02:00
main.rs docs: give turn-loop/ a README.md landing page 2026-08-03 12:55:18 +02:00
mcp_config.rs always-on mark_todos_done: no ToolGroup ever exposed it, blocking every agent 2026-08-03 19:09:38 +02:00
paths.rs feat(#2635): wire harness-local questions mirror (inc2 pt2) 2026-07-26 02:07:33 +02:00
plugins.rs refactor(#2464): rename hive-ag3nt crate to hive-agent, collapse lib into main 2026-07-15 16:09:39 +02:00
prompt.rs refactor(#2464): rename hive-ag3nt crate to hive-agent, collapse lib into main 2026-07-15 16:09:39 +02:00
questions.rs hive-agent: finish chrono-clock migration on remaining call sites 2026-08-02 02:12:19 +02:00
reminder_timer.rs hive-agent: finish chrono-clock migration on remaining call sites 2026-08-02 02:12:19 +02:00
reminders.rs hive-agent: finish chrono-clock migration on remaining call sites 2026-08-02 02:12:19 +02:00
serve_common.rs auto-pause the turn loop after repeated missed get_loose_ends on todo wakes 2026-08-02 17:47:49 +02:00
stats.rs hive-agent: finish chrono-clock migration on remaining call sites 2026-08-02 02:12:19 +02:00
stream_enrich.rs remove request_next_turn: same-turn continuation is always worse than an external wake 2026-07-27 22:15:36 +02:00
todo_server.rs fix: set the in-agent socket's mode at bind, not afterwards 2026-08-03 23:01:39 +02:00
todos.rs revise bulk-clear to explicit ids per mara's feedback, fix clippy line count 2026-08-02 16:41:33 +02:00
turn.rs swap hive-claude to the crates.io registry dependency (#2931) 2026-08-02 14:19:26 +02:00
turn_stats.rs swap hive-claude to the crates.io registry dependency (#2931) 2026-08-02 14:19:26 +02:00
vacuum.rs hive-sh4re/hive-bash-mcp/hive-agent: retype TaskFile timestamps to DateTime<Utc>, drop now_unix from these crates 2026-08-02 02:12:19 +02:00