#include <string>#include <string_view>#include <utility>#include <vector>Go to the source code of this file.
Classes | |
| struct | pulp::design::HandoffScreen |
| One screen the handoff describes: a display name, an optional relative path to its source (from a (path) after the name), and its exact-value specs (each a key/value bullet under the screen's heading). More... | |
| struct | pulp::design::HandoffContract |
| The parsed handoff contract. More... | |
Namespaces | |
| namespace | pulp |
| namespace | pulp::design |
Enumerations | |
| enum class | pulp::design::FidelityIntent { pulp::design::unspecified , pulp::design::hifi , pulp::design::lofi } |
| The implementer intent the handoff declares for the screens. More... | |
Functions | |
| std::string_view | pulp::design::fidelity_intent_name (FidelityIntent intent) |
| Stable lowercase slug for a fidelity intent ("hifi" | "lofi" | "unspecified"). | |
| FidelityIntent | pulp::design::fidelity_intent_from_text (std::string_view text) |
| Parse a fidelity value as written in a handoff README ("hi-fi", "high", "pixel-perfect", "lo-fi", "restyle", …). | |
| HandoffContract | pulp::design::parse_handoff_readme (std::string_view markdown, std::string_view source) |
| Parse a handoff README (Markdown) into a contract. | |
| void | pulp::design::merge_design_systems (HandoffContract &contract, const std::vector< std::string > &slugs) |
| Merge design-system slugs discovered on disk (the _ds/<slug>/ directory names) into an already-parsed contract, keeping design_systems sorted+unique. | |
| std::string | pulp::design::handoff_contract_json (const HandoffContract &contract) |
| Serialize a contract to deterministic JSON for the import report. | |
Variables | |
| constexpr std::string_view | pulp::design::kHandoffFormatVersion = "2026.07-design-handoff-v1" |
| Format id stamped into the contract; bump on a non-additive shape change. | |