Molecule Standardization and Descriptors
Preview + reviewed; runtime, scientific, expert, and clinical validation were not performed.
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 needs to clean SMILES/SDF records, normalize structures or compute declared molecular descriptors. Exclude: similarity search; QSAR training; claiming biological mechanism from descriptors.
Owns
Create traceable standardized molecular representations and descriptors without erasing the original records. Apply the detailed scope below.
Inputs
- SMILES, SDF or equivalent records
- standardization policy
- descriptor list and software version
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:
- fragment-policy. Which parent-fragment policy should handle salts and mixtures? Recommended: Preserve the original and select a declared parent without silently discarding components.
- charge-policy. Which charge or protonation policy should standardization use? Recommended: Freeze one policy matched to the downstream use and record every change.
- tautomer-policy. Which tautomer policy should standardization use? Recommended: Use one versioned deterministic policy and retain the original representation.
- stereochemistry-policy. How should specified and unspecified stereochemistry be preserved? Recommended: Preserve specified stereochemistry and keep unspecified centers explicitly unknown.
Workflow
- Parse structures and retain an immutable original representation.
- Apply the declared fragment, charge, tautomer and stereochemistry policy.
- Calculate versioned descriptors on the standardized form.
- Report failed records, transformations and representation hashes.
- 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:
- standardized structures linked to originals
- descriptor table
- reject, warning and transformation log
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
- Fix fragment, charge and protonation, tautomer, stereochemistry, aromaticity, and descriptor policies
- Preserve original molecule records and a complete transformation log
- 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


