docs(turn-loop): drop historical framing, point to turn.rs module doc
This commit is contained in:
parent
f500863f2f
commit
5df263b202
1 changed files with 8 additions and 13 deletions
|
|
@ -218,9 +218,7 @@ socket at `/run/hive/` once at startup:
|
||||||
`services.hyperhive.c0re.operatorPronouns`, default `she/her`).
|
`services.hyperhive.c0re.operatorPronouns`, default `she/her`).
|
||||||
When `hyperhive.docs.enable` is set, `HIVE_DOCS_DIR` is present
|
When `hyperhive.docs.enable` is set, `HIVE_DOCS_DIR` is present
|
||||||
in the environment and `render()` appends a one-sentence pointer
|
in the environment and `render()` appends a one-sentence pointer
|
||||||
telling the agent the docs are mounted at that path (in lieu of
|
telling the agent the docs are mounted at that path.
|
||||||
the old CLAUDE.md-in-docs-dir approach, which was dropped in
|
|
||||||
favour of this direct injection).
|
|
||||||
Passed via `--system-prompt-file`.
|
Passed via `--system-prompt-file`.
|
||||||
|
|
||||||
**Marker grammar.** `<!-- role:X -->` opens a block; any
|
**Marker grammar.** `<!-- role:X -->` opens a block; any
|
||||||
|
|
@ -242,14 +240,11 @@ socket at `/run/hive/` once at startup:
|
||||||
empty-string env vars and missing env vars round-trip the
|
empty-string env vars and missing env vars round-trip the
|
||||||
same way.
|
same way.
|
||||||
|
|
||||||
The per-turn plumbing lives in `hive_ag3nt::turn`: `write_mcp_config` /
|
The per-turn plumbing described on this page — on-boot files, session
|
||||||
`write_system_prompt` (on-boot files), `make_session` (builds the durable
|
identity, the reset/auto-reset/retry state machine, and the
|
||||||
`InfiniteSession`, once), `drive_turn` (the policy state machine —
|
telemetry-to-bus bridge — lives in `hive-agent`'s `turn` module; see its
|
||||||
reset/auto-reset, the turn, 401-retry, deferred-compact-at-turn-end),
|
`//!` doc comment (`hive-agent/src/turn.rs`) for the exact call shape.
|
||||||
`run_pending_compact` (idle operator compact), `BusSink` (stream → bus +
|
The actual claude spawn, stream classification, and the
|
||||||
`Telemetry` applied via `apply_telemetry`), `emit_turn_end`, `session_title`
|
reactive/proactive compaction loop are in the `hive-claude` crate.
|
||||||
/ `session_store` / `archive_session` (identity + turn-boundary reset). The
|
Login-wait lives in `hive-agent`'s `login` module.
|
||||||
actual claude spawn, stream classification, and the reactive/proactive
|
|
||||||
compaction loop are in the `hive-claude` crate. Login-wait
|
|
||||||
(`wait_for_login`) lives in `hive_ag3nt::login`.
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue