tmux-python / tmux-python/tmuxp

[Agentic DX] tmuxp: low-to-high lift machine-output and command-contract roadmap

Open
#1,015 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
4.6k
Forks
248
Avg merge
2h 13m
Merged PRs (30d)
1

Description

Context

Review focused on src/tmuxp/cli/* command modules, output helpers, and current JSON support scope.

Goal

Make tmuxp command behavior consistently machine-readable while keeping strong human UX.

Low-lift ideas

  • Standardize --json/--ndjson support and semantics across all user-facing subcommands.
  • Publish output schema examples (and schema version field) for machine-output commands.
  • Document exit code contracts per command family.

Medium-lift ideas

  • Ensure all commands route output through shared output abstractions for parity.
  • Add --dry-run --json for side-effectful commands (load, import, convert, etc.).
  • Add regression tests for output contract stability.

High-lift ideas

  • Add plan/execution graph output for automation orchestrators.
  • Expose machine-readable command metadata (args, side effects, output modes).

Done when

  • Output contract is consistent across subcommands.
  • Side-effectful operations have inspectable plan mode.
  • Tooling integration requires less command-specific handling.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the command modules under src/tmuxp/cli/*, the output helpers, and the current JSON support scope. This issue is a broad roadmap rather than a scoped change, so first identify one command family and define its output, schema, exit-code, and plan-mode contract. Done means the selected scope has consistent machine-readable behavior and regression coverage.

Written by the indexing model from the issue text.

Assessment

Tech stack
json, python
Domain
cli, tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.