Posture: experimental (pre-1.0 JDK 25 and multi-language JVM modules for
tmux; align observable semantics, target resolution, capability contracts, and
error taxonomy with the libtmux ports documented at
libtmux.org while expressing APIs in native Java,
Kotlin, Scala, and Clojure idioms).
Posture
defines experimental, stable and private.
Review the complete change against <base>, including untracked files. Report
all findings in one pass without editing files. Follow
writing rules, MCP rules, and
the organization
AI policy.
| Layer | Modules and paths | Owns | Must not own |
|---|---|---|---|
| Core JPMS module and BOM | libtmux/, libtmux-bom/ |
io.github.libtmux (Server, Session, Window, Pane, batch, catalog, control, exception, format, query, snapshot, transport), @NullMarked contracts, and aligned Maven BOM publications |
Runtime dependencies, transitive org.jspecify / Error Prone module requirements, exported io.github.libtmux.internal, or CLI/MCP schemas |
| JVM language and codec modules | libtmux-jackson/, libtmux-kotlin/, libtmux-scala/, libtmux-scala-cats/, libtmux-scala-ox/, libtmux-clojure/, libtmux-clojure-core-async/ |
Jackson codecs and idiomatic Kotlin, Scala 3 (direct, Cats Effect, Ox), and Clojure (core.async) bindings delegating to libtmux |
Duplicated tmux wire/control-mode parsing or raw tmux subprocess execution |
| Outer applications | libtmux-workspace/, libtmux-workspace-cli/, libtmux-mcp/ |
Declarative YAML session builder, workspace CLI, and detached-safe MCP server over libtmux |
Raw tmux subprocess workarounds for missing libtmux APIs or modal interactive client UIs in libtmux-mcp |
| Quarantine, build-logic, and suites | libtmux-junit5/, build-logic/, integration-tests/, module-tests/, docs/, examples/, benchmarks/, tools/mcp-swap/, scripts/ |
/tmp/libtmux-java-test/ (tmux -L / -S with -f /dev/null) libtmux.tmux-quarantine and TmuxExtension lifecycles, Doclet/codegen plugins, staged JPMS/BOM consumers, executed guide snippets, and CI/release checks |
Touching ambient TMUX servers, bare /tmp/libtmux-* paths owned by sibling ports, or sockets past the 104-byte sun_path limit |
Do not BLOCK against <base>:REVIEW.md's prior owner row when a pull request
migrates an invariant cleanly to a single owner, updates callers,
libtmux-bom, MIGRATION.md (when public APIs break), tests, and REVIEW.md
in the same diff, and states the old and new owner in the pull request
description. Weigh any boundary-adapter or ownership-transfer counter-case
before blocking on placement.
- Caller workarounds in
libtmux-mcp,libtmux-workspace*, or language wrappers: extendlibtmuxfirst when downstream modules need a tmux capability, and check sibling Java, Kotlin, Scala, and Clojure surfaces where applicable. - Nullability, module-graph, or suppression shortcuts: keep
@NullMarked(NullAway in JSpecify mode), Error Prone,module-info.java, andplatformCoversEveryPublishedModuleclean without@SuppressWarnings, emptycatchblocks, or runtime dependencies inlibtmux. - Control-mode and subprocess lifecycle hazards: check split-frame reads,
octal escape decoding,
%begin/%end/%errorpairing, child process reaping, andServer.close()/ cancellation teardown. Reject fixedThread.sleeploops wherePaneWait/TextWait, format queries, or%endnotifications provide deterministic readiness. - Unquarantined tmux servers or capability-claim drift: live tests must run
under
libtmux.tmux-quarantineorTmuxExtensioninside/tmp/libtmux-java-test/(tmux -L/-Swith-f /dev/null,TMUXandLIBTMUX_SOCKET*scrubbed) and passeveryTestModuleIsQuarantined.README.md, module READMEs, andcapabilities.jsonmay claim only implemented, tested features; reject Python-era instructions (## Python typing). - Silent partial multi-step failure: when a
CommandChain, workspace build, or batch MCP call spans multiple side effects, verify what state persisted if stepNfails and whatio.github.libtmux.exceptionerror reaches callers before retry.
- For bug fixes and behavioural changes, reproduce the failure on
<base>against a real isolated tmux server (integration-tests/or quarantined module test) rather than a mocked owner. When a follow-up commit fixes a defect introduced earlier in the same open pull request that did not exist on<base>, cite<pre_fix_head>and prove the regression test fails there. - Verify that restoring modified non-test production sources and removing
newly added production sources makes the new test fail for the expected
reason, then restore production files and pass
./gradlew :libtmux-mcp:test check,./gradlew :docs:test, andscripts/(ruff,ty,pytest). Track any temporary upstream workaround in.github/workarounds.tomlwhen introduced. - Emit
BLOCKorNO FINDINGS(plus optional non-blockingNOTEitems). EveryBLOCKmust cite the file and broken rule or failing input, and state a concrete test, command, or code observation that would prove the finding wrong.
These rules decide which findings block.
- Base run: A finding that code misbehaves shows its check run on
<base>and on the change, with one line of output from each. - Existing and separate: Behavior
<base>already has does not block. Report it as aNOTE, unless the change adds a promise the behavior breaks; then the broken promise is the finding. - Unverified: A gate nobody ran is unverified. Name the command that would
run it. It holds the merge until someone runs it, and it does not make the
verdict
BLOCK. - Behavior defects: A behavior defect blocks when a caller can reach it in
a supported environment, or when it breaks a promise in the pull request
description, a docstring, help text or the changelog. Otherwise it is a
NOTE. - Checks and claims: A weakened check, a rule written in a second place and a behavior claimed as tested with no test that bites block whether or not a caller reaches them.