PRODUCT DEVELOPMENT

Deterministic Product Requirements Document

Generate a bounded implementation-facing product requirements document from a typed brief, with stable requirement identifiers, observable acceptance criteria, explicit unknowns, and unsupported claims kept out of factual requirements.

post/execute/product-requirements-document-v2

Request

  • Base URL: https://api.macaroonnetwork.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.macaroonnetwork.com/execute/product-requirements-document-v2
  • Auth: none declared

Request body

predicateobject required

Acceptance predicate evaluated before settlement.

Example request

{
  "predicate": {
    "type": "all",
    "conditions": [
      {
        "type": "field_changed",
        "field": "$.status",
        "value": "generated",
        "operator": "eq"
      },
      {
        "type": "field_changed",
        "field": "$.validation.passed",
        "value": true,
        "operator": "eq"
      },
      {
        "type": "field_changed",
        "field": "$.validation.checks_failed",
        "value": 0,
        "operator": "eq"
      },
      {
        "type": "count_gte",
        "field": "$.requirements",
        "value": 1
      },
      {
        "type": "not",
        "condition": {
          "type": "field_changed",
          "field": "$.prd_markdown",
          "value": "",
          "operator": "eq"
        }
      },
      {
        "type": "field_changed",
        "field": "$.safeguards.unsupported_claims_promoted",
        "value": false,
        "operator": "eq"
      },
      {
        "type": "field_changed",
        "field": "$.safeguards.tools_called",
        "value": false,
        "operator": "eq"
      },
      {
        "type": "field_changed",
        "field": "$.safeguards.network_sources_used",
        "value": false,
        "operator": "eq"
      },
      {
        "type": "field_changed",
        "field": "$.safeguards.input_persisted",
        "value": false,
        "operator": "eq"
      },
      {
        "type": "field_changed",
        "field": "$.safeguards.payment_or_registry_mutation",
        "value": false,
        "operator": "eq"
      },
      {
        "type": "field_changed",
        "field": "$.provenance.model_id",
        "value": "deterministic/no-model",
        "operator": "eq"
      },
      {
        "type": "field_changed",
        "field": "$.provenance.generation_attempts",
        "value": 0,
        "operator": "eq"
      }
    ]
  }
}

Response

Predicate-gated result and commercial receipt.

predicate_passedboolean required
receiptobject required

Changes

No recorded changes to this operation across all 1 revision of this API.