Stencil setup

Showcase build and bounded runtime acceptance completed on 2026-09-27. For wiki publication and 42 page-viewport verification cases, consult evidence/2026-09-27-sitekits-ae75b9b1/wiki-final.json; evidence/2026-09-27-sitekits-ae75b9b1/result.json records the active URLs and commit. These are checkout evidence paths, not public download links; source presence alone does not prove deployment. Return to index for package provenance or comparison for the content/editor tradeoffs. Shared chat has a separate source/runtime boundary in shared-chat.

Selected sources, not an old starter

The immediate release-owner check recorded no separately named Main pane, no new exact source steer in the SiteKits history, and no relevant result from the targeted memory lookup. The authorized fallback is therefore current Stencil core plus maintained Stencil-built Ionic visual components. The exact decision is in evidence/2026-09-27-sitekits-ae75b9b1/stencil-source-decision.json.

PackageExact selectionRole and evidence
@stencil/core4.45.1Compiler; versioned package metadata, gitHead 9835274c90ef65853090a8693ec67791eaee1d1e
@ionic/core9.0.5Visual web components; versioned package metadata, gitHead bf0607eece4703fc0d812e59a3a9b2c87fce7b09

The old community starter, with core 4.22.2 and recorded last change 2024-11-09, is not the application’s maintained source. The archived ionic-pwa-toolkit is excluded. create-stencil 4.0.2 was an optional verified generator, not a required installation step for the existing application.

Do not install optional utilities merely to claim ecosystem breadth. @stencil/store 2.2.4 is a state utility and @stencil-community/context 1.0.0 is a context utility; neither is a visual library. The workbench uses Stencil local state, so those packages are not needed. versions.json records source lookups; the app manifest and lockfile establish selected/resolved application dependencies, and browser evidence establishes actual behavior.

The inspected apps/stnl/package.json pins Ionic 9.0.5 and compiler 4.45.1 exactly and defines build as stencil build. apps/stnl/package-lock.json records those same resolved versions and their npm tarball integrity values. The manifest has no direct store/context dependency. The release owner completed the final production build; package provenance and runtime evidence are recorded separately in evidence/stnl-source-provenance.json and the dated receipts below.

Application and output contract

The application lives under apps/stnl. Its Stencil namespace is sitekits; its webapp output target is www, yielding apps/stnl/www and the loader /build/sitekits.esm.js. Service-worker generation is disabled for this showcase. A static file server serves the result; no production Stencil development server is required.

Source references: apps/stnl/stencil.config.ts declares the namespace, www target and serviceWorker: null; apps/stnl/src/index.html loads /build/sitekits.esm.js and /build/sitekits.css, mounts <sitekits-app>, and provides a no-JavaScript message linking to the public wiki. The interactive workbench requires JavaScript; its fallback is explanatory text, not an interactive or server-rendered equivalent.

apps/stnl/src/ionic.ts registers the selected Ionic custom elements, including input, select, segment, toggle, searchbar, modal, accordion and button controls. It initializes Ionic in Material Design mode with animations and ripples disabled. The eight featured inventory entries are not a count of every supporting registered element. Real control interactions passed the browser scenarios below.

The release owner runs the locked application build from the repository root, serially with other heavy operations:

nice -n 10 npm --prefix apps/stnl ci
nice -n 10 npm --prefix apps/stnl run build

These are reproduction commands, not a claim that this documentation agent executed them. Use the existing application and lockfile rather than generating another starter over its source. Installs/builds are release-owner operations and must not run concurrently with another application build.

The workbench uses Ionic controls for preset selection, editable heading, comfortable/compact density, metadata visibility and reset. A configuration dialog exposes the four preview properties; a searchable component inventory and explanatory accordions provide additional control surfaces. State uses per-component @State and is memory-only: this is not a document editor, persistence service, API client or chat implementation. Source inspection and the accepted browser scenarios establish this bounded showcase behavior.

apps/stnl/src/components/stnl-reading-panel/stnl-reading-panel.tsx defines the Shadow DOM custom element <stnl-reading-panel> with heading, preset, density and showMetadata properties. Its default is the guide preset, comfortable density and visible metadata; a blank heading renders “Untitled panel.” The panel renders properties and does not declare a custom output event. apps/stnl/src/data/workbench.ts supplies the three presets (guide, release, checklist) and eight inventory entries. These are application data, not an imported Markdown documentation corpus.

apps/stnl/src/components/stnl-workbench/stnl-workbench.tsx wires ionChange for preset, density and metadata and ionInput for heading edits. Choosing a preset through the Ionic alert also replaces the heading. Reset is disabled at defaults and restores guide content, its default heading, comfortable density and visible metadata. The heading input has a 72-character limit. The inline Ionic modal displays the actual four-property JSON; onIonModalDidPresent requests heading focus and onIonModalDidDismiss clears the open state. Focus return is delegated to Ionic, not a manual dismissal handler. Actual modal keyboard/dismissal behavior passed at both accepted widths.

apps/stnl/src/components/stnl-catalog/stnl-catalog.tsx filters the eight inventory entries by name, tag, family or behavior with a 150 ms input debounce, a polite status announcement and an explicit no-match message. This is local array filtering, not a document index. apps/stnl/src/components/sitekits-app/sitekits-app.tsx calls the Ionic registration function when the showcase root loads, rather than initializing Ionic at shared-loader import time.

Wiki publication

The wiki is built separately from the application. From the SiteKits repository root, copy both public and private publication inputs as regular files before the release owner’s serial check-only and publish runs:

