Skip to content

Import: fail closed instead of staging against the default worldline (#892) - #899

Merged
flyingrobots merged 3 commits into
mainfrom
fix/import-fails-closed
Oct 16, 2026
Merged

flyingrobots merged 3 commits into
mainfrom
fix/import-fails-closed

Conversation

@flyingrobots

Copy link
Copy Markdown
Owner

Closes #892. Part of #891 (Paper VII conformance remediation); the owner ruling there classifies this as incorrect, not incomplete.

What changes

dispatch_intent routed every witnessed-suffix import intent to DefaultWriter { self.default_worldline }, ignoring the request's target_worldline_id. The import rule then recorded Staged without the bundle and basis checks import_suffix performs, so a forged bundle was staged where the library obstructs it. That is evidence under the wrong causal coordinate.

Per the ruling, the wired import now fails closed. After validating the envelope, dispatch_intent returns NOT_SUPPORTED and ingests, stages and attributes nothing. It never substitutes the default worldline. A malformed envelope is still INVALID_INTENT. The library evaluator is unchanged and is not reachable from dispatch.

This does not implement transport or import. It is gated on flyingrobots/continuum#80 (comparable-basis transport), per the ruling.

Witness (guarded worker)

import_suffix_dispatch_fails_closed_until_transport_exists: dispatch is refused with NOT_SUPPORTED; after running the scheduler, the head has not advanced, and neither the ingress event nor a staged result node exists.

Variant Result
main's dispatch, same test fails (the import is accepted)
This branch passes

It replaces import_suffix_intent_enters_ingress_and_scheduler, which asserted the misattributed staging. Full chain: featured 1861, default 1381 and workspace 981 tests pass; warp-wasm 55 pass; clippy (all six configurations, plus warp-wasm all targets), fmt, rustdoc and docs-model checks are clean.

Documentation

docs/architecture/continuum-transport.md (current status of the import flow), CHANGELOG (Fixed).

🤖 Generated with Claude Code

…892)

dispatch_intent routed every witnessed-suffix import intent to the kernel's
default worldline, ignoring the request's receiving worldline, and the import
rule recorded Staged without the bundle and basis checks import_suffix
performs. Evidence was produced under the wrong causal coordinate.

Until comparable-basis transport exists (flyingrobots/continuum#80) and the
import is dispatched to its named receiving worldline, dispatch refuses import
intents with NOT_SUPPORTED after validating the envelope. Nothing is ingested,
staged or attributed; a malformed envelope is still INVALID_INTENT.

Witness import_suffix_dispatch_fails_closed_until_transport_exists fails on
main (the import was accepted and staged) and passes now.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Oct 16, 2026 •

Copy link
Copy Markdown
Contributor

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 26 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

⚙️ Run configuration
  • Configuration used: Repository: flyingrobots/echo/.coderabbit.yaml
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: 7ff935da-e4c1-430f-98fe-cb5543e676dc
📥 Commits

Reviewing files that changed from the base of the PR and between 4575b7f and 6ba3c10.

📒 Files selected for processing: 3
  • CHANGELOG.md
  • crates/warp-wasm/src/warp_kernel.rs
  • docs/architecture/continuum-transport.md
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 16, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-16T06:39:48.554322Z 6ba3c10 New commits
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@flyingrobots
flyingrobots merged commit 4245c76 into main Oct 16, 2026
43 checks passed
@flyingrobots
flyingrobots deleted the fix/import-fails-closed branch October 16, 2026 06:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Import: fail closed instead of staging against the default worldline

1 participant