Ship evidence/closure invalidation, verify/adjudicate, reuse_execute and agent bind/publish gates, document.extract, KnowledgePresentation + SSE page_token, and upload max_bytes with the 45-test offline gate. Co-authored-by: Cursor <cursoragent@cursor.com>
1.8 KiB
markup, title, description, import
| markup | title | description | import | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| occlusion | F1 eng_bind_execute + publish_gate (no LLM) | Deterministic fake-model substitute: bind+execute existing knowledge with actual_reuse trace; candidate_only / product_gate_ok=false refuse promote. Offline — no network / no LLM. |
|
main
p = > plugin.native_path name="agent"
p
plugin.load path=
p
print text=no-agent-plugin sys.exit code=1
root = "tests/executable_knowledge/baseline/02-extract"
inputs = > json.parse text={"数量":2,"单价":30}
exec = > agent_eng_bind_execute project=root query="商品小计" policy="pure" inputs=inputs candidate_only=True
ok = > json.get value=exec key="ok"
ok
print text=bind-execute-ok
print text=bind-execute-FAIL print text=
execsys.exit code=1
reuse = > json.get value=exec key="actual_reuse"
reuse
print text=actual-reuse-ok
print text=actual-reuse-MISSING sys.exit code=1
gate1 = > agent_eng_publish_gate project=root artifact_id="商品小计" candidate_only=True product_gate_ok=True
promote1 = > json.get value=gate1 key="may_promote"
promote1== False
print text=candidate-only-blocks-promote
print text=candidate-only-FAIL print text=
gate1sys.exit code=1
gate2 = > agent_eng_publish_gate project=root artifact_id="商品小计" candidate_only=False product_gate_ok=False
promote2 = > json.get value=gate2 key="may_promote"
promote2== False
print text=product-gate-blocks-promote
print text=product-gate-FAIL print text=
gate2sys.exit code=1
print text=agent-eng-bind-gate-ok "agent-eng-bind-gate-ok"