**feat: refactor agent loop to state machine with dynamic trajectory checks**
- Replace hard-coded `MAX_REPL_STEPS` death-limit with a dynamic Checkpoint Interval. - Introduce 4-phase state machine: `PLANNING`, `EXECUTING`, `TRAJECTORY_CHECK`, and `PIVOTING`. - Add Trajectory Checks allowing the agent to self-assess progress against defined success criteria to extend its execution budget. - Implement Hard (wipe strategy/kernel) and Soft (retry step) Pivoting logic. - Establish persistent notebook-style kernel (flushed only on Hard Pivots). - Upgrade sandbox safety with strict import whitelisting, dunder blocking, and taint tracking. **bugfix: - logging_config.py: Add markdown_it to suppressed logger list - utils.py: Rewrite save_agent_trace for delta-based logging - edge_rlm.py: Add last_trace_msg_count tracking and pass deltas at all 3 call sites
This commit is contained in:
+1
-1
@@ -26,7 +26,7 @@ class JSONFormatter(logging.Formatter):
|
||||
|
||||
|
||||
def setup_logging(level=logging.INFO, log_file=None):
|
||||
for lib_name in ("urllib3", "requests", "http.client", "markdown", "Markdown"):
|
||||
for lib_name in ("urllib3", "requests", "http.client", "markdown", "Markdown", "markdown_it"):
|
||||
logging.getLogger(lib_name).setLevel(logging.WARNING)
|
||||
|
||||
handlers = [
|
||||
|
||||
Reference in New Issue
Block a user