Skip to content

Project completed ops follow-up proof onto parent links #237

Description

@JRedeker

Problem

A blocking outbound ops_followup_link remains at its creation snapshot (status: not_started) after the child ops_followup profile reaches complete. Parent adv_change_show therefore lacks status_source: child_profile, completion_proof: complete, and the child run evidence summary.

Observed in PokeEdge change fixCnCardDuplicatesPricing:

  • Parent link: ofl-NR_pCLq1sFAJ, relationship blocks, status not_started, no resolution.
  • Child: applyCnCorrection, ops_followup.status: complete.
  • Completed run: cn-recovery-9a3eade8, with approval, execute, health-check, cleanup evidence, completion signal, health verification, and rollback/cleanup disposition.
  • Acceptance review must block because parent compact proof is parent_snapshot/unverified despite authoritative child completion.

Expected

  1. Resolve outbound links from authoritative child profile state.
  2. Project resolution.source=child_profile, current child status, verified_at, completion signal, health verification, rollback/cleanup disposition, and bounded evidence summary.
  3. Render parent compact readback with status_source: child_profile and completion_proof: complete.
  4. Provide an audited typed repair/backfill path for already-stale links.
  5. Keep unreachable children fail-closed (unreachable/unverified), never infer completion heuristically.

Relevant source

  • plugin/src/tools/ops-followup-readback.ts
  • plugin/src/temporal/gate-readiness.ts
  • plugin/src/types/changes.ts (OpsFollowupResolutionSchema)
  • plugin/src/temporal/contracts.ts / workflows currently expose link-added signaling but no observed resolution update path.

Acceptance criteria

  • Child profile completion produces parent completion_proof: complete only when completion signal, health verification, and rollback/cleanup disposition exist.
  • Existing stale links can be repaired through a typed audited tool.
  • Acceptance/release checks consume child-profile proof and remain blocked for stale/unreachable/unverified links.
  • Tests cover completion, incomplete evidence, unreachable child, idempotent repair, and parent compact readback.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions