EDT-MCP query and DCS workflow
Purpose and trigger
Use this skill to locate, inspect, validate, or change a 1C query or supported Data Composition Schema surface.
Operating rule
Read and apply the common operating rules before this workflow.
Task boundary
Resolve the exact project, owning method or Report FQN, dataset, and business
grain. Route form-only work elsewhere and never edit .dcs directly to bypass
an unsupported structured operation.
Primary workflow
- Locate the owner with
search_in_code,get_module_structure,read_method_source, orget_metadata_details. - Read the complete owning method or dataset and validate the complete query
with
validate_queryin the exact project. For a DCS-owned query, use the tool's DCS context/mode according to current help for both pre- and post-change validation. - Preserve business grain and cardinality. Hand an embedded BSL query mutation
to
edt-mcp-project-local-fixand require its guarded lost-update workflow; usemodify_metadatafor a supported DCS mutation. - Re-read the owner, validate the final query, and inspect targeted
get_project_errorswhen markers matter. - Run an authorized report/runtime check only when rows, totals, RLS, parameters, performance, or presentation are part of acceptance.
Authority rule
Do not broaden source/DCS changes, bypass access restrictions, execute against runtime data, or alter report settings beyond the authorized target.
Stop rule
Stop on ambiguous ownership, unresolved model validation, unsupported DCS write capability, unsafe cardinality, or missing runtime target/read authority.
Completion signal
Return the exact owner and dataset, confirmed source/schema diff, successful readback and static validation, business-grain reasoning, and explicit gaps. Static validation never proves returned rows, totals, RLS, performance, or UI.