fn architect_guard_task_action_anchors(
app: &AppRuntime,
store: &ArchitectStore,
metadata: &BTreeMap<i64, TaskActionMetadata>,
html: &str,
prepare_missing: bool,
needle: &str,
action_kind: ArchitectTaskActionKind,
) -> StringExpand description
Replaces task-card action anchors with inert declarative placeholders until the task state allows the action.