feat/identity-reconciliation #127

Merged
clawdie merged 3 commits from feat/identity-reconciliation into main 2026-10-07 07:38:59 +02:00
Owner
No description provided.
Extend PATH-ENV-IDENTITY-UNIFICATION.md with the canonical three-layer identity model (attribution metadata, OS principal/service UID, and credential principal), preventing the invention of arbitrary 4th identity models.

Implement the local socket floor from PRIVILEGE-BOUNDARY-SPEC.md §5.1:
- Add kernel caller check (verify_caller_identity) inspecting peer credentials (SO_PEERCRED on Linux, getpeereid on FreeBSD) on incoming socket connections, rejecting unauthorized callers fail-closed before command dispatch.
- Align colibri-daemon socket path resolution with bherdr light mode: COLIBRI_DAEMON_SOCKET -> <host-root>/run/colibri.sock (when CLAWDIE_HOST_ROOT is set) -> fallback /var/run/colibri/colibri.sock.
- Update host-paths.md socket inventory with colibri daemon (light) and naming-decisions.md with "targeted test" (banning "spike") and "kernel caller check".

Gates: ./scripts/ci-checks.sh — All checks passed.
Address review clarifications:
- Fail closed on non-Unix platforms with io::ErrorKind::Unsupported.
- Document operator rationale for explicit root (UID 0) authorization at the control plane socket boundary.
- Document that Tokio's peer_cred() abstraction exposes the underlying kernel mechanisms (SO_PEERCRED on Linux, getpeereid on FreeBSD), noting native FreeBSD validation on Valhala is required before claiming production coverage.

Gates: ./scripts/ci-checks.sh — clean.
docs(naming): record operator consolidation in ledger, glossary, and privilege spec
Some checks failed
CI / markdown (pull_request) Successful in 9s
CI / port (pull_request) Successful in 1s
CI / agent-jail-pkgs (pull_request) Successful in 1s
CI / python-tests (pull_request) Successful in 14s
CI / go (pull_request) Successful in 9s
format-check / prettier (pull_request) Successful in 5s
leak-guard / guard (pull_request) Successful in 1s
ci-gate / gate (pull_request) Has been cancelled
35c0dc7fd7
Record operator consolidation per naming standards §5 (operator:sam on 07.oct.2026):
- Add In-flight ledger row in naming-decisions.md for kernel caller check / caller identity verification (former names 'peer credential check' / 'Unix socket authentication' replaced as too vague).
- Add In-flight ledger row in naming-decisions.md for targeted test (banning 'spike').
- Add kernel caller check / caller identity verification to abbreviations.md glossary under Core local communication.
- Update PRIVILEGE-BOUNDARY-SPEC.md controls matrix and platform divergence to adopt the consolidated terminology.
- Correct contributor identity to canonical antigravity@debby format across frontmatter verified_by fields.

Gates: ./scripts/ci-checks.sh — All checks passed.
clawdie deleted branch feat/identity-reconciliation 2026-10-07 07:38:59 +02:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
clawdie/colibri!127
No description provided.