The evidence-first loop
1. Resolve the exact target
Reference the component, endpoint, library, or snapshot version. If the target is not known, the Assistant searches the authorized catalog and asks for clarification only when several candidates would materially change the outcome.2. Inspect the current contract
Before editing, the Assistant can read:- component metadata, active version, elements, and source;
- endpoint method, path, component binding, input, validation, timeout, and response behavior;
- runtime declarations for
api.*,storage.*,agent.*,util.*, and activelib.Category.Name.ElementKey.Xdependencies; - historical snapshots and differences between versions;
- dependent components, endpoints, libraries, and other affected definitions.
3. Draft for the correct runtime
Choose the simplest component type that satisfies the requirement:
New low-code logic normally uses JavaScript unless you explicitly request TypeScript or the target is already TypeScript. Existing conventions and component type take precedence over a global preference.
4. Validate before apply
Depending on the target, validation can include a static contract check, compilation, safe code execution, Sandbox debugging, an endpoint call in the intended environment, or a snapshot comparison. Ask for the exact check you consider acceptance evidence.5. Apply through the platform
The Assistant does not edit production definitions by bypassing RevoEngine. It submits an authorized create, update, restore, deploy, or activation operation through the governed platform path. Side effects are classified and may pause for approval.6. Verify the persisted result
After a successful mutation, the Assistant should read the resulting object or version and run the relevant focused validation. The final response should distinguish:- what changed;
- which version or target was affected;
- what passed;
- what could not be validated;
- any rollout or rollback consideration.
Strong prompts for coding work
Generated files and code artifacts
Code previews, execution details, diffs, and generated deliverables can be retained as message artifacts. For durable Agent work, requested files belong in the Agent workspace and should be linked from the run output. An inline answer is valid when the requested outcome is analysis, a code sample, or a small diff. Do not create a filler file unless the request requires a durable file or a downstream Agent needs one as an explicit handoff.Production guidance
- Reference exact targets instead of pasting opaque IDs into prose.
- State compatibility constraints and expected response shapes.
- Ask for dependency analysis when changing a shared library.
- Separate source save, deployment readiness, and activation for custom Node.js components.
- Never paste secret values into a prompt or source file.
Components
Review component types, lifecycle, and composition.
Web IDE
Work directly with runtime-aware code and navigation.
Debugging
Validate behavior and investigate failures.
Approvals and plans
Put a human review boundary around implementation.

