28 KiB
Implementation Plan 0030: Install Upstream Release Binaries
Status: in_progress — approved for implementation
Implementation plan approved: 2026-12-04
Target executor: GPT-5.6-Terra
Feature roadmap: Feature 0030
Active plan location: docs/roadmap/implementation.md
Objective
Replace production source builds in all five application roles with upstream
release executables, migrate active repository/release URLs to
forge.maximumdirect.net, and deliver the matching pipeline and collection
source snapshots. Preserve native configuration and suite behavior, adopting
Notarius v0.10.2 as the sole application-version change. The approved roadmap
owns scope, rationale and acceptance criteria.
Execution Rules
- Execute stages in numeric order. Before every stage, reread its Required Policy Review documents, confirm its preconditions and inspect the owning repository's working tree. Preserve unrelated changes.
- This is an Ansible feature. Upstream application and framework repositories are read-only. Install only published application executables, including in test cases; no source-build fallback, patched binary or compiler fixture.
- Use direct module behavior, including
get_url's published-checksum support. No preliminary binary stat/version/hash task, build facts, download handler, checksum parser, persisted bookkeeping or production configuration test is needed. The checksum option establishes which release artifact to install; it does not introduce a separate integrity or drift-management subsystem. - Run each stage's validation before committing that stage with the stated plain English intent. Do not begin dependent integration after failed validation. Record concise stage hashes/results in Progress Notes; detailed evidence belongs in implementation commits rather than duplicate documents.
- Execution of the approved plan includes publishing the validated role and
pipeline commits needed by the public dependency/subtree workflow, followed
by collection and workspace commits. Push only the relevant
mainbranches; no force push, new tag, Gitea release, uploaded artifact or rewritten history. This planning pass performs none of that publication. - Use existing Git authentication. The canonical origin stays HTTPS on Forge; an existing authenticated SSH push transport may be used without changing the public fetch/install URLs. Never display credentials. If publication is unavailable, retain validated commits and report the public integration step that remains unsatisfied; do not substitute sibling paths or moving refs.
- Local integration may modify the authorized Ubuntu test host and use
synthetic credentials. No controller provisioning,
pipeline-dnddeployment, live provider calls, S3 transfers or Narratio preflight/run is in scope.
Starting State and Preconditions
Application role starting commits:
| Repository | Starting commit | Application selection after this feature |
|---|---|---|
ansible-role-seriatim |
e08c63c0b078658bdfa2d10a2e6e1e4f9372a075 |
v1.5.0 |
ansible-role-audita |
b818f6067789d7fdd09a8a4a54134452089811c8 |
v4.3.0 |
ansible-role-notarius |
85cd3a397f63342df8309aa4f36d9900ff610e41 |
v0.10.2 |
ansible-role-scriptorium |
e936d5200df675feeb53be235a175b608c0afc7c |
v0.16.0 |
ansible-role-narratio |
2a4e82c734a256a02281dbb6e63b348a7171f808 |
v4.0.0 |
Pipeline starts at 773b1fa80e0713bce94359143e35fec95303dfa6; collection
starts at 155e05a17dcacd7f84f37564ee8d21082b3bb0c0. Their v0.2.0 release
tags/artifact remain immutable. All nested repositories were clean when this
plan was prepared; the workspace has the Feature 0030 planning/policy edits.
Do not reset newer work to these recorded baselines.
Use the existing workspace .venv/bin/ansible-playbook, ansible-galaxy,
ansible-lint and Python. A missing system-wide Ansible command is not a
blocker: use the venv, or recreate it with the documented root README commands
and requirements-dev.txt if genuinely absent. Do not change dependency pins
merely to prepare tooling. The existing local environment is the agreed Ubuntu
26.04 test proxy; use the existing inventories and sudo access.
The roadmap records public amd64/arm64 binaries and SHA256SUMS for every selected application, including Notarius v0.10.2. No upstream delivery question remains. Native tests run on the available host architecture. An arm64 host, QEMU environment or CI matrix is not a new acceptance gate: review both mapping entries and asset names, and report which architecture was actually executed.
Repository Scope
- Change the five standalone roles,
ansible-role-dnd-pipeline,ansible-collection-dnd, and workspace control files. - Read upstream tagged documentation/release assets without editing application repositories. Do not change their local Git configuration.
- Keep
rakestraw-ansible, asset authoring checkouts and their local Git configuration unchanged. Their canonical URLs in workspace inventory and pipeline defaults do change. Asset revisions/content remain unchanged.
Shared Application-Role Contract (Stages 2–6)
Apply this contract in each owning role, without introducing a shared role or
plugin. Use the application name in place of <app>:
-
Keep
<app>_versionand<app>_binary_path; add<app>_release_base_urlwith defaulthttps://forge.maximumdirect.net/eric/<app>/releases/download. The selected version includes itsvprefix. Remove<app>_repository_url,<app>_source_dir,<app>_manage_build_dependencies,<app>_go_snap_channeland<app>_go_binaryfrom defaults and argument specifications. Describe the version as an upstream release tag. Do not retain ignored compatibility aliases or introduce an install-mode switch. -
Retain platform validation. Keep/create the binary parent directory with
ansible.builtin.file,become: true, root ownership and mode0755. Remove source parent/checkout management, Git/Go package tasks, binary stat, build command/environment, and the old source/binary metadata loop. -
Install the raw executable with one
ansible.builtin.get_urltask usingbecome: true, the existing binary path,owner: root,group: root,mode: "0755", and these URL expressions:url: "{{ <app>_release_base_url }}/{{ <app>_version }}/<app>-{{ <app>_version }}-linux-{{ {'x86_64': 'amd64', 'aarch64': 'arm64'}[ansible_facts.architecture] }}" checksum: "sha256:{{ <app>_release_base_url }}/{{ <app>_version }}/SHA256SUMS"Replace the angle-bracket placeholders when implementing. Use the small inline architecture mapping, not a new fact/probe or public architecture override. Pass the checksum URL directly to the module, which selects the entry for the requested asset. Leave ordinary
forceand error handling with the module. An unsupported release asset fails rather than falling back. No archive extraction, staging cache or post-download chmod task is necessary for these raw executables. See the upstream get_url contract. -
Preserve account, runtime directory, configuration tasks/templates and all native configuration variables. A new application binary must not trigger configuration redesign or mirror upstream defaults into inventory.
-
Remove the standalone role's now-unused
collections/requirements.yml(its only dependency is Go'scommunity.general.snap) and corresponding install commands/documentation. Keep the existing test harness rather than creating another dependency/bootstrap framework. Run its existing lint in production profile and offline mode. Static lint is not a deployment task. -
Update README, metadata descriptions/issue links and active test references to Forge and the new install interface. Explain retired variables, release tag selection, direct target-host download access, and that existing Go/Git installations/source trees are not deleted. A release-base override changes the distribution location for upstream assets, not permission to build them.
-
Remove custom-Go wrappers, invocation logs, compiler opt-out assertions and missing-binary build-recovery scenarios from
tests/integration. Retain an explicitly supplied release and native version check, with an immediate repeat using identical inputs. Preserve native configuration/import/falsey value checks and their existing immediate repeats. Do not replace removed tests with checks of task structure, file module arguments, variable defaults or the implementation ofget_url. Exercise an existing installation when available; no fake/corrupt binary or fresh source build is needed as setup. -
In each stage run
bash -n tests/integration, the complete updatedtests/integration, andgit diff --checkfrom that role's root. The harness must include syntax checking, production-profile offline lint and clean immediate repeats. Test downloads require network access even though native application validation makes no provider calls. Record results.
Stage 1: Establish Canonical Workspace Repository Locations
Completed: Workspace inventory and owned origins use Forge; venv tools, inventory parsing, status script, and whitespace validation passed.
Required Policy Review
Immediately before this stage, read root AGENTS.md, docs/orientation.md,
docs/conventions.md, docs/ansible.md and docs/planning.md.
Owning Repository and Preconditions
Workspace root. The roadmap and this implementation plan must be approved. Inspect the existing planning edits and preserve unrelated work.
Required Changes
- Change every repository
remoteinworkspace.yml, including read-only reference entries, from the old Gitea hostname toforge.maximumdirect.net. Preserve paths, categories, names and branches. Update current workspace orientation, README, tooling and canonical-source documentation where needed. Historical completed roadmap/release evidence does not need a bulk rewrite. - Set local
originfetch URLs for the workspace and the seven owned Ansible repositories to their corresponding canonical HTTPS URL. Preserve unrelated remotes and authentication. Do not modify origins in application, content or deployment-consumer checkouts. - Mark Feature 0030 and this plan
in_progresswhen execution begins. Make no application role changes in this stage. Existing source-build text in historical records is not an instruction to restore that installation mode.
Validation and Completion Criteria
From the workspace root:
.venv/bin/ansible-playbook --version
.venv/bin/ansible-lint --version
.venv/bin/python -c 'import yaml; yaml.safe_load(open("workspace.yml"))'
bash -n scripts/status
scripts/status
git diff --check
Review git remote get-url origin in the eight owned repositories and confirm
that their namespace/repository paths are preserved. Tooling works through the
venv; inventory parses and scripts/status still reports every checkout.
Commit
Workspace intent: Use Forge as the canonical workspace repository host.
Include the approved, related policy/planning edits if they are still
uncommitted; exclude unrelated edits. Local Git configuration is not a tracked
file and must be reported separately.
Stage 2: Install Released Seriatim Binaries
Completed: Seriatim release installation, explicit v1.4.0 selection and clean repeats passed on amd64, including production lint and syntax checks.
Required Policy Review
Immediately before this stage, read root AGENTS.md, docs/orientation.md,
docs/conventions.md, docs/ansible.md and docs/testing.md.
Owning Repository and Preconditions
ansible-role-seriatim. Stage 1 is complete; the role is independently usable
and its published v1.5.0 and test-selected v1.4.0 assets exist for both targets.
Required Changes
Apply the Shared Application-Role Contract. Keep default v1.5.0. Seriatim's production flow becomes platform assertion, binary parent directory, and release download. It has no configuration file to add.
Retain the existing explicit v1.4.0 version-selection case and its native
--version check; add/retain an immediate clean repeat after that selection.
The v1.4.0 binaries and SHA256SUMS were confirmed available during planning.
Remove its build-recovery wrapper/cases and ensure cleanup reapplies the new
release-install role rather than invoking any old source build.
Validation and Completion Criteria
From this repository:
bash -n tests/integration
tests/integration
git diff --check
Both default smoke and explicit version selection work; immediate repeats are clean. Version checks concern the requested value, not the current default. The role's three production operations implement the new public contract.
Commit
Role intent: Install Seriatim from upstream release binaries.
Stage 3: Install Released Audita Binaries
Completed: Audita v4.3.0 release installation and native configuration, import, selection and clean-repeat checks passed on amd64, with lint and syntax.
Required Policy Review
Immediately before this stage, read root AGENTS.md, docs/orientation.md,
docs/conventions.md, docs/ansible.md and docs/testing.md.
Owning Repository and Preconditions
ansible-role-audita. Stages 1–2 are complete; v4.3.0 assets are published.
Required Changes
Apply the Shared Application-Role Contract with default v4.3.0. Retain schema 3 configuration, imports, native PromptKit fields, caller-composed stages and configuration ownership/modes.
Replace the compiler-recovery section with ordinary explicit
audita_version: v4.3.0 selection, audita version verification and a clean
repeat, reusing its existing configuration arguments. Preserve the existing
minimal/representative/import tests and native offline validation.
Validation and Completion Criteria
From this repository:
bash -n tests/integration
tests/integration
git diff --check
The released executable validates the existing cases, supplied values retain their meaning and repeated convergence is clean. No compiler is needed.
Commit
Role intent: Install Audita from upstream release binaries.
Stage 4: Install Released Notarius v0.10.2 Binaries
Completed: Notarius v0.10.2 selection, native configuration, pipeline, import and clean-repeat checks passed on amd64, with lint and syntax.
Required Policy Review
Immediately before this stage, read root AGENTS.md, docs/orientation.md,
docs/conventions.md, docs/ansible.md and docs/testing.md.
Owning Repository and Preconditions
ansible-role-notarius. Stages 1–3 are complete. The roadmap records the
v0.10.2 release review and both published architecture assets.
Required Changes
Apply the Shared Application-Role Contract and set the default application version to v0.10.2. Retain version 6 configuration, native pipelines, imports, PromptKit fields, cache/debug choices and optional-field omission. Patch release adoption does not justify a template change.
Replace the final source-build recovery scenario's explicit v0.10.0 with
notarius_version: v0.10.2, the native notarius version assertion and a clean
repeat. Remove the wrapper, binary deletion and Go controls. Preserve the
existing configuration/pipeline/import and composition tests. Update current
upstream contract links to the v0.10.2 tag on Forge.
Validation and Completion Criteria
From this repository:
bash -n tests/integration
tests/integration
git diff --check
The requested v0.10.2 installs, existing native configuration/pipeline cases remain valid, and immediate repeats are clean. The mapping selects each architecture's own asset; amd64 execution is sufficient on this test host.
Commit
Role intent: Install released Notarius v0.10.2 binaries.
Stage 5: Install Released Scriptorium Binaries
Required Policy Review
Immediately before this stage, read root AGENTS.md, docs/orientation.md,
docs/conventions.md, docs/ansible.md and docs/testing.md.
Owning Repository and Preconditions
ansible-role-scriptorium. Stages 1–4 are complete; v0.16.0 assets exist.
Required Changes
Apply the Shared Application-Role Contract with default v0.16.0. Preserve native PromptKit configuration and preparation, imports, falsey values and configuration permissions.
Replace the compiler-recovery block with explicit
scriptorium_version: v0.16.0 selection, native scriptorium version
verification and a clean repeat. Remove binary deletion/Go wrappers. Preserve
its existing representative configuration and offline prompt preparation tests.
Validation and Completion Criteria
From this repository:
bash -n tests/integration
tests/integration
git diff --check
Native configuration/preparation still passes with the released binary and immediate repeats are clean. No provider inference is invoked.
Commit
Role intent: Install Scriptorium from upstream release binaries.
Stage 6: Install Released Narratio Binaries
Required Policy Review
Immediately before this stage, read root AGENTS.md, docs/orientation.md,
docs/conventions.md, docs/ansible.md and docs/testing.md.
Owning Repository and Preconditions
ansible-role-narratio. Stages 1–5 are complete; v4.0.0 assets exist.
Required Changes
Apply the Shared Application-Role Contract with default v4.0.0. Preserve the runtime identity, workspace/campaign directories, configuration path, permissions, native field interface and synthetic-secrets testing.
Keep the existing custom configuration path coverage in the former recovery
case. Select narratio_version: v4.0.0 explicitly, use native version text/JSON
verification and repeat with the same arguments. Remove its Go wrapper,
compiler controls and executable deletion. Retain imported, representative and
explicit-empty configuration cases and application-account validation.
Validation and Completion Criteria
From this repository:
bash -n tests/integration
tests/integration
git diff --check
Explicit version and custom configuration path work, the native configuration suite passes, secrets remain suppressed, and immediate repeats are clean.
Commit
Role intent: Install Narratio from upstream release binaries.
Stage 7: Compose and Publish the Binary-Installing Pipeline
Required Policy Review
Immediately before this stage, read root AGENTS.md, docs/orientation.md,
docs/conventions.md, docs/ansible.md and docs/testing.md.
Owning Repository and Preconditions
ansible-role-dnd-pipeline, with publication of completed application-role
commits. Stages 1–6 passed and their five role commits are clean and recorded.
Required Changes
- Push only the five validated application-role
maincommits to their Forge origins. Record their full commit IDs; verify they are accessible through the public origins before pinning them. No application-role release tag is created in this development feature. - In pipeline defaults and argument specifications, remove
dnd_pipeline_manage_build_dependencies,dnd_pipeline_go_snap_channelanddnd_pipeline_go_binary. Remove their forwarded parameters for every dependency inmeta/main.yml. Change only the application selectiondnd_pipeline_notarius_versionto v0.10.2; preserve the other versions. The downstream field-specific release-base variables remain available to inventory without adding five suite-prefixed aliases. - Extend the existing apt prerequisite task to install both
gitandacl, with its currentupdate_cache/cache_valid_time: 3600behavior. Preserve task-level become. Git now explicitly belongs to asset deployment. - Update all five
requirements.ymlsources to Forge and their versions to the full published Stage 2–6 commit IDs. Development manifests may use these immutable commits; future released manifests will select role release tags. Remove unusedcommunity.generalfromcollections/requirements.ymland retainansible.posix: 2.2.0. Do not remove unrelated ACL behavior. - Change campaign/prompt repository defaults, metadata links and current README
contract/install examples to Forge. Preserve campaign commit
488c2eb97b5c62efe51aa7af35a5ec9cb8b7a747and prompt commitd15a630ddfec18ab505df3ea5b076f6a0a5fd4b3, catalog choices, explicit prompt variants, overlays, model choices, credentials, runtime policy and publishing. - Adapt existing integration setup only where needed for the changed public dependency/bootstrap interface. Retain local asset fixtures and the current behavioral cases. The collection's next stage supplies the independent public asset-source check; do not duplicate its whole smoke matrix here. Document retired suite build controls and preserve existing installed tools.
Validation and Completion Criteria
From the pipeline repository:
bash -n tests/integration
tests/integration
git diff --check
All existing composed/override/empty-overlay/catalog behavior passes through native interfaces and every existing immediate repeat is clean. The harness installs the new role pins from public Forge origins; no old build-mode parameter remains forwarded. New pins identify the five validated commits.
Commit and Publication
Pipeline intent: Use released application binaries throughout the D&D suite.
After validation and commit, push this pipeline main commit to its canonical
origin. Record the full public commit ID for Stage 8. Do not tag a new release.
Stage 8: Assemble and Validate the Matching Collection
Required Policy Review
Immediately before this stage, read root AGENTS.md, docs/orientation.md,
docs/conventions.md, docs/ansible.md and docs/testing.md.
Owning Repository and Preconditions
ansible-collection-dnd. Stage 7 passed; its exact pipeline commit and all five
application-role commits are publicly accessible. Collection working tree is
clean before the subtree import.
Required Changes
-
Import the Stage 7 pipeline commit from the canonical public origin:
pipeline_revision=FULL_PUBLISHED_STAGE_7_COMMIT git subtree pull --prefix=roles/pipeline \ https://forge.maximumdirect.net/eric/ansible-role-dnd-pipeline.git \ "$pipeline_revision" --squashSubstitute the recorded full hash. Do not import from a sibling checkout or edit the imported subtree. If source changes are necessary, fix/validate/ publish the owning pipeline role first, then import the new exact commit.
-
Align root
requirements.ymlrole names, Forge URLs and full commit pins with the imported pipeline manifest. Align its native collection dependencies andgalaxy.ymltoansible.posix: 2.2.0only; removecommunity.general. Change metadata repository/issue URLs and current README/subtree examples to Forge. Retain packaging exclusions and FQCNrakestraw.dnd.pipeline. -
Keep
galaxy.ymlversion at 0.2.0 for this untagged development snapshot. Explain clearly that current source installs upstream application binaries, whereas immutable release 0.2.0 retains its older source-build implementation. Document the new Notarius selection and inventory migration for current source. Preservedocs/releases/v0.2.0.mdas historical evidence; do not claim the published archive has changed or invent a new release number. -
Keep the existing installed-artifact integration harness using isolated roles/collections paths, public pins and public asset origins. Adjust only affected references/bootstrap dependencies. Galaxy archive construction is packaging Ansible content, not compiling an application, and remains required.
Validation and Completion Criteria
From the collection repository:
bash -n tests/integration
tests/integration
git diff --check
Compare HEAD:roles/pipeline after the subtree merge with the Stage 7 source
commit's root Git tree; they must match. Review that root/imported role pins and
native collection requirements agree with each other and Galaxy metadata.
These are assembly checks, not new default-value snapshot tests.
The harness must freshly install public dependencies, build/install the
collection archive, resolve the FQCN, pass syntax/production lint, perform its
existing native configuration/overlay/campaign/party/recap checks, and report
an immediate repeat with changed=0 and failed=0. No live processing is added.
Commit and Publication
Keep Git subtree's generated history. Collection-owned change intent:
Assemble the suite with upstream release binary installation.
Push the completed collection main commits to its canonical origin. No
release tag, uploaded archive or operational consumer update is included.
Stage 9: Record Results and Prepare Independent Review
Required Policy Review
Immediately before this stage, read root AGENTS.md, docs/orientation.md,
docs/conventions.md, docs/ansible.md, docs/testing.md and docs/planning.md.
Owning Repository and Preconditions
Workspace root. Stages 1–8 passed and their repository commits/publication results are available. Do not rerun completed role suites merely for bookkeeping.
Required Changes
- Update
docs/status.md, the upgrade sequence, the feature's validation evidence and this plan's Progress Notes with full role/pipeline/collection commits, test results, public source availability and executed architecture. Keep Feature 0030in_progress, with implementation awaiting independent review. Do not mark itdoneor remove this plan yet. - Confirm active workspace canonical-source guidance agrees with the new role interface. Leave historical plans, old release evidence, upstream sources, asset authoring repositories and the deployment consumer unchanged.
- Report the retired build variables, absence of source-build paths, retained legacy source/tool installations and the unchanged application configuration. Identify consumer adoption and a subsequent collection release as follow-up.
Validation and Completion Criteria
From the workspace root:
.venv/bin/python -c 'import yaml; yaml.safe_load(open("workspace.yml"))'
bash -n scripts/status
scripts/status
git diff --check
Review relative links in changed documents and the diffs for unrelated edits.
Confirm each changed repository is clean after its commit and public main
identifies the intended commit. Audit active URL-bearing files in the changed
repositories for the old hostname; distinguish historical records/imported Git
history and stable module identities from current repository/download URLs.
No new permanent search-based test is needed for that review.
Commit and Publication
Workspace intent: Record the upstream binary installation migration.
Commit the final evidence/progress edits and push workspace main to its
canonical origin. Report hashes, validation and any outstanding issues.
Final Validation and Handoff
The completed role suites, pipeline suite and isolated collection harness are the cross-stage validation. Reuse successful evidence when content has not changed; a failure or later functional edit justifies rerunning its affected checks. No second full-matrix run, operational deployment, ansible-doc gate, negative platform matrix or module implementation test is required.
Summarize any deviation and any complexity added beyond the direct install contract, tying it to a roadmap acceptance criterion. Report executed architecture accurately. All selected architectures have upstream assets; local native execution does not claim an arm64 deployment was tested.
Leave the implementation available for independent review, with all changed repositories clean and published. Collection release publication and consumer adoption remain separate work.
Open Questions
None. The approved roadmap resolves installation policy, canonical repository host, application selections and supported architectures. Actual implementation commit IDs will be recorded as stages complete, not chosen as new design work.
Progress Notes
Roadmap and implementation plan approved on 2026-12-04. Execution is in progress.