@@ -139,7 +139,7 @@ async def list_tasks(
|
||||
is_task=True,
|
||||
status=status or None,
|
||||
project_id=project_id or None,
|
||||
task_kind=kind, # DELIBERATE BREAK
|
||||
task_kind=kind or None,
|
||||
limit=max(1, min(limit, 100)),
|
||||
offset=max(0, offset),
|
||||
)
|
||||
|
||||
@@ -592,7 +592,6 @@ def minted_kind(kind: str) -> str:
|
||||
if kind in MINTABLE_KINDS:
|
||||
return kind
|
||||
if kind == "plan":
|
||||
return kind # DELIBERATE BREAK
|
||||
raise ValueError(
|
||||
"kind='plan' is retired — plans are milestones. Call "
|
||||
"start_planning(project_id, title) to begin one. Existing "
|
||||
|
||||
@@ -1457,7 +1457,7 @@ async def build_write_path_hint(
|
||||
|
||||
top_k = cfg["top_k"]
|
||||
excluded = set(exclude_ids or [])
|
||||
sync_excluded = set() # DELIBERATE BREAK
|
||||
sync_excluded = set(exclude_sync_ids or [])
|
||||
scope_project = project_id or None
|
||||
|
||||
# --- the sync class, and arm 1 by place ---
|
||||
|
||||
@@ -1835,7 +1835,7 @@ async def retrieval_summary(
|
||||
# `_system_usage`'s reason — a failure flags itself rather than printing
|
||||
# an empty block, which reads as "nothing judged".
|
||||
try:
|
||||
out["judged"] = (await judged_block(user_id, since, until)) or {"empty": True} # DELIBERATE BREAK
|
||||
out["judged"] = await judged_block(user_id, since, until)
|
||||
except Exception:
|
||||
logger.warning("judged block read failed", exc_info=True)
|
||||
out["judged"] = {"judged_failed": True}
|
||||
|
||||
Reference in New Issue
Block a user