From ee677478be37fe30fc3e238d1b929183ae3bc2bf Mon Sep 17 00:00:00 2001 From: cflmy Date: Wed, 18 Nov 2026 09:43:30 +0800 Subject: [PATCH] test(ai): verify file/class/function context composition in Marqdo interpreter --- tests/ext/ai-native-flow.mq.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tests/ext/ai-native-flow.mq.md b/tests/ext/ai-native-flow.mq.md index 85a699d..cce2a01 100644 --- a/tests/ext/ai-native-flow.mq.md +++ b/tests/ext/ai-native-flow.mq.md @@ -36,6 +36,13 @@ rather than guessing another SKILL or importing the full document. 2. * > sys.exit code=13 +**packed = > context.compose user="Test the route" class="main" function="probe" budget_tokens=2048** +**pack_schema = > json.get value=`packed` key="schema"** +1. `pack_schema` == "ContextPackV2" + **_ = 1** +2. * + > sys.exit code=15 + **gate = > flow.input id="ai_native_flow_ci_gate" question="Continue?" options=`opts` source_revision="fixture-v1" freeform=False** **answered = > flow.reply id="ai_native_flow_ci_gate" reply="office" source_revision="fixture-v1"** **answer = > json.get value=`answered` key="value"**