Skip to main content

Interface: RepositoryConfig

Defined in: packages/core/src/application/ports/repository.ts:4

Construction properties shared by all repository implementations.

Properties​

configPath​

readonly configPath: string

Defined in: packages/core/src/application/ports/repository.ts:28

Absolute path to the config directory.

Used for derived paths such as change locks, graph persistence, etc.


isExternal​

readonly isExternal: boolean

Defined in: packages/core/src/application/ports/repository.ts:22

Whether this repository points to data outside the current git repository.

External repositories may not be accessible to agents restricted to the current git root, and may in future be resolved over a network rather than the local filesystem.


ownership​

readonly ownership: "owned" | "shared" | "readOnly"

Defined in: packages/core/src/application/ports/repository.ts:14

The ownership level of this repository.

  • owned — full control, no restrictions
  • shared — writes allowed but recorded in the change manifest as touchedSharedSpecs
  • readOnly — no writes allowed; data may only be read, never modified

workspace​

readonly workspace: string

Defined in: packages/core/src/application/ports/repository.ts:6

The workspace name from specd.yaml (e.g. "billing", "default").