Give agents Engineering First Information before codegen: L0–L4 catalog, reuse/preflight (REUSE→ADAPT→CREATE), graph, and CLI surfaces so large repos stop reinventing existing capabilities. Co-authored-by: Cursor <cursoragent@cursor.com>
855 B
855 B
title: eng preflight offline import plugin:lib/plugin.mq.md import agent:ext/ai/agent.mq.md import json: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"
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"
status== "missing_knowledge" out = "eng-preflight-skip-no-graph"dec== "REUSE" out = "eng-preflight-ok"dec== "ADAPT" out = "eng-preflight-ok"-
out = "eng-preflight-unexpected"
out