strategy-pivot-designer
Audited by Runlayer on Mar 2, 2026
Malicious tool definition detected
## Prerequisites - Python 3.9+ - `PyYAML` - Iteration history JSON (accumulated backtest-expert evaluations) - Source strategy draft YAML (from edge-strategy-designer) ## Output - `pivot_drafts/research_only/*.yaml` — strategy_draft compatible YAML proposals - `pivot_drafts/exportable/*.yaml` — export-ready drafts + ticket YAML for candidate-agent - `pivot_report_*.md` — human-readable pivot analysis - `pivot_manifest_*.json` — metadata for all generated files - `pivot_diagnosis_*.json` — stagna
Tool passed security scan
Malicious tool definition detected
Description: = { "strategy_id": "existing_strat", "iterations": [ { "iteration": 1, "timestamp": "2026-02-10T12:00:00Z", "changes_from_previous": "Initial", "eval": {"total_score": 40, "dimensions": [], "red_flags": [], "inputs": {}}, }, ], } history_path = tmp_path / "history.json" history_path.write_text(json.dumps(existing)) eval_data = { "total_score": 60, "verdict": "Refine", "dimensions": [], "red_flags": [], "inputs": {}, } eval_path = tmp_path / "eval2.json" eval_path.write_text(json.dum
Tool passed security scan
Malicious tool definition detected
""" eval_data = json.loads(eval_path.read_text()) if history_path.exists(): history = json.loads(history_path.read_text()) else: history = {"strategy_id": strategy_id, "iterations": []} # Ensure strategy_id matches — refuse to mix histories existing_id = history.get("strategy_id") if existing_id != strategy_id: raise ValueError( f"strategy_id mismatch: history has '{existing_id}' " f"but --strategy-id is '{strategy_id}'.
Tool passed security scan
Passed Files (8)Click to expand
Tool passed security scan
Tool passed security scan
Tool passed security scan
Tool passed security scan
Tool passed security scan
Tool passed security scan
Tool passed security scan
Tool passed security scan