tscircuit / tscircuit/core

board: material='flex' emits Circuit JSON outside the contract

Open
#3,102 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
58
Forks
203
Avg merge
7h 39m
Merged PRs (30d)
286

Description

The board schema accepts material="flex", while the Circuit JSON contract and documentation allow only fr4 and fr1.

Expected: align the schema/output with the Circuit JSON contract.
Actual: a pcb_board is emitted with material: "flex".

Evidence:

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the core repro PR #3096 and the standalone repro to trace where pcb_board material is accepted and emitted. Compare that behavior with the Circuit JSON contract and documentation. Done means material="flex" is no longer accepted or emitted, while fr4 and fr1 remain supported.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
backend-api-design
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
65/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.