QC Review Agent — Complexity: Moderate. Estimated build time: 16 hours. The following table covers the happy path and the key failure modes for this agent.
ID
Scenario
Input
Expected Output
Pass Criteria
T01
Happy path — all items pass
Google Forms submission with all checklist items marked PASS, batch ID: BATCH-001, inspector: Sam Tran
Airtable inspection record created with status PASS; no corrective action created; no Slack alert sent
Airtable record exists with correct field values; corrective action table unchanged; Slack channel silent
T02
Single minor failure detected
Form submission with one item marked FAIL at severity MINOR, batch ID: BATCH-002
Airtable inspection record created with status FAIL-MINOR; no corrective action created; no Slack alert sent
Record status field equals FAIL-MINOR; corrective action count unchanged; no Slack message posted
T03
Single critical failure detected
Form submission with one item marked FAIL at severity CRITICAL, batch ID: BATCH-003
Airtable inspection record created; linked corrective action record created with priority HIGH and due date populated; Slack alert posted to operations channel
Inspection record and corrective action record are linked; Slack message contains batch ID, failed criterion, severity label, and Airtable deep link
T04
Multiple critical failures in one submission
Form submission with three items marked FAIL at severity CRITICAL, batch ID: BATCH-004
One corrective action record per critical failure created in Airtable (three total); one consolidated Slack alert listing all three failures
Three corrective action records exist linked to the same inspection record; Slack message lists all three failed criteria without duplication
T05
Mixed severity failures — critical and minor together
Form submission with one CRITICAL failure and two MINOR failures, batch ID: BATCH-005
Corrective action created for the critical failure only; minor failures noted on the inspection record; Slack alert sent referencing the critical failure
Exactly one corrective action record created; inspection record contains all three failure notes; Slack message references only the critical item
T06
Form submission with no batch identifier
Form submission where the batch ID field is blank
Automation halts before writing to Airtable; error event logged in the platform error log; no partial record created
No Airtable record created; error log entry present with timestamp and field name; Slack alert not sent
T07
Airtable write failure — simulated API timeout
Valid form submission; Airtable sandbox API configured to return a 503 response on first attempt
Automation retries up to three times with exponential back-off; on continued failure an error is logged and the FullSpec error Slack channel receives a system alert
Retry log shows three attempts; error notification arrives in the designated system-alert channel within 60 seconds of final failure
T08
Slack API unavailable — simulated
Valid form submission with a critical failure; Slack sandbox token configured to return 401
Airtable records are still written successfully; Slack failure is caught and logged; error notification sent via fallback Gmail to the process owner address
Airtable inspection and corrective action records present and correct; Gmail fallback message received within 2 minutes; error log records the Slack failure
T09
Corrective action auto-assignment by failure category
Form submission with a CRITICAL failure in category PACKAGING; Airtable assignment rules map PACKAGING to assignee David Mensah
Corrective action record assigned to David Mensah in Airtable; Slack direct message sent to David Mensah with task details and due date
Assigned-to field on the corrective action record equals David Mensah; DM received in Slack sandbox with correct content
T10
Severity rule boundary — MAJOR threshold
Form submission with one item marked FAIL at severity MAJOR (below CRITICAL threshold)
Airtable inspection record created with status FAIL-MAJOR; corrective action created at priority MEDIUM; Slack alert sent to operations channel
Corrective action priority field equals MEDIUM; Slack message tone matches MAJOR template (not CRITICAL); record correctly linked
Reporting Agent — Complexity: Simple. Estimated build time: 8 hours. The following table covers the happy path and the key failure modes for this agent.
ID
Scenario
Input
Expected Output
Pass Criteria
T11
Happy path — Monday 07:00 scheduled trigger fires
Scheduled trigger activates; Airtable sandbox contains 12 inspection records from the previous 7 days with mixed pass and fail results
Gmail summary email sent to the management distribution list containing pass rate, top failure categories, and count of open corrective actions
Email received within 2 minutes of trigger; subject line contains the correct date range; all three summary sections present and figures match Airtable source data
T12
No inspections in the previous 7 days
Scheduled trigger activates; Airtable sandbox contains zero records in the query window
Gmail email sent with a no-inspections-this-week notice; email does not contain broken tables or null values
Email received; body contains the expected no-data message; no template placeholders visible; no runtime error in platform logs
T13
Gmail send failure — simulated authentication error
Scheduled trigger activates normally; Gmail sandbox OAuth token configured as expired
Automation logs the Gmail failure; error event written to platform error log; system alert posted to the FullSpec error channel in Slack
No email delivered; error log entry present with OAuth error code; Slack system alert received within 60 seconds