Skip to content

The devlore provider: deploy, upgrade, reconcile and decommission on a devlore package #877

Description

@David-Noble-at-work

What it is

A provider named devlore with four methods, deploy, upgrade, reconcile and decommission, on a package
resource whose identity is the registry package name, not a purl. Each method's planner is a specialized
op.Planner that returns a subgraph: the package's pipeline for that action, phases in the canonical order
of 2.5-lifecycle-pipeline-construction.md, constructed the way lore.Planner.buildPackage constructs the
deploy pipeline today, minus the walk over deploy only (the finding on #71).

Why its own provider, and not the pkg provider

Ruled 2026-09-09, on #446 and in the #814 review: lore is a tool the pkg provider uses, not a target it
routes to. A native package's lifecycle is one manager verb. A devlore package's is a pipeline with phases
the manager knows nothing about. Making the second look like the first is the synthetic wrapper retired the
same day, from the other direction. So this set of operations is its own provider, planned through the same
door as everything else, plan.Provider.Plan("devlore.deploy", ...), and never hidden behind
pkg.Provider.

writ operation devlore package native package
deploy devlore.deploy: prepare, install, provision, verify pkg.install
upgrade devlore.upgrade: prepare, upgrade, migrate, verify pkg.upgrade
reconcile devlore.reconcile: scan, repair, verify pkg.observe, pkg.install
decommission devlore.decommission: unprovision, uninstall, cleanup pkg.remove

Who calls it

What exists already

  • lore.Planner.buildPackage, applyPhaseActions, phaseSubgraph: the planner's body.
  • lorepackage.Registry.Resolve, PhaseOrder, DiscoverPhaseScripts: the resolve step and the cascade.
  • The per-phase planning runtime with plan, platform and ui injected (2.5 §Construction).

Evidence of completion

Related: #553 (the hook that declares a package's missing pieces from a manifest), #551 (one vocabulary),
#784 (resolve and purl forms), #71 (the lifecycle commands).

Plan and design documents

Kind Document
Plan no branch has opened; the plan arrives with it
Design docs/architecture/2.5-lifecycle-pipeline-construction.md

Activity

  1. David-Noble-at-work commented on Sep 10, 2026

    @David-Noble-at-work
    ContributorAuthor

    Shape ruled 2026-09-09 in the #814 review, so this provider adds a sibling rather than reshaping: a scope's package
    invocations are two flow.subgraph units of the scope graph, by kind. #814 builds the native one, pkg.install
    one per product. This provider adds the devlore one, devlore.deploy one per package, and the edge that orders
    native first, so a pipeline can rely on the manager-installed tools of its own scope. Within each, contribution
    order.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions