Watch
0
0
Fork
You've already forked hyperhive
0
hyperhive/frontend/packages/agent/src
Repository files (latest commit first)
Filename Latest commit message Latest commit date
atlas a429b30448 rename claude.md to agents.md for agents and the repo
Claude Code (>= 2.1.277) and opencode both read AGENTS.md, but Claude
Code reads it only when no CLAUDE.md exists in its cwd or above. So
this is a plain rename with no CLAUDE.md stub left behind.

- hive-agent/src/agents_md_migrate.rs: new. At harness start, before
  the first turn, renames state/CLAUDE.md to state/AGENTS.md when only
  the former exists; logs an error naming both paths when both exist
  and touches neither; does nothing otherwise. Idempotent.
- hive-agent/src/main.rs: calls it in serve_main; checkpoint prompt
  and a comment name AGENTS.md.
- hive-agent/src/claude_md_watch.rs: the size watch reads AGENTS.md;
  todo text, doc comments and tests follow. Module name, todo
  subsystem key ("claude_md") and metric name
  (hyperhive.agent.claude_md.lines) are unchanged so existing todo
  rows and dashboard history carry over.
- hive-agent/src/turn.rs, hive-agent/prompts/system.md: prompts tell
  the agent its file is AGENTS.md.
- hive-agent/src/{otel_turn_metrics,stats}.rs,
  frontend/packages/agent/src/stats.js, hive-subagent-mcp/src/*.rs:
  comments and a tool parameter description naming the agent's file.
- nix/host-modules/swarm-grafana/dashboards/agents.json: panel title
  and description.
- claude-plugins skills claude-subagents, state-hygiene: they mean the
  agent's own state file.
- CLAUDE.md -> AGENTS.md at the repo root; docs/crates/README.md link
  (checked by check-doc-refs.sh), hive-c0re/README.md,
  .prettierignore and the nix/sources.nix comment follow.
- docs/: every prose mention of the agent's file; persistence.md
  documents the boot-time rename, claude-invocation.md the shadowing.

Fixes #5509
2026-10-18 02:33:06 +02:00
..
components drop option renames and removals older than two weeks 2026-10-16 22:04:57 +02:00
hooks agents: remove the hive-level /effort control too 2026-10-11 01:28:44 +02:00
lib agents: remove the hive-level /effort control too 2026-10-11 01:28:44 +02:00
agent.css agent: add ?hide= URL param to suppress header/composer chrome 2026-09-11 17:10:47 +02:00
colors.css refactor(frontend): base16 theme contract in a swappable colors.css 2026-06-08 21:24:07 +02:00
css.d.ts treefmt: apply prettier 2026-09-02 15:25:07 +02:00
index.html treefmt: apply prettier 2026-09-02 15:25:07 +02:00
main.tsx treefmt: apply prettier 2026-09-02 15:25:07 +02:00
Root.tsx swarm-ui: a hide debug output toggle in the header's settings menu 2026-10-12 21:41:23 +02:00
screen.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
stats.html treefmt: apply prettier 2026-09-02 15:25:07 +02:00
stats.js rename claude.md to agents.md for agents and the repo 2026-10-18 02:33:06 +02:00
theme.css refactor(frontend): base16 theme contract in a swappable colors.css 2026-06-08 21:24:07 +02:00
types.ts drop option renames and removals older than two weeks 2026-10-16 22:04:57 +02:00