forked from retoor/devplacepy
Code Farm: per-plot auto-replant pause and crop-lock check; community sync and node work
Continuous Delivery could never be turned off once a crop was planted. Add a one-shot per-plot "stop after harvest" flag (POST /game/plot/stop, Devii tool game_plot_stop, game_plots.stop_after_harvest), cleared by the next plant, autoreplant claim or Refactor. Autoreplant now also respects crop locks through the shared _crop_lock predicate. Plan and measurements in happyplanting.md. Also includes the pending community sync, node network and related work in the tree; the full suite passed (4999) with all of it. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -21,7 +21,7 @@ def _patch_pipeline(monkeypatch, pages):
|
||||
return [{"url": page.url, "title": page.title, "description": ""} for page in pages]
|
||||
|
||||
async def fake_crawl(
|
||||
candidates, max_pages, emit, is_cached, should_stop, query="", depth=1, seen_hashes=None
|
||||
candidates, max_pages, emit, is_cached, should_stop, query="", depth=1, seen_hashes=None, api_key=""
|
||||
):
|
||||
outcome = CrawlOutcome(seen_hashes=seen_hashes if seen_hashes is not None else set())
|
||||
for page in pages[:max_pages]:
|
||||
@@ -176,7 +176,7 @@ def test_worker_run_performs_refinement_round_when_budget_remains(monkeypatch):
|
||||
return [{"url": refined_page.url, "title": refined_page.title, "description": ""}]
|
||||
|
||||
async def fake_crawl_refinement(
|
||||
candidates, max_pages, emit, is_cached, should_stop, query="", depth=1, seen_hashes=None
|
||||
candidates, max_pages, emit, is_cached, should_stop, query="", depth=1, seen_hashes=None, api_key=""
|
||||
):
|
||||
outcome = CrawlOutcome(seen_hashes=seen_hashes if seen_hashes is not None else set())
|
||||
outcome.pages.append(refined_page)
|
||||
|
||||
Reference in New Issue
Block a user