Skip to content

Adopt lossless repository identity across runtime consumers #1032

Description

@TheGreenCedar

Parent: #913

Outcome

Adopt the versioned lossless repository identity from #974 across every runtime consumer so broker, repair, sidecar, and plugin routing cannot collide case-sensitive repositories or non-default ports.

Acceptance criteria

  • Readiness-broker snapshots, locks, operation identities, and cleanup paths use the schema-v3 repository/workspace identity.
  • Ready/repair ownership uses filesystem-aware path equality and cannot match a distinct case-sensitive repository.
  • Plugin JavaScript request routing preserves non-default remote ports and case-sensitive path components; it remains request-scoped with no global active project.
  • Existing schema-v1/v2 state is reused only through a provably safe legacy alias; ambiguous/colliding state is isolated and rebuilt.
  • Portable worktree reuse retains one repository id with distinct workspace ids and explicit artifact-scope eligibility.
  • Cross-process A/B/A tests cover case-distinct Unix paths, Windows aliases, non-default ports, safe migration, and collision rejection.
  • Update identity architecture/operator docs and changelog.

Non-goals

Refs #899

Workstreams

Metadata

Metadata

Assignees

No one assigned

    Labels

    epic:grounding-runtimev0.14.3 stabilization and v0.15 grounding/runtime rewriteepic:security-trustSecurity, trust boundaries, local artifacts, and config mutationepic:sidecar-provenanceSidecar provenance, freshness, and manifest workphase:next-waveActive next implementation wavepriority:p1Release blocker or high-risk reliability/security issuerelease:v0.15.0Planned for the v0.15.0 Grounding Runtime Rewrite releasesaga:codestory-intelligenceCodeStory product-grade intelligence sagatype:epicParent issue for a roadmap epic or initiative

    Projects

    Status
    In Progress

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions