contracts.rules_mount_app

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

mount_app_mergecontract check — report sub-app entries dropped by parent-wins merge.

WhenApp.mount_apphoists a sub-app, template globals/filters/providers/etc. already defined on the parent win over the sub-app's registration. The dropped sub-app entries…

mount_app_mergecontract check — report sub-app entries dropped by parent-wins merge.

WhenApp.mount_apphoists a sub-app, template globals/filters/providers/etc. already defined on the parent win over the sub-app's registration. The dropped sub-app entries are recorded asMountAppSkipvalues on the parent's mutable state; this check surfaces them as INFO contract issues so the user sees what was silently shadowed.

Promote to WARNING/ERROR with app.override_contract_severity("mount_app_merge", Severity.WARNING).

contracts.rules_mount_app

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_mount_app_merge
function
def check_mount_app_merge(skips: list[MountAppSkip]) -> list[ContractIssue]

Emit one INFO issue per dropped sub-app registration.

Parameters

Name Type Default Description
skips list[MountAppSkip]

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