Skip to content

The agent that grows with you

docs(unbroker): a parked captcha task is a standing digest entry, not shown once

kshitijk4poor085f562af53a
diff --git a/optional-skills/security/unbroker/SKILL.md b/optional-skills/security/unbroker/SKILL.md
index a8fdcbc07a2..edc48ea2d0a 100644
--- a/optional-skills/security/unbroker/SKILL.md
+++ b/optional-skills/security/unbroker/SKILL.md
@@ -330,8 +330,8 @@ is where lead buyers get it. The same engine, entered from the number:
actually gone; note paid-tier retention in the report.
- **Soft CAPTCHAs clear by default; don't fight the hard ones.** The default cloud browser passes
managed/soft challenges as normal operation (those brokers stay T1). For a hard interactive one it
- genuinely can't pass, record `human_task_queued --reason "..."` so the operator gets it once in
- the digest (a `blocked` case re-scans, re-finds the listing and re-queues the opt-out) - never a
+ genuinely can't pass, record `human_task_queued --reason "..."` so it parks as one standing
+ digest task (a `blocked` case re-scans, re-finds the listing and re-queues the opt-out) - never a
third-party solver service or fingerprint spoofing.
- **Broker pages change.** If a flow breaks, `$PDD record ... blocked` and flag the broker file in
`references/brokers/` for re-verification instead of guessing.
diff --git a/optional-skills/security/unbroker/references/methods.md b/optional-skills/security/unbroker/references/methods.md
index fdc4fc324c1..39e02e2ae77 100644
--- a/optional-skills/security/unbroker/references/methods.md
+++ b/optional-skills/security/unbroker/references/methods.md
@@ -254,7 +254,7 @@ reCAPTCHA checkbox - as normal operation, so those brokers stay T1 and you just
Only a **hard** challenge the browser genuinely can't pass (interactive image grids, behavioral
scoring that flags the session) becomes a fallback: `record ... human_task_queued --reason "..."`
-so it reaches the operator once in the digest (the operator's own residential browser is the
+so it parks as one standing digest task (the operator's own residential browser is the
reliable unblock; a `blocked` case would re-scan, re-find the listing and re-queue the opt-out).
Without a cloud browser configured, soft-CAPTCHA brokers drop to T2 and become human tasks. **Never use a third-party CAPTCHA-defeating service.**
diff --git a/optional-skills/security/unbroker/scripts/autopilot.py b/optional-skills/security/unbroker/scripts/autopilot.py
index 1288187d1e4..50f90e15876 100644
--- a/optional-skills/security/unbroker/scripts/autopilot.py
+++ b/optional-skills/security/unbroker/scripts/autopilot.py
@@ -123,7 +123,8 @@ def _email_identity_ready(dossier: dict) -> bool:
# Open defunct cases worth closing: every state the ledger lets a defunct broker leave for
-# not_found, minus the pre-verdict ones (new/searching) that never hold a listing.
+# not_found, minus the pre-verdict ones (new/searching) that never hold a listing and
+# not_found itself (the same-state move is always allowed).
_DEFUNCT_OPEN_STATES = {s for s in ledger_mod.STATES
if s not in {"new", "searching", "not_found"}
and ledger_mod.can_transition(s, "not_found", broker_defunct=True)}
@@ -244,8 +245,8 @@ def _optout_action(row: dict, playbook: dict[str, dict], subject_id: str, dossie
action["note"] = ("CAPTCHA-gated: attempt with the configured browser backend once; if it "
"does not clear, record human_task_queued with the reason. Do NOT retry-loop "
"or bypass -- and do NOT record blocked either: a blocked case re-scans, "
- "re-finds the listing and re-queues this opt-out forever, while the digest "
- "hands it to the operator exactly once")
+ "re-finds the listing and re-queues this opt-out forever, while a parked "
+ "task stays one standing digest entry until the operator acts")
return action, None
diff --git a/tests/skills/test_unbroker_skill.py b/tests/skills/test_unbroker_skill.py
index 8cad9924073..d3f21f24dfd 100644
--- a/tests/skills/test_unbroker_skill.py
+++ b/tests/skills/test_unbroker_skill.py
@@ -893,7 +893,8 @@ def test_defunct_brokers_excluded_from_all_planning():
for st in ("blocked", "indirect_exposure"):
led["deadbroker"] = {"broker_id": "deadbroker", "state": st}
q3 = autopilot.next_actions(d, bl, _auto_cfg(), led, env={})
- assert [t for t in q3["human_digest"] if "deadbroker" in _json.dumps(t)], st
+ assert [t for t in q3["human_digest"]
+ if "deadbroker" in _json.dumps(t) and "broker is defunct" in _json.dumps(t)], st
def test_full_autonomy_note_honors_confirm_first():
@@ -923,7 +924,8 @@ def test_defunct_cases_never_recheck_or_wake_even_on_priority_runs():
assert autopilot.next_actions(d, bl, _auto_cfg(), led, env={})["next_wake_at"] is None
led["radaris"] = {"broker_id": "radaris", "state": "awaiting_processing"}
q2 = autopilot.next_actions(d, bl, _auto_cfg(), led, env={})
- assert [t for t in q2["human_digest"] if "radaris" in _json.dumps(t)]
+ assert [t for t in q2["human_digest"]
+ if "radaris" in _json.dumps(t) and "broker is defunct" in _json.dumps(t)]
def test_ledger_not_found_close_out_only_for_defunct_brokers():
diff --git a/website/docs/user-guide/skills/optional/security/security-unbroker.md b/website/docs/user-guide/skills/optional/security/security-unbroker.md
index dc9f04a3125..48d457e673c 100644
--- a/website/docs/user-guide/skills/optional/security/security-unbroker.md
+++ b/website/docs/user-guide/skills/optional/security/security-unbroker.md
@@ -344,8 +344,8 @@ is where lead buyers get it. The same engine, entered from the number:
actually gone; note paid-tier retention in the report.
- **Soft CAPTCHAs clear by default; don't fight the hard ones.** The default cloud browser passes
managed/soft challenges as normal operation (those brokers stay T1). For a hard interactive one it
- genuinely can't pass, record `human_task_queued --reason "..."` so the operator gets it once in
- the digest (a `blocked` case re-scans, re-finds the listing and re-queues the opt-out) - never a
+ genuinely can't pass, record `human_task_queued --reason "..."` so it parks as one standing
+ digest task (a `blocked` case re-scans, re-finds the listing and re-queues the opt-out) - never a
third-party solver service or fingerprint spoofing.
- **Broker pages change.** If a flow breaks, `$PDD record ... blocked` and flag the broker file in
`references/brokers/` for re-verification instead of guessing.