Skip to content

Add repo-scoped agentlock policy#76

Merged
knhn1004 merged 2 commits into
mainfrom
codex/oal72-per-repo-policy
May 6, 2026
Merged

Add repo-scoped agentlock policy#76
knhn1004 merged 2 commits into
mainfrom
codex/oal72-per-repo-policy

Conversation

@knhn1004

@knhn1004 knhn1004 commented May 6, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • add safe repo-local .agentlock.yaml discovery and additive policy overlay by cwd
  • add agentlock rules install --repo for writing registry gates into repo policy files
  • expose rule source metadata in policy view/dashboard and document per-repo trust model

Validation

  • CodeRabbit review --agent -t uncommitted: 0 issues after fixes
  • go test focused policy/API coverage for gate checks, policy view, and Codex pre-tool-use paths
  • bun test ./tests/rules.test.ts
  • bun run typecheck (cli)
  • bun run typecheck (dashboard-ui)
  • bun run build (dashboard-ui)
  • git diff --check

@knhn1004
knhn1004 merged commit 8405cd8 into main May 6, 2026
5 checks passed
@knhn1004
knhn1004 deleted the codex/oal72-per-repo-policy branch May 6, 2026 23:52
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