luplo.core.import_pipeline.refusal¶
3-layer self-documenting refusal helper.
Used whenever a destructive/lossy import operation is rejected. The agent-hint layer is the most important: it tells the calling agent NOT to silently retry but to surface the situation to the user first.
Functions¶
|
Return a refusal payload with stable key order: status, why, override, agent_hint. |
|
Render a refusal dict as multi-line human text for CLI stderr. |