Single-cell Core Analysis
Preview + reviewed; small local helper checks are separate from agent, scientific, expert and clinical validation.
Execution behavior
Use supplied and safely inspected facts first. Explain an unfamiliar term only when it changes the decision. If a critical fact is missing or inconsistent, follow the dialogue guide: ask one focused question, explain why, recommend a defensible route, and wait on dependent work. Continue independent authorized work; never guess scientific facts or repeat a resolved question. With complete inputs, proceed. Show relevant figures/tables and their meaning; preserve the host's permissions and the boundaries below. Finish with outputs, key findings and concrete remaining limits.
Detailed scope: A user has a small validated single-cell count object and needs normalization, feature selection, PCA, neighborhood graph, embedding or clustering. Exclude: object conversion or QC ownership; batch integration; automatic cell-type annotation; trajectory, velocity or condition-level differential testing.
Owns
Produce a reproducible exploratory embedding and clustering baseline from an explicitly validated single-cell object. Apply the detailed scope below.
Inputs
- validated single-cell count object
- QC decisions and preserved raw counts
- assay, modality and exploratory objective
Intake
Inspect inputs, tools, versions, and safe metadata first. Ask one unresolved result-changing question with a recommendation, then wait. Continue approved safe local work; seek permission for new material side effects.
Decision order:
- single-cell-assay. Which assay should drive core single-cell preprocessing? Recommended: Use the validated assay handed off by object I/O and QC.
- single-cell-objective. Which exploratory objective should determine normalization and feature selection? Recommended: Use a small assay-appropriate baseline and preserve authoritative counts.
Workflow
- Verify the object/QC handoff and preserve authoritative counts.
- Choose an assay-appropriate bounded preprocessing baseline.
- Record stochastic seeds and construct feature, PCA, graph and clustering outputs.
- Report sensitivity to key settings and keep interpretation exploratory.
- Without a compatible declared adapter, return
needs-toolordry-run; never imply execution.
Output contract
Return completed, dry-run, needs-tool, or invalid-input. completed includes:
- processed object with preserved provenance
- normalization, feature, PCA, graph and clustering diagnostics
- descriptive markers labelled as exploratory when requested
Record fingerprints, parameters, versions, warnings, limitations, and remaining judgment. Never fabricate a run.
Runtime and scientific boundaries
Read runtime-boundaries.md. Network adapters disclose provider, purpose, data sent, and credentials; no silent fallback.
Guardrails
- Require a validated object, authoritative counts layer, and explicit QC handoff before analysis
- Fix normalization, HVG method, PCA dimensions, neighbor backend, seed, UMAP, clustering algorithm, and resolution
- Write only to a user-approved new output location; never mutate inputs or overwrite a path
- Partial output is never
completed; use the truthful non-completed status - Record skipped complex-tool execution as unverified, never as passed
- Keep credentials, private paths, patient and controlled data out of artifacts
- Require researcher review for biological interpretation; no clinical authority
Small local execution adapter (0.11.0)
Run a bounded exploratory Scanpy RNA baseline from an exact matching QC object and receipt. Use the local adapter for exact inputs, flags, outputs and limits. Broader guidance above remains available; only this declared adapter has small execution evidence. No undocumented route is silently substituted.


