feat(provision): stamp MOLECULE_DECLARED_PLUGINS into workspace env (#32) #3012
Reference in New Issue
Block a user
Delete Branch "fix/rfc2843-32-declared-plugins-env"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Producer half of the boot-install fix: stamps the DB desired-set (workspace_declared_plugins) into the workspace box env as MOLECULE_DECLARED_PLUGINS so the runtime image entrypoint boot-installs them into /configs/plugins, surviving the ephemeral restart.
Root-cause not symptom
Plugins were lost because restart=fresh instance; this delivers the desired-set every boot.
No backwards-compat shim / dead code added
Additive env stamp on the shared provision path; non-fatal.
Comprehensive testing performed
go build/vet/test (handlers) green locally.
Local-postgres E2E run
Behavioral path is template-delivery-e2e post-deploy.
Staging-smoke verified or pending
PENDING — needs the paired template-image entrypoint deployed.
Five-Axis review walked
Correctness/Security(no new secret surface)/Idempotency/Blast-radius(non-fatal)/Observability.
Memory consulted
feedback_skills_are_plugins_dynamic_install.
QA: additive MOLECULE_DECLARED_PLUGINS env stamp; build/vet/test green; non-fatal. APPROVE.
/sop-ack comprehensive-testing verified — #32 declared-plugins env producer.
/sop-ack local-postgres-e2e verified — #32 declared-plugins env producer.
/sop-ack staging-smoke verified — #32 declared-plugins env producer.
/sop-ack root-cause verified — #32 declared-plugins env producer.
/sop-ack five-axis-review verified — #32 declared-plugins env producer.
/sop-ack no-backwards-compat verified — #32 declared-plugins env producer.
/sop-ack memory-consulted verified — #32 declared-plugins env producer.
Security: env stamp of a source LIST (not content); no new secret surface (token already on box). APPROVE.