Files
ansible-workspace-dnd/docs/roadmap/features/0030-upstream-release-binaries.md

11 KiB

Feature 0030: Install Upstream Release Binaries

Status: in_progress

Roadmap approved: 2026-12-04

Summary

Replace source compilation in all five application roles with installation of upstream-published release executables. Every deployed application binary must be the released upstream binary for the selected version and architecture.

The user selected this policy and approved the migration scope on 2026-12-04, and confirmed that the canonical upstream repository host is now forge.maximumdirect.net. The staged execution steps are maintained in the implementation plan.

Problem or Opportunity

All five roles currently clone source, provision Go and build executables on the managed host. Selecting a release tag does not make those locally compiled executables upstream release binaries. The new policy changes the installation mechanism, while preserving the reviewed native application configuration.

Scope

  • Migrate Seriatim, Audita, Notarius, Scriptorium and Narratio standalone roles, including defaults, argument specifications, documentation and existing tests.
  • Remove source checkout and Go/build controls from the roles and the pipeline role's public interface and dependency forwarding.
  • Make the pipeline role install Git explicitly for its asset checkouts; it must no longer obtain Git incidentally through application build dependencies.
  • Assemble the reviewed role combination into the collection through the established public-origin subtree and dependency-manifest workflow.
  • Migrate repository and release URLs from gitea.maximumdirect.net to forge.maximumdirect.net throughout the owned Ansible repositories and workspace inventory, tooling and current documentation. This includes role requirements, collection metadata, asset repository defaults, test references, subtree source URLs and local Git origins for the owned Ansible repositories and workspace control repository. Preserve repository paths and selected refs.
  • Adopt Notarius v0.10.2, whose published amd64 and arm64 binaries complete the required release artifact set without changing the native configuration.
  • Document migration from a source-built installation, including retired inventory variables and the upstream artifact prerequisite.

Non-goals

  • Application source changes, upstream release publication or local binary builds, including builds on the controller or in test fixtures.
  • Application-version upgrades other than the selected Notarius v0.10.2 patch, native-configuration redesign, additional platforms, new prompt/campaign content, operational deployment or consumer inventory work.
  • Uninstalling existing Go/Git packages or deleting legacy source directories.
  • New signing, provenance, rollback, fingerprint or role-private state systems.
  • Moving or replacing the published collection 0.2.0 tag or archive. Publication of a subsequent collection version is a separate release task.

Target End State

Each role installs its selected upstream Linux executable directly at its existing configurable binary path, with root ownership and executable mode. Ubuntu 26.04 on amd64 and arm64 remains the supported target. Ansible facts x86_64 and aarch64 map to upstream asset suffixes amd64 and arm64.

Keep Seriatim v1.5.0, Audita v4.3.0, Scriptorium v0.16.0 and Narratio v4.0.0. Select Notarius v0.10.2; its release review confirms no configuration migration from v0.10.0. An unavailable version/architecture fails through the ordinary download operation; it never triggers compilation, another version or another architecture.

Existing <app>_version and <app>_binary_path variables retain their purpose. Replace source repository settings with a documented release download base URL, defaulting to https://forge.maximumdirect.net/eric/<app>/releases/download. Assets use <app>-<version>-linux-<arch>, distributed as raw executables. Notarius v0.10.2's published artifacts follow this contract. Construct versioned URLs without querying a moving latest release.

Canonical repository URLs use https://forge.maximumdirect.net/eric/<repo>.git. The domain change applies to repository, documentation and release locations; it does not change Ansible namespaces, application configuration endpoints, Go module/import identities or immutable historical tags and artifacts. Current documentation must use the new host; completed historical evidence does not need a bulk rewrite. The role's configurable asset origins remain configurable.

Source checkout paths, source repository URLs, dependency-management switches, Go channels and Go executable settings leave the supported role interface. Document their removal explicitly rather than silently presenting them as working controls. Existing application templates, optional-field omission, suite filesystem policy, overlays, credentials and asset selections are retained.

The first application of the new role replaces an existing locally built binary even when it reports the same version. Repeated application reports no changes. Legacy source trees and installed development tools are left unmanaged.

