Skip to content

Let the NetGuard plugin reach review and reality - #53

Merged
lr00rl merged 1 commit into
integrationfrom
feat/netguard-review-rpc
Aug 18, 2026
Merged

Let the NetGuard plugin reach review and reality#53
lr00rl merged 1 commit into
integrationfrom
feat/netguard-review-rpc

Conversation

@lr00rl

@lr00rl lr00rl commented Aug 18, 2026

Copy link
Copy Markdown
Contributor

D3a server half: registers review + reality on latticenet.netguard/firewall, routed into the existing REST handlers via a query-shaped invokePluginOperation sibling, so authorization/scoping/audit stay single-implementation. Unblocks the reality/drift panel in the plugin UI. New contract tests cover list/detail/conflict/denial; full suite green.

The reality snapshots and the review that compares them against compiled
intent have been finished and REST-reachable since they landed. The
NetGuard plugin could not use either: a plugin speaks only
lattice.plugin.call, so an interface the core does not register is
unreachable no matter what the REST surface offers. That is why there is
no drift panel despite the backend for one being done.

Both methods now register on latticenet.netguard/firewall and route into
the same handlers the REST routes use, through a query-shaped sibling of
invokePluginOperation — the read handlers take their input from the URL,
and duplicating their rules to accept a body is exactly how two
implementations of one operation start to disagree. Authorization, node
scoping, and audit are the handlers' own and unchanged.

Tested: reality lists a node that has never reported a snapshot (the
state that most needs to be visible) and narrows to detail by node id;
review reports the conflict for an unbound node and compiles once a
binding exists; both are denied for a principal holding netguard:admin
but not netguard:read, so a manifest mistake cannot widen the read
surface. Full internal/server suite green.
@lr00rl
lr00rl force-pushed the feat/netguard-review-rpc branch from 6370b6d to 712f77e Compare August 18, 2026 13:51
@lr00rl
lr00rl merged commit d577636 into integration Aug 18, 2026
1 check passed
@lr00rl
lr00rl deleted the feat/netguard-review-rpc branch August 18, 2026 14:06
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