Define typed immutable content references and semantic value identity

Open
#291 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
8/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Active
Tech stack
rust
Domain
backend, data

Research direction

This is a design-level roadmap item with a hard prerequisite (amblicit#290) still unmerged, so there is no concrete file or failing test to start from. Read the linked roadmap issue and #290 first to learn the semantic-versus-storage identity rules, then check the Edict Core IR and canonicalization sources in this repository for where digests and typed links would live. Done would mean frozen independent vectors and refusal paths for unsupported targets, which first requires the spec to be agreed upon.

Written by the indexing model from the issue text.

Description

enhancement
.dag: issue-dag/2
.id: flyingrobots/amblicit#291
.kind: task
.type: feature
.blocked_by: [flyingrobots/amblicit#290]

Roadmap: flyingrobots/amblicit#288. Executable issue: one coherent, independently mergeable PR.

Outcome

Authored immutable values have a portable semantic digest, bounded typed resolution and normalized ensure obligations distinct from target storage IDs.

Scope

  • Specify domain/version/type/encoding inputs for semantic value identity and the explicit relation to Echo ContentAddressV1.
  • Implement typed immutable links, bounded resolution outcomes and ensure candidates; inert mutable names remain data until an explicit witnessed read.
  • Represent complete new-parent/new-child candidate closure and acyclicity without treating digest equality as occurrence identity.

Exclusions

  • Echo storage enforcement, garbage collection, digest-based recovery of deleted data, and incarnation references.

Acceptance checks

  • Frozen independent vectors distinguish type/domain/version and target warp identity.
  • Wrong type, malformed/unavailable content, cyclic links and conflicting definitions under one digest are distinguishable and rejected at the proper boundary.
  • Equal ensures coalesce physically but retain performed-work charges; shared content at two paths keeps both occurrences.
  • Unsupported targets refuse the capability.

Required prior merges

These are contract prerequisites, not scheduling or shared-file preferences. Native blocked_by relationships carry the same edges.

Safe state after merge

The new portable contract and compiler capability are additive; existing target-scoped IDs are not relabeled as semantic digests.

Evidence and baseline

  • Collections v2 E4; Contextual Claims motivates occurrence/context preservation, not a new production dependency.

This is a plan, not a claim that the behavior already exists. Before implementation, refresh the relevant source and artifact pins. Preserve compatibility or explicitly version and refuse unsupported capabilities.

Closure evidence

Link the implementation PR using GitHub's closing reference for this exact issue. Record meaningful regression evidence, required repository checks and independent review, exact source/component identities where applicable, and the resulting mainline integration commit. A compiler-only result cannot stand in for verifier/publication/runtime evidence. Keep the live status here rather than in a parallel local checklist.

Dominant language
Rust
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from flyingrobots/edict

All issues in flyingrobots/edict

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.