Skip to content

feat(temporal): ReconcileOp composite (cloud→code PRs) #123

Closed

Description

@lex00

The cloud → code workflow as an Op composite — keep source tracking reality by opening PRs when live drifts from declarations. Mirrors the existing WatchOp shape.

Tasks

  • ReconcileOp({ name, env, schedule, onDrift, scope }) returning an Op (plus a TemporalSchedule when scheduled).
  • Phases: snapshot → plan → regenerate (live import) → open PR.
  • scope: { owned: true } restricts reconciliation to chant-owned resources.
  • Runs on the local Op executor for one-shot chant run; on Temporal when scheduled (the cron + run history are the value, as with WatchOp).

Depends on

Acceptance

  • chant run <reconcile-op> opens PRs for drift; the same composite on a Temporal cron runs continuously.

Part of #112

Activity

  1. added
    enhancement
    on Jun 1, 2026
  2. added a commit that references this issue on Jun 2, 2026
    3fa5e6a
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

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions