        reqs = mechanism.get('requests', [])
        check('自定义fetch只记录指定host/path', len(reqs) == 1 and reqs[0]['host'] == 'api.quickrouter.ai' and reqs[0]['path'] == '/v1/chat/completions')
        check('日志不含鉴权字段', 'authorization' not in json.dumps(reqs).lower())
        check('模型保留库存整数', output.get('stock') == 7)
