Document searchable extension data and package validation

This commit is contained in:
Sander Grootendorst
2026-12-03 23:08:16 +01:00
parent cbec3262f5
commit f356db16e6
5 changed files with 180 additions and 0 deletions
@@ -13,6 +13,8 @@ Preserve manifest IDs and persisted/wire formats unless the task requires a migr
Use the extension's vendored shared UI contracts and host theme tokens; do not introduce Tailwind, copy host internals, or hardcode a competing theme. Keep copy minimal, English/Dutch strings synchronized where supported, and errors readable. Read [styling](references/14-strict-styling-requirements.md) for notification and state behavior.
For a new extension or a change to shared data, document the business question chat can answer and the collection’s scope, source, fields and stable identity. Verify discovery, the answer and access revocation with the packaged extension. Record why a private or demonstration extension has no search collection when applicable. [Searchable extension data and runnable example](references/25-searchable-extension-data.md)
Run the repository's full build/package command, then relevant existing tests. A successful bundle alone does not prove host bridge behavior. Add regression coverage for parsing, persistence, isolation, cancellation, or other concrete risks; skip tests that merely assert copy, CSS, or fixed catalog values. Verify the generated `.isax` manifest and payload, and report which host interactions were actually exercised. Do not commit build output, node_modules, targets, credentials, or user project data.
For native host interaction use the installed `isa-extension-ui-control` skill. Plain Vite preview can verify layout but cannot prove native host capabilities. Extension builds and unit tests must remain usable without locating or launching the native app.