Skip to content

docs(setup): Run core and Workspace from a checkout - #199

Merged
tony merged 6 commits into
cold-return-tracefrom
checkout-setup
Dec 6, 2026
Merged

tony merged 6 commits into
cold-return-tracefrom
checkout-setup

Conversation

@tony

@tony tony commented Dec 5, 2026 •

Copy link
Copy Markdown
Contributor

Closes #185.
Closes #186.

What changed, and why

The published Hex release can predate APIs in checkout examples. The installation guide now shows the sibling path dependency, supported runtime series, minimum patches and Linux C build requirements. The Workspace quick start selects that core and runs from the directory that holds its manifest.

Checks run

The runtime-guide checks and a fresh Mix consumer exercised the documented dependency. The Workspace suite, example-source checks, ExDoc build and rendered link check ran on Linux.

  • Runtime guide contracts passed in 3.62 s.
  • Source dependency in a new consumer passed in 3.84 s.
  • Workspace passed in 5.75 s.
  • Rendered links passed in 0.82 s.

Review evidence

The checkout and Workspace guides own the setup commands. The runtime contract checks the minimum patch and supported series across the README, contributor guide and implementation reference.

With the topic tests and the guides from dfaa2f302, the focused check failed. The checkout installation guides failed the supported-runtime contract. The focused test failed in 3.64 s and passed on c03a1f29c in 3.76 s.

elixir scripts/check_runtime/tests/check_runtime_test.exs

Merge stack

This PR follows #198 in the tested merge order. The comparison shows this PR’s own changes. Stack #206 · Changes in this PR

All six required Linux jobs passed on c03a1f29c. GitHub records the stack merge at 15b285de9. CI run · Merged commit

Tool use

Codex extracted this change from #169 and ran the checks above on the topic branch. A separate Codex reviewer checked the component boundaries and the two corrected test fixtures.

tony added 6 commits December 5, 2026 19:05
why: A consumer following the Hex recipe could expect APIs that only
exist in the working tree. The installation section needs a runnable
choice for examples that use those APIs.

what:
- Distinguish the published dependency from the unreleased checkout.
- Show the sibling path dependency and link the unreleased entries.
why: Choosing an Elixir or OTP build requires both the supported
series and its minimum version. The tmux cleanup fix applies to
managed control clients attaching to an existing server.

what:
- Pair each supported version range with its minimum.
- Name the helper build requirements and when managed control needs
  a tmux build with the cleanup fix.
why: The guides put the supported version series before its minimum.
A check for the runtime name next to the minimum rejected these guides
and could miss a change to the supported series.

what:
- Match each runtime series and its minimum against the manifest in the
  README, contributor guide and implementation guide.
- Ignore Markdown backticks and line wrapping in the comparison.
why: The source example selected a Hex core dependency before the
workspace Mix task could load its local identity probe.

what:
- Run the task from the workspace package with the sibling core.
- Keep the sample manifest in the same working directory.
why: The source quick start showed two shell prompts in one command
block. Copying the block left the second prompt in the command.

what:
- Select the local core after entering the Workspace directory.
@tony
tony changed the base branch from main to cold-return-trace December 6, 2026 01:08
@tony
tony added this pull request to stack #206 December 6, 2026 01:08
@tony
tony merged commit 15b285d into main Dec 6, 2026
6 of 10 checks passed
tony added a commit that referenced this pull request Dec 6, 2026
why: A tmux hook could add output to a pane or option read. A large
MCP reply could hide an operation outcome or advance a cursor before
the client received the page.

what:
- Fit the Program listener to the server socket path, wake waiters on
  exit, and retry pane removal after a lost reply (#191, #192, #193).
- Keep MCP operation outcomes readable and size pages before advancing
  their cursors. Show the STDIO client reading a result (#194, #195).
- Keep hook output out of pane captures and option reads. Use
  `Pane.wait_for_text/4` in the notebook (#196, #197).
- Check root exit separately from trace delivery in cold-start tests
  (#198).
- Document checkout dependencies, inherited sockets and capability
  APIs (#199, #200, #201).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

The Workspace quick start resolves the wrong core dependency Distinguish source-only examples from the published core install

1 participant