Skip to content

Make DAT parsing and Cadence export dormant in MCP - #200

Merged
valentinozegna merged 1 commit into
mainfrom
codex/dormant-cadence-dat-export
Sep 3, 2026
Merged

Make DAT parsing and Cadence export dormant in MCP#200
valentinozegna merged 1 commit into
mainfrom
codex/dormant-cadence-dat-export

Conversation

@valentinozegna

Copy link
Copy Markdown
Contributor

Cadence MCP queries now read .DSN schematics directly. DAT exports and HDL .cpm projects are excluded from MCP discovery and rejected by query handlers, and export_cadence_netlist is no longer registered or callable. The implementations remain in the code behind disabled feature flags.

CLI coverage retains DAT comparisons and Windows export support. Golden generation and the existing DAT regression tests use the retained internal helpers, preserving the independent references used to test the DSN parser.

The documentation audit updates format support, tool lists, the extension manifest, privacy policy, schema guidance, issue template, and development plans. MCP instructions and advertised descriptions contain no DAT, HDL, or exporter guidance; historical and parser-reference material identifies its retained scope.

Validation:

  • Type check, lint, and TypeScript build pass.
  • Full suite: 62 test files, 1,040 passed and 5 skipped locally, including actual MCP-client checks for discovery, rejected DAT/CPM queries, unavailable export calls, and manifest/tool-list consistency.
  • All 39 fixture goldens regenerate without changes.
  • CLI coverage compares all 10 fixture designs with DAT references; the remaining DSN has no DAT export. Connectivity, values, pin numbers, pin names, and DNS all match their reference data.


const CADENCE_EXTENSIONS = [".dsn", ".cpm"] as const;
const LEGACY_CADENCE_EXTENSIONS = [".dsn", ".cpm"] as const;
const CADENCE_EXTENSIONS: readonly string[] = CADENCE_DAT_ENABLED
}
// Also recognize pstxnet.dat as a Cadence dat-only design path
return path.basename(filePath).toLowerCase() === "pstxnet.dat";
return CADENCE_DAT_ENABLED && path.basename(filePath).toLowerCase() === "pstxnet.dat";
return parseDsnFile(designPath);
}

if (!CADENCE_DAT_ENABLED) {
Comment thread src/server.ts
return formatResult(result);
})
);
if (CADENCE_EXPORT_ENABLED) {
@valentinozegna
valentinozegna merged commit 12476d9 into main Sep 3, 2026
7 checks passed
@valentinozegna
valentinozegna deleted the codex/dormant-cadence-dat-export branch September 3, 2026 02:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant