Skip to content

Harden the observed cross-runtime parity harness #116

Closed as not planned
Closed as not planned

Description

@KalebCole

Task

Selectively recover the safe parity-harness work onto current main, update the pinned TypeScript revision to include RSVP-deadline behavior, and turn the fixture capture into an observed TypeScript-versus-Go differential harness.

Owns

  • TypeScript and Go runner adapters.
  • Observed stdout, stderr, exit, prompt, filesystem, and mocked-request probes.
  • Baseline revision manifest and explicit compatibility-delta registry.
  • Seed probes; each later slice adds its own behavior probes.

Does not own

Go command implementation, a standalone OpenAPI source of truth, generated SDKs, MCP, or live destructive operations.

Acceptance

  • The harness proves which runtime it launched and rejects self-recapture as cross-runtime evidence.
  • Probes observe globals, aliases, credential paths, PARTIFUL_TOKEN, refresh persistence, confirmations, non-TTY behavior, files, and request effects.
  • Stable watch identity, RFC 4180 CSV, complete schema coverage, and secure atomic credential persistence are explicit deltas.
  • Recovered synthetic fixtures remain secret-free; the stale branch is not merged wholesale.

Activity

  1. added
    wayfinder:task
    on Aug 9, 2026
  2. self-assigned this
    on Aug 9, 2026
  3. KalebCole commented on Aug 9, 2026

    @KalebCole
    OwnerAuthor

    Resolution

    Implemented the executable parity oracle against frozen commit 5c72bc30ca534420028a84c4403341e0f01bebeb.

    • Materializes that exact git object and runs npm ci --ignore-scripts from its archived lockfile. The current checkout's dependencies cannot affect the oracle.
    • Captures 54 command help nodes, hidden aliases, auth-file states, exit and stream behavior, an offline RSVP dry-run, a declined blast confirmation, and output-file redirection.
    • Blocks every fetch call during capture, isolates HOME, disables dotenv loading, normalizes dynamic values, scrubs credentials, and checks fixture integrity with SHA-256.
    • Records the three intentional deltas for stable guest identity, standards-compliant CSV, and complete schema coverage.
    • Runs parity verification, typecheck, and the full test suite in CI on Node 22.23.2.

    Verification on Node 22.23.2:

    • npm run parity:verify: 54 commands verified against the full baseline SHA
    • npm run typecheck: passed
    • npm test: 332 passed, 6 skipped
    • git diff --check: passed

    Independent review found three acceptance gaps: baseline dependency contamination, an inaccurate RSVP dry-run claim with insufficient observed process evidence, and incomplete CI gates. All three are fixed and covered by regression assertions.

  4. changed the title [-]Freeze the executable TypeScript parity contract[/-] [+]Harden the observed cross-runtime parity harness[/+] on Aug 10, 2026
  5. KalebCole commented on Aug 10, 2026

    @KalebCole
    OwnerAuthor

    Correction

    The recovered work is safe fixture evidence but is not yet a Go completion gate and did not land on main. Its current test recaptures TypeScript rather than executing Go, several behavior claims are hand-authored rather than observed, and its branch predates RSVP-deadline behavior. This ticket is reopened with corrected scope: selectively recover the harness onto current main, update the pinned TypeScript behavior, and require observed cross-runtime probes plus explicit compatibility deltas.

  6. KalebCole commented on Aug 10, 2026

    @KalebCole
    OwnerAuthor

    Superseded scope

    This ticket belonged to the TypeScript-parity/port execution graph. Redefine partiful as a specification-driven greenfield Go CLI replaces that destination: TypeScript is research evidence, the reviewed remote API and new CLI product contracts are authoritative, and implementation slices will be derived only after those contracts are approved.

    This ticket is closed as out of scope for the new destination. Any still-relevant engineering concern will return through a freshly scoped greenfield ticket rather than preserving port assumptions.

  7. removed their assignment
    on Aug 10, 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

    wayfinder:task

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions