Skip to content

TCP-MT-22: Schema-3 survivor reducer promotion-gate measurement #82

Description

@samscarrow

Notion Work Item

TCP-MT-22 in Lab Work Items

Type

Measurement Track

Objective

Run the first auditable schema-3 survivor reducer promotion-gate measurement after TCP-IMP-25: redeploy/restart the enriched proxy, collect ≥200 eligible schema-3 rows, label them under the documented ground-truth methodology, compute macro precision/recall plus per-tool confusion, and emit a promote/hold/redesign recommendation.

Dataset

Source: ~/.tcp-shadow/proxy/decisions.jsonl rows emitted after TCP-IMP-25 redeploy/restart with DECISION_LOG_SCHEMA=3, prompt_text, and tool_capability_flags_by_name present.

Sample: ≥200 eligible labeled schema-3 rows only; exclude schema-2/pre-enrichment rows and rows below the documented confidence threshold.

Metrics

  • Macro precision and recall of reducer_survivors vs correct_tool_set over ≥200 labeled schema-3 rows
  • Per-tool TP/FP/FN/TN confusion matrix
  • Inter-labeler agreement if multiple labelers are used
  • Final promote/hold/redesign recommendation

Promotion Gate

  • Promote only if precision ≥ 0.90 and recall ≥ 0.85 over ≥200 labeled schema-3 rows.
  • Hold if the sample is valid but insufficient, too ambiguous, or operationally incomplete.
  • Redesign if the sample is valid and below threshold.

Kill/Stop Condition

Stop and report hold if fewer than 200 eligible schema-3 rows can be collected, if prompt text contains unsafely retained PII/secrets, or if the labeling methodology cannot be applied reproducibly. Stop and report redesign if a valid ≥200-row sample fails precision ≥ 0.90 or recall ≥ 0.85. Do not promote shadow→live unless both thresholds pass.

Completion Contract (Measurement Track)

  • Epistemic. Take measurements as specified. Report results with: (1) methodology, (2) raw data or summary statistics, (3) any measurement caveats or confounds encountered.
  • No PR expected unless the objective requires instrumentation code. If instrumentation is needed, one PR for the instrumentation is acceptable — keep it separate from the measurement report itself.
  • Handoff: Post measurements + methodology to this issue → Close issue → Stop.

Execution Context

  • Dispatch Via: Claude Code
  • Execution Lane: coder
  • Environment: dev
  • Branch: main
  • Phase: Shadow → Live promotion gate

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions