Part of the WebMEM Protocol
Location: /specification/sdt/yaml-in-html/classes/procedurefragment/
Last Updated: 2025-08-02
Overview
A ProcedureFragment encodes step-by-step, logic-aware instructions for completing tasks, applications, or workflows. Unlike static help guides, these fragments enable AI agents to walk users through dynamic procedures with embedded checks, glossary alignment, and contextual branching.
Purpose: To deliver agent-navigable, explainable workflows for public services, healthcare, education, and regulated processes.
Common Applications:
- Benefit application walkthroughs (e.g., Medicaid, SNAP)
- Public service onboarding steps
- Document prep or submission instructions
- Education or legal aid process guidance
- Agentic task support with real-time logic checks
Fields Block
| Field | Description |
|---|---|
task |
Name of the task or procedure |
steps |
Ordered list of required actions |
glossary |
Glossary term alignment for steps or terms |
retrieval_hint |
Memory cue for surfacing the procedure |
Logic Model (Optional)
logic_model:
if: "missing_documents == true"
then: "Prompt user to upload"
else: "Proceed to next step"
ProvenanceMeta Block
| Field | Description |
|---|---|
id |
Unique ID for the provenance record |
title |
Human-readable source name |
creator |
Publishing organization |
license |
Usage rights (e.g., Public Domain) |
published |
ISO 8601 date published |
retrieved |
Date this content was accessed |
digest |
Digest ID this fragment belongs to |
entity |
(Optional) Entity this procedure supports |
fragment_scope |
Typically semantic-digest |
glossary_scope |
Term namespace used in steps or checks |
Why ProcedureFragments Matter
- Explainable: Every step is explicit and structured
- Agent-Ready: Logic models enable condition-aware navigation
- Composable: Procedures can be linked or embedded in broader workflows
- Glossary-Aligned: Steps and terms are anchorable to trusted definitions
- Domain-Portable: Works across government, education, healthcare, legal aid