book: Std pages, network, ip (slice of #594) #664
Labels
No labels
loop
queue/failed
queue/queued
ready
status/parked
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
torbscript/language#664
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Slice of #594 (Std pages, network and security), which is a slice of the epic #582. Starts after nothing; #585 is merged. The other Std slices (#591, #592, #593, #595) and the Guide and Reference slices are independent of this one. Governing note:
book/CONCEPT.md("How a page is written", "What CI checks"). Touches the seed: no (documentation only; no syntax change, no native, no driver flag, no std name looked up by the compiler).Goal
Write the Std page(s)
book/std/network.md,book/std/ip.md. Read likebook/std/json.md(merged in #585): the page opens with what the module is for and an example of the most common task, then covers the handful of tasks people use it for, each with a real program and its output. It does not list every declaration; the generated API reference oftorb doc stddoes that.Replaces in
docs/docs/standard-library/network.mddocs/standard-library/ip.mdAcceptance criteria
page,status: stable, front matter in the shape ofbook/std/json.md(title,summary,order,package; the summary within thedocs checklimit), names its module (package: std/network,package: std/ip), and is written asbook/CONCEPT.md, "How a page is written", says: the first paragraph says in two to four sentences what the page covers, headings name ideas, prose first, no history words, no internal references (no issue numbers, no links intodocs/design,docs/contributing,docs/internals,CONCEPT.md), no Related/Next/See also sections, lists of at most seven items, every section starts with a sentence; links only to book pages that exist on maintrb runandtrb errorblock is followed by itsoutputblock with the real output (atrb errorblock shows whattorb checkprints, fromerror:on); no fragments, no// printscommentsbook/CONCEPT.mdthat the area touches are shown, not just namedbook/std/index.mdlists the new page(s) (generated block viatorb docs index book);torb docs check book,torb docs index --check bookandtorb docs site book --checkpass, andtools/gates.shpasses in CIdocs/" are deleted in the same PR unless a skill is still built from them (skills are generated bytorb docs skill docs skills): for every old page a skill still needs, it stays indocs/unpublished and the PR description names it and why; the others are deleted together with every link to them, and the skills are regenerated sodocs skill --checkstays greentrb checkblocks with a sentence saying what they print; nothing reaches the internet in CINotes for the implementer
Read
book/CONCEPT.md,book/std/json.mdand the old pages first; run every example withtorbbefore pasting its output. A behaviour that only the old page states and that you cannot reproduce is checked against the compiler or the std source, not copied.Commits: one or two Conventional Commits, for example
docs(book): std networkand, if needed,docs: retire the pages the std pages replace.Size: one PR, 30-40 minutes. Do not write the other Std pages.
Scope boundary:
std/networkalso holds name resolution (resolve,Resolver); thenetworkpage may showresolveas one of its tasks. The separate modulestd/dnsbelongs to #665, not to this page.std/ipis re-exported bystd/network, so theippage is the one that explains the address values andnetworklinks to it.The skill
torbscript-networkingis probably built from the old pages: checktorb docs skill docs skillsbefore deleting them (see the criterion on old pages).Sibling Std PRs each change the generated block of
book/std/index.md: rebase onmainand reruntorb docs index bookinstead of merging by hand.[loop:torbscript] intake: in scope (label loop, slice of #594, Std page), not a duplicate, documentation only, no seed touch, no owner decision needed; the body states goal and acceptance. next: refine (waits while the ready buffer holds 4 or more issues)
[loop:torbscript] claim refine by session:loop-torbscript-664-re until 2026-11-15T22:25:00Z
[loop:torbscript] release refine: ready
Checked against the definition of ready:
outputblocks, docs gates, old-page retirement, localhost-only examples).book/CONCEPT.md("How a page is written", "What CI checks"); model pagebook/std/json.mdexists on main.network,ip) in one PR, two Conventional Commits as listed; fits.Body additions: scope boundary (
resolve/Resolverlive instd/networkand may appear on the network page;std/dnsis #665), a reminder that the skilltorbscript-networkingis likely built from the old pages, and the index-block rebase note for sibling PRs.Label
readyset.[loop:torbscript] claim implement by agent:orion:loop-torbscript-20261115 until 2026-11-16T02:42Z
[loop:torbscript] release implement: #827
Pages
book/std/network.mdandbook/std/ip.mdplus the index block, one commitdocs(book): std network and ip; Argus requested. Old docs pages kept because the skilltorbscript-networkingis built from them. No local build or run (CI only), so all example outputs are hand-derived from the std source and unverified until CI; the list is in the PR description.next: waiting (merge gate review and CI)
std/networkaddresses and network interfaces (OS slice 5) #129[loop:torbscript] claim review by session:loop-torbscript-664-fix until 2026-11-16T11:42:00Z
Reason: PR #827 (head
17fdea55) is mergeable but forge CI is red onci / tier A (linux-x64)(run 3115, job 5) andci / gates; the example outputs of the new book pages were hand-derived and unverified. Fix worker takes the failing job log and corrects the pages.[loop:torbscript] release review: #827
The fix worker session timed out after pushing a new head
23e97083(was17fdea55); CI on it is pending. If tier A turns red again, the next tick respawns a fix worker.next: waiting (CI on
23e97083, then the merge gate)