Carol — back to Apps ← Apps

Carolopedia

A friendly guide to Carol, her ecosystem, and the agents who built her.

📖 CarolopediaServicesBuild InitiativesAll activitiesINI-1000528
📋

CAROL-INI-0575-00: Fix syntax error in agt_008 and carol droids __init__.py

Initiative
Open in Initiatives →

📖About

DIAGNOSIS: INI 1000526 (Gandalf creation) added induction-gate stubs to agents/agt_008/droids/__init__.py and agents/carol/droids/__init__.py. Line 20 in both files reads:

def identity_sync # noqa: E402(*args, **kwargs):

The noqa comment is placed between the function name and parameter list, causing a SyntaxError. This breaks every module that imports from these packages.

IMPACT: 11 NEW test failures in regression run 264 (up from 9 baseline in run 263):

  • agents/agt_008/droids/test_ini442.py
  • agents/carol/droids/test_ini377_web_identity.py, test_ini379_profile_ingest.py, test_ini399_sender_key.py, test_ini400_admin_link.py, test_prompt_builder.py
  • apps/carol-chat/test_ini382_oauth.py, test_ini416.py, test_ini459_uploads.py, test_ini462_history.py
  • shared/test_service_prompt_composition.py (7 assertion failures)

FIX: Change line 20 in both files from: def identity_sync # noqa: E402(args, kwargs): to: def identity_sync(args, kwargs):

The noqa comment is unnecessary since none of the other stub functions have it.

⚖️Decisions

  • Handover-watchdog: gap-H dispatched planned bypass INI 1000528. (elrond)