Repository Ownership

  • ansible-role-{seriatim,audita,notarius,scriptorium,narratio} own their release installation interfaces and native configuration tests.
  • ansible-role-dnd-pipeline owns suite composition, prerequisite packages and compatible application-role pins.
  • ansible-collection-dnd owns imported pipeline assembly, matching consumer dependency selections and installed-artifact smoke coverage.
  • This workspace owns policy, the roadmap, implementation planning, canonical repository locations in workspace.yml, tooling and evidence.
  • Upstream applications are read-only release and contract references. rakestraw-ansible and asset authoring repositories are unchanged.

Constraints and Settled Decisions

Follow the revised MVP installation policy, Ansible house style and testing policy. Source-build deployment is superseded, including the older development branch/commit override. The roles manage released application binaries only.

This requirement applies to the five managed applications. Git-hosted Ansible roles, content assets and ordinary packaged host prerequisites retain their existing distribution mechanisms. No upstream application is patched to suit the role.

Simplest Viable Implementation

Retain platform validation, needed directories and configuration management. Replace the Git/Go/stat/build sequence with ansible.builtin.get_url managing the binary's destination, ownership and mode. Use the published SHA256SUMS through the module's native checksum option so the selected asset replaces an existing source-built or differently versioned executable and converges on repeat. This uses upstream metadata and module behavior, not a role-authored checksum database, preflight hash task or post-install validation task.

The release base URL, selected version and facts determine the download and checksum URLs. Trust the module's comparison and replacement behavior. Native version/configuration checks remain tests. Remove obsolete build-path tests and unused build dependencies rather than replacing them with implementation snapshots. Small direct installation tasks remain in the independent roles; there is no new shared installer role or custom module.

Acceptance Criteria

  • Each role installs the explicitly selected upstream binary and has no source checkout, compiler installation or build execution path.
  • An existing source-built installation converges to the released artifact; version selection remains configurable and an immediate repeat is clean.
  • Supported asset names and architectures are mapped correctly. Missing assets do not produce a substitute executable or source-build fallback.
  • Existing representative native configuration and overlay tests still pass with released executables, alongside syntax checks and production lint.
  • The assembled collection resolves its matching public role pins in isolated Ansible paths, passes its existing native smoke checks and converges cleanly.
  • Documentation and argument specifications describe the release interface and removal of the source-build interface. No operational host is deployed.
  • Active repository/release URLs in the changed Ansible repositories and workspace inventory/tooling use forge.maximumdirect.net. Public dependency installation, subtree import and binary downloads use the canonical host directly, rather than depending on redirects from the old hostname.

Dependencies and Release Availability

Public Gitea API and asset URLs were checked on 2026-12-04 using the canonical hostname. All selected applications provide both required Linux architectures:

Application Selected tag Published Linux executables
Seriatim v1.5.0 amd64, arm64; SHA256SUMS
Audita v4.3.0 amd64, arm64; SHA256SUMS
Notarius v0.10.2 amd64, arm64; SHA256SUMS
Scriptorium v0.16.0 amd64, arm64; SHA256SUMS
Narratio v4.0.0 amd64, arm64; SHA256SUMS

Notarius v0.10.2 resolves the earlier delivery gap: v0.10.0 had no hosted binaries and v0.10.1 provided amd64 only. Its release now includes notarius-v0.10.2-linux-amd64, notarius-v0.10.2-linux-arm64 and corresponding entries in SHA256SUMS at the canonical release download base. There is no remaining upstream artifact prerequisite for the selected compatibility set.

The selected compatibility set preserves both supported architectures without a source-build exception.

Notarius v0.10.2 Release Review

The release notes describe adding Linux/arm64 delivery alongside Linux/amd64; both official builds use Go 1.27.4. Application source and dependency versions are unchanged from v0.10.1, which in turn preserved the v0.10.0 application contracts. The tag selects commit 10b54107f3d00cef150711fe1fb5f5ea41524e64. Comparison with v0.10.1 changes release configuration and documentation only.

Configuration, CLI, reference-input and output-artifact contracts remain compatible. Retain the role's version 6 configuration, pipeline definitions, testing overlay, cache settings and suite wiring. Upstream build-toolchain selection does not create any Go provisioning requirement for these binary-only roles.

Both published executables were downloaded to a temporary directory and matched their upstream SHA256SUMS entries. On the amd64 review host, native version reported notarius v0.10.2; existing suite root and testing-overlay configuration validation and dnd-session pipeline validation with and without the testing overlay passed. Arm64 artifact availability and checksum were verified; native arm64 execution was not performed. No installed application was replaced, source was built or provider was called during this review.