Skip to content

Feature: Publish canonical target-profile contract resources #158

Closed

Description

@flyingrobots

Cohesive Capability

Edict publishes canonical, content-addressable contract artifacts for every Edict-owned resource slot required by edict.target-profile/v1: canonical CBOR rules, component sandbox requirements, fuel accounting, diagnostics ABI, and deterministic-execution policy.

These are authority artifacts, not illustrative prose identifiers. Runtime-owned target-profile generators can accept exact trusted bytes and expected digests instead of blessing arbitrary caller bytes under an Edict coordinate.

Cross-repo prerequisite for flyingrobots/echo#652.

Scope

  • Define one authoritative byte artifact for each Edict-owned target-profile resource coordinate:
    • edict.canonical-cbor/v1
    • edict.wasm-component/v1
    • edict.fuel/v1
    • edict.diagnostics/v1
    • edict.determinism/v1
  • Give every artifact an exact repository source, canonical encoding, stable coordinate, and reproducible SHA-256 digest.
  • Publish executable checks that regenerate or verify all bytes and digests.
  • State how provider generators receive trusted artifacts without registry lookup or mutable-name resolution.
  • Add compatibility evidence showing a conforming target profile can bind the published resources.

Acceptance Criteria

  • Repeated generation produces byte-identical artifacts and digests.
  • Any semantic change moves the relevant digest.
  • Wrong coordinate, bytes, digest, or provenance rejects before a target profile is emitted.
  • The artifacts are runtime-neutral and contain no Echo-specific policy.
  • Documentation distinguishes semantic contract resources from provider-owned lowerer/verifier component selection.

Boundaries

  • No network registry, signatures, participant trust policy, or runtime execution.
  • Do not embed a particular Echo lowerer or verifier.
  • Do not make target-profile generators discover repository files implicitly.

Dependency Graph

Activity

  1. added
    enhancementNew feature or request
    release:target-profilesTarget-profile contract and authority source release work
    type: featureFeature issue for a cohesive capability
    state: frontierOpen and currently unblocked on the execution frontier
    domain: backendCompiler/backend implementation work
    on Jul 13, 2026
  2. coderabbitai commented on Jul 13, 2026

    @coderabbitai
    🔗 Related PRs

    #2 - docs: apply Phase 0 design review + nail five yellow-light joints [merged]
    #108 - Freeze canonical Target IR artifacts [merged]
    #132 - Lower obstruction requirements to Echo Target IR [merged]
    #144 - Add built-in lowerer compatibility seam [merged]
    #156 - Add generation provenance provider artifact kind [merged]


    📝 Issue Planner

    Check the box below or use the @coderabbitai plan command to generate an implementation plan and prompts that you can use with your favorite coding assistant.

    • Create Plan

    🧪 Issue enrichment is currently in open beta.

    You can configure auto-planning by selecting labels in the issue_enrichment configuration.

    To disable automatic issue enrichment, add the following to your .coderabbit.yaml:

    issue_enrichment:
      auto_enrich:
        enabled: false

    💬 Have feedback or questions? Drop into our discord!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    domain: backendCompiler/backend implementation workenhancementNew feature or requestrelease:target-profilesTarget-profile contract and authority source release workstate: activeCurrently being implemented or reviewedstate: frontierOpen and currently unblocked on the execution frontiertype: featureFeature issue for a cohesive capability

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions