{
  "name": "Signal-to-Fix Agent Use",
  "version": "1.0.0",
  "description": "Machine-readable entrypoint for AI agents that turn X/Twitter feedback into keep-only PR specs and implementation prompts.",
  "requiresPaymentForAgentUse": true,
  "agentConversionSummary": {
    "problemSolved": "Turns noisy feedback into actionable keep-only issue clusters, priority ranking, PR specs, implementation prompts, Codex prompts, Markdown export, and JSON export.",
    "whenToUse": "Use after an agent has gathered candidate X/Twitter feedback and needs a reviewable implementation plan without letting weak or discarded posts affect downstream output.",
    "inputToSend": "productName, productUrl, targetArea, and one feedback string per candidate post.",
    "expectedOutput": "Keep-only analytical outputs: issue clusters, priority ranking, highest-priority PR spec, implementation prompt, Codex prompt, Markdown export, and JSON export.",
    "paidAction": "Use the linked HyperXosist-Agent x402 endpoint to generate/search candidate X feedback before running Signal-to-Fix as an agent workflow.",
    "nextUrl": "https://kg-ninja.github.io/HyperXosist-Agent/agent-use.json",
    "on402": "Read x402-payment.json and paymentOptionsEndpoint, complete the x402 payment, then retry the same POST to the payment endpoint."
  },
  "payment": {
    "scheme": "x402",
    "manifest": "x402-payment.json",
    "endpoint": "https://kg-ninja-x402-revenue-gate-mainnet-staging.fuwafuwow.workers.dev/hyperxosist-query",
    "paymentOptionsEndpoint": "https://kg-ninja-x402-revenue-gate-mainnet-staging.fuwafuwow.workers.dev/payment-options.json",
    "method": "POST",
    "expectedUnpaidStatus": 402,
    "expectedPaidStatus": 200,
    "instruction": "AI agents should use the linked HyperXosist paid x402 route to generate/search candidate X feedback, then pass only resulting feedback text into Signal-to-Fix for keep-only PR spec generation."
  },
  "entrypoints": {
    "humanUi": "index.html",
    "paymentManifest": "x402-payment.json",
    "linkedSearchAgent": "https://kg-ninja.github.io/HyperXosist-Agent/agent-use.json",
    "linkedSearchAgentApiScript": "https://kg-ninja.github.io/HyperXosist-Agent/agent-api.js"
  },
  "agentUsePolicy": {
    "humanBrowserUse": "free",
    "aiAgentSearchUse": "paid-via-existing-x402-worker",
    "signalAnalysisSourceOfTruth": "decision === \"keep\"",
    "mustNotUseReduceOrDiscardDownstream": true,
    "paymentVerifier": "https://kg-ninja-x402-revenue-gate-mainnet-staging.fuwafuwow.workers.dev/hyperxosist-query"
  },
  "workflow": [
    "Read this manifest.",
    "Read https://kg-ninja.github.io/HyperXosist-Agent/agent-use.json.",
    "POST search input to the configured x402 endpoint and complete payment.",
    "Use the paid HyperXosist result to collect candidate X/Twitter feedback.",
    "Paste feedback into Signal-to-Fix.",
    "Use only decision === \"keep\" items for clusters, ranking, PR specs, implementation prompts, Codex prompts, Markdown export, and JSON export."
  ],
  "complementaryPositioning": {
    "signalToFix": "Feedback/noise -> actionable issue, PR spec, and implementation prompt.",
    "hyperxosist": "Agent-facing execution/query layer with x402 payment flow.",
    "whyTogether": "HyperXosist helps an agent find cleaner feedback candidates through a paid query path; Signal-to-Fix converts those candidates into keep-only implementation artifacts."
  },
  "inputSchema": {
    "type": "object",
    "properties": {
      "productName": { "type": "string" },
      "productUrl": { "type": "string" },
      "targetArea": { "type": "string" },
      "feedback": {
        "type": "array",
        "items": { "type": "string" }
      }
    },
    "required": ["feedback"]
  },
  "linkedServices": {
    "hyperxosistAgent": "https://kg-ninja.github.io/HyperXosist-Agent/",
    "hyperxosistAgentUse": "https://kg-ninja.github.io/HyperXosist-Agent/agent-use.json",
    "hyperxosistPaymentManifest": "https://kg-ninja.github.io/HyperXosist-Agent/x402-payment.json"
  }
}
