feat(agent): add workflow inspection and durable isolation

- add agent_workflow_inspect/list primitives and ext/ai wrappers
- expose host-relative resume_dir on every workflow operation
- make offline workflow fixture repeatable with a timestamped run id
- fix flow.choose branch scoping contract diagnostic
- build the agent cdylib and drop the removed run --effects flag in CI
This commit is contained in:
cflmy committed 2026-11-18 11:57:12 +08:00
1 parent 8e437e2cd3
commit 38c07d9a0e
11 files changed
+308 -65

No files matched your search

+4 -2
View File
@@ -26,9 +26,11 @@ jobs:
cargo run --locked -- check ext/ai/workflow.mq.md
cargo run --locked -- check tests/ext/ai-native-workflow.mq.md
- name: Native AI flow interpreter smoke (offline)
env:
MARQDO_AGENT_PLUGIN: ${{ github.workspace }}/target/debug/libagent.so
run: |
cargo run --locked -- run tests/ext/ai-native-flow.mq.md --effects plugin,fs.write
cargo run --locked -- run tests/ext/ai-native-workflow.mq.md --effects plugin,fs.write
cargo run --locked -- run tests/ext/ai-native-flow.mq.md
cargo run --locked -- run tests/ext/ai-native-workflow.mq.md
- name: Workbench contracts (M00–M06 / F-subset)
run: cargo test --test workbench_contracts --locked
- name: Offline executable-knowledge gate