{
  "provider": "extractive",
  "snapshot": "c7497b76c8d3ff525206db7ae6240741d9a9a57c5f249047033256414b6c3085",
  "activities": [
    {
      "id": "rollback",
      "request": {
        "question": "How do I roll back a staging deployment?",
        "version": "3.5"
      },
      "status": 200,
      "response": {
        "status": "answered",
        "answer": "To undo a staging deployment in docuctl 3.5, list known releases with `docuctl releases --env staging`. Then run `docuctl rollback --env staging --to RELEASE_ID`.\n\nTo deploy a staging release with docuctl 3.5, run `docuctl deploy --env staging --release RELEASE_ID`. Confirm the release with `docuctl status --env staging`.",
        "citations": [
          {
            "source_id": "rollback-35:p1",
            "quote": "To undo a staging deployment in docuctl 3.5, list known releases with `docuctl releases --env staging`. Then run `docuctl rollback --env staging --to RELEASE_ID`."
          },
          {
            "source_id": "deploy-35:p1",
            "quote": "To deploy a staging release with docuctl 3.5, run `docuctl deploy --env staging --release RELEASE_ID`. Confirm the release with `docuctl status --env staging`."
          }
        ],
        "sources": [
          {
            "id": "rollback-35:p1",
            "document": "rollback-35",
            "title": "Rollback a staging release",
            "version": "3.5",
            "quote": "To undo a staging deployment in docuctl 3.5, list known releases with `docuctl releases --env staging`. Then run `docuctl rollback --env staging --to RELEASE_ID`.",
            "start": 30,
            "end": 192
          },
          {
            "id": "deploy-35:p1",
            "document": "deploy-35",
            "title": "Staging deployment",
            "version": "3.5",
            "quote": "To deploy a staging release with docuctl 3.5, run `docuctl deploy --env staging --release RELEASE_ID`. Confirm the release with `docuctl status --env staging`.",
            "start": 22,
            "end": 181
          },
          {
            "id": "deploy-35:p2",
            "document": "deploy-35",
            "title": "Staging deployment",
            "version": "3.5",
            "quote": "The deploy command waits for the rollout. A failed health check stops the rollout; inspect `docuctl logs --env staging` before trying another release.",
            "start": 183,
            "end": 333
          }
        ],
        "trace": {
          "cache_hit": false,
          "searches": 1,
          "refined": false,
          "context_bytes": 575,
          "source_reads": 3,
          "snapshot": "c7497b76c8d3ff525206db7ae6240741d9a9a57c5f249047033256414b6c3085",
          "provider": "extractive",
          "model_requests": 0
        }
      }
    },
    {
      "id": "rotate-token",
      "request": {
        "question": "How do I rotate an API token?",
        "version": "3.5"
      },
      "status": 200,
      "response": {
        "status": "answered",
        "answer": "To rotate an API token in docuctl 3.5, create a replacement with `docuctl token create --name rotation`. Update the application's secret store and check a request before revoking the old token with `docuctl token revoke TOKEN_ID`.\n\nNever put an API token in documentation, a shell history or a support message. These instructions use TOKEN_ID as a placeholder, not a credential.",
        "citations": [
          {
            "source_id": "tokens-35:p1",
            "quote": "To rotate an API token in docuctl 3.5, create a replacement with `docuctl token create --name rotation`. Update the application's secret store and check a request before revoking the old token with `docuctl token revoke TOKEN_ID`."
          },
          {
            "source_id": "tokens-35:p2",
            "quote": "Never put an API token in documentation, a shell history or a support message. These instructions use TOKEN_ID as a placeholder, not a credential."
          }
        ],
        "sources": [
          {
            "id": "tokens-35:p1",
            "document": "tokens-35",
            "title": "Rotate an API token",
            "version": "3.5",
            "quote": "To rotate an API token in docuctl 3.5, create a replacement with `docuctl token create --name rotation`. Update the application's secret store and check a request before revoking the old token with `docuctl token revoke TOKEN_ID`.",
            "start": 23,
            "end": 253
          },
          {
            "id": "tokens-35:p2",
            "document": "tokens-35",
            "title": "Rotate an API token",
            "version": "3.5",
            "quote": "Never put an API token in documentation, a shell history or a support message. These instructions use TOKEN_ID as a placeholder, not a credential.",
            "start": 255,
            "end": 401
          }
        ],
        "trace": {
          "cache_hit": false,
          "searches": 1,
          "refined": false,
          "context_bytes": 444,
          "source_reads": 2,
          "snapshot": "c7497b76c8d3ff525206db7ae6240741d9a9a57c5f249047033256414b6c3085",
          "provider": "extractive",
          "model_requests": 0
        }
      }
    },
    {
      "id": "previous-version",
      "request": {
        "question": "How do I deploy staging with docuctl 3.4?",
        "version": "3.4"
      },
      "status": 200,
      "response": {
        "status": "answered",
        "answer": "In docuctl 3.4, deploy with `docuctl deploy staging --tag RELEASE_ID`. Check the result with `docuctl status staging`. Version 3.5 replaces positional environments with `--env`.\n\nIn docuctl 3.4, undo a staging deployment with `docuctl rollback staging RELEASE_ID`. Check the active release with `docuctl status staging`.",
        "citations": [
          {
            "source_id": "deploy-34:p1",
            "quote": "In docuctl 3.4, deploy with `docuctl deploy staging --tag RELEASE_ID`. Check the result with `docuctl status staging`. Version 3.5 replaces positional environments with `--env`."
          },
          {
            "source_id": "rollback-34:p1",
            "quote": "In docuctl 3.4, undo a staging deployment with `docuctl rollback staging RELEASE_ID`. Check the active release with `docuctl status staging`."
          }
        ],
        "sources": [
          {
            "id": "deploy-34:p1",
            "document": "deploy-34",
            "title": "Staging deployment",
            "version": "3.4",
            "quote": "In docuctl 3.4, deploy with `docuctl deploy staging --tag RELEASE_ID`. Check the result with `docuctl status staging`. Version 3.5 replaces positional environments with `--env`.",
            "start": 22,
            "end": 199
          },
          {
            "id": "rollback-34:p1",
            "document": "rollback-34",
            "title": "Rollback a staging release",
            "version": "3.4",
            "quote": "In docuctl 3.4, undo a staging deployment with `docuctl rollback staging RELEASE_ID`. Check the active release with `docuctl status staging`.",
            "start": 30,
            "end": 171
          }
        ],
        "trace": {
          "cache_hit": false,
          "searches": 1,
          "refined": false,
          "context_bytes": 388,
          "source_reads": 2,
          "snapshot": "c7497b76c8d3ff525206db7ae6240741d9a9a57c5f249047033256414b6c3085",
          "provider": "extractive",
          "model_requests": 0
        }
      }
    },
    {
      "id": "production",
      "request": {
        "question": "How does a maintainer deploy production?",
        "version": "3.5",
        "collection": "operations"
      },
      "status": 200,
      "response": {
        "status": "answered",
        "answer": "Production deployment requires a reviewed release and approval from the on-call maintainer. A maintainer runs `docuctl deploy --env production --release RELEASE_ID --approval APPROVAL_ID`.\n\nIf production health checks fail, the maintainer follows the approved rollback runbook and records the release ID in the incident. A reader token cannot retrieve this collection.",
        "citations": [
          {
            "source_id": "production-35:p1",
            "quote": "Production deployment requires a reviewed release and approval from the on-call maintainer. A maintainer runs `docuctl deploy --env production --release RELEASE_ID --approval APPROVAL_ID`."
          },
          {
            "source_id": "production-35:p2",
            "quote": "If production health checks fail, the maintainer follows the approved rollback runbook and records the release ID in the incident. A reader token cannot retrieve this collection."
          }
        ],
        "sources": [
          {
            "id": "production-35:p1",
            "document": "production-35",
            "title": "Production deployment approval",
            "version": "3.5",
            "quote": "Production deployment requires a reviewed release and approval from the on-call maintainer. A maintainer runs `docuctl deploy --env production --release RELEASE_ID --approval APPROVAL_ID`.",
            "start": 34,
            "end": 222
          },
          {
            "id": "production-35:p2",
            "document": "production-35",
            "title": "Production deployment approval",
            "version": "3.5",
            "quote": "If production health checks fail, the maintainer follows the approved rollback runbook and records the release ID in the incident. A reader token cannot retrieve this collection.",
            "start": 224,
            "end": 402
          }
        ],
        "trace": {
          "cache_hit": false,
          "searches": 1,
          "refined": false,
          "context_bytes": 442,
          "source_reads": 2,
          "snapshot": "c7497b76c8d3ff525206db7ae6240741d9a9a57c5f249047033256414b6c3085",
          "provider": "extractive",
          "model_requests": 0
        }
      }
    },
    {
      "id": "repeat-rollback",
      "request": {
        "question": "How do I roll back a staging deployment?",
        "version": "3.5"
      },
      "status": 200,
      "response": {
        "status": "answered",
        "answer": "To undo a staging deployment in docuctl 3.5, list known releases with `docuctl releases --env staging`. Then run `docuctl rollback --env staging --to RELEASE_ID`.\n\nTo deploy a staging release with docuctl 3.5, run `docuctl deploy --env staging --release RELEASE_ID`. Confirm the release with `docuctl status --env staging`.",
        "citations": [
          {
            "source_id": "rollback-35:p1",
            "quote": "To undo a staging deployment in docuctl 3.5, list known releases with `docuctl releases --env staging`. Then run `docuctl rollback --env staging --to RELEASE_ID`."
          },
          {
            "source_id": "deploy-35:p1",
            "quote": "To deploy a staging release with docuctl 3.5, run `docuctl deploy --env staging --release RELEASE_ID`. Confirm the release with `docuctl status --env staging`."
          }
        ],
        "sources": [
          {
            "id": "rollback-35:p1",
            "document": "rollback-35",
            "title": "Rollback a staging release",
            "version": "3.5",
            "quote": "To undo a staging deployment in docuctl 3.5, list known releases with `docuctl releases --env staging`. Then run `docuctl rollback --env staging --to RELEASE_ID`.",
            "start": 30,
            "end": 192
          },
          {
            "id": "deploy-35:p1",
            "document": "deploy-35",
            "title": "Staging deployment",
            "version": "3.5",
            "quote": "To deploy a staging release with docuctl 3.5, run `docuctl deploy --env staging --release RELEASE_ID`. Confirm the release with `docuctl status --env staging`.",
            "start": 22,
            "end": 181
          },
          {
            "id": "deploy-35:p2",
            "document": "deploy-35",
            "title": "Staging deployment",
            "version": "3.5",
            "quote": "The deploy command waits for the rollout. A failed health check stops the rollout; inspect `docuctl logs --env staging` before trying another release.",
            "start": 183,
            "end": 333
          }
        ],
        "trace": {
          "cache_hit": true,
          "searches": 0,
          "refined": false,
          "context_bytes": 575,
          "source_reads": 3,
          "snapshot": "c7497b76c8d3ff525206db7ae6240741d9a9a57c5f249047033256414b6c3085",
          "provider": "extractive",
          "model_requests": 0
        }
      }
    },
    {
      "id": "unknown",
      "request": {
        "question": "Who won Wimbledon?",
        "version": "3.5"
      },
      "status": 200,
      "response": {
        "status": "abstain",
        "answer": "I could not find supporting documentation for that question in this collection and version.",
        "citations": [],
        "sources": [],
        "trace": {
          "cache_hit": false,
          "searches": 1,
          "refined": false,
          "context_bytes": 0,
          "source_reads": 0,
          "snapshot": "c7497b76c8d3ff525206db7ae6240741d9a9a57c5f249047033256414b6c3085",
          "provider": "extractive",
          "model_requests": 0
        }
      }
    },
    {
      "id": "reader-denied",
      "request": {
        "question": "How do I deploy production?",
        "version": "3.5",
        "collection": "operations"
      },
      "status": 403,
      "response": {
        "error": "Collection access denied"
      }
    }
  ]
}
