The agent responsible to create, change, maintain and tear down access routes with new credentials, tokens, policies, etc inside net-kingdom. Ops-mason is responsible to build the security infrastructure as required and defined by architecture documents as a base for ops-warden..
Find a file
tegwick 0d62ac501d Review/optimize checklist, executive-summary format, build executor (T02-T04)
docs/review-optimize-checklist.md: six checks (naming, TTL/scoping,
redundancy, compaction, ease of use, posture), applied for real to the
rein-openweights plan's section 4 -- including a genuinely useful
finding (credentials.py already expects this exact path/delivery shape,
zero code changes needed to consume it).

docs/executive-summary-format.md: six fixed fields, no bao syntax, no
restating earlier sections, explicit approve/reject/revise decision.
Rendered for real into the plan's section 5 -- ready for an actual
decision.

src/ops_mason/{plan,executor,audit}.py: the phase-4 build executor for
credential_type openbao-approle-kv. Refuses to run against anything but
an approved plan -- verified the refusal never even calls subprocess.run.
role_id/secret_id (the AppRole's own access credential, not the
downstream secret) land as 0600 files, never logged; the HCL policy
goes over stdin, never argv; the audit trail is metadata-only. 12 tests,
all mocked at the bao boundary (no live OpenBao access from this
session).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-27 00:56:34 +02:00
docs Review/optimize checklist, executive-summary format, build executor (T02-T04) 2026-07-27 00:56:34 +02:00
plans Review/optimize checklist, executive-summary format, build executor (T02-T04) 2026-07-27 00:56:34 +02:00
src/ops_mason Review/optimize checklist, executive-summary format, build executor (T02-T04) 2026-07-27 00:56:34 +02:00
tests Review/optimize checklist, executive-summary format, build executor (T02-T04) 2026-07-27 00:56:34 +02:00
workplans Review/optimize checklist, executive-summary format, build executor (T02-T04) 2026-07-27 00:56:34 +02:00
.custodian-brief.md chore(consistency): sync task status from DB [auto] 2026-07-27 00:47:26 +02:00
.gitignore Review/optimize checklist, executive-summary format, build executor (T02-T04) 2026-07-27 00:56:34 +02:00
AGENTS.md Register with State Hub, close bootstrap housekeeping (MASON-0001) 2026-07-27 00:22:58 +02:00
INTENT.md Tighten the ops-warden boundary after reviewing its actual repo 2026-07-27 00:44:37 +02:00
LICENSE Initial commit 2026-07-26 21:42:19 +00:00
pyproject.toml Review/optimize checklist, executive-summary format, build executor (T02-T04) 2026-07-27 00:56:34 +02:00
README.md Charter ops-mason: builder of NetKingdom security infrastructure 2026-07-27 00:21:25 +02:00
SCOPE.md Tighten the ops-warden boundary after reviewing its actual repo 2026-07-27 00:44:37 +02:00
WORK-RECORDS.md Regenerate WORK-RECORDS.md 2026-07-27 00:47:40 +02:00

ops-mason

The builder of NetKingdom security infrastructure — creates, changes, maintains, and tears down access routes, credentials, tokens, and policies so that ops-warden always has something real to route to.

The four-phase process

  1. Construction plan — given an access demand, draft what needs building, respecting/extending/compacting existing structure first.
  2. Review and optimize — self-review the plan against what already exists, for consistency and ease of use.
  3. Executive summary — the one mandatory human decision gate: render who gets what access, for how long, and what it costs to reverse.
  4. Build — once approved, execute the plan.

See INTENT.md for the full responsibility boundary against ops-warden, OpenBao, flex-auth, and key-cape.