00f15b094b
- sessions.el: new sessions module with session management and approval gate
- routes.el: wire /api/sessions routes (list, get, create, approve, tool_result)
- chat.el: thread-aware activation — short messages anchor to last reply
before engram compilation so follow-ups stay on-topic
- chat.el: agentic path tracks per-session history (session_hist_{id})
instead of shared conv_history, seeding each turn with prior context
- chat.el: add call_neuron_mcp, dispatch_tool, is_builtin_tool, next_bridge_id
agentic_loop, bridge_save, agentic_resume, handle_tool_result
- dist/soul: rebuild with all of the above
16 lines
1.0 KiB
Plaintext
Generated
16 lines
1.0 KiB
Plaintext
Generated
// stewardship.elh — Layer 2 public surface
|
|
// auto-generated by elc --emit-header — do not edit
|
|
extern fn steward_get_mission() -> String
|
|
extern fn steward_align(input: String, imprint_id: String) -> String
|
|
extern fn steward_validate_imprint(imprint_id: String, tool_name: String) -> String
|
|
extern fn steward_cgi_check(action: String) -> String
|
|
// steward_log_event is an internal helper exported here because El has no access modifiers.
|
|
// External callers have no business invoking this directly — use steward_align,
|
|
// steward_validate_imprint, or steward_cgi_check, which call it at the correct points.
|
|
extern fn steward_log_event(kind: String, detail: String) -> Void
|
|
// Behavioral profiling and continuity detection (Layer 2 — session fingerprinting).
|
|
extern fn steward_fingerprint_session(input: String, session_id: String) -> String
|
|
extern fn steward_build_baseline() -> String
|
|
extern fn steward_check_continuity(current_fingerprint: String, session_id: String) -> String
|
|
extern fn steward_session_check(input: String, session_id: String) -> String
|