Find manifest builder skips with skip_reason breakdown

Type: bash Component: agent-brain Tags: manifest-builder,agent-brain,skip-reasons,mongodb,audit Assertion: contains Last result:
Validates

Provides a breakdown of why manifest builder is being skipped. Useful for auditing channel configurations and confirming ENABLE_MANIFEST_BUILDER flag status.

Assertion Value
:
Expected Output
Output lists each skip_reason and its count: clarification_turn (normal), channel_override_none (channel config), flag_disabled (feature flag). High counts of flag_disabled indicate the feature is toggled off.
Script
mongosh "mongodb://jmashore:P3anu%[email protected]:27017/" --eval 'db = db.getSiblingDB("zoey"); var result = db.zoey_detail_log.aggregate([{$match:{"steps.manifest_builder.skipped":true}},{$group:{_id:"$steps.manifest_builder.skip_reason",count:{$sum:1}}},{$sort:{count:-1}}]); result.forEach(r => print(r._id + ": " + r.count))' --quiet
Run Tool

Run History

No runs yet