Skip to content

Add hierarchical access policies - #93

Merged
trakhimenok merged 3 commits into
mainfrom
agent/access-policies
Jul 19, 2026
Merged

Add hierarchical access policies#93
trakhimenok merged 3 commits into
mainfrom
agent/access-policies

Conversation

@trakhimenok

Copy link
Copy Markdown
Contributor

What changed

  • adds hierarchical, adapter-independent access and audit policies
  • enforces global and context-bound capabilities across sessions, batches, queries, and transactions
  • adds YAML/JSON policy codecs and explainable denial errors
  • adds SpecScore Idea, Feature, and implementation Plan artifacts
  • documents access policies in the root README and dedicated repository guide

Why

Extensions, tenants, jobs, analytics, and support tools need a portable least-privilege boundary that works consistently across every DALgo adapter and in-memory tests.

Validation

  • access package: 100.0% statement coverage
  • go test -race ./access
  • go test ./...
  • go vet ./...
  • specscore spec lint --caller codex

@trakhimenok
trakhimenok force-pushed the agent/access-policies branch from 3fefc95 to 858e1fc Compare July 19, 2026 16:46
@trakhimenok
trakhimenok marked this pull request as ready for review July 19, 2026 16:46
@trakhimenok
trakhimenok merged commit 5e87dc6 into main Jul 19, 2026
7 checks passed
@trakhimenok
trakhimenok deleted the agent/access-policies branch July 19, 2026 16:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant