This commit is contained in:
@@ -23,6 +23,8 @@ Each privileged runtime gets only its required secret/capability bindings. `comm
|
||||
|
||||
The Core SELF learning repository uses the existing `assistant_core_secrets` volume and credential-reference mechanism with `self_role` and `credential://domovoy/self/db-password/v1`. The secret is consumed from the fixed `/run/secrets/self_db_password` path; its value is never placed in Compose environment, Git, logs or ordinary configuration. The role and schema already exist; this wiring does not create a role or broaden privileges.
|
||||
|
||||
Delegated non-interactive control-plane work is separately authenticated. The external `assistant_core_secrets` control plane must materialize `control_plane_service_token`, mode `0400`, for `core-runtime` and the existing Authority/Commit runtime only. Compose carries only `credential://domovoy/control-plane/service-token/v1`; trusted runtimes resolve the fixed file below `/run/secrets`. The service token is not a Creator session, cannot impersonate a human, and must be rotated or withdrawn in the secret backend. Removing the token disables new delegated operations; revoking the durable Authority grant also blocks them without deleting audit history.
|
||||
|
||||
Creator authentication secrets are stored in the external Docker volume `assistant_core_secrets` and mounted read-only only at `/run/secrets` in `core-runtime`. The production container environment contains `_FILE` paths, not the secret values. Files are owned by runtime uid 100/gid 101 with mode 0400. `CREATOR_USERNAME` is not secret and remains an environment value. Development may continue to use direct environment values, but a direct value and its matching `_FILE` setting must never be configured together.
|
||||
|
||||
The PostgreSQL off-host backup passphrase is generated randomly and stored as CurrentUser DPAPI ciphertext at `%LOCALAPPDATA%\Domovoy\postgres-backup-key.dpapi.json`. An atomic copy of that DPAPI ciphertext, never the plaintext passphrase, is retained at `\\nas\MST\codex\_backups\domovoy\keys\postgres-backup-key.dpapi.json`. The passphrase is never stored in Git, the production Docker host, a scheduled-task argument, or NAS plaintext. The NAS backup directory receives only GnuPG AES-256 ciphertext and a non-secret integrity manifest. Recovery therefore requires both the NAS artifacts and the authorized Windows DPAPI profile.
|
||||
|
||||
@@ -0,0 +1,40 @@
|
||||
# GEN2-AUTHORITY-001 — protected service credential prerequisite
|
||||
|
||||
Date: 2026-08-31
|
||||
|
||||
The existing `assistant_core_secrets` volume was inspected by filename only.
|
||||
It contains the established Creator, Epistemics, Interaction, Local gateway,
|
||||
SELF and Work artifacts, but no `control_plane_service_token` artifact.
|
||||
|
||||
No secret value was read, copied, printed or inferred. The implementation is
|
||||
fail-closed: Core and `commit-runtime` remain healthy while the delegated path
|
||||
returns unavailable/denied until the external secret control plane materializes
|
||||
the credential reference `credential://domovoy/control-plane/service-token/v1`
|
||||
at `/run/secrets/control_plane_service_token` for those two trusted runtimes.
|
||||
|
||||
This is a `BLOCKED_BY_MISSING_CAPABILITY` for live non-interactive acceptance,
|
||||
not a reason to use a Creator session, password, browser cookie, SQL update, or
|
||||
broader service authority.
|
||||
|
||||
## Implemented and verified locally
|
||||
|
||||
The bounded implementation is present on branch
|
||||
`gen2/authority-001-delegated-control-plane`. It keeps Identity as the service
|
||||
identity owner, Authority as the durable grant/revocation/audit owner, and
|
||||
Capability as the cognitive lifecycle owner. Core is an Authority-runtime
|
||||
client; the Authority endpoint is served by the existing Commit runtime that
|
||||
already owns the Authority repository in the V2 runtime topology.
|
||||
|
||||
On 2026-08-31 the following checks completed successfully without secret
|
||||
values:
|
||||
|
||||
- targeted `go test` for Authority contracts/domain, secret resolver, Core,
|
||||
Commit runtime, and the Authority PostgreSQL adapter;
|
||||
- targeted `go vet` for the same packages;
|
||||
- production and candidate Compose static validation;
|
||||
- task preflight, diff scope, independent governance, and architecture checks;
|
||||
- `git diff --check`.
|
||||
|
||||
The only missing external capability is protected materialization of
|
||||
`control_plane_service_token` for Core and Commit runtime. No deployment or
|
||||
privileged lifecycle request was attempted while it is absent.
|
||||
Reference in New Issue
Block a user