feat(agents): enforce global Prolog verification #172

Closed
nsaspy wants to merge 3 commits from feature/global-prolog-agent-policy into master
Owner

Summary

  • add a reusable Home Manager agent-verification module backed by the pinned prolog-verification skill
  • write one shared global policy to Codex (~/.codex/AGENTS.md) and OpenCode (~/.config/opencode/AGENTS.md)
  • install prolog-verify with SWI-Prolog, Git, Python, and Brave Search CLI runtime dependencies
  • add Codex SessionStart and fail-closed Stop hooks for durable on-disk verification
  • enforce Brave-only external discovery through the verifier and document OpenCode’s explicit-gate limitation
  • pin the merged lost-rob0t/skills implementation from PR #40

Verification

  • python3 -m json.tool flake.lock
  • python3 tests/brave-mcp.py -v
  • git diff --check
  • repository Nix checks run in CI

Related: lost-rob0t/skills#40

## Summary - add a reusable Home Manager `agent-verification` module backed by the pinned `prolog-verification` skill - write one shared global policy to Codex (`~/.codex/AGENTS.md`) and OpenCode (`~/.config/opencode/AGENTS.md`) - install `prolog-verify` with SWI-Prolog, Git, Python, and Brave Search CLI runtime dependencies - add Codex `SessionStart` and fail-closed `Stop` hooks for durable on-disk verification - enforce Brave-only external discovery through the verifier and document OpenCode’s explicit-gate limitation - pin the merged `lost-rob0t/skills` implementation from PR #40 ## Verification - `python3 -m json.tool flake.lock` - `python3 tests/brave-mcp.py -v` - `git diff --check` - repository Nix checks run in CI Related: lost-rob0t/skills#40
test(qtile): track both shared sync commands
Some checks failed
Nix / workflows (pull_request) Failing after 18s
Nix / image-progress-tests (pull_request) Has been skipped
Nix / logos (pull_request) Has been skipped
4326ae702e
nsaspy closed this pull request 2026-09-05 00:55:39 +00:00
Some checks failed
Nix / workflows (pull_request) Failing after 18s
Nix / image-progress-tests (pull_request) Has been skipped
Nix / logos (pull_request) Has been skipped

Pull request closed

Sign in to join this conversation.
No description provided.