Skip to content

Feature proposal: opt-in capability-gap event export for machine-demand measurement #5412

Description

@flyoung588

Problem

ClawMetry already observes sessions, tool calls, cron activity, costs, and failures across many Agent runtimes. Those observations can show what happened inside an Agent, but there is no optional machine-readable export that says: "this Agent attempted to obtain a capability and could not access, fit, afford, or execute it."

That missing boundary is exactly the demand signal MIX is testing.

Proposed small integration

Would you be open to an opt-in capability-gap exporter that maps already-observed, structured ClawMetry events to the MIX E01-E08 taxonomy?

Examples:

  • tool/capability not found -> E01_NO_MATCH
  • auth or permission rejection -> E02_NO_ACCESS
  • schema/policy mismatch -> E03_NO_FIT
  • fallback requested -> E04_NEED_ALTERNATIVE
  • timeout/429/capacity -> E05_CAPACITY_GAP
  • licensing/rights rejection -> E06_RIGHTS_GAP
  • missing provenance/verification -> E07_EVIDENCE_GAP
  • explicit budget boundary -> E08_CAPITAL_NEED

The exporter would be disabled by default, add no heavy dependency, and send only stable reason codes plus minimized capability metadata. It would never export prompts, task text, exception bodies, credentials, transcripts, or customer content.

Why ClawMetry is the first-choice integration

ClawMetry already supports many Agent runtimes and explicitly maintains real-fixture siblings for synthetic event shapes. An exporter here can test machine-demand capture across real daily workloads without forcing every runtime to adopt a separate framework-specific hook.

Current MIX status (no inflated claims)

  • public implementation: https://github.com/flyoung588/MIX
  • verified external demand events today: 0
  • test and Alpha databases are isolated;
  • append-only demand receipts and origin flags exist;
  • MIX does not execute or reroute the observed Agent.

If the direction fits ClawMetry's scope, I can prepare a small design first and implement it following this repository's contribution rules. If outbound export is out of scope, a local JSONL callback contract would be enough for MIX to consume without adding a direct dependency.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions