flex-auth/examples/caring
tegwick 74bfb3b664
All checks were successful
CI Smoke / host-smoke (push) Successful in 0s
CI Smoke / container-smoke (push) Successful in 2s
Build and Publish Container Image / build-and-push (push) Successful in 40s
Accept ActionAuthorization deferral; fix the state-hub authority constant
approval-engine filed APPROVAL-IN-0002: secrets-engine built its PEP
validator against our ActionAuthorization schema, pointed it at
GET /v1/approvals/{id}/claim, and it rejects every response. Both
envelopes declare schema_version 0.1, so it fails late and reads like an
approval-engine outage rather than a contract mismatch.

FLEX-DEC-2026-006 accepts the deferral and argues against flex-auth's own
proposal. The composed object had the PIP republish our decision, which
crosses the same layer boundary we invoked to decline authentication
evidence and to win section 17's schema. The claim-plus-DecisionEnvelope
split drops no check; each verification lands on the layer that owns it.

approval-engine asked, before the decision, whether the open G3 finding
argues for ratifying now. It does not: G3 is already closed the other
way. FLEX-WP-0019 added lifetime to the DecisionEnvelope itself, required
on every allow by schema conditional, published 2026-09-02. The trigger
resolved by adding a field rather than by composition, so the decision
stands alone and needs no bundle.

The provenance.authority == state-hub constant is our defect and is
fixed at source. It came from examples/caring/action_authorization.json,
which contradicted the same contract's ownership section. That fixture
now names approval-engine as the approval fact's authority and flex-auth
as the decision's, and its stale secrets-engine.lifecycle pin is
corrected to the reserved coordinate from FLEX-DEC-2026-005.

The contract doc and schema are marked deferred-not-withdrawn so no
other consumer builds a validator against them. The execute-time half is
untouched: /v1/check, binding, the canonical digest, and
flex-auth.decision-record.v1 stay published.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JTbVXpEiXA7mNJVpDnEPcB

Assistant: claude-code
Assistant-Model: opus
Assistant-Process: 412054@bnt-lap001
Assistant-Session: 3968fae1-8d59-4209-9bd6-c22594b8ab19
2026-09-06 01:30:04 +02:00
..
access_descriptor.yaml Implement canonical schema foundation 2026-05-17 04:59:18 +02:00
action_authorization.json Accept ActionAuthorization deferral; fix the state-hub authority constant 2026-09-06 01:30:04 +02:00
audit_event.json Implement canonical schema foundation 2026-05-17 04:59:18 +02:00
batch_check_request.yaml Add CLI and service skeleton 2026-05-17 05:59:48 +02:00
check_request.yaml Implement canonical schema foundation 2026-05-17 04:59:18 +02:00
decision_envelope.json Finish FLEX-WP-0019 layer-model v0.7 conformance 2026-09-03 23:48:45 +02:00
exposure_event.json Add CARING examples and coverage 2026-05-17 06:05:18 +02:00
inherited_relationships.yaml Add CARING examples and coverage 2026-05-17 06:05:18 +02:00
policy_fixture.yaml Implement canonical schema foundation 2026-05-17 04:59:18 +02:00
policy_package.md Implement policy package loader 2026-05-17 05:30:40 +02:00
policy_package.yaml Implement canonical schema foundation 2026-05-17 04:59:18 +02:00
project_resource_manifest.yaml Add CARING examples and coverage 2026-05-17 06:05:18 +02:00
README.md Add CARING examples and coverage 2026-05-17 06:05:18 +02:00
redact_policy_package.md Add CARING examples and coverage 2026-05-17 06:05:18 +02:00
registry_snapshot.json Implement local registry store 2026-05-17 05:10:17 +02:00
relationship_fact.yaml Implement canonical schema foundation 2026-05-17 04:59:18 +02:00
subject_manifest.yaml Implement canonical schema foundation 2026-05-17 04:59:18 +02:00
team_subject_manifest.yaml Add CARING examples and coverage 2026-05-17 06:05:18 +02:00

CARING examples

Small fixtures for the executable CARING 0.4.0-RC2 profile used by FLEX-WP-0002.

These are intentionally compact. They prove that the canonical descriptor, request, decision, registry, audit, and Rego-in-Markdown policy package shapes can round-trip through pkg/api and internal/policy.

The set includes local subjects, groups, teams, project resources, inherited relationship facts, exposure events, allow/deny fixtures, and a redact-with-obligation policy package.