Skip to content

Preserve real schematic component part metadata - #76

Open
Abse2001 wants to merge 1 commit into
tscircuit:codex/repro-component-parametersfrom
Abse2001:codex/component-parameters
Open

Preserve real schematic component part metadata#76
Abse2001 wants to merge 1 commit into
tscircuit:codex/repro-component-parametersfrom
Abse2001:codex/component-parameters

Conversation

@Abse2001

@Abse2001 Abse2001 commented Aug 31, 2026

Copy link
Copy Markdown
Contributor

Fix

Stacked on the full-schematic reproduction PR. This change exports Circuit JSON manufacturer_part_number and supported supplier_part_numbers as hidden native Altium component parameter records.

All populated metadata now survives the five complete schematic round trips. The full HERON systems snapshot changes from an 8-to-0 source/round-trip count to 8-to-8, making the semantic fix visible without replacing the real circuit with a focused fixture.

Verification

  • bun test tests/schematic-roundtrip01-nodemcu-esp12.test.ts tests/schematic-roundtrip02-heron-pay-ssm.test.ts tests/schematic-roundtrip03-simplefoc-mini.test.ts tests/schematic-roundtrip04-simplefoc-shield-v3.test.ts tests/schematic-roundtrip05-heron-systems-pcb.test.ts
  • bun run format
  • bun run typecheck

Base/reproduction PR: #97

@Abse2001
Abse2001 force-pushed the codex/component-parameters branch from 62ab8dd to b7a1081 Compare August 31, 2026 21:22
@Abse2001 Abse2001 changed the title Export schematic component part-number parameters Preserve real schematic component part metadata Aug 31, 2026
@Abse2001
Abse2001 force-pushed the codex/component-parameters branch from b7a1081 to 15887f5 Compare September 2, 2026 12:19
@Abse2001
Abse2001 changed the base branch from main to codex/repro-component-parameters September 2, 2026 12:19
@Abse2001
Abse2001 force-pushed the codex/component-parameters branch from 15887f5 to 11dd1c8 Compare September 2, 2026 12:41
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