contracts.rules_chirpui_runtime

Page actions AI-ready formats and sharing
Open LLM text
Share with AI
Ask Claude Ask ChatGPT Ask Gemini Ask Copilot

ChirpUI runtime contract checks.

ChirpUI runtime contract checks.

contracts.rules_chirpui_runtime

Name Type Default Description
type
qualified_name
element_type
description
source_file
line_number
is_autodoc
autodoc_element
_autodoc_template
_autodoc_url_path
_autodoc_page_type
title
doc_content_hash

Symbols on this page

check_chirpui_runtime_registration
function
def check_chirpui_runtime_registration(template_sources: dict[str, str], extras: dict[str, object]) -> list[ContractIssue]

Warn when app templates use ChirpUI without registering the runtime.

Chirp no longer ambiently loads chirp-ui templates or filters from package presence (#860). Imports ofchirpui/... without use_chirp_ui(app) (or an equivalent explicitApp.add_loader+ filter registration) fail at render and miss CSS/Alpine/contract wiring.

Parameters

Name Type Default Description
template_sources dict[str, str]
extras dict[str, object]

View source · /home/runner/work/chirp/chirp/site/../src/chirp/contracts/rules_chirpui_runtime.py:1