Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Added

- `dfaroughy@cerebral.work` (`dfaroughy`) joins the Sovereign Root set, by operator ruling 2026-10-26.
- `SOVEREIGN_ROOT_EMAILS` and `SOVEREIGN_ROOT_GITHUBS` in `idp-domain::principal`: the Sovereign Root set now holds `ctodie`, `ahackley`, and the co-founders `pgray` and `mmasterson` (`madmax983`), by operator ruling 2026-10-26. `is_sovereign_root_email` and `is_sovereign_root_github` read the set. The existing single-root constants stay exported.
- Extracted pure Wave-0 domain leaf crate `idp-domain` (`principal`, `security`, `manifest`) enforcing zero runtime I/O (`cargo xtask zero-io-domain`).
- Extracted multi-plane identity primitives into `idp`:
Expand Down
12 changes: 9 additions & 3 deletions crates/idp-domain/src/principal.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,13 @@ pub const DELEGATED_SOVEREIGN_ROOT_EMAIL: &str = "ahackley@cerebral.work";
pub const DELEGATED_SOVEREIGN_ROOT_GITHUB: &str = "lordvoid";

/// Every Sovereign Root email: the Primary, the Delegated, and the co-founder roots
/// Patrick Gray and Mark Masterson (operator ruling 2026-10-26).
/// Patrick Gray, Mark Masterson and Darius Faroughy (operator rulings 2026-10-26).
pub const SOVEREIGN_ROOT_EMAILS: &[&str] = &[
SOLE_SUPERADMIN_EMAIL,
DELEGATED_SOVEREIGN_ROOT_EMAIL,
"pgray@cerebral.work",
"mmasterson@cerebral.work",
"dfaroughy@cerebral.work",
];

/// Every Sovereign Root GitHub login, lowercase, in the same order as [`SOVEREIGN_ROOT_EMAILS`].
Expand All @@ -36,6 +37,7 @@ pub const SOVEREIGN_ROOT_GITHUBS: &[&str] = &[
DELEGATED_SOVEREIGN_ROOT_GITHUB,
"pgray",
"madmax983",
"dfaroughy",
];

/// Returns true if `email` is one of [`SOVEREIGN_ROOT_EMAILS`].
Expand Down Expand Up @@ -296,13 +298,17 @@ mod tests {

// Co-founder Sovereign Roots (operator ruling 2026-10-26), and a negative control:
// a live Super Admin outside the root set must stay outside it.
for root in ["pgray@cerebral.work", "mmasterson@cerebral.work"] {
for root in [
"pgray@cerebral.work",
"mmasterson@cerebral.work",
"dfaroughy@cerebral.work",
] {
assert!(
is_sovereign_root_email(root),
"{root} must be a sovereign root"
);
}
for login in ["pgray", "madmax983", "MadMax983"] {
for login in ["pgray", "madmax983", "MadMax983", "dfaroughy"] {
assert!(
is_sovereign_root_github(login),
"{login} must be a sovereign root login"
Expand Down
2 changes: 1 addition & 1 deletion specs/0004-ory-hydra-dcr-agent-identity.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ Provide an Ory Hydra OAuth 2.0 / OIDC Dynamic Client Registration (RFC 7591 / RF

1. **Zero Secret Leakage in Debug/Display/CLI**: `OAuth2ClientMetadata`, `OAuth2TokenResponse`, `TokenExchangeRequest`, `OryHydraConfig`, and `ClientAuth` redact all client secrets, bearer tokens, and PEM keys in `Debug` implementations and `.redacted()` projections.
2. **Cryptographic Agent Authentication**: Autonomous agents registered with `AgentClientMetadata` (`require_cryptographic_agent_auth = true`) must authenticate via `private_key_jwt` or `tls_client_auth` and declare a valid WIMSE/SPIFFE workload URI (`spiffe://` or `wimse://`).
3. **Sovereign Root Guard on Introspection**: An introspected token carrying `estate:superuser` scope is rejected (`Principal::Anonymous`) unless its subject is a Sovereign Root: an email in `SOVEREIGN_ROOT_EMAILS` (`ctodie@cerebral.work`, `ahackley@cerebral.work`, `pgray@cerebral.work`, `mmasterson@cerebral.work`; the last two added 2026-10-26 by operator ruling).
3. **Sovereign Root Guard on Introspection**: An introspected token carrying `estate:superuser` scope is rejected (`Principal::Anonymous`) unless its subject is a Sovereign Root: an email in `SOVEREIGN_ROOT_EMAILS` (`ctodie@cerebral.work`, `ahackley@cerebral.work`, `pgray@cerebral.work`, `mmasterson@cerebral.work`, `dfaroughy@cerebral.work`; the last three added 2026-10-26 by operator ruling).
Loading