ops-mason/scripts
tegwick 9f67565ea3 MASON-WP-0008: generate the construction-plan existing-structure survey
scripts/plan-survey.py runs under the ops-mason-build grant and prints a
pasteable section 2: relevant secrets/auth/policy/role listings with counts,
policy stanzas covering the target for name-matched policies, KV metadata
existence, matching ops-warden catalog entries, timestamp, BAO_ADDR, token
display_name and a draft yes/no/partial answer. Metadata only: an allowlist
refuses kv get, */data/* and role-id/secret-id before any process starts; a
non-grant token is refused and the token is never printed. Denied queries
degrade to 'not permitted by ops-mason-build'. Tests use a fake bao runner.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

Assistant: claude-code
Assistant-Model: opus
Assistant-Process: 1170398@bnt-lap001
Assistant-Session: 622cd705-cb31-4322-ba08-dd42e44fa583
2026-10-05 13:22:26 +02:00
..
bao-session.sh Enforce readiness tiers and reconcile blocked workplans 2026-09-28 11:40:57 +02:00
custody-inventory.py Enforce readiness tiers and reconcile blocked workplans 2026-09-28 11:40:57 +02:00
plan-survey.py MASON-WP-0008: generate the construction-plan existing-structure survey 2026-10-05 13:22:26 +02:00