install -m 644 wikis/stnl/quartz.config.yaml wikis/stnl/custom.scss /home/loca/dev/wikis/stnl/
install -m 644 wikis/stnl/private/quartz.config.yaml wikis/stnl/private/custom.scss /home/loca/dev/wikis/stnl/private/

Both custom.scss files retain Quartz’s variables import and set html { width: 100%; }, preventing the root’s viewport width from including the vertical scrollbar. Within Quartz’s $mobile breakpoint, the explorer panel uses fixed positioning and width/max-width: 100% to stay within the viewport rather than the inset sidebar. These are per-vault overrides, not shared-engine edits; republish both wiki variants after changing them. Keep the public build’s private-content exclusion and the private build’s authentication boundary intact.

Defects found and repaired during acceptance

The first compilation exposed two TypeScript defects: the accordion used invalid expand="independent" rather than multiple={true}, and the navigation array’s inferred union did not permit the optional hint access. The final source uses Ionic’s real multi-open API in stnl-notes.tsx and an explicit NavItem[] with hint?: number in sitekits-app.tsx. stencil.config.ts also limits compiler workers to one. The release owner’s final production build passed; its compiler-log duration is not a comparative performance measurement.

The initial modal lifecycle wiring used shorthand onDidDismiss. In the native Stencil lazy renderer it collided with Ionic’s promise-returning onDidDismiss() method used during presentation. Replacing the shorthand with onIonModalDidPresent / onIonModalDidDismiss fixed the event contract; the manual trigger-focus workaround was removed so Ionic owns focus restoration. The final interaction receipt, not merely compilation, establishes that opening, dismissal and focus return work.

The mobile repair constrains both the page grid and nested workbench with zero-minimum tracks (minmax(0, 1fr)) and shrinkable children (min-width: 0). Navigation wraps; at widths up to 40rem it is non-sticky, while the desktop navigation remains sticky. Comparison-table overflow stays inside its own constrained region rather than being hidden at document level. Source: apps/stnl/src/components/sitekits-app/sitekits-app.css and stnl-workbench/stnl-workbench.css in the same components directory.

Accepted runtime evidence

The release owner exercised the exact apps/stnl/www output in host Chrome through loopback 127.0.0.1:51978, at 390 and 1280 pixels. This was not an authenticated browser login on the public application host. All following receipt paths are under evidence/2026-09-27-sitekits-ae75b9b1/.

SurfaceObserved result at both widths
Presets and headingAll three presets selected; Cancel preserved state; real heading editing and the 72-character limit worked; blank heading rendered “Untitled panel.”
Preview stateCompact/Comfortable spacing and metadata visibility changed the preview; Reset restored defaults.
Modal contents and keyboardDisplayed JSON matched the four actual properties; Enter launched the modal; Tab and Shift+Tab stayed contained; Escape returned focus to the trigger. Close and backdrop dismissal also passed.
Inventory filterThe known modal query produced one of eight entries; an unmatched query showed the empty state; clearing restored all eight. This is inventory filtering, not document search.
Disclosures and navigationIndependent accordion opening and keyboard collapse passed; section navigation targets resolved.
Reload and errorsReload restored defaults; no console/runtime errors were recorded.
GeometryAt viewport 390, document scroll/client widths both measured 375; at viewport 1280, both measured 1265. No document-level horizontal overflow was observed.

stnl-browser.json records those interactions and supplementary checks. The release owner visually inspected the final stnl-home-390.png, stnl-home-1280.png, stnl-modal-final-390.png and stnl-modal-1280.png screenshots. Earlier modal/probe artifacts are not acceptance evidence. These bounded keyboard checks are not a comprehensive accessibility certification.

stnl-assets-and-auth.json records all ten emitted files, including HTML, JavaScript chunks, CSS and the favicon, returning 200 through loopback and redirecting anonymous real-domain requests with 302 to auth.loca.zone. This establishes exact-output availability and the ingress gate separately; it does not establish an authenticated public-host browser session. The documentation agent reviewed these receipts without rerunning builds or browser checks.

Shared component integration

apps/stnl/src/components/omp-chat-bubble/omp-chat-bubble.tsx and adjacent CSS define the shared Shadow DOM component. sitekits-app/sitekits-app.tsx embeds it with site="stnl"; the existing sitekits loader registers it without a duplicate script. Fuma and Hkit load the same generated assets under /omp-chat/. See embed for exact embed sources, props and same-origin gate requirements.

Stencil supports multiple distribution strategies. The custom-elements target is one option when a consumer owns bundling and registration; it is not a mandatory extra output target for these hosts, which use the generated application loader. Ionic initialization remains in the showcase root, not a global shared-loader initializer.

The service contract and separate runtime acceptance are in shared-chat. The prior showcase receipts do not prove cross-stack chat, real inference, citations or backend containment. Editor is OFF with no mutation routes/tools; the future permission and review design in editor is not working functionality. Quartz’s example remains documentation only and current public/private wikis remain bubble-free.

Wiki publication boundary

evidence/2026-09-27-sitekits-ae75b9b1/wiki-first.json records the three initial public wiki publications; evidence/2026-09-27-sitekits-ae75b9b1/wiki-final.json records final publication and 42 page-viewport verification cases, while evidence/2026-09-27-sitekits-ae75b9b1/result.json records active URLs and the commit. After each publication, confirm /, /setup, /comparison, /shared-chat, /embed and /editor render intended articles and links rather than stale content, alias stubs or literal wikilinks. Preserve the public/private split; do not infer privacy from frontmatter. Repository paths on this page are checkout evidence references, not public download links, while the upstream links are public primary sources.