feat: bridge settings assets and define fixture matrix

This commit is contained in:
codex
2026-08-10 16:20:52 +03:00
parent 8ad3d97edb
commit 990d057ae3
3 changed files with 106 additions and 1 deletions
@@ -0,0 +1,73 @@
{
"schemaVersion": 1,
"policy": "controlled-local-only; fail-closed on ambiguous identity; no production DWG/project writes",
"fixtures": [
{
"id": "LINE_NUMBER_ORTHO_OWNED",
"requiredDocument": "controlled Plant Ortho DWG copy",
"requiredObjects": ["Pipe with DataLinks line number", "owned line-number block", "legacy layers/text styles"],
"selection": "exact owned block handle discovered from drawing",
"preState": "owned annotation baseline and unchanged Plant source",
"mutation": "create/update/delete line annotation",
"repeat": "update or AlreadyExists according to command",
"undo": "native AutoCAD UNDO restores entity and ownership baseline",
"workflows": ["PXP-LN", "PXP-ULN", "PXP-ESN", "PXP-ELN", "PXP-RMP"]
},
{
"id": "CONNECTOR_TOPOLOGY",
"requiredDocument": "controlled Plant project and Ortho copy",
"requiredObjects": ["two connected Plant parts", "connector/port snapshot", "P3dPartConnection", "line-group relationships"],
"selection": "exact connector source identity; no arbitrary entity fallback",
"preState": "no owned connection annotation",
"mutation": "orthogonal connection leader and ownership XData",
"repeat": "recreate/update without duplicate ownership",
"undo": "native AutoCAD UNDO restores pre-annotation state",
"workflows": ["PXP-ALC"]
},
{
"id": "ELEVATION_GOLDEN",
"requiredDocument": "controlled Plant model plus paper/model context",
"requiredObjects": ["positive, negative and zero elevations", "BLOCK_ELEVATION definition", "attribute definitions"],
"selection": "exact Plant source object handle",
"preState": "source object and annotation baseline",
"mutation": "legacy /5, AwayFromZero, *5 elevation annotation",
"repeat": "update existing owned annotation",
"undo": "native AutoCAD UNDO restores baseline",
"workflows": ["PXP-AE", "PXP-IE"]
},
{
"id": "ORTHO_VIEWPORT_EXACT",
"requiredDocument": "controlled Plant Ortho DWG with one-to-one source view mapping",
"requiredObjects": ["exact viewport handle/ObjectId", "layout membership", "Ortho view identity", "visible Plant candidates"],
"selection": "validated AcDbViewport handle and expected Ortho mapping",
"preState": "viewport and annotation baseline",
"mutation": "view annotation/viewport maintenance operation",
"repeat": "deterministic update/no duplicate",
"undo": "native AutoCAD UNDO restores viewport/entity baseline",
"workflows": ["PXP-AAV", "PXP-COV", "PXP-UOB", "PXP-DJ"],
"status": "EXACT_VIEWPORT_FIXTURE_BLOCKED"
},
{
"id": "MANUAL_TEMPLATE_EDIT",
"requiredDocument": "controlled local Template-derived drawing",
"requiredObjects": ["manual annotation blocks", "attributes", "dynamic properties", "required layers/styles", "owned P_REC_ANNOT_MANUAL XData"],
"selection": "exact owned annotation handle for edit/reopen",
"preState": "palette state and owned annotation baseline",
"mutation": "manual insert/update/attribute persistence",
"repeat": "restore and update existing owned annotation",
"undo": "native AutoCAD UNDO restores entity and manual-state baseline",
"workflows": ["mto-ma", "PXP-MA", "CAC", "CAC1", "BJ", "PXP-MAB", "PXP-AC"]
},
{
"id": "ORTHO_BATCH_SAME_NAME",
"requiredDocument": "controlled project copy with two relative drawing paths",
"requiredObjects": ["same filename in different project-relative directories", "one failing controlled drawing"],
"selection": "project-relative identity, never filename-only",
"preState": "unchanged controlled copies",
"mutation": "per-drawing update with continue-on-error",
"repeat": "deterministic ordering and idempotent result",
"undo": "per-drawing recovery/cleanup",
"workflows": ["PXP-IOD"]
}
]
}