~ / rigs / AlexusPacicus / actuarii

AlexusPacicus/actuarii

Work records and write governance for AI coding agents: a governed write happens only with a receipt for that exact change, its reason is recorded, and each commit carries the record.

↗ GitHub ★ 1 Apache-2.0 updated 20d ago project Claude CodeCodex
stack: pytestPython
share on X
ARCHETYPE
Fort Knox
Deny lists, pre-tool hooks, sandboxing. Nothing touches prod without a signature.
CONTEXT TAX · EVERY TURN
up to ~13.4k tokens
Claude Code loads MCP tools on demand, so the real cost is usually lower.
Heavy · median rig: 2.3k · breakdown
GUARDRAILS
4/5
Blocks destructive commands · Pre-tool screening hook · No YOLO mode · Sandbox or ask-first rules · details
Quality 48/100 Guardrails v2

Copy this rig

# review before running: this installs third-party code
$ npx degit AlexusPacicus/actuarii/.claude ./rig-actuarii  # inspect, then merge into .claude/

MCP servers are added to Claude Code at local scope; env vars are shown as YOUR_… placeholders — we never store values. Files are fetched with degit into a separate folder so you can review before merging.

$ npx degit AlexusPacicus/actuarii/.claude/skills/blind-review .claude/skills/blind-review
$ npx degit AlexusPacicus/actuarii/.claude/skills/boundary-validator .claude/skills/boundary-validator
$ npx degit AlexusPacicus/actuarii/.claude/skills/tdd-cycle .claude/skills/tdd-cycle
$ npx degit <redacted>-audit .claude/skills/instrument-audit
$ curl -fsSL --create-dirs -o .claude/agents/blind-reviewer.md https://raw.githubusercontent.com/AlexusPacicus/actuarii/main/.claude/agents/blind-reviewer.md
$ curl -fsSL --create-dirs -o .claude/agents/implementer.md https://raw.githubusercontent.com/AlexusPacicus/actuarii/main/.claude/agents/implementer.md

Merge into .claude/settings.json (project) or ~/.claude/settings.json (user). Hook commands reference scripts in the source repo — copy those too.

{
  "permissions": {
    "deny": [
      "WebFetch",
      "WebSearch",
      "Bash(rm *)",
      "Bash(python3 -c *)",
      "Bash(python3 -m *)"
    ],
    "ask": [
      "Bash(git add *)",
      "Bash(git checkout -b *)",
      "Bash(git commit *)",
      "Bash(git checkout *)",
      "Bash(git branch *)",
      "Bash(git stash *)",
      "Bash(git tag *)",
      "Bash(git remote *)",
      "Bash(git fetch *)",
      "Bash(git pull *)",
      "Bash(git push *)",
      "Bash(git config *)",
      "Bash(git merge *)",
      "Bash(git rebase *)",
      "Bash(git reset *)",
      "Bash(git clean *)",
      "Bash(git submodule *)",
      "Bash(git rm *)",
      "Bash(git worktree *)",
      "Bash(gh issue *)",
      "Bash(gh pr *)"
    ]
  },
  "hooks": {
    "PreToolUse": [
      {
        "matcher": "*",
        "hooks": [
          {
            "type": "command",
            "command": "python3 \"$CLAUDE_PROJECT_DIR\"/tools/hooks/require_boundary_validation.py"
          },
          {
            "type": "command",
            "command": "python3 \"$CLAUDE_PROJECT_DIR\"/tools/hooks/require_contract_context.py"
          }
        ]
      },
      {
        "matcher": "Read|Grep|Glob",
        "hooks": [
          {
            "type": "command",
            "command": "python3 \"$CLAUDE_PROJECT_DIR\"/tools/hooks/confine_review_reads.py"
          }
        ]
      },
      {
        "matcher": "Bash",
        "hooks": [
          {
            "type": "command",
            "command": "python3 \"$CLAUDE_PROJECT_DIR\"/tools/hooks/deny_python_escapes.py"
          }
        ]
      }
    ]
  },
  "sandbox": {
    "enabled": true
  }
}

MCP servers (1)

serversourceest. tokens
boundary-validator local / custom 2.5k

Skills (4)

Subagents (2)

blind-reviewerBlind, read-only reviewer of one record (a specification, a design or an instrument) inside a review package built by tools/audit/build_review_package.py. Receives the package path, the phase and the
implementerImplements one change to code, repository tooling or tests from a strict-JSON DelegationContract written by the executing agent, test-first, on the branch the contract names. Stops at a commit; never

Hooks (7)

eventmatcherruns
ConfigChange*python3 "$CLAUDE_PROJECT_DIR"/tools/hooks/block_config_changes.py
SessionStart*sh "$CLAUDE_PROJECT_DIR"/tools/hooks/session_python_gate.sh
SessionStart*python3 "$CLAUDE_PROJECT_DIR"/tools/hooks/announce_governance.py
PreToolUse*python3 "$CLAUDE_PROJECT_DIR"/tools/hooks/require_boundary_validation.py
PreToolUse*python3 "$CLAUDE_PROJECT_DIR"/tools/hooks/require_contract_context.py
PreToolUseRead|Grep|Globpython3 "$CLAUDE_PROJECT_DIR"/tools/hooks/confine_review_reads.py
PreToolUseBashpython3 "$CLAUDE_PROJECT_DIR"/tools/hooks/deny_python_escapes.py

Permissions

deny (5)
WebFetch
WebSearch
Bash(rm *)
Bash(python3 -c *)
Bash(python3 -m *)
ask (21)
Bash(git add *)
Bash(git checkout -b *)
Bash(git commit *)
Bash(git checkout *)
Bash(git branch *)
Bash(git stash *)
Bash(git tag *)
Bash(git remote *)
Bash(git fetch *)
Bash(git pull *)
Bash(git push *)
Bash(git config *)
Bash(git merge *)
Bash(git rebase *)
Bash(git reset *)
Bash(git clean *)
Bash(git submodule *)
Bash(git rm *)
Bash(git worktree *)
Bash(gh issue *)
Bash(gh pr *)
allow (41)
Bash(python3 tools/*)
Bash(python3 tools/*.py)
Bash(python3 tools/audit/*)
Bash(python3 tools/hooks/*)
Bash(python3 tools/boundary_validator/validator.py)
Bash(git status)
Bash(git status *)
Bash(git diff)
Bash(git diff *)
Bash(git log *)
Bash(git show *)
Bash(git rev-parse *)
Bash(git grep *)
Bash(git blame *)
Bash(git ls-files *)
Bash(git merge-base *)
Bash(git rev-list *)
Bash(git for-each-ref *)
Bash(pytest)
Bash(pytest *)
Bash(ls)
Bash(ls *)
Bash(cat *)
Bash(head *)
Bash(tail *)
Bash(wc *)
Bash(grep *)
Bash(df)
Bash(df *)
Bash(echo *)
Bash(sed -n *)
Bash(sort *)
Bash(uniq *)
Bash(diff *)
Bash(cut *)
Bash(tr *)
Bash(jq *)
Bash(cmp *)
Bash(date)
Bash(date +*)
mcp__boundary-validator__validate_proposal

Similar rigs

copied ✓