1.7 KiB
name, description
| name | description |
|---|---|
| shd-airbase-audit | Use when the user asks to inspect AirBase tables, validate project data, find duplicate or broken links, or audit AirBase quality without changing records. |
AirBase audit
See references/audit-contract.md for the bounded read and evidence format.
Workflow
- Resolve the canonical Base identity. A supplied
project_codeis accepted as the legacy alias only when the server accepts it; prefer the returned Base identity for subsequent calls. - If no table is named, call
shd_airbase_tablesfirst and select only the relevant tables. Do not load every table by default. - Call
shd_airbase_schemafor each selected table before reading its records. Pass the table explicitly when a single-table audit is requested. - Call
shd_airbase_recordswith bounded reads and the selected table. - Compare records with the returned schema and report only evidence visible in the response.
Findings
Check for duplicate business numbers, missing required values, invalid select values, unresolved linked records, orphaned references, conflicting DALI or electrical identifiers, formula/derived-field risks and incomplete source data when the selected tables expose those fields.
Report table → record → field → observed value → reason → priority. Distinguish
confirmed defects from data that could not be checked because the schema or
records were unavailable.
Safety
This workflow is read-only. Do not call create, update, delete, import, bulk upsert or generic action tools while auditing. If the user asks to repair findings, first present the proposed records and then use the dedicated validation/dry-run contract before any explicit write.