Files
computer-playbook/docs/requirements
kevinveenbirkenbachandClaude Opus 5 f713ba8350 refactor(credentials): address them at secrets.credentials, like every other meta file
meta/schema.yml became meta/secrets.yml, but its content still landed at
applications.<app>.credentials — the one meta file whose payload did not sit
under a root named after the file. Every other topic obeys that rule:
meta/volumes.yml goes to volumes, meta/rbac.yml to rbac. Credentials now go to
secrets.credentials.

The path exists exactly once, in utils/manager/credential_key.py, and
OVERRIDE_SECTION is derived from its two segments rather than spelled beside
them, so the dotted form used by --set and the nested form used by the
inventory cannot drift. Six consumers read it: the loader, the generator, the
CLI override parser, the two emit helpers, and the four lookup validators.

--set now accepts exactly one key shape,
applications.<app>.secrets.credentials.<key>. The three short forms are
rejected instead of guessed at: the same short key names different credentials
on different apps. That also retired primary_app_id, which only existed to
disambiguate them.

Three defects surfaced while wiring this up. _apply_one_role_schema still wrote
to the old root, so an app's own credentials would have moved while its
providers' stayed behind. web-app-pgadmin reads through
lookup('applications', ...).credentials.<key>, an access path no regex over
lookup('config', ...) could see, and would have deployed with an empty postgres
password. And _META_NON_GENERIC_TOPICS still listed 'schema' — a bare topic
name, invisible to any path search — so the generic file-root loop assigned the
raw schema under secrets and the follow-up write landed inside the cached
document, truncating keycloak's four credentials to one for every later
reader.

tests/integration/ansible/lookups/config/test_credentials_roundtrip.py pins both
directions of the seam and the cache invariant that last defect broke.

Existing inventories still carry the pre-rename root; migrating them is
deliberately out of scope here.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-12 16:51:56 +02:00
..

Requirements 📋

This directory contains project requirements documents. Its scope is user stories and acceptance criteria that define what the project must do and that guide agent-assisted implementation.

Archive

  • 001 - Nextcloud Talk TURN relay
  • 001 - Service Registry Refactoring
  • 003 - Reduce applications and users to lookup-only access
  • 004 - Generic RBAC role auto-provisioning via OpenLDAP
  • 005 - WordPress Multisite support for OIDC-driven RBAC
  • 006 - Service-gated Playwright tests
  • 007 - WordPress to Discourse post round-trip
  • 015 - KIX Service Management integration
  • 016 - web-app-hugo (Static Site Generator)
  • 012 - Package Cache (Nexus 3 OSS)
  • 013 - Sub-Beta-to-Beta Lifecycle Promotion for web-* Roles
  • 015: Self-built Moodle image (replaces bitnamilegacy/moodle)
  • 015 - OpenCloud and OpenTalk IAM integration
  • 021 - SSO Flavor Migration (oauth2 + oidc → unified sso service)
  • 008 - Role Meta Layout Refactoring
  • 009 - Per-Role Networks and Ports Migration
  • 010 - Role Meta run_after / lifecycle Migration
  • 011 - Role meta/info.yml Migration
  • 016 - Fediwall multi-wall via OIDC-protected runtime upload
  • 019 - Playwright meta/services.yml parity coverage
  • 020 - CI Run 25705903504 Deploy-Failure Remediation Loop
  • 022 - Zammad Helpdesk Role with OIDC SSO
  • 023 - Setup Penpot
  • 025 - Matrix Role Ansible Flavor (matrix-docker-ansible-deploy)
  • 028 - atmo.rsvp (AT Protocol Events) Role + Mobilizon/ActivityPub Bridge
  • 031 - svc-net-tor: Tor Onion-Service Provider (injected alongside the clearnet domain)