docs(track): result_migration_review_pass decisions for src/multi_agent_conductor.py UNCLEAR (1 compliant + 0 migration-target)
This commit is contained in:
@@ -123,7 +123,14 @@ Other audit findings (unchanged by this review pass):
|
||||
|
||||
### 2.6 `src/multi_agent_conductor.py` — UNCLEAR sites (1)
|
||||
|
||||
*(filled in Task 2.6)*
|
||||
| Line | Context | Snippet | Decision | Pattern / Rationale |
|
||||
|---|---|---|---|---|
|
||||
| 236 | `parse_json_tickets` (CLI-style JSON input) | `except json.JSONDecodeError as e: print(...); except KeyError as e: print(...)` | **compliant** | CLI-style input parser: `print` provides user-visible error feedback; the function is `-> None` so there is no Result to add. The narrow excepts are appropriate for the two distinct failure modes (malformed JSON vs missing required field) |
|
||||
|
||||
**Subtotals:** 1 compliant + 0 migration-target.
|
||||
|
||||
**New heuristic candidates:**
|
||||
10. `try/except (json.JSONDecodeError, KeyError)` around JSON parse with `print(...)` and `return` (no Result) → `INTERNAL_COMPLIANT` (CLI-style JSON input parser)
|
||||
|
||||
---
|
||||
|
||||
|
||||
Reference in New Issue
Block a user