Skip to content

wip(nftables): S6 nftables driver (adapters/firewall/nftables) - #69

Merged
AetherAI3 merged 11 commits into
mainfrom
lane/s6-nftables
Sep 21, 2026
Merged

AetherAI3 merged 11 commits into
mainfrom
lane/s6-nftables

Conversation

@AetherAI3

Copy link
Copy Markdown
Owner

Outcome

DRAFT / WIP. Session closed by A0 before implementation started. Only a package design note (adapters/firewall/nftables/doc.go) is committed.

Stacked on #64 (lane/s5-driver @ 9717079); will be rebased once #64 merges.

What changed

  • adapters/firewall/nftables/doc.go — design note for the S6 nftables driver.Driver (runner seam, trust checks, policy, capture/verify, ownership, recovery, test plan).

Not done (next steps, in order)

runner + trust checks (linux/other stubs), policy renderer, bounded nft -j list ruleset decoder, driver (Probe/Capture/Simulate/Check/Apply/Verify/Rollback/Recover/Health/RecoveryPaths/CommandPlan), durable ownership store, fake nft-batch kernel + conformance.RunConformance (memory + file journal), unshare -rn netns proof, coexistence + lost-process tests, docs/driver-nftables.md, two adversarial mutations.

Safety boundary

No host mutation; no code executes. Lease: adapters/firewall/nftables/**, docs/driver-nftables.md only. agent/enforcement/** and agent/driver/** untouched.

Verification

None yet (doc-only commit).

🤖 Generated with Claude Code

AetherAI3 and others added 9 commits August 23, 2026 11:15
Add agent/driver with the ProbeResult type, the Prober interface, shared
AF-PROBE reason codes, validation bounds, and a deterministic SHA-256 digest.
A ProbeResult is evidence produced by driver code on the node; it is never
accepted from a caller, plan, manifest file, or the network. The digest layout
is pinned by test so a layout change cannot silently re-identify stored
manifests and receipts.

This file is the single cross-lane contract for the capability-discovery,
driver-contract, and host-driver lanes; it is frozen at schema version 1.
…rvation floor, store/journal conformance runners, journal compaction
Incomplete: runner, trust checks, policy renderer, ruleset decoder, driver,
ownership store, fake kernel, netns harness, conformance, docs/driver-nftables.md.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@AetherAI3
AetherAI3 marked this pull request as ready for review September 21, 2026 23:25
@AetherAI3
AetherAI3 merged commit e64e797 into main Sep 21, 2026
10 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