1
0
Fork 0
Code Issues Pull requests Projects Releases 2 Packages Wiki Activity Actions Pages

feat: add project adapter shadow contract

This commit is contained in:
Andraxion 2026-07-22 04:17:05 -04:00
parent 411f417670
commit 561d98f1f8
10 changed files with 532 additions and 21 deletions

View file

@ -4,6 +4,7 @@ from __future__ import annotations
from dataclasses import asdict, dataclass
from pathlib import Path
from typing import Protocol
@dataclass(frozen=True)
@ -118,6 +119,14 @@ class ProjectSnapshot:
revision: str
class ProjectService(Protocol):
"""Minimum immutable project boundary required by derived read services."""
descriptor: ProjectDescriptor
def load(self) -> ProjectSnapshot: ...
@dataclass(frozen=True)
class ContextEntry:
node_id: str