Skip to content

epic: release-agents - Deliver portable release and changelog agents #1546

Open
3 of 27 issues completed
Open

Description

@ashleyshaw

Epic Summary

Deliver portable Release preparation and Changelog operations in lightspeedwp/.github as the first delivery workstream of spec 020.

Release preparation is the first implementation priority. Final readiness requires verified Changelog evidence; priority does not authorise tagging, publication or deployment.

Preserve existing utilities, consumers, module boundaries, historical decisions and completed work. Reconcile specs 014, 016 and 020 explicitly rather than silently replacing earlier requirements.

Linked Child Issues/Stories/Tasks/PRs

1. Reconcile requirements and design

Use the existing specification PR and artefacts. Resolve requirement-count discrepancies, inherited decisions, package conventions, script-placement policy, test discovery and task allocation before declaring the plan implementation-ready.

Child coverage: #1553, #1554, #1555, #1556, #1557 and #3470.

Review the existing consolidation contribution through #3880. Do not assume its PR is merged or approve removal of compatibility surfaces merely by accepting consolidation.

2. Deliver bounded Release preparation

Complete the approved read-only slice in #1563 without expanding its four-file closure boundary.

Preparation must inspect the explicitly selected repository, follow its instructions, perform actual required checks and return attributable evidence without mutations. Missing authority, ambiguous versions, failed checks or unverified Changelog evidence must produce not-ready.

Use #936 for preparation-check coverage and #3882 as historical defect evidence, with corrective acceptance allocated to the appropriate delivery slice.

Resolve overlap with #1563 before assigning residual canonical packaging or migration work. Do not build a second Release agent or automatically merge the records.

3. Deliver repository-authorised WordPress adapters

Coordinate #1565 and #1566 as one coherent plugin/theme adapter, retaining distinct acceptance criteria.

Version sources and coupled fields must come from the target repository’s authority—not a blanket requirement to update VERSION, package metadata or every discovered version.

Approved edits require an exact target and source snapshot, displayed changes, matching approval digest, immediate revalidation, bounded writes and per-file recovery. Release preparation never edits the changelog.

4. Deliver portable Changelog operations

Use #2653 for inspection, drafting, validation, release-entry preparation and explicitly approved application.

Reuse the canonical validation engine with verified provenance, licence, dependency and drift evidence. Distinguish document validity from release readiness; an exit code, score or empty result is insufficient.

Preserve released history and links, ensure idempotence, and bind handoff evidence to the target, revision, content, version, date, engine pin and actual checks.

Use #3814 to establish skill history and capability gaps before proposing restoration. Reassess #2089 against current paths before proposing migration.

5. Verify integration and document supported behaviour

Use #1573 for current-revision, non-mutating preparation and Changelog handoff evidence. Separately allocate approved-edit recovery and external-host portability checks where its existing closure scope does not cover them.

Update documentation through #1568, #1569 and #1570, clearly distinguishing supported preparation from future publication workflows.

Deferred integration—not initial delivery authority

Retain the following obligations, but plan them separately from standalone preparation:

No workflow restoration, tag, push, publication, deployment or destructive compensation is authorised by this epic’s preparation scope.

Historical completed work

Preserve #1559, #1561 and #1567 as completed historical contributions. Their old progress text and checked assertions are not current runtime evidence and do not require reopening.

Acceptance Criteria

  • Requirements, inherited decisions and issue ownership boundaries are reconciled.
  • Each accepted delivery slice has current, attributable acceptance evidence.
  • Preparation and previews produce zero unintended mutations.
  • Approved edits are snapshot-bound, validated and recoverable.
  • Missing, stale or failed Changelog evidence blocks final readiness.
  • Script-placement, packaging, licence and test-discovery gates are explicitly resolved.
  • Compatibility surfaces remain until independent consumer/host evidence and separately approved retirement.
  • Every child is explicitly accounted for as delivered, historical or deferred; deferred publication work is not silently treated as completed.

Detailed source maps, R1–R10/C1–C10 safety requirements and preservation obligations remain authoritative supporting requirements. This description rewrite does not waive or approve them.

Definition of Ready (DoR)

  • Requirements and inherited decisions reconciled.
  • Delivery boundaries, dependencies and deferred work confirmed.
  • Applicable script-placement, packaging and test-discovery decisions resolved.
  • Maintainer review and acceptance-evidence allocation confirmed.

Definition of Done (DoD)

  • All acceptance criteria verified with current, attributable evidence.
  • Supported behaviour and remaining limitations documented.
  • Every child explicitly accounted for without silently closing historical or deferred work.
  • Maintainer approves the reviewed outcome; epic closure remains a separate decision.

Owner-selected script placement

Use agents/release-agent/scripts/ and agents/changelog-agent/scripts/ for package-owned executable code. This settles the intended layout, not its implementation. Prepare a consistent AGENTS.md amendment against the existing bounded-exception proposal before relocation.

Shared repository and CI tooling remains under root scripts/{category}/. Retain compatibility entry points until consumers, module loading, test discovery and host compatibility are verified and retirement is separately approved. This decision does not authorise repository edits or execution.

Historical release specification numbering — 19 October 2026 (superseded)

The following allocation and migration instruction is retained as dated history, not current execution authority. The intended specification number is 020, as recorded in the 28 October 2026 reconciliation below. The 19 October comments requesting migration to 022 are also historical and remain unchanged.

Portable Release and Changelog agents are assigned specification 022. The planned folder is .github/specs/022-portable-changelog-release-agents/, replacing .github/specs/020-portable-changelog-release-agents/ on the existing branch.

Database migration remains 020. Repository restructuring remains 021. This supersedes the earlier instruction to retain release specification 020; preserve dated historical evidence.

WordPress schema audit also claims 021, but its replacement number remains unresolved. Do not assign it 022 or another number by inference.

Reconcile the catalogue, internal links, feature-directory settings and active references. This records the requested migration—not completed repository changes or validation. Preserve task IDs and existing delivery boundaries.

Specification numbering reconciliation — 28 October 2026

The current intended specification is 020, using .github/specs/020-portable-changelog-release-agents/ on docs/portable-changelog-release-agents in the #3883. This supersedes the 19 October instruction to migrate portable Release and Changelog agents to 022. Preserve earlier dated decisions, evidence and task IDs as history.

The 28 October inspection recorded PR head 06f2675e8b9fe67b6a0a359fb110cf102e8e822d against base 47aee0722033f65d4d9d57429b410b518646b817. The directory audit reported expected 21, found 23; the reported numeric prefixes were 001–020, 023 and 024, with 021 and 022 absent. These are inspection results for those revisions, not a claim about a later head or an allocation of replacement numbers.

Reconciling the Linear descriptions does not restore missing directories, resolve competing allocations, correct the repository catalogue or establish successful current validation. Earlier passing validation remains dated evidence, not proof that the inspected head passes. Database-migration, repository-restructuring and WordPress schema-audit numbering require separate explicit resolution; no replacement allocation is made here.

This is documentation reconciliation only. No renumbering, directory creation or move, repository source or mapping-file edits, tests, CI reruns, CI bypass, validation relaxation, pin replacement, merge, implementation, publication or deployment is authorised or performed by this note. It does not resolve the directory-audit failure or establish review approval, release readiness or acceptance.

All other specification and delivery requirements remain unchanged: Release preparation first, blocking verified Changelog handoff, read-only versus separately approved edits, the bounded four-file preparation slice, preservation and compatibility obligations, deferred publication work, existing task IDs, acceptance criteria and approval gates.

Activity

  1. linear-code commented on Aug 5, 2026

    @linear-code
  2. github-actions commented on Aug 5, 2026

    @github-actions
    Contributor

    ✅ Template check passed after update. Thanks for fixing the issue body.

  3. github-actions commented on Aug 5, 2026

    @github-actions
    Contributor

    ⏱️ Aging and SLA annotation

    • Age: 7 day(s)
    • SLA state: SLA risk
    • Thresholds: warn at 7 days, breach at 14 days
    • Last updated: 2026-08-12T22:42:01.972Z

    Maintained by project-meta-sync workflow.

  4. 88 remaining items

  5. linear-code commented on Oct 19, 2026

    @linear-code

    @krugazul (@krugazul) — Portable Release and Changelog agents are assigned specification 022. Rename .github/specs/020-portable-changelog-release-agents/ to .github/specs/022-portable-changelog-release-agents/ on the existing branch and reconcile catalogue, internal links, feature-directory settings and active references. Database migration remains 020; repository restructuring remains 021. This supersedes the earlier instruction to retain release 020; preserve historical evidence and task IDs. Schema audit's competing 021 needs a separately agreed replacement number—none is assigned. This records the requested migration, not completed repository changes or validation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

Fields

Priority

Medium

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions