kcode-k1-access-groups-testkit 0.4.0

Groups-backed authorization conformance for K1 Access
Documentation
1
2
3
4
5
6
7
8
9
10
11
# K1 Access Groups conformance

This test-only library verifies the Groups-dependent authority, editor, viewer, filtering, replacement, revocation, discovery, and profile-link contract through the public K1 Access and Groups APIs.

## Public API

```rust
pub fn verify() -> Result<(), String>;
```

`verify` creates one fresh deterministic temporary stack and checks the Access 0.6.0 group-authority contract, including immutable ProfileId links supplied at access creation and retained across policy replacement. It also checks two-sided user and model visibility, concealed filtering, replacement, revocation, and monotonic discovery. It returns the first labeled dependency or assertion failure and is not yet benchmarked.