Skip to content

Document live-hardware pfRest findings in CLAUDE.md - #7

Closed
nolsen311 wants to merge 6 commits into
mainfrom
REST-refactor
Closed

nolsen311 wants to merge 6 commits into
mainfrom
REST-refactor

Conversation

@nolsen311

Copy link
Copy Markdown
Owner

Adds a "Findings from live hardware" section capturing behaviour learned running the shipped integration against the Netgate 6100:

  • pfRest reports disabled: false for rules disabled in the pfSense GUI (strict === '' against pfSense's empty-element form) -- why the rule switches looked backwards, and why there is no client-side fix.
  • PATCH /firewall/rule 400s with FIELD_EMPTY_NOT_ALLOWED on a blank statetype; the client backfills "keep state".
  • DELETE /api/v2/firewall/states -- the source/destination__startswith prefix filter works, limit=0 deletes all matches with no per-call cap; resolves the earlier LIVE-CHECK.
  • Aside on the HACS version-regression trap.

Cross-references added in the rule-switch and state-table sections; the stale "no integration code has been rewritten yet" note is corrected.

Adds a "Findings from live hardware" section capturing behaviour learned
running the shipped integration against the Netgate 6100:

- pfRest reports `disabled: false` for rules disabled in the pfSense GUI
  (strict `=== ''` against pfSense's empty-element form) -- why the rule
  switches looked backwards, and why there is no client-side fix.
- `PATCH /firewall/rule` 400s with FIELD_EMPTY_NOT_ALLOWED on a blank
  `statetype`; the client backfills "keep state".
- `DELETE /api/v2/firewall/states` -- the `source/destination__startswith`
  prefix filter works, `limit=0` deletes all matches with no per-call cap;
  resolves the earlier LIVE-CHECK.
- Aside on the HACS version-regression trap.

Cross-references added in the rule-switch and state-table sections; the
stale "no integration code has been rewritten yet" note is corrected.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@github-actions

github-actions Bot commented Sep 6, 2026

Copy link
Copy Markdown

🎉 Thank you for contributing to SkyRadar Fusion! Your Pull Request has been received. Our automated tests (Hassfest, Ruff, etc.) will run shortly. If anything fails, don't worry—just check the logs and update your branch!

nolsen311 and others added 5 commits September 6, 2026 11:44
The Release Drafter workflow was failing because release-drafter@v7
looks for .github/release-drafter.yml and, not finding it here or in
nolsen311/.github, 404s. Add a standard label-driven config
(breaking-change / feature / bug / maintenance categories, semver
version-resolver).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Records that the project began as a fork of DonTranQuiL/Pfsense-pro,
was extensively rewritten (XML-RPC -> native async REST API v2) with
Claude Cowork, and was de-forked so PRs aren't accidentally opened
against upstream.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
- README badges pointed at the old repo name and a non-existent
  pytest.yml workflow: repoint to nolsen311/Pfsense-REST and to the
  actual workflows (hass-ci.yml, hassfest.yaml, hacs.yaml), pinned to
  the main branch.
- manifest.json documentation / issue_tracker URLs -> Pfsense-REST, so
  the "Documentation" and "Issues" links on the HA integration page
  resolve.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Docs and CI-config only since 0.10.0: live-hardware pfRest findings in
CLAUDE.md, a release-drafter config, the README fork-origin note, and
fixed README badges / manifest documentation+issue_tracker URLs. No
runtime change.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@nolsen311 nolsen311 closed this Sep 6, 2026
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