Skip to content

feat(reconciliation): add controlled resume gate - #34

Merged
Kucell merged 5 commits into
mainfrom
feat/rdg-ms009-reconciliation-gate
Oct 6, 2026
Merged

Kucell merged 5 commits into
mainfrom
feat/rdg-ms009-reconciliation-gate

Conversation

@Kucell

@Kucell Kucell commented Oct 6, 2026

Copy link
Copy Markdown
Owner

Purpose

Implement Remote & Detached Governance MS-009 — Reconciliation & Controlled Resume approved by D-RDG-MS009-20261006.

Architecture

This PR introduces one read-only Reconciliation Gate. It does not repair state.

collect facts
  -> compare expected vs observed
  -> classify drift / gates / warnings
  -> disposition

Disposition precedence:

BLOCKED > RECONCILIATION_REQUIRED > DEGRADED > READY

Scope

  • add lib/reconciliation/index.js;
  • freeze ReconciliationResult shape;
  • separate drift[] from governance gates[];
  • support provider observation states: observed / unavailable / unknown;
  • compare governance snapshot expected/actual revision;
  • compare WorkspaceIdentity expected head vs observed product head;
  • compare ChangeRequest revision vs workspace head;
  • evaluate Decision / Waitpoint / Lock blockers;
  • evaluate failed CI/check summaries;
  • support optional capability degradation vs required capability blocking;
  • expose canResume();
  • add focused conformance tests to M-040 validation.

Safety

  • read-only pure engine;
  • no GovernanceStore mutation;
  • no workspace checkpoint mutation;
  • no lock release;
  • no Decision/Waitpoint resolution;
  • no branch/rebase/merge;
  • no provider network implementation.

Governance

@Kucell
Kucell marked this pull request as ready for review October 6, 2026 08:25
@Kucell
Kucell merged commit b51c9df into main Oct 6, 2026
2 checks passed
@Kucell
Kucell deleted the feat/rdg-ms009-reconciliation-gate branch October 22, 2026 06:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant