Skip to content

feat(project-sdk): freeze remote governance contracts - #24

Merged
Kucell merged 10 commits into
mainfrom
feat/rdg-ms001-contracts
Oct 6, 2026
Merged

Kucell merged 10 commits into
mainfrom
feat/rdg-ms001-contracts

Conversation

@Kucell

@Kucell Kucell commented Oct 6, 2026

Copy link
Copy Markdown
Owner

Purpose

Implement Remote & Detached Governance MS-001 contract freeze approved by D-RDG-MS001-20261006.

This PR is intentionally contract-only. It does not implement remote storage, provider adapters, migration I/O, remote writers, or Dashboard changes.

Scope

  • extend existing cortex.project.json / @cortex-agent/project-sdk instead of creating a second project manifest;
  • add optional governance binding to the descriptor;
  • add GovernanceStore capability vocabulary;
  • add local/remote ExecutionWorkspaceIdentity contract;
  • add durable/derived/ephemeral StateClass;
  • add RevisionToken / RevisionConflict;
  • separate GovernanceLockClaim from RuntimeResourceLease;
  • freeze rebind transaction states;
  • add focused conformance tests;
  • add architecture baseline documentation.

Architecture constraints

  • existing descriptors without governance remain valid;
  • project_id stays the stable Project Identity;
  • no GitHub/GitLab/Gitee-specific API leaks into the core contract;
  • worktree_path is required only for local worktrees;
  • remote shared writes must surface revision conflicts rather than silently overwrite;
  • host-local process/resource leases remain ephemeral and are not Git-backed governance;
  • no two writable authoritative governance sources are permitted during rebind.

Not in this PR

  • Git-backed GovernanceStore implementation;
  • Git provider adapters;
  • network calls;
  • repository creation;
  • init/rebind CLI;
  • migration execution;
  • Management API remote project resolution;
  • MCP/Dashboard remote mutations;
  • remote /parallel writes.

Governance

@Kucell
Kucell marked this pull request as ready for review October 6, 2026 05:45
@Kucell
Kucell merged commit ac8905c into main Oct 6, 2026
3 checks passed
@Kucell
Kucell deleted the feat/rdg-ms001-contracts branch October 22, 2026 06:53
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