Automated summary
Explains how to prove that a jsgui3 SSR + client-activation app actually works, by measuring runtime behaviour in a browser rather than inferring it from the source.
Strengths
- Records the measured reattachment contract: what survives the SSR-to-client seam (control tree, _ctrl_fields) and what is lost (properties assigned in compose, data.model, text nodes)
- Gives a concrete recipe: restart the server, wait for activation to settle, check for a clean console, and assert on content rather than shape
- Offers discriminating proof techniques such as marker-then-refresh instead of "it still looks populated"
- Names the core trap: failures are silent and look like styling, so a green test suite proves nothing
Limitations
- Heavily tied to jsgui3 and this project (src/ui/server/*/controls/ paths, Server({Ctrl}) boot-time publishing)
- The reattachment table is dated and comes from one codebase, so it can drift with library versions
- Requires a running server and a browser session to measure; it is not a static check
Use it whenever you change, review or debug a jsgui3 Control and need to prove the page works before claiming the change is verified.
Skip it for UIs that are not built on jsgui3, or when no server and browser session are available to measure against.
Security analysis
SafeThis is pure documentation: guidance on verifying a jsgui3 SSR/client-activation app with browser-based checks. It declares no allowed-tools, contains no executable commands, no curl|sh, no file deletion, no network exfiltration, and no attempts to disable safety controls. The only actions referenced (restarting a dev server, clicking elements in a browser, reading DOM properties) are ordinary development verification steps.
No concerns found
How this analysis is madeExamples
I just edited a control under src/ui/server/board/controls/ — restart the server, load the page, wait for activation, and prove my change actually takes effect before I write 'verified' in the commit message.My jsgui3 Data_Grid renders blank after reattachment. Walk the control tree in the browser and tell me what was restored versus what was lost, and whether this is a compose-property or data.model problem.I swapped in a stock jsgui3 control and it renders with no columns. Measure it in the live browser and tell me whether the columns were dropped on reattachment before I report it as a library bug.name: jsgui3-verify description: How to prove a jsgui3 SSR + client-activation app actually works, and the traps that make it look like it works when it does not. Use this skill whenever you change, review, or debug anything under src/ui/server/*/controls/ or any jsgui3 Control — before claiming a change works, when a control renders empty or stale, when adopting a stock jsgui3 control, or when a green test suite disagrees with what the page does. Also use it before writing "verified" in a commit message or ledger row about UI work.
Verifying a jsgui3 app
jsgui3 renders on the server and reattaches in the browser. That seam is where this project's UI bugs live, and it has a specific property that makes it dangerous: failures are silent and look like styling. A control that lost its data renders — it just renders empty, or stale, or blank-but-correctly-shaped.
Every UI defect this project has shipped was a verification failure, not a coding failure. The code was plausible; the check was too weak to catch it.
The rule that would have prevented all of them
Measure the runtime. Do not infer it from the source.
In one session an agent read jsgui3's constructors and made three confident claims about reattachment. All three were later measured false, and two had already been written into a defect report for another team. The measurement that settled them took about two minutes.
Reading a constructor and predicting what happens at runtime is inference. Loading the page and looking is measurement. Say which one you did.
The reattachment contract (measured, 2026-07-30)
What the client gets back, verified in a live browser — not read off the source:
| Restored | Not restored |
|---|---|
| The full control tree: content._arr repopulated, .parent set, descendants reachable by a plain recursive walk | Anything assigned to this during compose — this.grid = grid is undefined in the browser |
| _ctrl_fields, hydrated as real properties (a reattached Panel has content_container; a Data_Grid has table) | data.model — every reattached control gets a fresh empty Data_Object |
| Scalars the server put in this._fields (serialized to data-jsgui-fields) | Text nodes — raw text in SSR markup is in the DOM but absent from content, and clear() destroys it |
| DOM events, mutation API (add(), clear(), add_class()), mixins | A stock control's columns / rows unless it opted in (see traps) |
The mechanism: reattachment constructs every control down the spec.el
path, which skips compose entirely. That single fact explains most of the
table. control-enh.js: pre_activate_content_controls does the restoring.
Reach a collaborator by walking the tree (.parent upward, content._arr
downward, matching __type_name). Do not build a parallel registry of marker
attributes and document.querySelector — that was tried here, on the false
belief that the tree was flat, and deleted.
The recipe
- Restart the server.
Server({Ctrl})publishes the SSR HTML and the bundle once, at boot. Editing a control and reloading the page shows you the old build. Almost every "my change did nothing" moment is this. - Load the page, wait for activation to settle (~1.5–2.5s), then assert.
- Console must be clean. Check it explicitly. A swallowed error is how a dead feature survives for cycles.
- Assert on content, not shape. See below.
- Check the invariants for this app:
/tech/*still 302s,#node=/#branch=deep links still select and scroll, SSR renders the board without activation, SSEactivitypatches /cardsre-applies.
Proof techniques that actually discriminate
To prove a list repainted — marker-then-refresh. "It still looks populated" proves nothing; the SSR markup also looks populated.
document.querySelector('SELECTOR').setAttribute('data-stale','1');
document.querySelector('[data-ps-refresh]').click();
// after the refresh: 0 elements with [data-stale] === it genuinely rebuilt
To prove content is right — read it, do not count it.
A stock Chip was given spec.text when it reads spec.label. It rendered the
correct number of correctly-shaped pills, all blank, for two cycles. The check
that missed it was chips: 2. The check that caught it read
chips.map(c => c.textContent).
Assert DOM properties, not textContent. textContent counts hidden nodes,
which once produced a false "the pill appeared".
For exactly-one-of behaviour, do it twice. Select A, select B, then count.
One selection proves nothing about exclusivity — and the two paths (mouse and
hash/deep-link) can differ. They did: the mouse path deselected correctly while
the hash path did not, because it wrote ctrl.selected = true instead of
calling action_select_only().
Trap list
- An SSR'd
Data_Grid/Data_Tableneedspersist_activation_state: true. Without it the reattached grid has zero columns and renders the right number of rows with no cells — which reads as a CSS bug.aria-colcountvisibly drops from N to 0. A grid composed at runtime does not need it. - Check a stock control's spec before passing anything.
Chiptakeslabel, nottext. Read the.d.tsor the constructor; the library's specs are not guessable and the failure is silent. - Controls composed into an already-activated parent never activate. Call
pre_activate()thenactivate()on the new subtree.pre_activateis what installs the vdom→DOM sync listener — activate alone leaves the control live but deaf, so lateradd_class()and attribute writes silently do nothing. - Survey before building. jsgui3 ships ~155 controls and ~48 mixins. Proposing
to build
Panel,Chip,BadgeorButtonhas happened here more than once. - Stock controls carry their own theme.
Key_Value_TableandChipship light-on-white and read as holes cut in a dark page. Check computed styles, not just that the control rendered. - The deep relative requires are deliberate.
../../../../../../../jsgui3-clientpoints at the sibling repo;require('jsgui3-client')resolves to an oldernode_modulescopy. Do not "tidy" them into package specifiers. - CSS lives on the control as
Ctrl.css = \…`beforemodule.exports— the documentedstatic css` hook. The bundler collects it from the bundle text.
Reporting
State the evidence kind for every claim: measured (ran it, saw output), source-read (read code, reasoned), inferred (weaker). If a check was not run, do not imply it was — read the actual output before writing a number into a commit message. "21/21 probes" was once written when the run said 19 pass, 1 fail, 1 skip.
If a claim is refuted later, record it as refuted, with the reason. A withdrawn claim kept on the record is worth more than a plausible one quietly deleted.
From the file to a first result
The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.
View the source and supporting filesThis download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.
1. Download the file
Download SKILL.mdFrom the root of a test project, save the file as .skill-downloads/verifying-jsgui3-apps-mszmca20/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.
Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.
mkdir -p '.skill-downloads/verifying-jsgui3-apps-mszmca20' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/verifying-jsgui3-apps-mszmca20/download' --output '.skill-downloads/verifying-jsgui3-apps-mszmca20/SKILL.md.part' && mv '.skill-downloads/verifying-jsgui3-apps-mszmca20/SKILL.md.part' '.skill-downloads/verifying-jsgui3-apps-mszmca20/SKILL.md'2. Check prerequisites
Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.
No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.
The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.
3. Load the skill
After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.
Claude Code
test -f '.skill-downloads/verifying-jsgui3-apps-mszmca20/SKILL.md' && test -s '.skill-downloads/verifying-jsgui3-apps-mszmca20/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/jsgui3-verify' && cp -R '.skill-downloads/verifying-jsgui3-apps-mszmca20' '.claude/skills/jsgui3-verify'Cursor
test -f '.skill-downloads/verifying-jsgui3-apps-mszmca20/SKILL.md' && test -s '.skill-downloads/verifying-jsgui3-apps-mszmca20/SKILL.md' && mkdir -p '.cursor/skills' && test ! -e '.cursor/skills/jsgui3-verify' && cp -R '.skill-downloads/verifying-jsgui3-apps-mszmca20' '.cursor/skills/jsgui3-verify'Codex
test -f '.skill-downloads/verifying-jsgui3-apps-mszmca20/SKILL.md' && test -s '.skill-downloads/verifying-jsgui3-apps-mszmca20/SKILL.md' && mkdir -p '.agents/skills' && test ! -e '.agents/skills/jsgui3-verify' && cp -R '.skill-downloads/verifying-jsgui3-apps-mszmca20' '.agents/skills/jsgui3-verify'OpenSkills
OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.
Official OpenSkills installationopenskills install './.skill-downloads/verifying-jsgui3-apps-mszmca20'openskills read 'verifying-jsgui3-apps-mszmca20'Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.
For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.
openskills syncManual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.
4. Try a first task
Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:
Read .skill-downloads/verifying-jsgui3-apps-mszmca20/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.
ClickHouse Performance Comparison
Testing
Evaluate ClickHouse performance test results, check PR performance changes, compare with history, and assess whether a result is actionable.
Analyze CI Performance Reports
Testing
Analyze CI performance comparison reports for a ClickHouse PR. Cross-references master history to distinguish real regressions from flaky tests.
Santa Method
Testing
Multi-agent adversarial verification with two independent reviewers. Output is checked twice and iteratively fixed until both pass before shipping.