Skip to content

[AUTOMATON] Make rusty-bubbletea Windows-safe for release dependency validation #6

Description

@coderbants

mutate-work-id:AUTOMATON-WIN-BUBBLETEA

Bonobo PR #39 cannot reach its native Windows gate because the current rusty-bubbletea terminal and TTY implementation imports Unix-only descriptor and libc APIs. Implement the portability remediation in rusty-bubbletea, keep Unix behavior intact, add deterministic Windows regression coverage, and document any intentionally unsupported native terminal operations. Do not modify Bonobo or Panache from this owner ticket.

Acceptance criteria

  • AC-AUTOMATON-WIN-BUBBLETEA-A: Make the owning rusty-bubbletea terminal and TTY implementation compile on Windows without Unix-only descriptor imports or libc calls.
  • AC-AUTOMATON-WIN-BUBBLETEA-B: Add deterministic Windows regression coverage for unsupported terminal operations and preserve Unix terminal behavior and exact public API contracts.
  • AC-AUTOMATON-WIN-BUBBLETEA-C: Document the Windows compile-safe behavior and intentionally deferred native functionality in the owning repository mapping.
  • AC-AUTOMATON-WIN-BUBBLETEA-D: An independent reviewer confirms the owner-only portability change, public surface, tests, documentation, and dependency scope at the exact protected head.

Acceptance evidence contract

Criterion Profile Exact target paths
AC-AUTOMATON-WIN-BUBBLETEA-A platform src/tty.rs, tests/windows_platform.rs
AC-AUTOMATON-WIN-BUBBLETEA-B code src/tty.rs, tests/windows_platform.rs
AC-AUTOMATON-WIN-BUBBLETEA-C documentation UPSTREAM_MAPPING.md
AC-AUTOMATON-WIN-BUBBLETEA-D manual-review
🤖 Mutate Machine Contract
{
  "schemaVersion": 2,
  "id": "AUTOMATON-WIN-BUBBLETEA",
  "title": "[AUTOMATON] Make rusty-bubbletea Windows-safe for release dependency validation",
  "summary": "Bonobo PR #39 cannot reach its native Windows gate because the current rusty-bubbletea terminal and TTY implementation imports Unix-only descriptor and libc APIs. Implement the portability remediation in rusty-bubbletea, keep Unix behavior intact, add deterministic Windows regression coverage, and document any intentionally unsupported native terminal operations. Do not modify Bonobo or Panache from this owner ticket.",
  "repository": "rusty-bubbletea",
  "priority": "P1",
  "role": "principal",
  "requiredAccessTags": [
    "access:public"
  ],
  "capabilities": [
    "implementation",
    "focused-testing",
    "documentation",
    "public-surface-review"
  ],
  "dependencies": [],
  "seamContracts": [
    "SEAM-rusty-bubbletea-windows-portability"
  ],
  "acceptanceCriteria": [
    "AC-AUTOMATON-WIN-BUBBLETEA-A: Make the owning rusty-bubbletea terminal and TTY implementation compile on Windows without Unix-only descriptor imports or libc calls.",
    "AC-AUTOMATON-WIN-BUBBLETEA-B: Add deterministic Windows regression coverage for unsupported terminal operations and preserve Unix terminal behavior and exact public API contracts.",
    "AC-AUTOMATON-WIN-BUBBLETEA-C: Document the Windows compile-safe behavior and intentionally deferred native functionality in the owning repository mapping.",
    "AC-AUTOMATON-WIN-BUBBLETEA-D: An independent reviewer confirms the owner-only portability change, public surface, tests, documentation, and dependency scope at the exact protected head."
  ],
  "acceptanceEvidence": [
    {
      "criterionId": "AC-AUTOMATON-WIN-BUBBLETEA-A",
      "profile": "platform",
      "targetPaths": [
        "src/tty.rs",
        "tests/windows_platform.rs"
      ]
    },
    {
      "criterionId": "AC-AUTOMATON-WIN-BUBBLETEA-B",
      "profile": "code",
      "targetPaths": [
        "src/tty.rs",
        "tests/windows_platform.rs"
      ]
    },
    {
      "criterionId": "AC-AUTOMATON-WIN-BUBBLETEA-C",
      "profile": "documentation",
      "targetPaths": [
        "UPSTREAM_MAPPING.md"
      ]
    },
    {
      "criterionId": "AC-AUTOMATON-WIN-BUBBLETEA-D",
      "profile": "manual-review",
      "targetPaths": []
    }
  ],
  "status": "review"
}

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions