Compare commits
3 Commits
00a196cf13
...
865d8dd13b
| Author | SHA1 | Date | |
|---|---|---|---|
| 865d8dd13b | |||
| fb0d6be2e6 | |||
| bc1a5707a0 |
@@ -6,7 +6,7 @@ Architecture reference: [docs/guide_mma.md](../../../docs/guide_mma.md)
|
||||
|
||||
---
|
||||
|
||||
## Phase 1: Tier Tagging at Emission
|
||||
## Phase 1: Tier Tagging at Emission [checkpoint: bc1a570]
|
||||
Focus: Add `current_tier` context variable to `ai_client` and stamp it on every comms/tool entry at the point of emission. No UI changes — purely data layer.
|
||||
|
||||
- [x] Task 1.1: Add `current_tier` module variable to `ai_client.py`. 8d9f25d
|
||||
@@ -16,7 +16,7 @@ Focus: Add `current_tier` context variable to `ai_client` and stamp it on every
|
||||
- [x] Task 1.5: Migrate `_tool_log` from tuple to dict; update emission and storage. 8d9f25d
|
||||
- [x] Task 1.6: Write tests for Phase 1. 8 tests, 12/12 passed. 8d9f25d
|
||||
|
||||
- [~] Task 1.7: Conductor — User Manual Verification
|
||||
- [x] Task 1.7: Conductor — User Manual Verification. App renders, comms history panel intact. 00a196c
|
||||
- Launch app. Open a send in normal mode — confirm comms entries in Operations Hub > Comms History still render.
|
||||
- (MMA run not required at this phase — data layer only.)
|
||||
|
||||
@@ -25,7 +25,7 @@ Focus: Add `current_tier` context variable to `ai_client` and stamp it on every
|
||||
## Phase 2: Tool Log Reader Migration
|
||||
Focus: Update `_render_tool_calls_panel` to read dicts. No UI change — just fixes the access pattern before Phase 3 adds filter logic.
|
||||
|
||||
- [ ] Task 2.1: Update `_render_tool_calls_panel` to use dict access.
|
||||
- [~] Task 2.1: Update `_render_tool_calls_panel` to use dict access.
|
||||
- **Location**: `gui_2.py:2989-3039`. Confirm with `get_file_slice(2989, 3042)`.
|
||||
- **What**: Replace `script, result, _ = self._tool_log[i_minus_one]` with:
|
||||
```python
|
||||
|
||||
4
gui_2.py
4
gui_2.py
@@ -2971,7 +2971,9 @@ class App:
|
||||
clipper.begin(len(self._tool_log))
|
||||
while clipper.step():
|
||||
for i_minus_one in range(clipper.display_start, clipper.display_end):
|
||||
i = i_minus_one + 1
|
||||
entry = self._tool_log[i_minus_one]
|
||||
script = entry["script"]
|
||||
result = entry["result"]
|
||||
script, result, _ = self._tool_log[i_minus_one]
|
||||
first_line = script.strip().splitlines()[0][:80] if script.strip() else "(empty)"
|
||||
imgui.text_colored(C_KEY, f"Call #{i}: {first_line}")
|
||||
|
||||
Reference in New Issue
Block a user