1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
//! # vela-scientist — the agent layer
//!
//! Sits on top of `vela-protocol`. Reads a researcher's working
//! directory and emits `StateProposal`s tagged with an `AgentRun`
//! for reviewer-facing provenance. Never signs canonical state.
//!
//! v0.22 ships **Literature Scout** only: PDF folder → `finding.add`
//! proposals. Other agents (Notes Compiler, Code Analyst,
//! Contradiction Finder, Experiment Planner, Reviewer Agent) land
//! one at a time in v0.23+.
/// Stable agent name + actor id for Literature Scout. Pairs with
/// `StateProposal::actor.id == AGENT_ACTOR_ID_LITERATURE_SCOUT` so
/// the Workbench can group its proposals.
pub const AGENT_LITERATURE_SCOUT: &str = "literature-scout";
pub const AGENT_ACTOR_ID_LITERATURE_SCOUT: &str = "agent:literature-scout";
/// Generate a fresh run id for an agent invocation. Format:
/// `vrun_<16 hex chars>` derived from the agent name + a UTC
/// timestamp. Not content-addressed (two identical inputs at
/// different wall-clock instants produce different ids); the run
/// id's job is to group proposals from the same invocation in the
/// reviewer UI, not to act as a substrate primitive.