Skip to content

Use automatic execution routing in the transcript composer #52

Description

@R055LE

Problem

The composer still exposes manual Run isolated, and the current warning asks the user to make a safety decision for common script blocks.

Contract

Apply #51's route at Send. Show the chosen mode before execution when useful and on each card; ask once for genuinely ambiguous input, with an accessible persistent/isolated choice. Keep an advanced override for exceptional cases, but remove Run isolated as a routine menu action. Rerun preserves the recorded mode instead of silently reclassifying old input.

Acceptance

  • A strict isolated failure reports its exit status, completes its card, and leaves the persistent shell's directory and exported environment intact.
  • Persistent cd, export, alias, and function changes survive follow-up commands.
  • Ambiguous input is not sent before choice; cancellation leaves the draft intact.
  • The normal send path needs no isolation switch and remains usable at 200% font scale.

Validation

Add classifier-to-wrapper, Compose, saved-history-mode, and fixture-backed Bash tests.

Depends on #50 and #51. Part of #44.

Activity

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

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions