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 9bcb5819de Fix KV v2 policy path shape; live end-to-end verification succeeded
Two more real bugs found completing this lane for real:

1. platform-admin's own policy had no entry for the new reins/ mount --
   the founder's paste-once-provision write 403'd because the admin
   identity that created the mount was never granted access to operate
   on it. Fixed live (added path "reins/*" matching every other mount
   already in that policy).

2. _policy_hcl wrote the bare KV-v1-shaped path
   (reins/rein-openweights/openrouter) instead of KV v2's data/+metadata/
   sub-paths -- bao token capabilities on the bare path even reported
   full access, but the actual kv get still 403'd, because OpenBao
   evaluates the real request against the data/-prefixed path. Caught
   when the AppRole's own read failed during live verification. Fixed
   in code (now emits both data/ and metadata/ paths), locked in with a
   dedicated unit test, and re-applied to the live policy.

Live end-to-end verification succeeded after both fixes: real AppRole
login, real KV v2 read via the corrected policy, real OpenRouter call,
real commit -- with OPENROUTER_API_KEY unset the whole time. Plan status:
catalogued. glas-harness/GLAS-WP-0002-T02 is closed by this.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-27 01:50:18 +02:00
docs Review/optimize checklist, executive-summary format, build executor (T02-T04) 2026-07-27 00:56:34 +02:00
plans Fix KV v2 policy path shape; live end-to-end verification succeeded 2026-07-27 01:50:18 +02:00
src/ops_mason Fix KV v2 policy path shape; live end-to-end verification succeeded 2026-07-27 01:50:18 +02:00
tests Fix KV v2 policy path shape; live end-to-end verification succeeded 2026-07-27 01:50:18 +02:00
workplans Real build executed for real (MASON-WP-0001-T05, MASON-WP-0001 done 5/5) 2026-07-27 01:25:14 +02:00
.custodian-brief.md chore(consistency): sync task status from DB [auto] 2026-07-27 01:25:29 +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 Real build executed for real (MASON-WP-0001-T05, MASON-WP-0001 done 5/5) 2026-07-27 01:25:14 +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 01:25:50 +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.