Replace Lyra V1 configuration with the root-layout Redview V2 application #257

Closed
opened 2026-10-02 12:09:08 +01:00 by nimmo · 0 comments
Owner

Scope

Replace V1 with the repository-root V2 implementation while preserving the old source branch and databases. The user performs all sudo actions.

Completed preparation

  • V2 moved to the repository root and default packages/module switched to V2; compatibility exports retained.
  • Production configuration prepared on a dedicated feature branch with existing operational integrations retained.
  • Application package gate passed: 135 Node and 28 Python tests.
  • Full Nix configuration checks and target system build passed.
  • Migration helper rehearsed with disposable fixtures, including interrupted snapshot/migration, verification failure/retry, changed-source rejection and overwrite refusal.
  • Disposable target canary passed API/UI/spec, four-worker startup, a queued job and Python/CUDA provider imports.
  • Operator deployment and rollback instructions prepared privately for the user.

Post-activation evidence

  • Read-only checks passed: health, generated spec and authentication contracts, four active workers with zero restarts, intended package/database selection and writable mounted media.
  • Browser sign-in redirects correctly; OIDC sign-in starts; anonymous and invalid-key API access is rejected.
  • V1 is inactive/absent from the active configuration and the old staging endpoint is closed.
  • Driver sees the NVIDIA GPU. No new model inference, personal login, Reddit/VPN job or production rollback was performed by the agent.

Remaining

  • User runs the privileged final snapshot, migration and test activation. Resumed activation after a sudo prompt timeout; database preparation was not repeated.
  • Verify authentication, GPU jobs and operational integration after activation.
  • Review checks and merge the application and production configuration: Redview MR #10 and NixOS config MR #258. Required CI passed; the timed-out advisory review passed after retry.
  • User performs persistent activation, checks health and workers, then releases the auto-update hold.
  • Stable 2.0.0 promotion remains a separate release task.

Production migration and test activation were completed by the user. The agent performed read-only post-activation checks; no new model inference, Reddit/VPN rip or destructive media changes were performed. This is a test activation, which reverts on reboot; both repositories are now merged to main, but keep the auto-update hold through persistent activation and post-switch checks. Original databases are preserved. Detailed host paths, executable commands and rollback metadata are kept in the privately staged operator guide rather than this issue.

Merge checkpoint

Application main is 7bfffff; configuration main is 517cfdb. The configuration follows main with the same immutable tested dev.118 application pin. Both target configuration checkouts are synchronized, and the merged system is built and staged. The private operator guide was updated; no database preparation was repeated. Stable 2.0.0 has not been published.

## Scope Replace V1 with the repository-root V2 implementation while preserving the old source branch and databases. The user performs all sudo actions. ## Completed preparation - [x] V2 moved to the repository root and default packages/module switched to V2; compatibility exports retained. - [x] Production configuration prepared on a dedicated feature branch with existing operational integrations retained. - [x] Application package gate passed: 135 Node and 28 Python tests. - [x] Full Nix configuration checks and target system build passed. - [x] Migration helper rehearsed with disposable fixtures, including interrupted snapshot/migration, verification failure/retry, changed-source rejection and overwrite refusal. - [x] Disposable target canary passed API/UI/spec, four-worker startup, a queued job and Python/CUDA provider imports. - [x] Operator deployment and rollback instructions prepared privately for the user. ## Post-activation evidence - Read-only checks passed: health, generated spec and authentication contracts, four active workers with zero restarts, intended package/database selection and writable mounted media. - Browser sign-in redirects correctly; OIDC sign-in starts; anonymous and invalid-key API access is rejected. - V1 is inactive/absent from the active configuration and the old staging endpoint is closed. - Driver sees the NVIDIA GPU. No new model inference, personal login, Reddit/VPN job or production rollback was performed by the agent. ## Remaining - [x] User runs the privileged final snapshot, migration and test activation. Resumed activation after a sudo prompt timeout; database preparation was not repeated. - [ ] Verify authentication, GPU jobs and operational integration after activation. - [x] Review checks and merge the application and production configuration: [Redview MR #10](https://git.nimmog.uk/nimmo/redview/pulls/10) and [NixOS config MR #258](https://git.nimmog.uk/nimmo/nixos-config/pulls/258). Required CI passed; the timed-out advisory review passed after retry. - [ ] User performs persistent activation, checks health and workers, then releases the auto-update hold. - [ ] Stable 2.0.0 promotion remains a separate release task. Production migration and test activation were completed by the user. The agent performed read-only post-activation checks; no new model inference, Reddit/VPN rip or destructive media changes were performed. This is a test activation, which reverts on reboot; both repositories are now merged to main, but keep the auto-update hold through persistent activation and post-switch checks. Original databases are preserved. Detailed host paths, executable commands and rollback metadata are kept in the privately staged operator guide rather than this issue. ## Merge checkpoint Application main is `7bfffff`; configuration main is `517cfdb`. The configuration follows main with the same immutable tested dev.118 application pin. Both target configuration checkouts are synchronized, and the merged system is built and staged. The private operator guide was updated; no database preparation was repeated. Stable 2.0.0 has not been published.
nimmo closed this issue 2026-10-02 17:53:19 +01:00
Sign in to join this conversation.
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
nimmo/nixos-config#257
No description provided.