diff --git a/docs/roadmap/application-upgrade-sequence.md b/docs/roadmap/application-upgrade-sequence.md index cea5952..dfedc46 100644 --- a/docs/roadmap/application-upgrade-sequence.md +++ b/docs/roadmap/application-upgrade-sequence.md @@ -30,7 +30,8 @@ match the other three targets. [Feature 0030](features/0030-upstream-release-binaries.md) has implemented and published upstream release binary installation, including Notarius v0.10.2. The role, pipeline and collection suites passed on amd64; independent review -is next. A new collection release and consumer adoption remain pending. +found no required fixes and the feature is complete. Collection patch release +0.2.1 is being prepared; consumer adoption remains pending. All four standalone adoptions are complete after independent review, and their reviewed role commits are pushed. Coordinated assets/suite integration is diff --git a/docs/roadmap/features/0030-upstream-release-binaries.md b/docs/roadmap/features/0030-upstream-release-binaries.md index db33ace..615ef50 100644 --- a/docs/roadmap/features/0030-upstream-release-binaries.md +++ b/docs/roadmap/features/0030-upstream-release-binaries.md @@ -1,6 +1,6 @@ # Feature 0030: Install Upstream Release Binaries -Status: in_progress +Status: done Roadmap approved: 2026-12-04 @@ -209,7 +209,7 @@ was replaced, source was built or provider was called during this review. ## Implementation and Validation Evidence -Implementation is published and awaiting independent review. The application +Implementation is published and passed independent review. The application roles install selected upstream binaries via `get_url` and published SHA256SUMS; their former repository, source directory, dependency-management and Go variables are retired. Existing source trees and Go/Git installations remain unmanaged. @@ -240,3 +240,17 @@ host configuration. Its test play accepts an optional SSH command so this test could use the existing identity and known-hosts file without provisioning credentials. Consumer adoption and a new collection release are separate work; no operational deployment, live provider invocation or S3 transfer was made. + +## Review and Closeout + +Closed on 2026-12-04 after independent review found no required fixes or +unintended strengthening of requirements. No remediation document was needed. +The fresh collection installed-artifact suite passed with the published SSH +role pins, production lint and native configuration/overlay/campaign/party/recap +checks. Both convergence runs reported `ok=49 changed=0 failed=0`. Manifest +consistency, exact subtree equality, unchanged application templates and +canonical owned origins were verified. Native execution was amd64 only. + +The completed staged plan was retired; Git history preserves its execution +record. The user separately authorized collection patch release 0.2.1. Consumer +adoption and operational deployment remain outside this closeout. diff --git a/docs/roadmap/implementation.md b/docs/roadmap/implementation.md index 6f9d572..8afd236 100644 --- a/docs/roadmap/implementation.md +++ b/docs/roadmap/implementation.md @@ -1,690 +1,12 @@ -# Implementation Plan 0030: Install Upstream Release Binaries +# Implementation Plan -Status: in_progress — approved for implementation +No implementation plan is active. -Implementation plan approved: 2026-12-04 +[Feature 0030: Upstream release binaries](features/0030-upstream-release-binaries.md) +is complete after independent review with no required fixes. Its durable +roadmap records the reviewed compatibility set and validation evidence; Git +history preserves the executed nine-stage implementation plan. -Target executor: GPT-5.6-Terra - -Feature roadmap: [Feature 0030](features/0030-upstream-release-binaries.md) - -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 `main` branches; - no force push, new tag, Gitea release, uploaded artifact or rewritten history. - This planning pass performs none of that publication. -- Use `ssh://git@forge.maximumdirect.net:22222/eric/.git` for Git - clone/fetch/push URLs, role dependency sources, workspace inventory remotes, - asset repository defaults and subtree operations. Use explicit URI syntax - because Forge SSH uses port 22222. Retain HTTPS for binary/checksum downloads, - APIs, browser-facing metadata and documentation links. -- Use existing SSH authentication and host configuration. Role/collection - installation and subtree operations need SSH access from the controller; - campaign/prompt/catalog Git tasks need SSH access from the managed host. - Document these requirements without adding credential provisioning to this - feature. Never display credentials. Here, public source availability means - the commits are published in the canonical repositories and accessible over - SSH; anonymous HTTPS Git access is not a validation gate. If publication is - unavailable, retain validated commits and report the unsatisfied integration - step; 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-dnd` deployment, - 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 ``: - -1. Keep `_version` and `_binary_path`; add - `_release_base_url` with default - `https://forge.maximumdirect.net/eric//releases/download`. - The selected version includes its `v` prefix. Remove `_repository_url`, - `_source_dir`, `_manage_build_dependencies`, - `_go_snap_channel` and `_go_binary` from defaults and argument - specifications. Describe the version as an upstream release tag. Do not - retain ignored compatibility aliases or introduce an install-mode switch. -2. Retain platform validation. Keep/create the binary parent directory with - `ansible.builtin.file`, `become: true`, root ownership and mode `0755`. - Remove source parent/checkout management, Git/Go package tasks, binary stat, - build command/environment, and the old source/binary metadata loop. -3. Install the raw executable with one `ansible.builtin.get_url` task using - `become: true`, the existing binary path, `owner: root`, `group: root`, - `mode: "0755"`, and these URL expressions: - - ```yaml - url: "{{ _release_base_url }}/{{ _version }}/-{{ _version }}-linux-{{ {'x86_64': 'amd64', 'aarch64': 'arm64'}[ansible_facts.architecture] }}" - checksum: "sha256:{{ _release_base_url }}/{{ _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 `force` and 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](https://docs.ansible.com/projects/ansible/latest/collections/ansible/builtin/get_url_module.html). -4. 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. -5. Remove the standalone role's now-unused `collections/requirements.yml` - (its only dependency is Go's `community.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. -6. 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. -7. 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 of `get_url`. Exercise an existing installation when - available; no fake/corrupt binary or fresh source build is needed as setup. -8. In each stage run `bash -n tests/integration`, the complete updated - `tests/integration`, and `git diff --check` from 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:** Original Forge hostname migration, venv tools, inventory -parsing, status script and whitespace validation passed. The subsequent SSH -transport revision requires the focused follow-up described under Stage 7; -completed application-role stages do not need to be repeated. - -**SSH follow-up completed:** Inventory and eight owned origins use canonical SSH; -workspace tooling, inventory parsing, status and whitespace checks 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 `remote` in `workspace.yml`, including read-only - reference entries, to `ssh://git@forge.maximumdirect.net:22222/eric/.git`. - Preserve repository 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 `origin` fetch URLs for the workspace and the seven owned Ansible - repositories to their corresponding canonical SSH URL. Preserve unrelated - remotes and authentication. Do not modify origins in application, content or - deployment-consumer checkouts. -- Mark Feature 0030 and this plan `in_progress` when 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: - -```sh -.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: - -```sh -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: - -```sh -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: - -```sh -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 - -**Completed:** Scriptorium v0.16.0 selection, native configuration, offline -prompt preparation, imports and clean repeats 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-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: - -```sh -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 - -**Completed:** Narratio v4.0.0 selection, custom path, native configuration, -synthetic secrets 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-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: - -```sh -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 - -**Completed:** SSH role dependencies and the complete pipeline integration -passed on amd64, including native checks, overrides, catalog and clean repeats. - -### 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. - -**Resume after the approved SSH revision:** Preserve the completed stage hashes -and existing Stage 7 work. Apply Stage 1's revised SSH inventory/origin changes -as a focused workspace follow-up, recording a workspace commit after its -existing validation. Then finish the Stage 7 manifest/asset/default/documentation -changes below and rerun the pipeline integration. Do not rerun completed binary -migration suites merely because repository transport changed. - -### Required Changes - -1. Push only the five validated application-role `main` commits 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. -2. In pipeline defaults and argument specifications, remove - `dnd_pipeline_manage_build_dependencies`, `dnd_pipeline_go_snap_channel` and - `dnd_pipeline_go_binary`. Remove their forwarded parameters for every - dependency in `meta/main.yml`. Change only the application selection - `dnd_pipeline_notarius_version` to v0.10.2; preserve the other versions. - The downstream field-specific release-base variables remain available to - inventory without adding five suite-prefixed aliases. -3. Extend the existing apt prerequisite task to install both `git` and `acl`, - with its current `update_cache`/`cache_valid_time: 3600` behavior. Preserve - task-level become. Git now explicitly belongs to asset deployment. -4. Set each `requirements.yml` role `src` to - `ssh://git@forge.maximumdirect.net:22222/eric/ansible-role-.git`, retaining - `scm: git`, and its version to the corresponding full published Stage 2–6 - commit ID. Development manifests may use these - immutable commits; future released manifests will select role release tags. - Remove unused `community.general` from `collections/requirements.yml` and - retain `ansible.posix: 2.2.0`. Do not remove unrelated ACL behavior. -5. Set campaign/prompt Git repository defaults to the canonical SSH URLs. - Keep a selected reference catalog's caller-supplied URL overrideable, while - using SSH in its Git examples. Update current README clone/install examples - to SSH; metadata/browser/contract links use HTTPS on Forge. Document managed - host SSH access for asset checkouts. Preserve campaign commit - `488c2eb97b5c62efe51aa7af35a5ec9cb8b7a747` and prompt commit - `d15a630ddfec18ab505df3ea5b076f6a0a5fd4b3`, catalog choices, explicit prompt - variants, overlays, model choices, credentials, runtime policy and publishing. -6. 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: - -```sh -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 - -**Completed:** The imported pipeline tree matches its published source; the -isolated collection build, SSH dependency/asset installation, native checks, -production lint and clean repeat passed on amd64. - -### 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: - - ```sh - pipeline_revision=FULL_PUBLISHED_STAGE_7_COMMIT - git subtree pull --prefix=roles/pipeline \ - ssh://git@forge.maximumdirect.net:22222/eric/ansible-role-dnd-pipeline.git \ - "$pipeline_revision" --squash - ``` - - Substitute 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.yml` role names, Forge SSH URLs and full commit pins - with the imported pipeline manifest. Align its native collection dependencies - and `galaxy.yml` to `ansible.posix: 2.2.0` only; remove `community.general`. - Change metadata repository/issue URLs and current README/subtree examples to - Forge, using SSH for subtree/Git installation commands and HTTPS for web - links. The source collection install form is - `git+ssh://git@forge.maximumdirect.net:22222/eric/ansible-collection-dnd.git,COLLECTION_COMMIT`. - Retain packaging exclusions and FQCN `rakestraw.dnd.pipeline`. -- Keep `galaxy.yml` version 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. Preserve `docs/releases/v0.2.0.md` as 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: - -```sh -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 - -**Completed:** Published commit and validation evidence, architecture, transport -and follow-up work are recorded for 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 0030 `in_progress`, with implementation awaiting independent - review. Do not mark it `done` or 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: - -```sh -.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. - -Stages 1–6 are complete. The published role commits are Seriatim -`17aeb4f22072350856643a0586d697502d1d439d`, Audita -`c4c39d907afd491b977f7ddfd89918f43a49aa69`, Notarius -`c0e94563c74f747c42925610eb3e585d63f64318`, Scriptorium -`53741d8aaff34c3e6040c25db282d447d27e34c6`, and Narratio -`fa65335006f00cb5f86758aceb8608a41bc9f0ab`. Each role suite passed on amd64. -Pipeline integration passed using SSH role dependencies; earlier HTTPS Git -attempts encountered HTTP 503. Binary and checksum downloads retain HTTPS. - -Final evidence: pipeline `bf52bdb426b62eed3833dc04533eeabc6377c2c9` and -collection `6d416d132c936b09d94007911c1c73b2a8db7057` are published; all role, -pipeline and collection suites passed on amd64. Collection's subtree matched -the published pipeline tree. Native arm64 execution was not performed. +Collection patch release 0.2.1 is being prepared at the user's request. Consumer +adoption remains separate work in the [upgrade sequence](application-upgrade-sequence.md). +Agree on the next scope before preparing a new staged plan here. diff --git a/docs/status.md b/docs/status.md index 32b3feb..b0000a5 100644 --- a/docs/status.md +++ b/docs/status.md @@ -5,9 +5,9 @@ Last updated: 2026-12-04 Current milestone: Operational D&D pipeline deployment Current focus: [Feature 0030](roadmap/features/0030-upstream-release-binaries.md) -implementation is published and awaiting independent review. All five role -suites, pipeline integration and isolated collection artifact checks passed on -amd64. Collection release and consumer adoption remain separate follow-up work. +is complete after independent review with no required fixes. Collection patch +release 0.2.1 is being prepared at the user's request. Consumer adoption remains +separate work. No implementation plan is active. | ID | Deliverable | Owner | State | Evidence or next step | | --- | --- | --- | --- | --- | @@ -50,7 +50,7 @@ amd64. Collection release and consumer adoption remain separate follow-up work. | F0027 | Adopt Narratio v4.0.0 | Narratio role and workspace | done | Public role `2a4e82c` passed independent review with no findings and a fresh full offline suite; [completion evidence](roadmap/features/0027-narratio-v4-adoption.md); suite unchanged | | F0028 | Integrate the native suite and compatible D&D assets | Pipeline role, campaigns, prompt library and workspace | done | Public pipeline `63f1dd4`, campaigns `488c2eb` and prompts `d15a630`; review finding resolved; full offline suite and five clean repeats passed; [completion evidence](roadmap/features/0028-coordinated-native-suite-integration.md#review-and-remediation) | | F0029 | Assemble the native suite collection | Collection and workspace | done | Assembly `afa8be3`, followed by release `0.2.0` at `155e05a` with tag-pinned pipeline `773b1fa`; public archive installation, native artifact integration and clean repeat passed; [release evidence](roadmap/features/0029-native-collection-assembly.md#collection-020-release-follow-up) | -| F0030 | Install upstream release binaries | All application roles, pipeline role, collection and workspace | in_progress | Published pipeline `bf52bdb`, collection `6d416d1`; role suites and assembled integration passed; awaiting independent review | +| F0030 | Install upstream release binaries | All application roles, pipeline role, collection and workspace | done | Independent review found no required fixes; fresh installed-artifact integration and both clean convergence runs passed; [completion evidence](roadmap/features/0030-upstream-release-binaries.md#review-and-closeout) | | R0001 | Simplify completed standalone-role test suites | workspace and standalone roles | done | Role commits `e08c63c`, `d2d0b9d`, and `cfecf37` passed implementation and independent review | ## Updating This File