WIP: Align daemon deployment and PID discovery with canonical config #516

Draft
toasterson wants to merge 6 commits from claude/wi-01a03edf-deployment-config-manual-recovery into claude/wi-01a03edf-5416-7413-ab36-308c8bee1cd1-database-cutover
Owner

Work item: 01a03edf-54b7-77a0-abee-12ee282f0e2e (WI-345).
Stacked on WI-344 / #514 and WI-343 / #356; their accepted dependencies remain pending.

Deployment templates still advertised removed HTTP listener settings, and PID discovery still carried obsolete HTTP fields. This change uses canonical ACP settings and the settled database configuration across systemd, SMF, Docker and Helm, then makes CLI/TUI discovery consume only process and ACP metadata.

PostgreSQL URLs come from external protected files or Kubernetes Secret references. SMF retains its complete typed property group. The chart defaults to one durable SQLite replica and refuses SQLite on emptyDir/tmpfs; PostgreSQL may retain cache-only storage. Old PID records are intentionally rejected for the pre-1.0 cutover.

The sole legacy HTTP URL consumer was the agent-management tool module. It now explicitly reports the retired transport. Its missing ACP adapter is not implemented or claimed restored by this PR.

Validation: 16 Helm tests pass on integrated source, including SQLite/PostgreSQL selection, Secret references, duplicate URL rejection and durable-storage guards. XML well-formedness and shell syntax pass; native service import/start and deployed acceptance have not been run. Final integrated source bc528bf0 passes 218 configuration-related tests, 22 client/discovery tests, server library/daemon checks, ordinary Clippy, and a no-default-features library check. The minimal build exposed an upstream WI-343 feature-boundary regression; that was repaired in PR #356 and integrated through #514 before these final passes. Published successor changes only this validation document. Independent source review approved the integrated diff.

No deployment or native approval is claimed. Use merged-main binaries for the eventual platform acceptance run. The small ingress-auth test fixture correction includes the Seshat ConfigMap already referenced by its deployment hash; its two original failures reproduce at the unchanged base.

Work item: `01a03edf-54b7-77a0-abee-12ee282f0e2e` (WI-345). Stacked on WI-344 / #514 and WI-343 / #356; their accepted dependencies remain pending. Deployment templates still advertised removed HTTP listener settings, and PID discovery still carried obsolete HTTP fields. This change uses canonical ACP settings and the settled database configuration across systemd, SMF, Docker and Helm, then makes CLI/TUI discovery consume only process and ACP metadata. PostgreSQL URLs come from external protected files or Kubernetes Secret references. SMF retains its complete typed property group. The chart defaults to one durable SQLite replica and refuses SQLite on emptyDir/tmpfs; PostgreSQL may retain cache-only storage. Old PID records are intentionally rejected for the pre-1.0 cutover. The sole legacy HTTP URL consumer was the agent-management tool module. It now explicitly reports the retired transport. Its missing ACP adapter is not implemented or claimed restored by this PR. Validation: 16 Helm tests pass on integrated source, including SQLite/PostgreSQL selection, Secret references, duplicate URL rejection and durable-storage guards. XML well-formedness and shell syntax pass; native service import/start and deployed acceptance have not been run. Final integrated source bc528bf0 passes 218 configuration-related tests, 22 client/discovery tests, server library/daemon checks, ordinary Clippy, and a no-default-features library check. The minimal build exposed an upstream WI-343 feature-boundary regression; that was repaired in PR #356 and integrated through #514 before these final passes. Published successor changes only this validation document. Independent source review approved the integrated diff. No deployment or native approval is claimed. Use merged-main binaries for the eventual platform acceptance run. The small ingress-auth test fixture correction includes the Seshat ConfigMap already referenced by its deployment hash; its two original failures reproduce at the unchanged base.
Record integrated deployment configuration validation
All checks were successful
CI / test-session-platform (pull_request) Successful in 15m13s
CI / check-seshat (pull_request) Successful in 25m57s
CI / docker-akh-transcripts (pull_request) Successful in 18m44s
CI / docker-sokard (pull_request) Successful in 38m25s
CI / check-akh-medu (pull_request) Successful in 1h8m42s
CI / publish-chart (pull_request) Successful in 51m48s
CI / test-sokar (pull_request) Successful in 1h37m26s
CI / docker-seshd (pull_request) Successful in 1h31m0s
CI / test-akh-medu (pull_request) Successful in 1h45m40s
CI / platform-images-home (pull_request) Successful in 13m30s
CI / platform-images-daemons (pull_request) Successful in 31m29s
CI / platform-images-core (pull_request) Successful in 34m57s
CI / platform-images-fleet (pull_request) Successful in 4m47s
CI / platform-images-collect (pull_request) Successful in 2m7s
4b530f270c
All checks were successful
CI / test-session-platform (pull_request) Successful in 15m13s
CI / check-seshat (pull_request) Successful in 25m57s
CI / docker-akh-transcripts (pull_request) Successful in 18m44s
CI / docker-sokard (pull_request) Successful in 38m25s
CI / check-akh-medu (pull_request) Successful in 1h8m42s
CI / publish-chart (pull_request) Successful in 51m48s
CI / test-sokar (pull_request) Successful in 1h37m26s
CI / docker-seshd (pull_request) Successful in 1h31m0s
CI / test-akh-medu (pull_request) Successful in 1h45m40s
CI / platform-images-home (pull_request) Successful in 13m30s
CI / platform-images-daemons (pull_request) Successful in 31m29s
CI / platform-images-core (pull_request) Successful in 34m57s
CI / platform-images-fleet (pull_request) Successful in 4m47s
CI / platform-images-collect (pull_request) Successful in 2m7s
This pull request is marked as a work in progress.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin claude/wi-01a03edf-deployment-config-manual-recovery:claude/wi-01a03edf-deployment-config-manual-recovery
git switch claude/wi-01a03edf-deployment-config-manual-recovery

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch claude/wi-01a03edf-5416-7413-ab36-308c8bee1cd1-database-cutover
git merge --no-ff claude/wi-01a03edf-deployment-config-manual-recovery
git switch claude/wi-01a03edf-deployment-config-manual-recovery
git rebase claude/wi-01a03edf-5416-7413-ab36-308c8bee1cd1-database-cutover
git switch claude/wi-01a03edf-5416-7413-ab36-308c8bee1cd1-database-cutover
git merge --ff-only claude/wi-01a03edf-deployment-config-manual-recovery
git switch claude/wi-01a03edf-deployment-config-manual-recovery
git rebase claude/wi-01a03edf-5416-7413-ab36-308c8bee1cd1-database-cutover
git switch claude/wi-01a03edf-5416-7413-ab36-308c8bee1cd1-database-cutover
git merge --no-ff claude/wi-01a03edf-deployment-config-manual-recovery
git switch claude/wi-01a03edf-5416-7413-ab36-308c8bee1cd1-database-cutover
git merge --squash claude/wi-01a03edf-deployment-config-manual-recovery
git switch claude/wi-01a03edf-5416-7413-ab36-308c8bee1cd1-database-cutover
git merge --ff-only claude/wi-01a03edf-deployment-config-manual-recovery
git switch claude/wi-01a03edf-5416-7413-ab36-308c8bee1cd1-database-cutover
git merge claude/wi-01a03edf-deployment-config-manual-recovery
git push origin claude/wi-01a03edf-5416-7413-ab36-308c8bee1cd1-database-cutover
Sign in to join this conversation.
No reviewers
No labels
follow-up
No milestone
No project
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
toasterson/akh-medu!516
No description provided.