Private
Public Access
0
0
Commit Graph

17 Commits

Author SHA1 Message Date
ed ada9617308 test(ai_client): rename send_result to send in 22 remaining test files
Batch rename of 22 test files. 62 references renamed total.

The full test suite is now GREEN again, matching the pre-rename baseline
from Task 1.1. Pure mechanical rename. No behavior change.

Files affected: test_ai_cache_tracking, test_ai_client_cli,
test_ai_client_result, test_api_events, test_context_pruner,
test_deepseek_provider, test_gemini_cli_* (3 files), test_gui2_mcp,
test_headless_* (2 files), test_live_gui_integration_v2,
test_orchestration_logic, test_phase6_engine, test_rag_integration,
test_run_worker_lifecycle_abort, test_spawn_interception_v2,
test_symbol_parsing, test_tier4_interceptor, test_tiered_aggregation,
test_token_usage.

Note: spec estimated 24 files; actual is 22 (test_deprecation_warnings
no longer exists, and 1 fewer file than spec's list).

Refs: conductor/tracks/send_result_to_send_20260616/
2026-06-17 00:38:29 -04:00
ed 1e2c34313c test(token_usage): migrate to send_result() (Phase 2.6)
The test_token_usage_tracking test calls ai_client.send() and verifies
the comms log entry. Migrating to send_result() + assert result.ok.

Changes:
- Rename ai_client.send(...) to ai_client.send_result(...)
- Add assert result.ok
- Add "from src.result_types import Result" import

1 test passes.
2026-06-15 16:51:24 -04:00
ed 684a6d1d3b feat(ai_client): isolation of current_tier using threading.local() for parallel agent safety 2026-03-06 12:59:18 -05:00
ed 1fb6ebc4d0 idk why these weren't committed 2026-03-06 12:48:02 -05:00
ed d2481b2de7 never ends 2026-03-05 20:39:56 -05:00
ed 2c5476dc5d fix: Fix all failing test files with proper mocking and imports
- test_tiered_context.py: Fix aggregate imports to src.aggregate
- test_gemini_cli_adapter_parity.py: Fix subprocess.Popen mock path and JSON format
- test_gemini_cli_edge_cases.py: Fix mock path, JSON format, and adapter initialization
- test_gemini_cli_parity_regression.py: Fix mock path, reset global adapter
- test_token_usage.py: Fix SimpleNamespace mock structure for gemini response
2026-03-05 20:15:03 -05:00
ed 0e3b479bd6 WIP: PAIN 2026-03-05 14:24:03 -05:00
ed 5e69617f88 WIP: I HATE PYTHON 2026-03-05 13:55:40 -05:00
ed c102392320 feat(src): Resolve imports and create sloppy.py entry point 2026-03-04 10:01:55 -05:00
ed fe2114a2e0 feat(types): Complete strict static analysis and typing track 2026-03-04 09:46:02 -05:00
ed ffc5d75816 test(core): Replace pytest.fail with functional assertions in token_usage and agent_capabilities 2026-03-02 23:38:28 -05:00
ed a569f8c02f chore(tech-debt): Finalize gui_2.py cleanup and test suite discipline 2026-03-02 21:43:56 -05:00
ed b9686392d7 chore: apply ruff auto-fixes and remove dead AST scripts 2026-03-02 13:26:20 -05:00
ed 60396f03f8 refactor(types): auto -> None sweep across entire codebase
Applied 236 return type annotations to functions with no return values
across 100+ files (core modules, tests, scripts, simulations).
Added Phase 4 to python_style_refactor track for remaining 597 items
(untyped params, vars, and functions with return values).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-28 11:16:56 -05:00
ed d36632c21a checkpoint: massive refactor 2026-02-28 09:06:45 -05:00
ed 6677a6e55b conductor(checkpoint): Checkpoint end of Phase 2: Test Suite Migration 2026-02-23 15:56:46 -05:00
ed e34ff7ef79 feat(ui): Implement token usage summary widget 2026-02-23 10:59:29 -05:00