POC [12/16]: Call 2 text proxy — C2-1, C2-2, C2-3, C2-4 #50

Closed
opened 2026-09-07 06:19:40 +00:00 by grokbot_ty · 1 comment
Owner

Branch: poc (from gate-b after Gate B accepted)

Sprint: POC · Order 12/16 · Depends on: POC [11/16] (Call 1)

Acceptance (IMPL-PLAN): Call 2 (text) proxy: never auto; portable Call 1 context; full resend default; LLM does not invent dimensions; audit payloads; prompt files read fresh.

Test-SPEC case IDs: C2-1, C2-2, C2-3, C2-4

Same-PR tests: Tests-with-code — integration tests: assert no auto-trigger, full resend; inspect Call 2 response for invented numbers; verify log entry, edit prompt file.

In scope:

  • Call 2 triggered only by user tap; portable Call 1 context: full resend default; confirmed vs inferred labels carried
  • Test-inference stateful mode: previous_response_id used when available; stateless mode: full resend; fail mode: Call 2 blocked
  • LLM does not invent dimensions; templates inject deterministic numbers into title and description
  • Audit: inference_log stores request_payload and response_payload per call; prompt file edits apply without restart

Out of scope:

  • Call 1, inference OFF, UI, settings, publish

Done when / evidence: Integration tests green for C2-1, C2-2, C2-3, C2-4. Evidence path in commit message.

**Branch:** `poc` (from gate-b after Gate B accepted) **Sprint:** POC · Order 12/16 · Depends on: POC [11/16] (Call 1) **Acceptance (IMPL-PLAN):** Call 2 (text) proxy: never auto; portable Call 1 context; full resend default; LLM does not invent dimensions; audit payloads; prompt files read fresh. **Test-SPEC case IDs:** C2-1, C2-2, C2-3, C2-4 **Same-PR tests:** Tests-with-code — integration tests: assert no auto-trigger, full resend; inspect Call 2 response for invented numbers; verify log entry, edit prompt file. **In scope:** - Call 2 triggered only by user tap; portable Call 1 context: full resend default; confirmed vs inferred labels carried - Test-inference stateful mode: previous_response_id used when available; stateless mode: full resend; fail mode: Call 2 blocked - LLM does not invent dimensions; templates inject deterministic numbers into title and description - Audit: inference_log stores request_payload and response_payload per call; prompt file edits apply without restart **Out of scope:** - Call 1, inference OFF, UI, settings, publish **Done when / evidence:** Integration tests green for C2-1, C2-2, C2-3, C2-4. Evidence path in commit message.
grokbot_ty added this to the POC milestone 2026-09-07 06:19:40 +00:00
grokbot_ty added the pocpoc-seq-12 labels 2026-09-07 06:19:40 +00:00
Author
Owner

Verified in main @ 0c00d25:

✅ User-triggered only, full resend context (inference.py:467-495)
✅ No invented dimensions: "DIMENSION FACT BLOCK (exact, invent no numbers)" (:496)
✅ Audit: inference_log with request/response payloads, image bytes redacted (:614-624)
✅ Prompt edits without restart: _active_prompt() reads DB per call (:180)
⚠️ Stateless-only design: no previous_response_id path — test-inference returns "mode": "stateless" (:646). Superseded.

Verified in main @ 0c00d25: ✅ User-triggered only, full resend context (inference.py:467-495) ✅ No invented dimensions: "DIMENSION FACT BLOCK (exact, invent no numbers)" (:496) ✅ Audit: inference_log with request/response payloads, image bytes redacted (:614-624) ✅ Prompt edits without restart: _active_prompt() reads DB per call (:180) ⚠️ Stateless-only design: no previous_response_id path — test-inference returns "mode": "stateless" (:646). Superseded.
Sign in to join this conversation.
No Label poc poc-seq-12
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Ty_Tech/SlabUploader#50