Skip to content
Machine BehaviorCTO
Menu

Agents in this repository

Every agent session in this repository starts from the same shared setup in git. Personal changes go into .claude/settings.local.json, which .gitignore keeps out of git. Agent sessions work under the GitHub account uncovertechtalent, and Stefan Coetzee under skjoldar (ADR-0054).

Harness

PartWhereWhat it holds
Shared settings.claude/settings.jsonPermissions: allow, ask, deny
InstructionsCLAUDE.mdThe pull request flow, the deploy gate and its dry run, records and ownership
Pull request template.github/pull_request_template.mdChange, ticket or decision, checklist, the change review, rollback
PluginsLocal marketplace cto-powersuitModules fitted here: sdlc, reliability, finops, aieo, fit, ai-ops
MCP serversNone sharedSessions bring their own user-level setup; there is no .mcp.json
HooksNone sharedSessions bring their own user-level hooks

Permissions

  • Allowed without asking: the gate dry run as written in CLAUDE.md, git status, git diff, git log, gh pr view, gh pr diff, gh pr checks, gh run view.
  • Asked every time: gh pr merge, the merge step. Claude Code asks on a matching ask rule in every permission mode, the bypass mode included. Pushing a branch and opening a pull request have no rule in the shared settings and follow the session's permission mode; the branch rules on main reject a direct push.
  • Denied: reading or editing .env files and the secrets/ folder, and merging a pull request through gh api (the REST merge endpoint and the GraphQL merge and auto-merge mutations), so gh pr merge with its ask rule is the only merge path a session has. The agent account administers the repository, and nothing in these settings stops gh pr merge --admin beyond that ask or covers the rulesets API; closing that is #258.
  • Never in the shared settings: a rule that allows every shell command or every fetch, or the bypass mode.

These settings load only in a session started in this folder. A session started elsewhere that works here does not get them.

How a change reaches main

Through a pull request (ADR-0029). A branch ruleset on main requires a pull request and a passing Conformity checks job (Conformity gate). One approval is required (ADR-0054): Stefan Coetzee approves on GitHub as skjoldar, on the pull request's final head, and the session, under the agent account uncovertechtalent, pushes every commit and merges with that head pinned. A commit pushed from his account makes his approval not count.

  1. Branch from origin/main, run the gate dry run until it prints overall=pass, push the branch, open the pull request with the template.
  2. Wait for the Conformity checks job on the pull request.
  3. Push every fix, wait until the pull request shows the pushed head, then run the local reviewer (~/.config/powersuit/review-pr.sh) on that head and post its comment.
  4. Stefan Coetzee approves on that head as skjoldar; the session merges with the head pinned (gh pr merge --squash --match-head-commit <sha>). A newer commit dismisses the approval and needs a new one.

Two automated writers push to main directly, each through its own deploy key that the protection lets through: conformity-bot, which commits the gate result after every run, and the weekly decision-layer probe record. The lifecycle around this flow is in Software delivery lifecycle.

Spend

Agent spend is metered per API request. Budgets and alerts are in Budgets and alerts, the cost model in Cost model, and the service in the catalog at Agent sessions.

Owner

Stefan Coetzee owns this setup. A change to the shared settings, the plugin list, CLAUDE.md or the pull request template goes through a pull request.

Built from scripts/docs by build_docs.py.