vibeview.kinds

Kind registry — the four-rule partial-support contract (§2.5 of the design doc).

Rule 1

Supported kinds are declared explicitly in a single constant.

Rule 2

Unknown kinds are classified as “skipped, unsupported”; kinds the writer emits but the viewer doesn’t render yet are an explicit subset (DEFERRED_KINDS) surfaced as “skipped, not yet rendered”.

Rule 3

Vendor-namespace sections (x_<vendor>.*) get the vendor name extracted.

Rule 4

Implemented in qvf.py (sha256 verify-before-use guard).

Functions

classify_section(kind)

Return (status, detail) for a section kind.

is_lazy_kind(kind)

Return True if this kind's binary data should be lazy-loaded.

vibeview.kinds.classify_section(kind)[source]

Return (status, detail) for a section kind.

status is one of: "rendered", "skipped", "error". detail is None for rendered sections, or a human-readable reason string for skipped/error sections.

── Rule 2 + 3: unknown kinds and vendor namespaces.

Parameters:

kind (str)

Return type:

tuple[str, str | None]

vibeview.kinds.is_lazy_kind(kind)[source]

Return True if this kind’s binary data should be lazy-loaded.

Parameters:

kind (str)

Return type:

bool