Repository navigation
feat(policy)!: split the pinned address into ip4 and ip6 - #227
Conversation
## Problem Policy gets one spelling of a pinned destination address, so an IPv6 encoding of an IPv4 address reads as the IPv4 literal an operator writes. The fold covered the IPv4-mapped, IPv4-compatible, 6to4, and Teredo encodings only. It missed the NAT64 well-known prefix `64:ff9b::/96` and the IPv4-translated prefix `::ffff:0:0:0/96`. An address in one of those two prefixes reached no fold arm, so `context.input.ip` carried an IPv6 string. A `forbid` on `context.input.ip like "169.254.*"` did not match it. The gateway then permitted the destination and opened the connection. The design guide says that an IPv6 spelling of an IPv4 address becomes that IPv4 address, so the code did less than the guide states. The cost falls on the instance metadata address. Policy is the only check on a metadata endpoint, and the gateway holds no built-in block, so an authored `forbid` is the only control. A translator on the path is also necessary to reach a metadata service. This bounds the reach, but it does not close the gap in authorization. ## Solution `embedded_v4` gets one arm for each prefix. Both encodings hold the IPv4 address in the last 32 bits, so each arm matches the first six segments and uses the extraction that was already there. The six arms are disjoint, so their order has no effect. Two forms stay outside the fold, because no fixed prefix finds them. A network-specific prefix is not well known, so no arm can know it. The local-use NAT64 prefix `64:ff9b:1::/48` is reserved, but it holds the address in a different layout, and that layout permits four more prefix lengths. An address under that prefix, such as `64:ff9b:1:a9fe:a9:fe00::`, is still an IPv6 string to a rule. This is residual risk, and this commit does not change it. Two more costs are now larger, and neither is new. The load does not hold an `ip` literal to its canonical spelling, as it holds a host literal, so a rule that names an IPv6 encoding of an IPv4 address is inert, with no refusal and no warning. And the fold feeds the live decision and both history legs, so older events keep the IPv6 spelling. A temporal rule on `ip` that spans this change counts two keys for one destination. History has no rewind. No interface moves. `address` is a private module, and the action vocabulary, the attributes a rule reads, and what `when temporal` observes are unchanged. ## Tests `cargo test -p strands-box-policy --all-features`: 31 suites, 464 passed, 0 failed, 7 ignored. With default features: 298 passed, 0 failed, 5 ignored. `cargo clippy -p strands-box-policy --all-targets`, with and without `--all-features`: no warning in `crates/policy`. `cargo fmt --all --check` and `RUSTDOCFLAGS="-D warnings" cargo doc`: clean. `address.rs::every_ipv6_encoding_of_an_ipv4_address_is_that_address` gets four entries: the dotted and the hex spelling of each new prefix. Each new arm was removed in turn, and the test failed on that arm's entry. `address.rs::ipv6_is_compressed_and_lowercase` gets five addresses that keep the IPv6 form, although their last 32 bits spell an IPv4 address. They hold each new arm to its `/96`. The NAT64 arm was widened to `/32` and the translated arm to `/80`, and the test failed each time. `adapters/egress.rs::an_address_forbid_refuses_only_its_addresses` gets the two spellings. This shows that an authored `forbid` on `context.input.ip` refuses them through the interceptor. With both arms removed, the test failed on the NAT64 spelling. `test-integ/tests/policy/po_14.rs` gets `LIT_NAT64` and `LIT_V4_TRANSLATED`, which keeps its one literal for each fold arm, and its comment names the two encodings. Not run: `po_14` did not execute. Linux containment supports ARM64 only, and this host is x86_64, so the trampoline refuses before any case starts. Continuous integration must prove that case. `test-integ` type-checks and formats clean, and its two clippy warnings are also present without this change.
|
Assessment: Request Changes The fold is correct for every address that reaches it. The new arms are held to their Assumptions and rules checked that held
Out of scope, for a possible follow-up: the vendored The mutation table in the description is a strong piece of evidence for the arm bounds. |
|
Correction to my summary: the vendored |
## Problem A decision reads one spelling of a pinned destination address. An IPv6 form that carries an IPv4 address reads as that IPv4 address, and any other IPv6 address reads compressed and in lowercase. The load held a host literal to its spelling, and it held an `ip` literal to none. A rule that named any other spelling loaded, raised no finding, and matched nothing. A `forbid` that matches nothing is a fail-open that passes review. The commit before this one made the cost worse. It added the NAT64 well-known prefix and the IPv4-translated prefix to the fold. On an IPv6-only host with DNS64, each IPv4 destination arrives on `64:ff9b::/96`, so an operator reads `ip` in that form from the decision log and writes a `forbid` against it. That `forbid` refused the connection before the fold held those two prefixes. After it, the policy loads, `ip` carries the dotted quad, and the gateway opens the connection. There is no refusal and no warning. The decision guide states that the load refuses a rule that cannot fire, so the code did less than the page states, for this rule and also for the four older encodings. ## Solution `spelling::judge_address` holds an `ip` literal to `address::canonical`, which is the one function that writes `context.input.ip`. The judge and the decision share one rule, as `judge_host_literal` shares the gateway's own `normalize_host`. `Scope::checks` admits `ip` beside `host` under the network family, and `input_attribute` admits the name, which is why no `ip` literal was judged before. The judge gives `Finding::Inert` in two cases. A literal that parses as an address and is not its canonical form is refused, and the refusal names the form to write. A literal that parses as no address is refused too: each string that `address::canonical` returns parses as an address and is its own canonical form, so no pinned address equals such a literal. Its advice names a port, a bracket, or `context.input.host`. A `like` pattern is judged only when it holds no wildcard, where the pattern and `==` make the same comparison. A pattern that holds a wildcard is not judged. `64:ff9b::5db8:*` matches the form that `64:ff9b:0:0:0:5db8:1:2` reads as, and no arm folds that address, so no proof of inertness is possible. A warning for a pattern whose first literal starts on a folded prefix was rejected, because the finding would be a guess, and because a new `PolicyWarning` variant is an interface change. A `when temporal` clause is not judged either, because history keeps the spelling that each event was recorded with. No type moves. `PolicyError::Spelling` keeps its variant and its message. The new startup refusal is observable: a box that holds a working `ip` rule in an IPv6 form now refuses to start, and the operator must write the form the refusal names. This is a breaking change for that operator. It is still correct, because that rule stops protecting them as soon as the fold holds its prefix, and a refusal that names the canonical form is better than silence. `docs/user/policy.md` holds the refusal and the migration guidance, and it names the two NAT64 forms that stay unfolded, for which an IPv6-form rule is the only rule that works. `docs/design/policy.md` adds the class to the list of rule classes the load refuses. `docs/design/egress.md` states the load check beside the fold, as its host paragraph already does. ## Tests `cargo test -p strands-box-policy --all-features`: 31 suites, 471 passed, 0 failed, 7 ignored, and no `skipping` line. With default features: 31 suites, 305 passed, 0 failed, 5 ignored. `cargo build`, `cargo clippy --all-targets` with and without `--all-features`, `cargo fmt --all --check`, and `RUSTDOCFLAGS="-D warnings" cargo doc`: clean, and zero clippy warnings in `crates/policy`. `path_spelling.rs::an_ipv6_encoding_of_an_address_literal_is_refused_and_the_dotted_quad_forbids_the_connect` is the end-to-end claim. It refuses the reviewer's rule at load, with the dotted quad in the message, and it shows that the dotted-quad rule denies five encodings of that address through `decide` and leaves another address to the permit. `spelling.rs::an_address_literal_is_refused_with_the_spelling_a_decision_reads` holds each of the six encodings and both IPv6 cases to their canonical form. `a_canonical_address_literal_is_sound` holds ten spellings that a decision reads, which includes the three unfolded addresses, so the judge refuses nothing an operator needs. `an_address_literal_that_no_pinned_address_can_equal_is_refused` holds the port, the bracket, and the generic advice, and it holds a bare IPv6 with one group too many to the generic advice rather than to a port it does not carry. `an_address_pattern_is_judged_only_when_it_holds_no_wildcard` holds three wildcard patterns to no finding and one wildcard-free pattern to a refusal. `a_reversed_operand_and_a_set_membership_judge_the_address` and `an_address_literal_under_no_action_is_refused_for_its_scope_and_not_its_spelling` hold the other comparison shapes and the scope gate. `shipped_examples.rs::every_shipped_example_policy_loads` holds each committed example policy. Each mutation below was applied, observed, then reverted. | Mutation | Result | |---|---| | Drop `ip` from `input_attribute` | The six literal and pattern tests fail | | Drop `ip` from `Scope::checks` | The same tests fail | | Delete the literal arm in `judge_literal` | Those tests and the end-to-end test fail | | Make the parse failure `Finding::Sound` | The advice test fails | | Drop the `canonical != literal` guard | The sound-literal test fails | | Replace the pattern arm with `Finding::Sound` | The pattern test fails | | Judge each pattern's first literal | The pattern test fails, and `every_shipped_example_policy_loads` fails on `like "169.254.*"` | | Accept a bare IPv6 as an address with a port | The advice test fails on `2001:db8::1:2:3:4:5:6` | | Delete the NAT64 fold arm | The end-to-end test fails, because the load accepts the IPv6 rule | The last two rows are the ones that matter. The seventh shows that the wildcard restriction carries weight, because a wider arm refuses a pattern that each shipped example holds. **Not run.** `test-integ` did not run, and the workspace suite did not link: this host has 7 GB free and the link exhausted the disk. `po_14` also cannot run here, because Linux containment supports ARM64 only and this host is x86_64. Continuous integration must prove those cases. No test was deleted and none was marked `#[ignore]`.
|
Assessment: Approve (re-review at The blocking finding from my last review is fixed. An Assumptions and rules checked that held
|
|
Assessment: Approve (re-review at Since |
## Problem `context.input.ip` holds two different things. For an IPv4 destination it holds a dotted quad. For an IPv6 destination it holds an IPv6 address, unless that address carries an IPv4 address in a wrapping Box recognises, in which case a fold replaces it with the carried dotted quad. Three costs follow. An operator cannot tell from their own rule which addresses it will match, because the answer depends on how the destination arrives. A change to the fold silently changes what an existing rule matches. The two arms earlier on this branch do exactly that: a rule written against the previous output of the fold stops covering the prefix it was written for, with no refusal and no warning. The fold is lossy. It discards the IPv6 wire form of a wrapped address, so no rule can name the route a connection takes. `ip6 like "64:ff9b::*"` - never route through this translator - is unwritable. ## Solution `net:connect` carries `ip4` and `ip6`, and no `ip`. Each is optional and each needs its own `has` guard. `ip4` holds the IPv4 address, as a dotted quad. It is present for an IPv4 destination and for an IPv6 destination that carries an IPv4 address: the extraction is deterministic given the prefix, so one `ip4` literal covers the dotted quad and every encoding that carries it. `ip6` holds the IPv6 address, compressed and in lowercase, as `Ipv6Addr::to_string` writes it. It is present for every IPv6 destination. A wrapped destination carries both, so a rule can name the endpoint and a rule can name the route. A plain IPv4 destination carries no `ip6`, and Box never computes one, because one IPv4 address has many IPv6 encodings and none of them is the address that was dialled. Where Box does not recognise the wrapping - a network's own NAT64 prefix, or `64:ff9b:1::/48` - `ip4` is absent and an `ip4` rule does not fire. `address::embedded_v4` keeps every arm, including the two earlier on this branch, and stops replacing a spelling. `address::attributes` is the one producer of both fields, and the Cedar request mapping, the Dogwood request leg, and the Dogwood outcome leg each call it, so the `::request`, `::response`, and `::error` legs cannot carry different sets. The load refuses a network rule that reads `context.input.ip`, and the refusal names both replacements. The refusal is not cosmetic: `context.input has ip` is statically false, so strict validation never typechecks the comparison behind that guard and the rule would load and enforce nothing. The check is gated on the network action family, so a tool's own `ip` argument still loads. Each literal is held to its own field's spelling: a literal of the other family is refused with the field that holds it, and a non-canonical literal with the spelling a decision reads. A wildcard pattern is not held to a whole address, because the addresses it admits cannot be listed, but each piece between the wildcards is held to the characters its field holds, so an uppercase pattern and a pattern of the other family are both refused. `like` is case-sensitive and `ip6` is always lowercase, so that case is a silent fail-open otherwise. Both earlier commits on this branch are repurposed rather than kept beside this change. Their load check refused a non-canonical `ip` literal; `ip` now does not exist, so a stricter refusal supersedes it. Shipping them separately would give an operator two different refusals for `ip` in sequence, and would ship canonicalization for a field about to be deleted. Rejected: `ip4` alone, which leaves a prefix rule unwritable and is the lossy behaviour this replaces; and `ip6` alone, under which a rule on the IPv4 address misses every wrapped form, which is the defect the fold was added to close. The four example policies, `docs/user/security.md`, and the jailbreak policy each held IPv4 metadata, IPv6 metadata, and IPv6 link-local in one `ip` clause. Each is now a clause per family. A dual-stack rule needs one `has` guard per family, so it is more verbose than one `ip` clause was. That is the cost of the split. `Request::Connect` keeps its `ip: Option<IpAddr>` field: it is what a policy enforcement point supplies, not what a rule reads, and the split is in the projection. ## Tests `cargo test -p strands-box-policy --all-features`: 31 suites, 484 passed, 0 failed, 7 ignored, no `skipping:` line. Default features: 31 suites, 317 passed, 0 failed. `cargo clippy -p strands-box-policy --all-targets`, with and without `--all-features`: 0 warnings in `crates/policy`. `cargo fmt --all --check` clean. `RUSTDOCFLAGS="-D warnings" cargo doc` clean. `cargo build --workspace --all-features --all-targets` succeeds. `address.rs::every_ipv6_encoding_of_an_ipv4_address_populates_both_attributes` pins the dotted quad and the exact wire form for nine encodings. `a_plain_ipv4_destination_carries_no_ipv6_form` and `an_unrecognized_encoding_carries_no_ipv4_address` pin each absence, and `only_the_attributes_an_address_carries_are_populated` pins the one producer. `load_time_rule_checks.rs::a_rule_naming_the_removed_ip_attribute_refuses_validate_and_open` pins the refusal through both `validate` and `open`, and `a_clause_per_address_family_loads` pins that the rule the refusal asks for loads. `spelling.rs::a_network_rule_that_names_the_removed_address_attribute_is_refused` pins six shapes that name `ip`, and `a_tool_rule_that_names_ip_is_a_tool_argument_and_loads` pins the gate. `spelling.rs::an_address_literal_of_the_other_family_is_refused_with_the_attribute_that_holds_it`, `an_address_literal_is_refused_with_the_spelling_a_decision_reads`, `a_canonical_address_literal_is_sound`, `an_address_literal_that_no_pinned_address_can_equal_is_refused`, and `an_address_pattern_whose_literal_holds_a_character_no_address_holds_is_refused` pin the literal and pattern judgements. `connect_address_history.rs` probes both legs on both fields: `a_connect_that_opened_records_both_address_attributes`, `a_connect_that_did_not_open_records_both_address_attributes_on_its_error_leg`, `the_request_and_the_outcome_record_one_set_of_attributes`, and `a_plain_ipv4_outcome_records_the_ipv4_attribute_and_no_ipv6_form`, whose probe names the IPv4-mapped spelling, so it fails if anything ever synthesises an IPv6 form. `policy_egress_e2e.rs::the_pinned_address_reaches_history_as_the_connect_outcomes_ip4` pins the same through the gateway. `path_spelling.rs::a_translator_prefix_rule_forbids_the_wire_form_and_leaves_the_address_it_carries` and `adapters::egress.rs::a_translator_prefix_forbid_refuses_the_wire_form_and_not_the_address_it_carries` pin the rule the split makes writable. `one_ipv4_literal_forbids_every_encoding_that_carries_it` pins that one `ip4` literal still denies five encodings. `shipped_examples.rs::every_shipped_example_policy_loads` pins that each rewritten example loads. Each mutation below was applied, observed, then reverted. Dropping `address_fields` from the outcome arm failed all four `connect_address_history` tests. Restoring the old fold, so `ip6` discards the wire form, failed both translator-prefix tests. Making `ip4` stop extracting the carried address failed `one_ipv4_literal_forbids_every_encoding_that_carries_it`. Synthesising `::ffff:<v4>` for an IPv4 destination failed `a_plain_ipv4_outcome_records_the_ipv4_attribute_and_no_ipv6_form` and two unit tests. Short-circuiting the removed-attribute check failed its load test on the `Ok` arm, which is the evidence that the rule otherwise loads. Returning `Sound` for every wildcard pattern failed the pattern-character test. **Not run.** `test-integ` did not execute: Linux containment supports ARM64 only and this host is x86_64, so the harness refuses before any case starts. `test-workload/verdict` did not execute. Both are excluded from the workspace. Their policy text was edited, and each rewritten policy was loaded through `PolicyEngine::validate` and type-checked, so the load is proved and the runtime refusal is not. macOS was not compiled; the crate holds no `cfg(target_os)` path, so continuous integration is the only proof. No test was deleted and none was marked `#[ignore]`. **Still wrong, and not fixed here.** `docs/design/decisions.md` names `context.input.ip` as the mechanism of the metadata forbid, and four crate `AGENTS.md` files name `ip` as the field to forbid on. A code change writes no decision entry, and this change was told not to edit an `AGENTS.md`, so both are reported rather than corrected.
|
Important (non-blocking): The coding-agent guidance still tells agents to write the rule this change now refuses. |
|
Assessment: Comment (re-review at This head swaps the Assumptions and rules checked that held
Separating the route from the endpoint makes the address rules much easier to audit. |
The address attribute is now `ip4` and `ip6`, but four prose places still told a reader to write `ip`. An agent that followed one of them wrote a policy that fails to load.
|
All three addressed in The temporal ban was wrong, and you were right about why. I renamed The dotted-quad pattern gap is real and is now refused. I probed the renderer directly rather than trusting the reasoning: of the six wrappings, only the IPv4-mapped form renders with a dot — I did not take the second half of your suggestion — requiring digits-and-dots or Tests: two rows added to On dropping Two deliberate exceptions, both on design pages rather than reference ones. Gates: 485 passed / 0 failed / 7 ignored, no |
|
Assessment: Comment (re-review at Both open threads from the last round are fixed. The authoring skill no longer bans temporal reads of Checked and held at this head
|
The mapped form is exactly `::ffff:` and a dotted quad. The first check tested the prefix alone, so a quad behind a longer prefix still loaded and could never fire. RFC 6145 writes a translated address as `::ffff:0:` and a quad, and the user page already said such a pattern is refused.
|
Fixed in I had conflated two cases. So RFC 6145 is the part worth having in the docs, so I added it beside RFC 6052: an operator rewriting a translator rule can reach for either spelling, and both now refuse.
The three pages that describe this refusal now say "anywhere but in Gates: 485 passed / 0 failed / 7 ignored, no |
|
Assessment: Comment (re-review at The tightening I asked for last round is done: Checked and held at this head
|
…prefix The last commit refused a pattern whose literal stops inside `::ffff:`, such as `::*169.254.*`, and told the operator no address can match it. The mapped form matches it, because the wildcard covers the rest of the prefix. An over-refusal of a correct rule is worse than the gap it replaced, because the error states the opposite of the truth.
|
Fixed in A head that stops inside
Gates: 485 passed / 0 failed / 7 ignored, no Three rounds on one wildcard heuristic is the signal, though. I have been fixing the case you demonstrate instead of deriving the rule, and the last two errors pointed in opposite directions — under-refusing, then over-refusing — which is what patching examples looks like. The rule was derivable from the renderer on the first round: the mapped form is Worth asking whether this heuristic belongs in the PR at all. It judges a wildcard pattern, which this page already documents as not held to a whole address, and the Sev-2 this PR closes does not depend on it. Reverting the three commits back to documenting the class is a defensible call, and I would rather you make it than have me keep tightening. |
|
Assessment: Comment (re-review at
Checked and held at this head
|
|
Additional manual verification on a local Mac (Apple silicon, macOS 26), with the PR branch built in release mode: Updated examples. I ran all four updated examples ( The rewritten
Load-time checks.
Tests.
Not covered. I couldn't test a hostname that resolves to a link-local address end to end, because the local DNS strips private answers. The IP-literal and public-hostname cases exercise the same path. I did not run the rest of |
The branch and main both changed the load checks in the policy engine. Main added the refusal of a temporal predicate that names an action group, and this branch added the refusal of the removed address attribute. Both checks now run, with the group check first, as main ordered it.
|
Merged I merged rather than rebased on purpose. A rebase needs a force-push, and this branch has four reviewed heads — Gates on the merged tree: policy 508 passed / 0 failed / 7 ignored with One thing worth knowing for this PR specifically: the merge brings in the change that requires real Linux test execution in CI. My Testing section says |
|
Assessment: Comment (re-review at The only conflict was in Checked and held at this head
|
Description
An operator can now write this, and could not before:
"Never route through this translator." It refuses
64:ff9b::5db8:d822and leaves93.184.216.34alone — the same address, reached directly. Onmainthe rule is unwritable atany length, because the single address field folds a wrapped address down to the IPv4 address it
carries and throws the wire form away.
net:connectnow carries two fields in place of that one:ip4ip6A wrapped destination carries both, so one rule can name the endpoint and another the route:
64:ff9b::5db8:d822givesip4 = "93.184.216.34"andip6 = "64:ff9b::5db8:d822". Box reads theIPv4-mapped, IPv4-compatible, IPv4-translated, 6to4, Teredo, and well-known NAT64 wrappings. It
extracts an IPv4 address and never synthesises an IPv6 one, because one IPv4 address has many IPv6
encodings and there is no single form to report.
There is no
ip. A rule that reads it is refused at load, naming both replacements. That refusal isBox's own check, not Cedar's:
has ipis statically false, so strict validation short-circuits andnever typechecks what is behind the guard. Without the check, such a rule loads and enforces
nothing.
The cost
A dual-stack rule needs a guard per family. The metadata forbid goes from five lines to six and
gains a level of parentheses. It reads worse. What it buys is a rule that states which addresses it
matches.
ip4is absent on a NAT64 prefix Box cannot recognise. RFC 6052 lets a network choose its ownprefix and Box takes none as configuration, so on such a network an
ip4rule does not fire, andthe destination must be pinned with
ip6orhost. Absence is now the failure mode, in place of aliteral that loaded and sat inert. The split does not fix this.
A box whose history predates this change cannot read its own old events. Events already written
carry
ip, a predicate onip4orip6does not match them, and one namingipno longer loads.There is no rewind, so a counting rule that spans the change starts its count again.
One IPv6 pattern raised in review still loads.
ip6 like "::ffff:a9fe:*"misses the addressesit looks aimed at, because a mapped address is spelled with a dotted quad — but
::ffff:a9fe:a9fe:0is a real address it does match, so refusing it would be wrong. Documentedinstead. The sibling case is refused now: the mapped form is exactly
::ffff:and a dotted quad,so a pattern holding a quad anywhere else can match no wire form. That is the shape an operator
reaches for, because RFC 6052 writes a NAT64 address as
64:ff9b::169.254.169.254and RFC 6145writes a translated one as
::ffff:0:and a quad.The guidance ships with the refusal
Four prose places still told a reader to write
ip, so an agent that followed one wrote a policythat fails to load. All four now name
ip4andip6: the three crateAGENTS.mdfiles, and thepolicy-authoring skill. The
decisions.mdentry for the metadata floor namedcontext.input.ipasits mechanism, which was false after this change, so that sentence is rewritten in place under the
same anchor — the entry's answer did not move, only the attribute it names.
One thing is left: an operator's existing
policy generate-schemaoutput is stale. The runtimenever reads it, so nothing breaks; it misleads authoring.
Related Issues
None.
Type of Change
Breaking change
Testing
just check, orcargo test --workspace --all-features)cargo fmt --allandcargo clippy --workspace --all-targets --all-features -- -D warningsLinux x86_64: policy suite 485 passed with
--all-features, 7 ignored,no
skippingline. Zero clippy warnings incrates/policy.fmt --checkandRUSTDOCFLAGS="-D warnings" cargo docclean.a_translator_prefix_rule_forbids_the_wire_form_and_leaves_the_address_it_carriesa_rule_naming_the_removed_ip_attribute_refuses_validate_and_openipis refused by both entry points, and the refusal names both replacements. Six rule shapes are covered, includingisInRangeand set membership.a_clause_per_address_family_loadsone_ipv4_literal_forbids_every_encoding_that_carries_itip4literal still denies five encodings, so the split costs no coverage.every_ipv6_encoding_of_an_ipv4_address_populates_both_attributesa_plain_ipv4_outcome_records_the_ipv4_attribute_and_no_ipv6_forma_connect_that_opened_records_both_address_attributesand its error-leg paira_tool_rule_that_names_ip_is_a_tool_argument_and_loadsipargument is untouched.an_address_pattern_whose_literal_holds_a_character_no_address_holds_is_refusedan_ipv6_pattern_that_can_reach_a_dotted_quad_loadsevery_shipped_example_policy_loadsEach mutation was applied, observed, then reverted.
ip6discards the wire formOkarm — the rule loads, which is the evidence the check is load-bearing::ffff:<v4>for an IPv4 destinationip4stop extracting the carried addressone_ipv4_literal_forbids_every_encoding_that_carries_itfailsconnect_address_historytests failSoundfor every wildcard pattern, or drop the family filterNot run.
test-integandtest-workload/verdictdid not execute: Linux containment supportsARM64 only and this host is x86_64, so the harness refuses before any case starts. Both are
excluded from the workspace. I edited the policy text in
po_14,po_17, and the jailbreakpolicy, and loaded each through
PolicyEngine::validate, so the load is proved and the runtimerefusal is not. CI must cover those and macOS, which was not compiled; the crate holds no
cfg(target_os)path. No test was deleted and none was marked#[ignore].Checklist
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.