Skip to content

chore(release): v3.1.0 - #19

Merged
Natchpai merged 4 commits into
mainfrom
dev
Oct 28, 2026
Merged

Natchpai merged 4 commits into
mainfrom
dev

Conversation

@Natchpai

Copy link
Copy Markdown
Owner

Summary

Release v3.1.0. Add one PDF rule file (pdf.md), align settings.json and protect.json with AeroOptix-Horizon, add Git, workflow and provider sections to CLAUDE.md, and bump the plugin version.

Type of Change

  • New feature or circuit block
  • Design fix (schematic or PCB)
  • Refactoring (no electrical change)
  • Documentation
  • Maintenance / tooling / libraries
  • Breaking change (changes interfaces, pinout, footprint or form factor)

Affected Design Areas

  • Schematic
  • PCB layout
  • Symbol or footprint libraries
  • BOM / component selection
  • Manufacturing outputs
  • Documentation
  • Other (.claude rules, settings and hook rules)

Changes

  • .claude/rules/pdf.md (new): the single PDF rule. Project report PDFs may be read and generated (for example with engineering-report-pdf); schematic, PCB and datasheet PDFs are not read directly. NotebookLM is the default datasheet source, and Claude asks the human when it has a problem.
  • engineering.md, hardware-workflow.md, git-workflow.md, notebooklm.md: PDF text removed; they point to pdf.md.
  • .claude/settings.json and .claude/hooks/protect.json copied from AeroOptix-Horizon:
    • symbol, footprint, library/, STEP and .kicad_pro edits run without a prompt; schematic and PCB edits still ask
    • git push and gh pr create run without a prompt; git merge asks instead of being denied
    • Read(**/*.pdf) and pdftotext ask; PDFs under documents/schematic*/ and documents/manufacturing/ (both casings) are denied
  • CLAUDE.md: KiCad lock and backup files, phase from README, notes on protect.json vs settings.json, Git approval rules, external-model provider limits, rule-file list, skill workflow, compact instructions.
  • README.md and CONTRIBUTING.md: describe the new PDF rule; README "What's new in v3.1.0", guard note fixed to match protect.json, test table updated.
  • .claude-plugin/plugin.json: version 3.1.0.

Project Phase

Declared phase: Not declared (template repository)

Validation Performed

  • ERC (human-run)
  • DRC (human-run)
  • Datasheet or calculation review
  • Manual design review
  • Prototype or bench measurement
  • Documentation review
  • Other validation

Results / evidence:

  • Schematic synthetic 21/21 and PCB synthetic 31/31 passed (Python 3.14.7, Windows).
  • settings.json, protect.json and plugin.json parse as JSON.
  • Hook check: an Edit on a .kicad_pro path gets no decision from the hook; an Edit on a .kicad_sch path returns ask.
  • Golden tests: NOT_VERIFIED (not re-run).
  • The new deny entries for schematic and manufacturing PDFs: NOT_VERIFIED (need a new session to load settings).
  • ERC/DRC: not applicable (no design files changed).

Impact / Risks

  • Fewer prompts: git push, gh pr create and library edits no longer prompt. CLAUDE.md and the Git rules still require approval in chat for every Git write and design change; this relies on the model following the rules, not on a prompt.
  • Permission deny patterns for PDF folders are path globs; a project with other folder names for schematic or manufacturing outputs needs its own deny lines.
  • CLAUDE.md still has two language lines that disagree (reply in the user's language vs in English). Not changed in this PR.

Related Issues

None.

Review Notes

Start with .claude/rules/pdf.md, then the settings.json and protect.json diffs.

🤖 Generated with Claude Code

Natchpai and others added 4 commits October 28, 2026 13:12
Add .claude/rules/pdf.md as the single PDF rule: project report PDFs may
be read and generated; schematic, PCB and datasheet PDFs are not read
directly. NotebookLM is the default datasheet source, and Claude asks the
human what to do when it has a problem. Other rules now point to pdf.md.
settings.json asks before PDF reads and denies reads of schematic and
manufacturing output PDFs. README and CONTRIBUTING describe the new PDF
rules.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Copy settings.json and hooks/protect.json from AeroOptix-Horizon. Git
push, gh pr create and edits to .kicad_pro, symbols, footprints, STEP
files and library/ now run without a prompt; git merge moves from deny
to ask. Keep the deny lines for documents/Schematics/ and
documents/Manufacturing/ PDFs used by the 2Phase_SynchBuck example.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Bring the general parts of AeroOptix-Horizon's CLAUDE.md into the
template: KiCad lock and backup files, phase read from README, notes on
protect.json and settings.json, Git approval rules, external-model
provider limits, the rule-file list, a skill workflow and compact
instructions.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Bump plugin version to 3.1.0. README lists what's new in v3.1.0,
fixes the guard note to match protect.json, and records the synthetic
test run (schematic 21/21, PCB 31/31).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@Natchpai
Natchpai merged commit 76f80d6 into main Oct 28, 2026
6 checks passed
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