Files
marqdo/tests/ext/eng-preflight.mq.md
T
cflmyandCursor 687c168014 feat(parse): use nested YAML import: maps instead of one-liner binds
Frontmatter imports are now valid YAML (`import:` / `导入:` with bind→target
entries), removing spaced keys. Add `marqdo migrate imports`, hard-error the
old one-liner form, and migrate lib/ext/examples/tests/docs accordingly.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-23 19:33:58 +08:00

851 B

title, import
title import
eng preflight offline
plugin agent json
lib/plugin.mq.md ext/ai/agent.mq.md lib/json.mq.md

Offline Engineering Knowledge gate against tests/engineering/.marqdo (seed with marqdo knowledge tests/engineering -o tests/engineering/.marqdo).

main

p = > plugin.native_path name="agent"

  1. p

plugin.load path=p

out = "skip" out

pf = > agent_eng_preflight task="resolve configuration" marqdo_dir="tests/engineering/.marqdo" status = > json.get value=pf key="status" dec = > json.get value=pf key="decision" out = "eng-preflight-unexpected"

  1. status == "missing_knowledge" out = "eng-preflight-skip-no-graph"
  2. dec == "REUSE" out = "eng-preflight-ok"
  3. dec == "ADAPT" out = "eng-preflight-ok"

out = "eng-preflight-unexpected"

out