Skip to content

Inverse operation Intent path #494

Description

@flyingrobots

Migrated from Method backlog

This issue was created from a legacy filesystem backlog card. GitHub Issues are now the live work tracker; repository docs remain Method evidence.

Source backlog: docs/method/backlog/up-next/PLATFORM_inverse-operation-intent-path.md
Original lane: up-next
Original legend: PLATFORM

Original backlog card

Inverse operation Intent path

Status: planned implementation slice.

Depends on:

Why now

Undo/unapply must not delete history or rewrite old provenance. The only lawful
write-side surface is to append a contract-defined inverse or compensating
operation through Echo admission.

Goal

Add the generic Intent-level path for requesting contract inverse admission
against an explicit target tick/receipt range and current basis.

Likely files touched

  • crates/echo-wasm-abi/src/kernel_port.rs
  • crates/warp-core/src/witnessed_suffix.rs
  • crates/warp-core/src/optic.rs
  • crates/warp-core/src/cmd.rs
  • crates/warp-core/src/provenance_store.rs
  • crates/warp-core/tests/**

Acceptance criteria

  • External unapply/undo submits an Intent against explicit target receipt/tick
    and current basis.
  • The contract or installed handler produces inverse Intent(s) or typed
    obstruction.
  • Original target ticks/receipts remain in provenance.
  • Resulting inverse tick/receipt links back to the original target evidence.
  • Missing inverse fragments, stale basis, compressed/cold unavailable history,
    or unmappable causal spans return typed obstruction/conflict posture.

Non-goals

  • Do not implement generic blind inverse of WarpOp as the user-facing model.
  • Do not delete or rewrite historical ticks.
  • Do not add app-specific text editing operations to Echo core.
  • Do not solve all retention/compaction policy here.

Test expectations

  • RED/GREEN fixture appends an inverse tick rather than removing history.
  • Provenance length increases.
  • Original tick remains present.
  • Missing inverse evidence obstructs deterministically.

Activity

  1. coderabbitai commented on Jun 1, 2026

    @coderabbitai
    Contributor
    🔗 Related PRs

    #329 - Stack Witness 0001 fixture-backed jedit walking skeleton [merged]
    #331 - feat(core): add optic invocation admission skeleton [merged]
    #347 - feat(core): add basis-bound optic admission shell [merged]
    #353 - Fix WASM application intent authority boundary [merged]
    #368 - feat(core): connect installed contract intent pipeline [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!

  2. added and removed on Jun 1, 2026
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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions