feat(cadfs): expand selector provenance coverage
This commit is contained in:
@@ -190,10 +190,14 @@ def generate_markdown_report(
|
||||
key=lambda item: (-item[1], item[0]),
|
||||
)
|
||||
|
||||
unsupported_ops = {
|
||||
"shell", "sweep", "draft", "thicken", "split", "booleanBodies", "circularPattern",
|
||||
"moveFace", "replaceFace", "deleteFace", "import", "derive",
|
||||
}
|
||||
operation_registry = _read_optional_json(output / "operation_registry.json") or {}
|
||||
registry_operations = operation_registry.get("operations") or {}
|
||||
planned_unobserved_operations = sorted(
|
||||
name for name, value in registry_operations.items()
|
||||
if isinstance(value, dict)
|
||||
and value.get("roadmap_work_item") is True
|
||||
and value.get("state") == "not_observed_in_current_source"
|
||||
)
|
||||
exact_mappings = {
|
||||
"extrude": "extrude_add_blind / extrude_add_two_sided / extrude_cut_blind",
|
||||
"loft": "loft_add (simple closed sketch profiles only)",
|
||||
@@ -312,9 +316,9 @@ def generate_markdown_report(
|
||||
"",
|
||||
*_table(["FeatureScript operation", "CDSL atomic policy"], sorted(exact_mappings.items())),
|
||||
"",
|
||||
"Known unsupported FeatureScript operations recorded as capability gaps:",
|
||||
"Roadmap operation work items absent from the scanned FeatureScript source:",
|
||||
"",
|
||||
", ".join(sorted(unsupported_ops)),
|
||||
", ".join(planned_unobserved_operations) if planned_unobserved_operations else "- None recorded; inspect operation_registry.json for observed work items.",
|
||||
"",
|
||||
"Engine executor atomic IDs:",
|
||||
"",
|
||||
@@ -345,6 +349,7 @@ def generate_markdown_report(
|
||||
f"- Manifest: `{output / 'manifest.jsonl'}`",
|
||||
f"- Summary JSON: `{output / 'summary.json'}`",
|
||||
f"- Capability gaps JSON: `{output / 'capability_gaps.json'}`",
|
||||
f"- Source operation registry: `{output / 'operation_registry.json'}`",
|
||||
f"- Unsupported capabilities Markdown: `{output / 'unsupported_capabilities.md'}`",
|
||||
f"- Comparison CSV: `{output / 'comparison_summary.csv'}`",
|
||||
"",
|
||||
|
||||
Reference in New Issue
Block a user