REQ-LOOP

← Requirements

10 requirements: 10 implemented, 10 tested, 0 passing.

requirementtierimplemented bytests
REQ-LOOP-001
Agent state machine with observable, dual-channel transitions
NOT_RUN
22 functionsbegin_loop_preamble
clear_conversation_for
drop_session
entropic_run_session
entropic_session_context_clear
entropic_session_context_count
entropic_session_context_get
entropic_session_drop
entropic_session_list
entropic_set_state_observer
is_terminal_state
messages_for
run
run_loop
run_streaming
run_streaming
run_turn
run_turn
set_active_session
set_state
set_state_observer
set_state_observer
0 direct · 330 reached through calls
330 tests: 330 absent
REQ-LOOP-002
Bounded loop termination with synthetic completion that carries the run's last real output
NOT_RUN
6 functionsfinish_with_carried_output
force_iteration_cap_completion
loop
resolve_max_iterations
run
should_stop
0 direct · 92 reached through calls
92 tests: 92 absent
REQ-LOOP-003
Fixed per-iteration pipeline with pre-generate cancellation
NOT_RUN
10 functionsdispatch_pending_or_halt
dispatch_post_generate
execute_iteration
execute_pending_delegation
fire_pre_hook
generate_batch
generate_response
parse_tool_calls
process_generation_result
process_tool_results
0 direct · 92 reached through calls
92 tests: 92 absent
REQ-LOOP-004
Empty-turn allowance and tool-call correction nudge
NOT_RUN
4 functionsevaluate_no_tool_decision
get_tier_allowed_tools
record_explicit_completion_failure
restrict_tools
0 direct · 93 reached through calls
93 tests: 93 absent
REQ-LOOP-005
Opt-in thinking-budget gating with nudge then a hard cut that carries the run's real output
NOT_RUN
5 functionsbudget_units_consumed
charge_thinking_budget
finish_with_carried_output
hard_cut_budget
nudge_budget_completion
0 direct · 92 reached through calls
92 tests: 92 absent
REQ-LOOP-006
Interrupt and pause semantics across nested loops
NOT_RUN
24 functionsRunCancelScope
cancel_current_run
cancel_pause
current_run_cancel
current_run_cancelled
dispatch_batch_generate
dispatch_pending_or_halt
entropic_interrupt
entropic_interrupt_session
generate_streaming
handle_pause
handle_terminal_finish_reasons
interrupt
interrupt_session
pause
poll_stop
reset_interrupt
run_cancel_flag
run_loop
set_external_interrupt
set_external_reset
spawn_cancel_poller
this_thread_run
~RunCancelScope
0 direct · 320 reached through calls
320 tests: 320 absent
REQ-LOOP-007
Engine-authored transcript shaping keeps the system prompt bit-stable
NOT_RUN
7 functionscapture_validation_feedback
defang_meta_action_envelope
fold_complete_into_assistant
fold_delegation_summary
inject_engine_state_reminder
prepare_prompts
process_tool_results
0 direct · 100 reached through calls
100 tests: 100 absent
REQ-LOOP-008
Family-aware streaming reasoning filter with UTF-8 alignment
NOT_RUN
15 functionsRunStreamScope
StreamThinkFilter
StreamThinkFilter
emit_to_current_run_stream
emit_utf8_safe
flush
generate_streaming
on_token
process_byte
run_streaming
run_streaming
set_raw_callback
stream_token_callback
utf8_char_len
~RunStreamScope
0 direct · 238 reached through calls
238 tests: 238 absent
REQ-LOOP-009
Per-session-key run concurrency, on by default, with one lock on the generation path
NOT_RUN
39 functionsRunSessionScope
ToolRootShared
current_run_session
enter_working_dir
entropic_context_clear
entropic_session_context_clear
entropic_session_drop
execute
execute_tool
leave_working_dir
lock
lock_shared
owned_by_this_thread
peek
plan_batch_kv
plan_disturbs_sessions
record_read
release
release_session
release_session
release_session
release_session
release_session
release_session_tool_state
route_tool_call
session_count
session_count
session_count
session_count
session_count
set_concurrent_sessions
set_working_dir_all
try_begin_turn
unlock
unlock_shared
was_read
with
~RunSessionScope
~ToolRootShared
0 direct · 301 reached through calls
301 tests: 301 absent
REQ-LOOP-010
Session conversations are readable, writable, and losslessly round-trippable
NOT_RUN
8 functionsentropic_session_context_set
forget_session
forget_session_kv
forget_session_kv
forget_session_kv
serialize_message
serialize_messages
set_session_messages
0 direct · 267 reached through calls
267 tests: 267 absent