Repository navigation
docs(elixir) Pin lifecycle guides and recording - #368
Merged
Merged
Conversation
why: The generated API links and recorded session need the same published Elixir source as the executable guide. what: - Stage the pinned supervision and attachment guides with the model. - Resolve ExDoc extras and fragments in the shared site. - Record owned and borrowed sessions using the public lifecycle.
why: Source staging adds and moves Elixir references in lifecycle guides. The publication check compares the tracked index against the staged routes and the ownership suite checks unresolved names. what: - Link the named Elixir standard-library calls to verified anchors. - Keep the planned names, example module and capture row prefix plain. - Regenerate the index from the pinned sources and retain the unresolved-name checks.
why: The guide and model use the v0.1.3 source. The command usage rows still cited line numbers from the earlier revision. what: - Regenerate Elixir's usage data from the model's pinned commit. - Resolve the reviewed command evidence against the shipped source.
why: Version checks for the old alpha do not qualify the released package or the external links from its staged guides. what: - Read version 0.1.3 from the pinned Elixir manifest. - Record live checks for the package, its documentation and the standard-library anchors cited in the guides. - Match the authored HexDocs label to the libtmux page heading.
why: The API reference links unstaged ExDoc guides from the released HexDocs tree. The destination audit needs to verify the same links. what: - Share guide resolution between the API renderer and collector. - Verify the guide links against their released HexDocs headings.
why: The proof records still described the older attachment and homepage programs. what: - Pin the attachment guide to the v0.1.3 package and source. - Present the release quickstart as one owned-server program. - Record the exact files and recipes exercised on Linux.
why: The release model names additional action types, and every call in the release recording now resolves. what: - Check the related action type labels and their exact destinations. - Remove stale recording exemptions and review the false links the release model exposes.
why: The released Elixir reference includes typespecs with `when value: var`. The marker introduces an unrestricted type variable and the rendered reference needs to retain that syntax. what: - Mark the bare guard value as syntax in the declaration. - Render the unrestricted parameter with its declaration links. - Verify the release's declaration, links and type parameter entry.
tony
force-pushed
the
docs/18-96-elixir-guides
branch
from
December 5, 2026 18:17
24f6022 to
fed1598
Compare
This was referenced Dec 5, 2026
Closed
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Refs libtmux/libtmux-elixir#18 and libtmux/libtmux-elixir#96.
What changed, and why
The Elixir reference links to supervision and control guides shipped with the library. The site stages those guides from the same revision as the API model and preserves their fragments. The reference renderer and destination check use the same guide resolver, including the fallback to pinned HexDocs v0.1.3 for ExDoc guides outside the site. The homepage uses the released quickstart and records its owned-server lifecycle. The attachment guide installs v0.1.3 and shows how to read a session through an explicit borrowed socket.
The mention index follows the staged Elixir guide routes. Standard-library calls link to their HexDocs entries. Planned library names, the example module and the capture row prefix remain plain.
The Elixir reference now displays
when value: varas an unrestricted type variable. References tovaluestill link to its declaration.The command-usage citations and package inventory use the same v0.1.3 pin as the API model. The destination records verify the release on Hex and HexDocs and the external API links used by the staged guides.
Checks run
Verified the pinned guide sources with the staging command and ran the API prose and core recording suites on Linux. All 326 selected cases passed in a 6.562-second command. The public reference still linked to two missing routes before deployment.
Staging from the CI source revisions (4.027 s) and cache agreement (3.383 s) passed for all pinned guides. Mention index freshness (2.586 s), the API-model suites (0.981 s), and the focused site prose and mention suites (7.807 s) passed. Staged Elixir prose links, API-model lint, and type checks passed.
Hosted CI passed the regenerated mention index. The Elixir command-usage source comparison (0.889 s), manifest verification (0.114 s), offline package destination check (0.192 s), API destination check (11.954 s), and focused data suites (10.130 s) passed locally.
The affected site and API prose suites passed against the staged guides. The released quickstart and both attachment paths passed on Linux with tmux 3.3 and 3.8. The borrowed attachment left the original daemon and session running. The owned runs retired their resources. The live HexDocs check verified each fallback destination and fragment.
The published preview links
Control.child_spec/1andControl.start_link/1to the two whole guides, as Hex 0.1.3 specifies. Both destination headings work as direct links. We checked 18 live preview pages, six pinned HexDocs destinations, and the 12-step homepage recording through owned-server exit. Supervision recipe · Advanced execution example · Recorded quickstartThe Linux Elixir build rendered 384 pages and resolved all 1,636 type names. All 343 reference pages had their expected canonical URL, and all 297 eligible entries linked to source. The local all-port audit passed Python source freshness with all three pinned checkouts. It then stopped at the missing Perl API export, a prerequisite on both base and head. All seven hosted jobs passed on
24f6022b, including the all-port test, publisher dry run, and preview publication. Hosted publication auditRebased checks
After rebasing onto the Python tooling update, the Linux check rebuilt the 384-page Elixir preview, checked its reference and guide destinations, and passed in 76.185 s. It skipped Pagefind and assembled multi-site tests.
Public site
The Elixir port owns its production tree. Its caller needs a docs revision containing these guides for the public reference, attachment guide and homepage recording to change. Elixir publisher update · Current production provenance
This branch supplies the released API entries used by the indented-example fix in #375. That PR also refreshes the cached examples in the shared-site preview. Reference example PR
Published preview check
The preview published from the successful run for
fed15981aserved both control-reference links, their guide anchors, the attachment example and the 12-step owned-server recording. The HTTP and content checks took 2.01 s. Preview · Publisher runTool use
Codex reconciled the pinned sources, ran the staging and site checks, and checked the existing public destinations. Codex also checked the three HexDocs anchors and verified that the regenerated index adds only Elixir backlink changes. It compared the generated release data with the pinned source and ran the live destination verifiers. Codex ran the released programs against isolated tmux fixtures and checked that the rendered links match the verified destinations.