Repository navigation
Description
Parent/controller: #1932
Programme: #1907
Consumes delivered and existing authorities: PR #1642 / PR #1671 LspAnalysisInputIdentity; #1765 completed-analysis identity; #1617 typed command authority; and #2927 durable RepairAttemptId.
Sequence: ID01 — taxonomy and compatibility foundation only.
One-PR objective
Create one checked identity registry that names every governed RIPR identifier, its authority, semantic inputs, invalidation events, portability class, serialization surfaces, and compatibility posture.
This slice settles the vocabulary and relationship graph. It does not broadly migrate consumers or mint replacement identities for types already owned by another issue.
Registry model
Cover the applicable equivalent of:
CanonicalItemId
InstructionSemanticId
InstructionInstanceId
ActionId
EditInstructionId
AnalysisAttemptId
CompletedAnalysisSnapshotId
InputIdentity
DiagnosticResultId
ContinuationId
CommandId
RepairAttemptId
ReceiptId
For each identity retain:
canonical type/owner
portable | repository-bound | snapshot-bound | session-bound | transport-bound
semantic inputs
volatile inputs explicitly excluded
parent/child references
stability and invalidation law
allowed persistence/reuse
public/private/compatibility serialization fields
existing aliases and removal generation
Authority and compatibility rules
- Reuse existing canonical types and algorithms where they already exist; the registry records them rather than wrapping them again.
RepairAttemptIdis distinct from one analysis execution attempt and may span several completed snapshots.- A completed snapshot is distinct from scheduler generation and request order.
- Diagnostic result and continuation IDs remain transport/budget projections, never canonical-item identity.
- Display text, timestamps, PID, traversal order, client name, absolute checkout spelling, and Markdown do not enter semantic IDs unless a narrower accepted contract explicitly requires one.
- Compatibility fields are read-only aliases with a named removal boundary; they grant no authority beyond the canonical field.
- Contradictory duplicate owners fail the registry check instead of being reconciled by prose.
Required controls
- Every currently serialized governed
*_idfield has one registry disposition. - Two existing fields with the same name but different meaning remain separate.
- Two differently named fields with the same canonical authority are recorded as canonical plus compatibility alias, not two identities.
- Equivalent checkout roots preserve portable identities while concrete containment evidence remains separate.
- Scheduler generation, timestamp, PID, client name and display formatting are rejected from portable semantic inputs.
RepairAttemptIdcannot be registered as an analysis-attempt or snapshot alias.- Unknown new governed identity fields fail the registry check.
- Reordered registry entries produce byte-stable normalized JSON/Markdown.
Acceptance
- One machine-readable registry and one generated human relationship table agree exactly.
- Every identity in protocol(identity): separate semantic, snapshot, action, instruction, and edit instance identities across the agentic LSP #1932 has an owner, class, invalidation law and serialization posture.
- Existing concrete authorities are reused and competing wrappers are visible.
- Compatibility aliases have explicit schema/removal generations.
- The registry can be consumed by later compile-time migrations and conformance checks without parsing prose.
- No product actionability, currentness, transport behavior or support claim changes in this PR.
Landed: PR #4869 squash 3780480cd84ff109c5cdebdbf80813d6b85c97be (RIPR-SPEC-0182).
Proof
cargo test -p ripr --lib identity -- --nocapture
cargo test -p xtask identity_registry -- --nocapture
cargo xtask check-output-contracts
cargo xtask check-fixture-contracts
cargo xtask check-traceability
cargo xtask check-doc-artifacts
cargo xtask precommit
git diff --checkUse the actual accepted command names. The registry check must be network-free and deterministic.
Non-goals
- No broad DTO migration.
- No new LSP/MCP request or custom protocol.
- No action/edit/command execution.
- No replacement of slice(#1602 PR A): define an immutable completed-analysis identity and typed integration failures #1765, protocol: add a typed non-shell CommandSpec for verify, receipt, regeneration, and inspection routes #1617, slice(mcp): add stable pagination and exact complete-evidence retrieval for bounded results #1899, ux(repair): make agent repair a durable, resumable RepairAttempt #2927 or proof(rust): emit exact-head selector-level test receipts for cargo-allow requirement evidence #1665 authority.
- No release, publication, credential or milestone mutation.
Claim boundary
Completion establishes the governed identity vocabulary and migration map. It does not prove that every consumer has migrated or that any identity-bearing operation is correct.
Activity
EffortlessSteven commentedon Sep 29, 2026
Current proposition on
origin/main(f6aa0ab8cbfdf0945a9d3cacc5c6014e646f7ef9, 2026-09-29):#4804,identity registry,governed identity,ID01,identity taxonomy,compatibility map).LspAnalysisInputIdentity,RepairAttemptId, diagnostic result IDs, agent-protocolsnapshot_id/continuation_id,CommandSpec.command_id) but no machine-readable identity registry, generated relationship table, or registry check.Original claim has not landed. Next: one focused PR that records those existing authorities, adds discriminating edge-case tests, and modularizes the registry/checker around that proof.
EffortlessSteven commentedon Sep 29, 2026
Current truth after merging
origin/main(1b133c68d) into PR #4869:main.docs/specs/RIPR-SPEC-0182-governed-identity-registry.md). Vocabulary/relationship graph only; refactor(identity): type canonical-item and instruction semantic/instance identities #4805–test(identity): enforce typed-ID conformance and retire governed string aliases #4809 remain held.68d4a121155b7a954c64eee43a162e8081b79dd9oncursor/identity-registry-4804-461e.EffortlessSteven commentedon Sep 29, 2026
Acceptance for ID01 is complete on
origin/main.3780480cd84ff109c5cdebdbf80813d6b85c97bedocs/specs/RIPR-SPEC-0182-governed-identity-registry.md). Main independently assigned RIPR-SPEC-0181 to feat(repair-cage): validate inline-unit edits against an exact test-module region #4783.identity_field_dispositionfor later compile-time consumers; no actionability/currentness/transport/support-claim changes.merge origin/main: keep identity registry as RIPR-SPEC-0182; pairing …
fix(eval): retake RIPR-SPEC-0183 after landed identity registry
merge(main): keep landed RIPR-SPEC-0182 identity registry; retain 018…
merge(main): keep landed SPEC-0182 registry and number store identity…
test(lsp): pin identity-law edges and share fingerprint authority (#1932
feat(eval): preregister matched RIPR intervention-study schema (#4649) (