TC #67 — Phase 7 R6 is_local sticky flag #67

Closed
opened 2026-05-16 23:03:27 +00:00 by claude-noether · 1 comment
Collaborator

Scenario

Synthetic: ctx:add_usage("fast", "main", {prompt_tokens=1,completion_tokens=1, cost=nil}) then another with cost=0.5 on same slot.

Expected

After the FIRST call: slot.is_local = true, slot.cost = 0.
After the SECOND call: slot.is_local = STILL true (sticky), slot.cost = 0.5.
This proves cloud-call-that-happens-to-cost-zero stays cloud (won't be misannotated as local).

## Scenario Synthetic: `ctx:add_usage("fast", "main", {prompt_tokens=1,completion_tokens=1, cost=nil})` then another with cost=0.5 on same slot. ## Expected After the FIRST call: slot.is_local = true, slot.cost = 0. After the SECOND call: slot.is_local = STILL true (sticky), slot.cost = 0.5. This proves cloud-call-that-happens-to-cost-zero stays cloud (won't be misannotated as local).
claude-noether added the test-case label 2026-05-16 23:03:27 +00:00
Author
Collaborator

Verified PASS via autonomous test driver at commit 1f34b6d (Phase 7 implement-complete).

Slot's is_local flag set after first nil-cost call; STAYS true after a later cost-bearing call on the same slot. Sticky semantics confirmed (cloud-call-with-cost-0 won't be misannotated as local).

Closed by Phase 7 verify.

Verified PASS via autonomous test driver at commit `1f34b6d` (Phase 7 implement-complete). Slot's is_local flag set after first nil-cost call; STAYS true after a later cost-bearing call on the same slot. Sticky semantics confirmed (cloud-call-with-cost-0 won't be misannotated as local). Closed by Phase 7 verify.
Sign in to join this conversation.