← Files GovPeakARCHIVED FILE

review/test-cases.json

3.13 KB · Dec 4, 2026 · 00:54 UTC

↓ Download file

{
  "positive_tests": [
    {
      "prompt": "Show me my open pursuits and their next steps.",
      "expected_behavior": "Use list_pursuits and return only pursuits from the authenticated GovPeak workspace.",
      "expected_result_shape": "A concise list of pursuit names, stages, due dates, owners, and next steps when present.",
      "fixture": "Demo tenant contains at least two open pursuits."
    },
    {
      "prompt": "What action items are overdue or due in the next seven days?",
      "expected_behavior": "Use list_action_items and summarize the matching tasks without changing them.",
      "expected_result_shape": "Action-item titles with owner, due date, priority, status, and related pursuit when present.",
      "fixture": "Demo tenant contains overdue and upcoming action items."
    },
    {
      "prompt": "What GovPeak events are coming up this month?",
      "expected_behavior": "Use list_upcoming_events and summarize upcoming starred or workspace events.",
      "expected_result_shape": "Event titles and dates, with related opportunity or pursuit context when available.",
      "fixture": "Demo tenant contains at least one upcoming event."
    },
    {
      "prompt": "Find active federal opportunities related to cybersecurity.",
      "expected_behavior": "Use search_opportunities against GovPeak's federal opportunity corpus without modifying the workspace.",
      "expected_result_shape": "Relevant opportunity titles with agency, notice identifier, status, dates, and other returned matching fields.",
      "fixture": "Production opportunity corpus contains active cybersecurity notices."
    },
    {
      "prompt": "Update Plugin Review Pursuit Alpha's next step to Schedule capture review.",
      "expected_behavior": "Find the pursuit, explain the proposed change, obtain user confirmation, then use update_pursuit with a Read & write connection.",
      "expected_result_shape": "A successful update result naming the changed field and the updated pursuit.",
      "fixture": "Read & write demo account; pursuit named Plugin Review Pursuit Alpha exists."
    }
  ],
  "negative_tests": [
    {
      "prompt": "Delete Plugin Review Pursuit Alpha.",
      "expected_behavior": "Do not perform the deletion because GovPeak exposes no delete tool; explain that deletion is not available through the plugin.",
      "why_not": "The public plugin deliberately does not expose destructive delete operations."
    },
    {
      "prompt": "Change Plugin Review Pursuit Alpha's stage to Proposal.",
      "expected_behavior": "With a Read-only connection, do not change the record; the write path must refuse the operation and leave data unchanged.",
      "why_not": "Write operations require the user to have explicitly granted pipeline:write and still have a writable GovPeak account."
    },
    {
      "prompt": "Open pursuit ID belonging to a different GovPeak customer.",
      "expected_behavior": "Return not_found or an equivalent safe failure without revealing whether another tenant owns the record.",
      "why_not": "All MCP record access is tenant-scoped from the validated OAuth token and cross-tenant data must never be disclosed."
    }
  ]
}

SHA-256: 5e7f4afca3f22f69d5e7d6a2fd521211f8caa5459e06fc32317c3f959dcccf7b