IDKMesh

Enterprise Control Profile v0.1

Status: experimental
Issue: #668
Parent: #667
Schema: schemas/enterprise-control-profile-v0.1.schema.json

Purpose

The Enterprise Control Profile declares the controls that an IDKMesh deployment is expected to enforce.

It is deliberately a policy input, not an authorization object and not evidence that any control is actually deployed.

Every valid v0.1 profile says:

{
  "profile_role": "policy_input_only",
  "control_evidence": "declared_not_observed",
  "grants_runtime_authority": false
}

That separation prevents a configuration file from being presented as proof of compliance, security, or effective enforcement.

Deployment profiles

The control profile uses the existing G0/G1/G2/G3 deployment vocabulary.

G0 — local operator

This profile is useful for local CLI/Control Tower development. It is not an enterprise multi-user claim.

G1 — GitHub-native team

This is the primary serverless/team enterprise path.

G2 — self-hosted team service

G2 is the first profile that needs normal always-on service operations.

G3 — multi-tenant service

G3 adds mandatory tenant scope and stronger controls:

G3 is not implied by G2 and requires the E2/E3 isolation/identity program.

Control domains

The v0.1 document covers:

Non-compensating invariants

The dependency-free validator rejects contradictory profiles before runtime admission.

Examples include:

These checks are intentionally fail-closed.

Structural vs semantic validation

Two layers are retained:

  1. JSON Schema Draft 2020-12 — published machine-readable structure, enums, required fields, and authority constants.
  2. idkmesh.enterprise_profile — standard-library parser and semantic validator for cross-field contradictions.

Core pip install . does not require the optional jsonschema dependency to perform the semantic validation boundary.

Repository CI meta-validates the schema when jsonschema is available.

Examples

Retained examples:

They are examples of declared target controls only.

A valid example does not prove:

Observed/enforced evidence belongs to E9 conformance and the relevant runtime control domains.

Versioning

schema_version: "0.1" is frozen once durable external profiles rely on it.

A change is breaking when:

Breaking changes require a new schema version/file.

Additive fields should still be introduced deliberately because this v0.1 schema rejects unknown fields to prevent typo-driven policy bypass.

Authority

This profile never grants:

Runtime services must combine the declared profile with actual authenticated actor/service identity, resource state, policy version, and enforcement evidence.

Relationship to the enterprise program

This contract is E1 under #667.

Follow-on work:

Exit gate

E1 is complete when:

  1. the schema meta-validates;
  2. retained G1 and G2 examples validate;
  3. dependency-free runtime validation rejects contradictory profiles;
  4. profile semantics remain declaration-only and grant no authority;
  5. breaking-change/version rules are documented.