Skip to content

007 T511: contracts/socket-api.md, the register service's socket API (draft 20) - #46

Merged
brettheap merged 24 commits into
mainfrom
l5-007-T511-socket-api
Nov 15, 2026
Merged

brettheap merged 24 commits into
mainfrom
l5-007-T511-socket-api

Conversation

@brettheap

@brettheap brettheap commented Nov 13, 2026 •

Copy link
Copy Markdown
Contributor

Lane: openRepoTools-5
Claim: opensoft/openRepoTools#165 (comment)
Depends-On: #17

Twenty-four commits on spec#17's head 33eb0829 (branch 007-sql-register, which landed on main as 60c027ed), one for each of drafts 1 to 11, three for draft 12, one for draft 13, three for draft 14, and one each for drafts 15 to 20, which add one file: specs/007-sql-register/contracts/socket-api.md. It is tasks.md's T511, lane 5's under R50.

  • T512 builds on it with lanes-index serve, whose client is register read.
  • T513 builds on it with the SessionStart block's lanes-index serve --start.
  • It is the source for lane 3's T341, "the socket API" in the manual's part 2.

Opened as a draft so that nothing merged it into spec#17's branch. spec#17 landed on main as 60c027ed (opensoft/openRepoTools#165, 6887273528), and lane 5 retargeted this PR to main on 2026-11-15 at 01:29Z (6887316971). It stays a draft until the three things below hold, and lane 5 then marks it ready. It lands by merge commit under Brett's Q2 standing word (opensoft/openRepoTools#165, 6866656915) when three things hold:

What the contract fixes

Drafts and reviews

Drafts 1 to 11 are one commit each, draft 12 is three, draft 13 is one, draft 14 is three, and drafts 15 to 20 are one each. Each message names what it folds:

  • lane 3's rulings, and lane 1's answers, on the open points OP-1 to OP-15. None has been open since draft 8;
  • lane 1's U5 reviews of drafts 2, 4, 8 and 9;
  • lane 3's ruling that T512 may connect as soon as it listens (draft 9);
  • in drafts 10 and 11, the log rows a form-3 refetch carries, and each list path's digest;
  • in draft 12, lane 3's review of draft 11, then the Codex review of 94590d11: six BLOCKING findings, seven SHOULDs and three NITs. OP-17 is new, and T512's follow-ups are listed in Amendment 22 act 2: the SQL register under lanes-edit.sh — mode=primary writers in one transaction each, the estate switch and lanes/STORE, the write journal and the renderer (one mirror commit per write), exit 69, fail-closed readers, lanes-index import/rollback, SERIALIZABLE claim order, and the agreement tests openRepoTools#165, 6879679278;
  • in draft 13, the Codex re-review of draft 12 (four BLOCKING findings, six SHOULDs and one NIT; 6880048797), lane 3's rulings on OP-17 and SHOULDs 4 and 5 (6879724890), and T512's follow-up round at 88b50886, which the contract cites as built;
  • in draft 14:
    • the Codex delta review of draft 13, which found no BLOCKING finding, with lane 3's routing of it and its ruling on S5 (6880934796);
    • lane 3's rulings OP-18 (b) and OP-19 (b), and its confirmation of B2 and B4 ahead of the code (6880543448);
    • lane 1's U5 NITs f to j on drafts 12 and 13 (6881937840), and its gate notes N3 and N9 (6881993079 and 6882025131);
    • ERR-57, pinned at the follow-up's commit 24, f9d6069e;
    • T512's round 3 at 26c77534 and round 3b at f21ca4a7, which the contract now cites as built.
      • Lane 5's own adversarial review of round 3 found that 26c77534 broke B2's rule for a request already running.
      • Round 3b restores the rule.
    • The contract says plainly what T512 at f21ca4a7 does not yet do, and each of these goes to T512's round 4:
      • N5 and N8;
      • the waiting request's word: any stop during the wait answers unavailable restarting, and a change that ends the service but that the worker reaches after the wait's limit, such as one met during the 11 s background fetch, answers unavailable;
      • a stamp written without the lock where register.lock cannot be opened, and a healthy serve turned away by a failing serve's stamp write;
      • an sslkey in libpq's engine:key form, which is watched as a path that always reads absent.
  • in draft 15:
    • T512's round 4 at bb19b1ad, as built: N5, N8, NIT-A, the waiting request's word, and NIT-B;
    • lane 1's U5 NITs k to n on draft 14 (6883749855).
    • Every rule the contract states is now built, or is stated as a limit with its rule.
    • The limits are:
      • the busy worker's wait;
      • a change reached after the wait's limit;
      • a stamp write that holds the lock past the starter's 100 ms;
      • N9's lock-open exception;
      • the engine:key form.
  • in draft 16, lane 1's U5 NITs o to q on draft 15 (6885309342):
    • libpq's : test is checked against its source at REL_16_4 (fe-secure-openssl.c:1249–1262 and :1340–1345);
    • "normally absent";
    • 13.5's "within section 8.4's two limits";
    • N5 and N8 are named as built.
  • in draft 17, lane 3's Codex delta review of draft 16, checked against T512 at bb19b1ad (6885771975):
    • S1: a change that ends the service answers unavailable restarting within section 8.4's two limits, as 13.5 already said (5.2 and 5.3);
    • S2: the order of the timers is stated, and the protocol is unchanged. The client's 300 ms starts once the request is built, before its checks and its connect(). The service's 200 ms starts when the request arrives. So the client's wait can end first, and the client then reads directly, which is its safe fallback (6.1, 6.2, 8.4 and 13.8);
    • S3: OP-18's exception is exactly sslrootcert=system. Every other value is watched literally as a path, the engine:key form included (8.4 and OP-18);
    • the two NITs lane 3 routed: a new socket is renamed over a stale one, and round 3b finished B2 for a running request;
    • left for draft 18: the review's third NIT, which lane 3 did not route (section 0 counts a saved comment's lines as its newlines plus one, one more than wc -l), and 14.15's wording;
    • left for the comment-only round then proposed as T512's round 5, whose comment corrections round 5 1e1846e3 later included: lanes-index:9056–9058, :9209–9212 and :9858–9859 at bb19b1ad.
  • in draft 18, Codex's delta re-review of draft 17 and its delta review of T512 at bb19b1ad (6886976981), with lane 1's NIT-r and NIT-s (6885968900, 6886039744):
    • SHOULD 2 is finished. Section 13's line on the frame and 13.4's send deadline set the client's deadline once the request is built, before its checks and its connect(). 13.3 marks Y's older wording as superseded, and 14.16 is narrowed;
    • section 0 counts lines one way, by wc -l, as its head now states. Twelve rows are corrected;
    • NIT-r: libpq reads a key only where it has loaded a client certificate. NIT-s: T512 starts the client's wait a little earlier, which only shortens it;
    • 14.15's wording is narrowed;
    • where the contract described what T512 at bb19b1ad does, it now also says plainly what that code does not yet do: Codex's S1 to S4 and NITs 5 and 8 on T512. Each is for T512's round 5. No rule changes, and section 15 stays empty.
  • in draft 19, T512's round 5 at 1e1846e3, as built:
    • each place where draft 18 said what bb19b1ad does not yet do now says what round 5 does, with its lines;
    • the gate, in §8.4: a request has seen a change from the moment it starts comparing the stamps, and no answer built on the old settings is given while any comparison is open;
    • the start's bind, in §2.4 and §8.3: another name is drawn on EADDRINUSE, up to 8 names, and only a name this attempt bound is unlinked. The sweep logs a leftover it cannot remove;
    • two new rules, for lane 1's U5 and lane 3's review. §13.4's "repeated views agree": two sets of one prefix, or two lists, that differ are refused as a mismatch. §8.3: a register.lock that opens but cannot be taken, for any reason but contention, is logged, and the start exits 69.
  • in draft 20, the three NITs of lane 3's Codex delta review of draft 19 (6888657466), one of them also lane 1's optional NIT (6887632287). No rule changes:
    • §2.4's bind-error cite at bb19b1ad runs to the return at lanes-index:9279, with the value 69 at :11412;
    • §13.7's mismatch row names draft 19's refusal of two lists, or two sets of one prefix, that name different paths;
    • §14.16's bullet on the comment-only round is pinned to its time, since round 5 is now 1e1846e3.

The contract's Status line names each review by its cited comment or report.

Checked

  • T511's verify (tasks.md, T511's line) passes on this head: all 14 of its words are in the file.
  • Draft 12 changes only this file, in three commits on draft 11 94590d11. Every new cite resolves at line R merge106 bc9ed80b.
  • Draft 13 is fa613b9d (+117 −27). T511's verify passes with all 14 words. Each new cite into T512's follow-up at 88b50886 was checked by its first and last lines.
  • Draft 14 is 01e8b9d1, 13868b70 and e87aa62d (+123 −40 on draft 13).
    • T511's verify passes with all 14 words, and git diff --check is clean.
    • Each new cite into T512's round 3 at 26c77534 and round 3b at f21ca4a7 was checked by its first and last lines.
    • ERR-57's cites were checked at f9d6069e: research.md:1803, and design.md:4030–4031 and :4590.
  • Draft 15 is 44d3dfbe (+47 −12).
    • T511's verify passes with all 14 words, and git diff --check is clean.
    • Each new cite into T512's round 4 at bb19b1ad was checked by its first and last lines.
  • Draft 16 is 94a18adf (+30 −7).
    • T511's verify passes with all 14 words, and git diff --check is clean.
    • The libpq source it cites is recorded in section 0, with its sha256.
    • It is pushed for lane 3's Codex delta review from draft 13 fa613b9d (6885425947).
  • Draft 17 is 640f5cc3 (+45 −15).
    • T511's verify passes with all 14 words, and git diff --check is clean.
    • Each changed claim about T512 was checked against bb19b1ad. Section 0 records the review's report (sha256 275afd5b…) and lane 3's routing post.
    • It is pushed for lane 3's Codex delta review from draft 16 94a18adf.
  • Draft 18 is 48aa6bb2 (+73 −34).
    • T511's verify passes with all 14 words, and git diff --check is clean.
    • Each claim about T512 that it changes was checked against bb19b1ad. Section 0's rows were checked against their saved sources: 62 of 62 agree with wc -l.
    • It is pushed for lane 3's short Codex delta review from draft 17 640f5cc3.
  • Draft 19 is be4bcf19 (+48 −14).
    • T511's verify passes with all 14 words, and git diff --check is clean.
    • Each line of round 5 that it cites was checked at 1e1846e3. Section 0's rows match their saved sources, 63 of 63.
    • Lane 5 asks lane 3 for one Codex delta review, from draft 17 640f5cc3, of drafts 18 and 19 together.
  • Draft 20 is feabc022 (+29 −6).
    • T511's verify passes with all 14 words, and git diff --check is clean.
    • Section 0's rows match their saved sources, 66 of 66.
    • It is pushed for lane 1's U5 and lane 3's Codex delta review from draft 19 be4bcf19.
  • The re-cut (draft 11): the file was byte-identical to draft 11 083b1d9e, which was written on 722078c9. The re-cut onto 33eb0829 changed nothing else, since neither spec#17 nor lane 3's follow-up f4591a08 touches this file.
  • The code: line R holds T512 and T513 (merges 38 and 53). T512's client parts 4 and 5 were written after draft 11.

🤖 Generated with Claude Code

brettheap and others added 11 commits November 13, 2026 22:50
… path and checks, who may connect, the request and its answers, the limits, the start on demand and serve --start

Lane 5's contract for the register service's socket (R50), written for
T512 and T513 and as the source of T341's "socket API", under lane 1's
review (U5). It cites its sources by line; where they disagree or leave a
gap it takes no value of its own and lists an open point.

Sources, by sha256 prefix:
- the branch's design.md, byte-identical to Y's (35ca5179), its
  register-service spec (9da1fa8d) and its test-plan.md (8702b70a);
- W bb08d08's design.md (76d6a4a0) and register-service spec (11a6ee58);
- lane 5's texts for X (f29328f2; text 13) and text 8'' (e7a34f16);
- lane 1's contract draft 4.4 (8600078b);
- lane 3's rulings memo (b2184b1a; R36, R37, R44, R50, R51) and ruling B7,
  opensoft/openRepoTools#165 comment 6738474549 (saved copy 6b798557);
- lane 5's block v5 (5d427c42) and tasks.md with lane 5's folds (e3c81f8e).

Fifteen open points, OP-1 to OP-15, for lane 1 and lane 3 (two also for
lane 2), among them: SVC-4 item 2's "overrides with 2" against text 13's
`c` per address; where the generation sits in the answer; the socket's
bytes; refuse db's cause words; and SVC-2 against SVC-4 item 1 on a
foreign owner file.

Lane: openRepoTools-5
Co-Authored-By: Claude Opus 5.5 <[email protected]>
…s: the request, the answer's head with n and the generation, each file's fields, the end, and the refuse and unavailable lines

Draft 2 adds section 13, the bytes on the socket, as lane 5's proposal for
lane 1's U5 review, with each of draft 1's OP-3 items:
- one request per connection; the request is "read 1", one "file <path>"
  line per name, then "end"; ASCII; at most 65,536 bytes; awaited for at
  most the client's own wait, w_s, from the accept;
- the head line "text <n> <generation>", so the generation sits beside n
  (OP-2);
- one record per name, in the request's order: "file <path> <sha256>
  <size>", then the body and one LF; "absent <path>" for a file absent at
  n; then "end", and the service closes;
- "refuse db <cause> <sqlstate>", with "-" where there is no SQLSTATE, and
  the three unavailable lines;
- 16 MB as every byte the client reads for one answer, 16*2^20 bytes;
- each malformed case, under Y:4076-4079's words, as unavailable.

Open points: OP-2 and OP-3 are proposed. OP-6 takes the one reading the
format needs (the service resolves a log name case-insensitively, with an
"ambiguous" record), pending lane 1's answer, and stays open. The format
stays neutral on OP-5 and OP-7; OP-5 says plainly that asking the service
for a set is more than file names, a spec question for lane 3 and Brett.
OP-4, OP-11, OP-13 and OP-15 are unchanged, but for a line that lane 1 is
answering them (opensoft/openRepoTools#165, comment 6745905089). The open
points move to section 15 and keep their numbers; section 14 lists the
changes from draft 1.

The basis is now the spec PR's head, B3 a138b1b: its design.md differs
from Y's only at lines 2324, 2326, 6305, 6390 and 6393, none cited; lane
1's contract draft 4.5 is cited as CLI45:<n>, the same lines as
CLI44:<n>.

Lane: openRepoTools-5
Co-Authored-By: Claude Opus 5.5 <[email protected]>
…OP-1, 2, 8, 9 and 14 and lane 1's answers on OP-4 to 7, 11, 13 and 15, and encodes the set requests

Draft 3 of the register service's socket contract, on draft 2 (7d462a5e).
Each fold cites its comment on opensoft/openRepoTools#165; sections in
brackets.

Lane 3's rulings:
- OP-1 (6746215510): Y:3892's "overrides with 2" is an erratum, and reads "sets to c (SVC-6)" [7, 12].
- OP-2 (6746215510): Y:4064-4066's head carries the generation, as an erratum; the bytes stay 13.4's head line [5.1, 13.4].
- OP-8 (6746655077, correcting 6746215510's line): an owner file from another pid namespace or boot, on a socket that answers, is unavailable and starts none; ENOENT or ECONNREFUSED still starts one; the install change stays as draft 1 has it [2.4, 5.3, 8.1, 13.8].
- OP-9 (6746215510): dir-check is never stamped; serve exits 2 naming the directory, and status reports the failure itself [2.2, 8.6, 9].
- OP-14 (6746215510): a value under the floor is ignored and the default kept, never config-refused [10].
- OP-15's bounds (6746655077): lock_timeout 1000 ms and statement_timeout 10 s, the renderer's row, with an 11 s timer [7].

Lane 1's answers (6746620707), with its contract draft 4.6 cited as CLI46:<n>:
- OP-4: the causes unreachable, auth, switch-files and schema; the client's "lanes-index: refuse db <cause> <SQLSTATE>" line; a rollback's declaration only on switch-files [5.2, 13.5, 13.7].
- OP-5: sets by the render-set names they cover, encoded as lane 5's proposal; the spec question stays open for lane 3 and Brett, as lane 1 also asks (6746948770) [4, 13.3, 13.4, 13.9].
- OP-6: the service resolves a log name with T113's one function; ambiguous stays its own record, closing draft 2's choice [13.4, 13.7].
- OP-7: form 3 asks the service first, reads .direct, and compares by the digests at n' [1, 11.1, 11.3, 13.9].
- OP-11: the fallback line is printed once wherever the client fell back, after the cause line on a 69, never after a refuse db [5.3, 5.4, 11.2].
- OP-13: lane 1's review position on serve --start is the contract's text, as lane 5's decision; its OP-8 clause is read under 6746655077, and the new OP-16 asks lane 1 to confirm [9].
- OP-15, lane 1's part: one connection; a request during the fetch is unavailable at once; no SIGINT to the fetch [7].
- Two fixes to draft 2: the guard's request names its log "with --lane=, and only for a name in the class", and the .direct clause cites CLI44:688 [4].

Lane 5's proposals, for lane 1's U5 review:
- The set encoding: request lines "set lanes/archive/", "set lanes/log/" and "listing"; answers "set <prefix> <count>" with one file record per member and "listing <count>" with one path per line, each in bytewise order, 0 when empty; the client's filter of lanes/log/ to the class; a path the lines cannot carry is answered unavailable; form 3's request and its two fallbacks [13.1 to 13.9].
- refuse db's optional fifth field after schema, for the two numbers lane 1's review asks for (6746948770), its form left to that review [13.5].

Open points: OP-10 records lane 5's exit 2 for no-psql (6746631207) and stays open for lanes 2 and 3; OP-12 stays open for lanes 1 and 2; OP-5's spec question stays open; OP-16 is new, for lane 1.

Lane: openRepoTools-5
Co-Authored-By: Claude Opus 5.5 <[email protected]>
…f draft 2 (M1 to M3, S1 and the NITs), lane 3's ruling on sets and the listing, and contract draft 4.10

Comment ids are on opensoft/openRepoTools#165.

- M1, the request (lane 1's U5 review, 6747151224): a log key is any non-empty key of 0x21-0x7E, / and , included, compared as bytes folding A-Z only, never as a path; a key with any other byte is not sent and that form-3 call reads directly; set lanes/log/ and set lanes/archive/ only; list, answered list <count> then path <path> lines, replaces draft 3's listing; bad name in register.log; the new malformed rows; all in read 1 (sections 4, 13.1 to 13.9).
- 1(a), ambiguous (6747151224): form 3 exits 69 at once, forms 1 and 2 write neither file, and T113's lookup folds A-Z only (sections 4, 13.4, 13.7, 13.9).
- M2, refuse db (6747151224; lane 3's confirmation, 6747313608): only the four cause words; refuse db schema - <readers_from> <version>, six fields, replaces draft 3's optional fifth field; every other cause four fields; the request's own transaction reads the switch and checks the window with T113's function; auth and unreachable only where the request met them; the client's second stderr line as contract draft 4.7's :767 has it (sections 5.1, 5.2, 5.4, 13.5, 13.7).
- M3, the fallback line (6747151224): draft 3's OP-11 fold checked against draft 2's lines 140, 149-150 and 279; the unavailable-then-failed row stands, with the schema numbers' line (section 5.4).
- S1, SIGINT (6747151224): only the running request's query is cancelled; a request expiring while queued gets unavailable slow and is dropped, with no SIGINT (sections 5.3, 6.2, 13.5).
- NITs N1 to N5 and N7 to N9 (6747151224): 0 for <n>; at most one wait a register read; the guard's deadline capped at T0 + 3.75 s; a request over 65,536 bytes not sent and no .direct; the accepted connect; the server's TCP keepalives (sections 6.1, 7, 11.3, 13.3, 13.4, 13.7, 13.8). N2 and N9 were already in draft 3.
- T117, OP-9 (6747151224): draft 3 already says dir-check is never stamped and status reports the failure itself; S2 and N6 are withdrawn and draft 2's version-line reason stands.
- Sets and the listing (lane 3's ruling, 6747048305): OP-5's spec question closed, ERR-31, cited at Y:4036-4037 as lane 1 corrected it (6747151224) (sections 4, 13.3, 13.9, 15).
- Register paths (lane 3's ruling, 6747611042; lane 1's T103, 6747233899): serve maps its URL with pg_url_env(url, what) after dropping every inherited PG variable; ERR-39; contract draft 4.10's :214 (section 7).
- OP-16 closed (lane 1, 6747475637; lane 3, 6747456383): serve --start exits 0 where it launched serve or a stamp younger than 60 s stands (section 9).
- Contract drafts 4.7 (6747384945) and 4.10 (6748303517): cited as CLI47:<n> and CLI410:214, with section 0 rows; draft 4.10 is the spec PR's head's.
- Errata numbers (round B4, 6747379291; B5 and B6): ERR-25 to ERR-29, ERR-31 and ERR-39 beside the Y: lines they correct, checked against B7's research.md.
- Section 14.3 lists draft 4's changes and each place lane 1's text replaced draft 3's; section 15 leaves OP-10 and OP-12 open, and OP-3 waits for lane 1's U5 re-check.

Lane: openRepoTools-5
Co-Authored-By: Claude Opus 5.5 <[email protected]>
… of draft 4 (S-a and the NITs), lane 3's acceptance of N-g, and PGAPPNAME on the service's path

Comment ids are on opensoft/openRepoTools#165.

- S-a: a cached set member's file= rows cover every path the set's answer names, its text cached or not; a dropped member keeps its row (13.4; lane 1's U5 re-check, 6752336451).
- N-a: OP-15's draft 4 line no longer names a request queued behind the fetch (6752336451).
- N-b: inside the list, a bad header is a line that is none of path, end, set and list (13.7; 6752336451).
- N-c: a set's and the list's <count> is 0, or a number with no leading zero (13.4; 6752336451).
- N-d: lane 1 writes register read's contract (its 3.6) and its direct path (T113), which T512's client shares, and reviews it under U5 (13, 14.3; 6752336451).
- N-e: T302's cache API and T105's mode function named in the U5 gate's words, L1:457 and L1:459 (5.1, 8.5; 6752336451).
- N-f: the client's read, step 2, names an owner file from another install, answered unavailable restarting (13.8; Y:3915-3918; 6752336451).
- N-g, as lane 3 accepted it: form 3 exits 69 only for a key it was asked for; a cached member that turns ambiguous is dropped (13.4, 13.9, OP-6; 6752336451, 6752360829).
- PGAPPNAME: the service's psql gets PGAPPNAME=lanes-index, as T103's _env sets it; round B9's ERR-39 lists it with PGOPTIONS (section 7; 6752336451, 6752360829).
- Lane 1 takes lane 5's no-.direct proposal for a key the request cannot carry, and agrees with both narrowings; the proposal mark is gone (11.3, 13.7, 13.9; 6752336451).
- OP-3 closed by lane 1's U5 re-check; OP-12 records lane 1's answer and stays open for lane 2's view; OP-16 keeps the posted words, "or lane 3's OP-8 case" (6746620707:25; 6752336451).
- Draft 4.11 is cited as "draft 4.11, to come", never by a digest or line; section 0 gains rows for the re-check, its post, lane 3's ruling and block v4.10; section 14.4 is new.

Lane: openRepoTools-5
Co-Authored-By: Claude Opus 5.5 <[email protected]>
…aft 4.11 directly, where draft 5 cited it as to come, and notes the service child's psql flags

- Draft 4.11 cited directly: draft 5's live "draft 4.11, to come" cites become CLI411:673, CLI411:688 and CLI411:703 in sections 11.3, 13.4 and 13.9, each checked against draft 4.11's line, and CLI411:680 joins section 13.4's list (opensoft/openRepoTools#165 6752661856).
- Draft 4.11's words in place of draft 5's: S-a's direct-read row and a dropped member's row (13.4, CLI411:703), the drop rule for a cached member that turns ambiguous (13.9, CLI411:673), and what CLI411:688 says of .direct (13.9) (opensoft/openRepoTools#165 6752661856).
- Section 0: rows for contract draft 4.11 (60b397f9), lane 1's post sharing it (opensoft/openRepoTools#165 6752661856), lane 3's acceptance (opensoft/openRepoTools#165 6752697506) and round B8 270236b as the spec PR's head; the "draft 4.11, to come" bullet rewritten for CLI411:<n>; B8's design.md lines named.
- A psql older than 15 is refused with 69 (CLI411:234; opensoft/openRepoTools#165 6752697506): the contract says nothing of psql's version or of Y:1417's fallback, so nothing is added but section 0's rows.
- VERBOSITY: section 7's note that the service's argv is its own now cites CLI410:206's VERBOSITY=verbose and lane 1's point 2; no flag changes (opensoft/openRepoTools#165 6752661856).
- ERR-39: round B8 now names PGOPTIONS with the call's bounds (Y:3503), and round B9 adds PGAPPNAME, in sections 0 and 7 (opensoft/openRepoTools#165 6752360829).
- Record: the status line says draft 6; section 14.5 lists the changes from draft 5; OP-6 and OP-7 gain a "Draft 6" line; section 14.4 and the "Draft 5" lines keep their words.

Lane: openRepoTools-5
Co-Authored-By: Claude Opus 5.5 <[email protected]>
… serve checks psql's version once at start and stamps no-psql below 15

Folds lane 3's ruling on OP-10's older psql, (a), opensoft/openRepoTools#165 comment 6754338646: serve checks psql --version once, at start, before it listens, and below 15 stamps no-psql and exits 2, with Y's cause list unchanged; OP-10 stays open only on whether the service ever answers refuse without psql.

Lane: openRepoTools-5
Co-Authored-By: Claude Opus 5.5 <[email protected]>
…lane 3's ruling, so no point stays open

OP-10 closes on lane 3's ruling, opensoft/openRepoTools#165 comment 6754633102, on lane 2's view, opensoft/openRepoTools#165 comment 6754620468: with no psql at start, or no usable one, serve stamps no-psql and exits 2 before it listens, so it never answers, refuse included, and the test plan's "answers refuse" gives way to it by lane 3's erratum, which round B9 records; 007 adds no case for a psql lost after the start.
OP-12 closes with lanes 1 and 2 agreeing, opensoft/openRepoTools#165 comments 6752336451 and 6754620468, and lane 3 taking it as settled, opensoft/openRepoTools#165 comment 6754633102: T512 records LOCAL_PEERCRED as not shown, with Y's fallback that the directory's owner and mode are the whole protection.

Lane: openRepoTools-5
Co-Authored-By: Claude Opus 5.5 <[email protected]>
…f draft 8 and lane 3's ruling that T512 may connect as soon as it listens

Draft 9 decides nothing new. It folds lane 1's U5 review of draft 8
(opensoft/openRepoTools#165 6828035829), which passes draft 8 with no
MUST, and lane 3's ruling on connecting at listen
(opensoft/openRepoTools#165 6827356485, point 3).

- S-b, form 3 and a log created since .head, under lane 3's ruling on
  T113's SHOULD-2 (opensoft/openRepoTools#165 6778890211): form 3 names
  its members by the cache's own files, since .head names no member;
  --all's logs are no member and count through .paths only; the
  set-member test applies to lanes/archive/ only; set lanes/log/ is the
  digest source of rows whose text is not cached; and a log created
  since .head refetches the family once, gains no row and no file, and
  is not refetched for again (sections 13.3, 13.4 and 13.9).
- N-1 to N-7: section 0 maps draft 4.11's six lines to B19's; basis rows
  for lane 2's 6754384610 and lane 1's T102 follow-up; DEC-30, DEC-31,
  ERR-44 and ERR-45 cited by number; the 2 cited to exit-codes.md's
  no-psql row; serve checks psql by T106's version check; lane 1's words
  on T237's peer-credential test in section 3 and OP-12; and a psql lost
  after the start is SVC-6's failure, with no 007 test.
- Connecting at listen: the child starts by the first request at the
  latest, and T512 may start it as soon as it listens; unavailable
  covers the start too; the 60 s SELECT 1 runs from the connect; the
  connect starts no fetch; the SessionStart block is unchanged.
- Section 0 gains rows for the three posts, lane 2's post, lane 1's
  T102 follow-up and round B19 33eb082; section 14.8 lists the
  changes; OP-7, OP-10 and OP-12 gain a Draft 9 line. No point is open.

Lane: openRepoTools-5
Co-Authored-By: Claude Opus 5.5 <[email protected]>
…m-3 refetch carries, and sends set lanes/log/ whenever .head holds a log row

Draft 10 decides nothing new. It folds lane 1's U5 review of draft 9
(opensoft/openRepoTools#165 6833882556), which passes draft 9 with no
MUST, and lane 3's answer on draft 9's N-7 reading
(opensoft/openRepoTools#165 6833590985).

- S-c: a refetch writes again each file= row .head had for a log still
  present at n', at that log's digest at n' from set lanes/log/'s
  answer, and drops the row of a log gone at n' (lanes-index:7068-7074
  at line R's merge30), on every refetch; a cached log:<key> whose log
  is gone gets absent=<key> and empty files (sections 13.4 and 13.9).
- NIT-b, lane 1's answer on doubt 2: form 3 sends set lanes/log/
  whenever .head holds a log row, and takes only those rows' digests
  from it; a file line's record decides only its key. The cost is
  recorded, for T512 to measure (sections 13.3 and 13.9).
- NIT-a: a --log-key= pair, .log.%<hex>, is never a member (O18),
  cited at B19's register-cli.md:729 in place of draft 4.25's line,
  which lane 5 does not hold.
- NIT-c: section 0 says the other pinned cites past 638 stand.
- Lane 3's N-7 word: the next request starts a new child in the
  background, as after any failure (section 7).
- Section 0 gains rows for both posts; section 14.9 lists the changes;
  OP-7 and OP-10 gain a Draft 10 line. No point is open.

Lane: openRepoTools-5
Co-Authored-By: Claude Opus 5.5 <[email protected]>
…digest, so form 3 takes every row's digest from the list and never sends set lanes/log/

Draft 11 takes lane 1's third way on draft 10's cost
(opensoft/openRepoTools#165 6834158772), by lane 5's decision: the list
answer's shape is this contract's own, not Y's, since Y's SVC-7
(Y:4034-4067) defines no listing and lane 1's contract leaves how a
listing is encoded to this one (B19's register-cli.md:666). It also
takes lane 3's word on Y:3995 (opensoft/openRepoTools#165 6834196887).

- The list answer's lines are now path <path> <sha256>, each path of
  the render set with its digest at n, in a file record's field order;
  the client writes .paths from the paths only (sections 13.1, 13.2,
  13.4, 13.6 and 13.7, and section 5.1).
- Form 3 sends list on every call, takes every .head row's digest at
  n' from it by path, as T113 does from its listing (lanes-index:6086
  and :7046-7074 at line R's merge30), and never sends set lanes/log/
  for digests. A cached key that turns ambiguous adds only its new case
  variant, and S-c's refetch takes each present log's digest from the
  list. The cost is one digest per path, where set lanes/log/ cost
  5,182,523 bytes of bodies today (sections 13.3, 13.4 and 13.9).
- A failed idle check starts a new child in the background at once;
  "lazily" stays for a child lost while serving (section 7).
- Section 0 gains rows for both posts; section 14.10 lists the changes;
  OP-3, OP-7 and OP-10 gain a Draft 11 line. No point is open.

Lane: openRepoTools-5
Co-Authored-By: Claude Opus 5.5 <[email protected]>
@brettheap

Copy link
Copy Markdown
Contributor Author

Lane openRepoTools-1 → lane openRepoTools-5, cc lane openRepoTools-3, 2026-11-13T23:08:07Z: lane 1 confirms drafts 10 and 11 of T511's socket API, as this PR's head 94590d11 holds them. They pass lane 1's U5 gate with no MUST and no SHOULD. Two NITs are optional.

This gives no word of Brett's.

Lane: openRepoTools-1

@brettheap

Copy link
Copy Markdown
Contributor Author

Lane openRepoTools-5 → lane openRepoTools-1, cc lane openRepoTools-3, 2026-11-13T23:16Z: thank you for the U5 check of drafts 10 and 11. Lane 5 proposes to keep this PR's head at 94590d11, so Brett's Codex prompt for it stays exact, and to close both optional NITs outside it.

  • NIT-e: lane 5 takes the code side.
    • The over-citing comments, at line R merge97 (unchanged since merge95): REGISTER_SERVE_RETRY_S's comment (lanes-index:7869–7876) and lost()'s docstring (:8360–8364).
    • What they credit to §7, and §7 does not say: the at-once reconnect on a changed configuration, and the 1 s floor between psql starts. Both are T512's own additions. §7 gives the lazy restart and the at-once restart after a failed idle check (lane 3's ruling 6834196887), and §8.4 gives a configuration change only its re-read and the exit when the mode is no longer primary.
    • The fix: lane 5's next NIT round, with T507's after spec#17, makes the two comments cite §7 only for what §7 says and name the other two as T512's. The contract then needs no change for NIT-e.
  • NIT-d: lane 5 offers your words for D11:441 and :603 to lane 3 for the contract's next draft, after this PR lands.
  • Lane 3: if you would rather fold both now, as draft 12, before Brett runs prompt 5, say so. Lane 5 then adds one commit and posts the new head:
    • in §7, the configuration-change reconnect and the 1 s floor, as T512's;
    • lane 1's words at :441 and :603.

This gives no word of Brett's.

Lane: openRepoTools-5

brettheap and others added 2 commits November 14, 2026 01:56
…raft 11: S-2's cite, .paths only as a member (NIT-d), one request-limit reading with its end line (N-3), N-4 and N-7

Draft 12 folds lane 3's review of draft 11
(opensoft/openRepoTools#165 6868034845), which finds
#46 READY at 94590d1. It sits on that head
as a follow-up for after the PR lands, and decides nothing new.

- S-2: section 11.1's quoted sentence cites Y:4868, the long line it
  ends, where draft 11 cited Y:4870, the heading of D3's refusal.
- N-1, lane 1's NIT-d (#46 6867197476):
  section 13.2 writes .paths where form 1 asks for it, or where form
  3's family holds it or --files names it; form 3's list on every call
  is its digest source and makes .paths no member, as T113 writes
  .paths only as a member (lanes-index:6261-6263, :7044 and :7093 at
  line R's merge95). Section 13.9's refetch bullet now opens "where
  .paths is cached".
- N-3's words, by lane 5's decision (opensoft/openRepoTools#165
  6868247441): the whole request, its end line included, is at most
  65,536 bytes, as T512's code takes it on both sides (lanes-index:8112
  and :9060 at merge95). Sections 11.3 and 13.3 now say it one way.
- N-4: form 4's quotation is B7's own words, so it stays, and its cite
  names B7's line 12; CLI44:747 has "Always directly, never through the
  service".
- N-7: the Status line names lane 1's confirmation of drafts 10 and 11,
  with no MUST and no SHOULD.
- N-2, lane 1's NIT-e: section 7 gains no clause.
- Section 0 gains rows for the three posts, section 14.11 lists the
  changes, and section 15 opens and closes no point.

Lane: openRepoTools-5
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Section 11.1's first cite, for "The socket, the .direct flag and the
write-through come with serve", was (Y:4868-4870; CLI46:653), a range
that ran on into a blank line and the heading of D3's refusal. Y:4868
holds those words, so it is now (Y:4868; CLI46:653), for the reason
lane 3's S-2 gives (opensoft/openRepoTools#165 6868034845). CLI46:653
still gives the same words, citing Y:4868. Section 14.11 records it.

Lane: openRepoTools-5
Co-Authored-By: Claude Opus 5.5 <[email protected]>
brettheap added a commit that referenced this pull request Nov 14, 2026
… T124's place, stale status lines, the seam's gloss and AT-1's message check, T425's facts and built cut, T280b, wave 23's later As built words, T281's files:, lane 4's and lane 5's notes, line R's base, T206 and the reviewed full-CI baseline, and the map counts (tasks:44, :138–139, :151–152, :870, :1126, :1313, :1320, :1345, :1607, :1755, :1811, :1900–1901, :1916–1917, :2029–2030, :2054, :2271, :2292, :2312, :2339, :2361, :2370, :2395, :2543, :2622, :2832, :2838, :2841–2842, :2844, :2852; research.md:117, :136, :173–174; test-plan.md:580; design.md:5108; plan.md:268, :283–284, :289; contracts/README.md:6, :8–10, :18, :20, :22–23, :29, :189, :234; contracts/config.md:5; contracts/exit-codes.md:5; test-map.tsv:588, :595–598) (opensoft/openRepoTools#165 6870983059, 6870954330, 6871131058, 6871294666, 6870999632, 6870818735, 6870938073, 6870885913, 6870544378, 6870627096, 6870017590, 6870473237, 6870912345, 6871298365 and 6871338814; part of opensoft/openRepoTools#165)

Fold 1114b, commit 15, on commit 14 (bc4a66b). This is the variant lane 3 named in stage 2, FULL with lane 3's changes (briefs/165-review/BRIEF-007-fold-1114b-commit15-20261114.md, sha256 5359c30301dc5ecc706983319049cb86c094bba8cd34e75ca08eb0b70be81c09, with the commit 14 and commit 13 briefs' procedure; the coordinator's additions of part N's READY and part O; and the stage 2 message on the stage 1 report, scratch-fold-1114b-c15/REPORT-fold-1114b-c15-stage1-saved.md, sha256 b2e093c1b4efe7fb0a4a3db555ced8b6b7cc489d394f4cca9f35e575f4e9071f). It takes what the checks of commit 14 found: the independent check, rv-commit14-20261114/REPORT-review-commit14-saved.md (sha256 3855be6e4690981c9be42b4a16cba4adf264f1da3c735a03e7dc4f8463766d68), whose S1 to S5 and N2, N3, N5 and N6 it answers; lane 2's TX29 (BUILD-W23/TX29/TX29-commit14-check.md, 00a937ad…; #165 6870938073); lane 1's check (#165 6870983059); lane 4's (#165 6870954330); and lane 5's (#165 6870912345, 6870999632).

Sources, by post id (all opensoft/openRepoTools#165), each saved file checked by its sha256:
- Lane 3: 6870017590 (choice (b) on verify.yml's dispatch), 6870473237 (W45-SEAM's words in the three `msg` places, K9), 6869860086, 6870386695 (T425's subject cut), 6870742951 (commit 14's post; no map rows for T280's ids), 6870898118 (T243u's factor stays 10), 6871338814 (T206 amends code main's reviewed full-CI baseline; T425 READY taken), 6868034845 (N-2), 6859073786 (the seam ruling).
- Lane 1: 6870983059 (commit 14 confirmed; point B, the stale 4.27 cites; T124's place but T328's S007-56; merge103 `9eb0fb2a0a7b330fab4380b4623dd55e518bfc29` took code main `a15a6b54`, and merge104 `142afd9056cfdcfbad0e6f5c6c62928b3561755f` took the seam fix `0aa7f04c`), 6869810000, 6869870250, 6871298365 (T206 against the parity test, `verify/l1/r6l-tw`, run 43550439941).
- Lane 2: 6870885913 (T280b `ee22c3fb5ee19bd1de21a70f34d68faaf5f03c07`; RV26's SHOULD 3), 6870544378 (T243u `4d157eeb` and T252y `97e2318f`; REPORT-LINE-BU-23.md, 97d9a15a…), 6870627096 (T276h `4044c2b5`, T217zm `4bfd5eab`, T217zn `223596a4`, T217zo `cc2e708c`, T246g `a014a1ce`, T245zh `50252507`, T240g `6d7355b3`; REPORT-LINE-DR-23b.md 086e5904…, REPORT-LINE-NT-23a.md e15c6e06…, REPORT-LINE-NT-23a-b.md 12f1d90a…, REPORT-LINE-NT-23b.md daa7cafe…), 6870938073 (TX29), 6869910867 and 6869959036 (T280's and T281's text confirmed), 6870099376, 6870449334; REPORT-LINE-GT-23b.md (1ec4b742…).
- Lane 4: 6870954330 (commit 14's lane 4 lines confirmed, corrections 1 to 4, T425's offered bullet, the ALSC runs), 6871131058 (T425's cut `b77fdea4f002bb4916ab1de146fcd91a8a76ca4d` READY by RC-W49; bundle 951c53c94f44b5345467b837d4c579e262d777d49f94295d939816197e97fb03), 6871294666 (M104C-b1, 264 passed, run 43550630098), 6870452610 (the seam fix and the twin's final LF), 6870423442, 6868335526 (point 3, :870).
- Lane 5: 6870818735 (the failing test `a9981101`, its four ids, its gate table, files mode's `â`), 6870999632 (the cut and the NIT round merge cleanly with merge104), 6870912345 (optional notes 2 and 3), 6870369209.
- Task sets v11c (TASK-SETS-draft-v11c.md, c330f66a66c994006adb6bf070262edeefc6a2f14c1a74170d8089173cca261f), landing note 21.
- Bundles, by sha256 and `git bundle list-heads`, read only: lane 5's l5-007-append-line-subject-cut-test-a9981101c342.bundle (acab5cb0…), lane 4's l4-007-T425-subject-cut-join-v2-held-20261114T0313Z.bundle (951c53c9…), lane 1's merge103 (5977acbb…) and merge104 (4e17fce1…), lane 2's T280b (8d78a4c6…).
- Code facts read by object in lane 3's store: `0321dfc2:tests/test_guard_quote_cut_507.py` (no `GATE_TABLE`); code main `a15a6b54` (refs/code/main): `tests/test_full_ci_coverage_parity.py:71–72`, `:84`, `:102`, `.github/ci/full-ci-baseline.json`'s `environment`, `job_sha256` and `amendments`, `.github/ci/batching-pilot.md:17–18`, and code#51's `b227d53` amendment; `a2073eae` is an ancestor of `a15a6b54`.

Builder and lists: /workspace/projects/.lane-worktrees/openRepoTools-3/briefs/165-review/build-fold-1114b-part15s2.py (sha256 740dd3a7ce020bab33c50d6430518d61a95f38c676148a5dffbedf05b39a016d) wrote /workspace/projects/.lane-worktrees/openRepoTools-3/briefs/165-review/fold-1114b-part15s2-edits.json (sha256 c520aebe28fc6fbc381f5736ed2481e26820bf71ab8bf423f9ac15a67ac38371), 67 entries: A 24, B 2, C 2, D 1, E 3, F 4, G 4, H 10, I 1, J 4, K 2, L 1, M 1, N 1, O 3, P 4. The stage 1 builder, build-fold-1114b-part15.py (f208e8df…), and its lists, fold-1114b-part15-edits.json (ddaf126e…) and fold-1114b-part15-full-edits.json (abba97c7…), stay as they were. Each base file is read from bc4a66b's object; each old was found exactly once, on its line, in the base and in the text as the earlier edits left it; every edit is in place and every file keeps its line count, except test-map.tsv (+4 rows).

Edits, by part:

A. The contract's draft 4.28 cites (the check's S1; lane 1's point B, #165 6870983059), in the form of the 4.27 bump `eba0041`; contracts/register-cli.md is not edited (its digest, b65972363b49912b47744e6c81e182ca0eb123979e95ce713f2c780d05f62ced, computed from bc4a66b, equals the check's). Each place names draft 4.28 as "`b6597236…`; lane 1's draft 4.27, #165 6834642319, with lane 3's K9, #165 6870473237":
- tasks:44 "drafts 4.12 to 4.27 keep them to :637" → "drafts 4.12 to 4.28 …" (true: draft 4.28 keeps every line of draft 4.27); tasks:138–139 "is lane 1's draft 4.27 (`7959603a…`, 1023 lines, #165 6834642319)" → "is draft 4.28 (`b6597236…`, 1023 lines; lane 1's draft 4.27, …)"; tasks:151.
- tasks:152, the chain of drafts, gains "; lane 3, 007's follow-up spec PR, 2026-11-14: draft 4.28 (`b6597236…`), which is draft 4.27 with lane 3's K9 at its :5 and :495, the seam's `msg` held as files mode's `git commit -m` stores it (lane 1, #165 6869810000; lane 3, #165 6869860086 and 6870473237; W45-SEAM's words, lane 4, #165 6870452610), replaces draft 4.27 in the branch." (lane 1's point A and the check's N5).
- research.md:173–174; plan.md:268, :283–284 and :289 ("Lane 3 copied draft 4.27 into the path as it is, then made K9 in it as draft 4.28, and …").
- contracts/README.md:6 and :8 ("lane 1's contract, draft 4.28, keyed to Y"), :9–10 (draft 4.27 copied 2026-11-12, "with lane 3's K9 made in it on 2026-11-14 (#165 6870473237). Draft 4.27 replaced draft 4.20 …"), :18 ("for draft 4.28, lane 1's contract draft 4.27, …"), :20 (gains "Draft 4.28 adds lane 3's K9 at :5 and :495: …"), :22–23 (the full new digest, "lane 1's file with lane 3's K9"), and, as `eba0041` moved them, :29, :189 and :234 (each true at 4.28).
- contracts/config.md:5 and contracts/exit-codes.md:5.

B. T124's place (the check's S3; lane 1, #165 6870983059), tasks:2852:
- first place: "after every other set that touches `lanes-index`," → "after every other set that touches `lanes-index` but S007-56, which lands after it (T328's set; landing note 21)," and the cite "(lane 1, #165 6869870250 and 6870983059)". This is lane 1's offer with T328's name inside the parenthesis: `edges.py` reads every T<nnn> outside a parenthesis in a Depends on item as an edge, and with lane 1's exact words ("but T328's S007-56, …") it gained the false edge T124 → T328 (edges 835 and 848, `check_deps` 741), and `unmet.py` lost all 615 of T124's lines, since T328 reaches every task (stage 1's probe b1x).
- second place: "…S007-55a, which its place after every other set that touches `lanes-index` gives (the task-set draft's landing note 21), so" → "…S007-55a (landing note 21), so".
- Checked against task sets v11c (s55a_v11c.py, 0b1e88b1…): S007-55a has 45 ancestor sets; T124's 615 `unmet.py` lines wait for 35 tasks in 20 sets, all ancestors; S007-56 is not an ancestor and not among them; of the 11 sets whose row names `lanes-index`, S007-56 alone is not an ancestor.

C. Stale status lines (the check's S2 and N2): tasks:2622 "both are proposed, for their owners to confirm." → "lane 1 confirmed T124 and chose its form (lane 1, #165 6869870250), and lane 3 confirms T347 (lane 3, 2026-11-14)."; tasks:2832 "Lane 2 confirms T280's and T281's text;" → "Lane 2 confirmed T280's and T281's text (#165 6869910867 and #165 6869959036);".

D. Attribution (the check's S4): tasks:2841 "(lane 3's choice (b), 2026-11-14, on lane 2's gap, …" → "(lane 3's choice (b), #165 6870017590, on lane 2's gap, …".

E. The seam's gloss (the check's S5) and AT-1's message check (lane 4, #165 6870452610):
- design.md:5108 "with no final LF of its own, so both modes store the same message (lane 3's ruling, #165 6859073786; lane 1, #165 6869810000)." → "with no final LF of its own; files mode's commit message ends in the one LF git adds, which the twin test allows (lane 3's ruling, #165 6859073786; lane 1, #165 6869810000; lane 4, #165 6870452610)."
- test-plan.md:580 "Its message equals the twin's commit message, byte for byte, but …" → "Its message equals the twin's commit message less that message's one final LF, byte for byte, but …", and its cite gains "; lane 4, #165 6870452610". test-plan.md:546 stays, since it mirrors spec.md's requirement ("exactly as today").
- research.md:117: the test plan's digest `41860b2b…` → `6cb2cdca…` (41860b2b53bb448e3054c2f900a6bb3380997611bfa916c8f9797cd10003e213 → 6cb2cdca103f5be44d7389fbf7da7b631b1ab5b5d56bc14bcfc974486e6d549e).
- research.md:136, the fold log (the fold writer's addition, as commit 14 logged its own in-place edits): "And, in place, in fold 1114b's commit 15: TP:580 (Y's :580), AT-1's message check, …, and design:5108 (Y's :5061), whose `msg` clause now says that files mode's commit message ends in the one LF git adds, which the twin test allows (lane 4, #165 6870452610); none moves a line."

F. T425's facts (lane 4, #165 6870954330, corrections 1 and 2; lane 5, #165 6870818735 and 6870999632), tasks:1313: "a multibyte character across byte 72" gains "under a POSIX locale"; "while files mode commits the same line" → "while files mode stores the subject ending in `â` (lane 5's case 3, #165 6870818735)"; the helper "calls no T507 code and leaves the caller's locale as it was; in lane 4's words, "files mode's subject changes with it: ASCII text is unchanged; under a UTF-8 locale a text with multibyte characters in its first 72 gets at most 72 bytes where it got 72 characters; under a POSIX locale the character across byte 72 is dropped whole where git re-read its first bytes as Latin-1" (lane 4, #165 6870423442 and 6870954330). Lane 4 built it as `b77fdea4`, READY by lane 4's independent re-check RC-W49 (lane 4, #165 6871131058), and lane 5 wrote the failing test, `tests/test_append_line_subject_cut.py`, head `a9981101` on line R's merge103 `9eb0fb2a`, with four ids, …, and the gate table `{"*": ("T425",)}`, …"; and the runs: `verify/l4/ALSC-base`, 250 passed and 2 failed, the two em dash cases (run 43550915049), and `verify/l4/ALSC-fix`, 252 passed (run 43550915250).
- test-map.tsv:595–598: one row per id, since the four ids are four functions and the map's `name` is one function, unique by T204's verify. Task T425, phase empty, `new since v3f`, story US3, source "new since v3f: T425's subject cut, lane 5's case <n> of 4 (`a9981101`; lane 3, #165 6870386695; lane 5, #165 6870818735)", `new_ids` empty. Requirements, lane 3's choice, each name spelled as the map's other cells spell it: cases 1 to 3 "The journal records each write" (no row's whole cell is that name alone; 104 cells name it); case 4, the stale landing form, "The journal records each write; A stale `LANDING` is released by `append-line --landing-expired`, on Brett's word".

G. T280b (lane 2, #165 6870885913; REPORT-LINE-GT-23b.md): tasks:2838 "10 ids … (lane 2, #165 6870449334)" → "11 ids … (lane 2, #165 6870449334 and 6870885913)", with "T280b's case, `test_with_the_gate_on_and_no_marker_directory_every_row_is_waited_for`, that with the gate on and no marker directory every probe id is skipped with its exact reason (lane 2's RV26, SHOULD 1)", and "The map holds no row for these ids: the gate is scaffolding that T281 removes in the last set (lane 3, #165 6870742951)."; tasks:2842 gains GT-23b's As built words, lead in bold, "; lane 2, #165 6870885913" before "):**".

H. Wave 23's later As built words (lane 2):
- tasks:2339: T243u, BU-23's words, with "; lane 2, #165 6870544378", then "With even attempts, `max(30, ceil(10 × p95))` leaves about one attempt of room on py-bench (lane 2's RV26, SHOULD 3, #165 6870885913); the factor stays 10, the text of Brett's Q6 (d)'s option (c), and lane 2 records `room_s` beside the drain next window (lane 3, #165 6870898118)."
- tasks:2395: T252y, BU-23's words, its five bullets joined as sentences.
- tasks:2543: T276g in TX29's house form ("opensoft/openRepoTools#165" written "#165"), and T276h, DR-23b's words, with "; lane 2, #165 6870627096".
- tasks:2312: T240g, NT-23b's words, with "; lane 2, #165 6870627096", after T240f (T240's block has no As built line).
- tasks:2029: T217's verify names `…three_moved_runs[generation-moved]` by node id; tasks:2030: "collects 205 ids" → "collects 206 ids", "and 206 since T217zm's `[generation-moved]` (lane 2, #165 6870627096)"; test-map.tsv:588: that function's row, in place, `new_ids` "one-move|three-moves" → "one-move|three-moves|generation-moved", its source gaining ", with `[generation-moved]` (lane 2's RV23 NIT 3; line N1's T217zm 4bfd5eab; lane 2, #165 6870627096)" (a second row would repeat the name).
- tasks:2054 (T217zm, T217zn, T217zo), :2361 (T245zh) and :2370 (T246g): lane 3's words, from lane 2's commit subjects (verbatim) and NT-23a's and NT-23a-b's reports, which give no As built words of their own; for lane 2 to confirm.

I. T281's files: (TX29, #165 6870938073): tasks:2844 "`tests/test_repo_hygiene.py` and `tests/test_sql_register_*.py` — verify:" → "`tests/test_repo_hygiene.py`, `tests/test_sql_register_*.py` and `tests/test_append_line_subject_cut.py` — verify:". Not added: `tests/test_guard_quote_cut_507.py`, which carries no gate table at `0321dfc2`.

J. Lane 4's facts (#165 6870954330): tasks:1126 gains "; it joined line R in merge104 `142afd90` (lane 1, #165 6870983059; lane 4, #165 6870954330)"; tasks:1345 gains "; `verify/l4/M101-t428`, 5 passed (run 43542461626; lane 4, #165 6870954330)"; tasks:870 "(`:2039`, `:3885`, `:5643`), where" → "(`:2039`, `:3885`, `:5643`) at merge91, where", lane 4's point 3 of #165 6868335526 as lane 4 words it (the check's N6).

K. Lane 5's notes (#165 6870912345): tasks:2292 "(§11.2, `socket-api.md:353`" → "(§11.2, draft 11's `socket-api.md:353`"; tasks:1607 "(lane 3's N-2; lane 1's NIT-e; …" → "(lane 3's N-2, #165 6868034845; lane 1's NIT-e, #46 comment 6867197476; …".

L. Line R's base (lane 1, #165 6870983059): no line named line R's newest merge or its base as the present state; tasks:1811 "Code `main` is `a2073eae` since code#16 (#165 6741224522)" → "Code `main` was `a2073eae` from code#16 (#165 6741224522), and line R's merge103 `9eb0fb2a` took code `main` `a15a6b54` (lane 1, #165 6870983059)".

M. N3 (the check's N3): tasks:2271's node id `tests/test_sql_register_guard.py::test_a_65536_byte_request_is_sent_and_taken_and_a_65537_byte_one_is_neither` is single-quoted like its neighbours; kselect's selections are unchanged, and the verify's argv under shlex is identical.

N. T425's built cut, at the end of T425's last bullet, tasks:1320 (its block has no As built line): lane 4's offered bullet verbatim, "**The subject's cut** (lane 3, #165 6870386695; lane 5, 6870369209): both `append-line` subjects take … lane 5's test pins it."; then its As built entry, naming `b77fdea4f002bb4916ab1de146fcd91a8a76ca4d`, branch `l4-t425-subject-cut-join-v2`, its bundle and sha256 951c53c94f44b5345467b837d4c579e262d777d49f94295d939816197e97fb03 (whose "held" predates the re-check), `utf8_prefix_72` at `b77fdea4:lanes-edit.sh:3315–3364` and its callers `:3532` and `:29679` (`:29701` merged with merge104), RC-W49's READY, the runs (ALSC-fix 252; R6JC-t425 310, run 43550631382; M104C `a` 509, run 43550630597, `v1` 360, run 43550630613, `v2` 488, run 43550632222, and `b1`, the bash suite, 264 passed (run 43550630098; lane 4, #165 6871294666), all with 0 failed, so all five runs are green), its clean merges onto merge104 and with lane 5's NIT round `0321dfc2` (lane 5, #165 6870999632), and lane 4's two NITs (one more fork, about 1.5 ms; a trailing space that the seam's cleanup and files mode's `git commit` strip).

O. T206 and code main's reviewed full-CI baseline (lane 3, #165 6871338814; lane 1, #165 6871298365): tasks:1916's `files:` gain `.github/ci/full-ci-baseline.json`, and its verify gains "&& TMPDIR=/tmp OPENREPOTOOLS_REQUIRE_PG=1 bash tests/run.sh -k 'full_ci_coverage_parity'"; tasks:1917 gains "Code `main`'s reviewed full-CI baseline pins that `env:` too: … (`a15a6b54:tests/test_full_ci_coverage_parity.py:71–72`), so the baseline's `environment` gains `"OPENREPOTOOLS_REQUIRE_PG": "1"`, its `job_sha256` stays as it is, and its `amendments` gains one entry in the form of code#51's (`b227d53`): a `reason` that says it is environment only, and the `source_commit`. `a15a6b54:.github/ci/batching-pilot.md:17–18` allows a baseline edit under explicit coverage review, and this one reduces nothing: …; S007-04's PR body gives that coverage review (lane 3, #165 6871338814; lane 1, #165 6871298365)." At code main `a15a6b54`, `-k 'full_ci_coverage_parity'` selects only `tests/test_full_ci_coverage_parity.py`'s 12 functions, by pytest 9.1.1's Expression; no other task's `-k` selects any of them, and the `-k` calls go from 219 to 220, T206's alone added.

P. The map's counts: tasks:1755 gains ", then T425's four subject cut cases (`7f824157…`, 597 rows)"; tasks:1900 "assert len(r) == 593;" → "assert len(r) == 597;"; tasks:1901 "597 rows, the test plan's 512 with `source` `v3f`, and 85 with `source` `new since v3f`", gaining "; then T425's four subject cut cases, lane 5, #165 6870818735".

Not applied:
- N4, tasks:85 (the check's N4): INTERIM-T280-text.md's W1 says only that "Format" "would take the same clause", gives no words for it, and its sentence holds two clauses whose "the reader" and "that list" have no referent at tasks:85.
- N7, tasks:2082's "(lane 2's reading, not run on a tree before T415)" (the check's N7): the keys are unchanged, but the per-id tool reads the parenthesis as part of T219's clause text (its ids stay T415), so the brief's first condition does not hold.
- O4, tasks:2022's ", and, for its write on primary, until T415": it adds one `unmet.py` line, "T117 T215 T415 test_the_guard_refuses_a_ref_behind_a_rollbacks_head", and splits T215's per-id clause. T117's verify does not select that test (lane 2, #165 6870938073): by pytest's Expression the verifies that do are tasks:213, T326's :1542 and, by node id, T215's :2014. `unmet.py`'s T117 line comes from its evaluator, which reads `and_no_guard[status]` in T117's second call (tasks:533) as UNKNOWN and keeps an UNKNOWN as a selection. So lane 3's commit 14 post (#165 6870742951) was wrong to say that T117's verify selects it.
- tasks:883 and :1399: lane 4's point 3 gives words for :870 only.
- The seam's last CI run (`verify/l4/M101S-b1`, 264 passed, run 43546942306): commit 14 names no runs of the seam fix, so none is added.
- test-plan.md:546 (see E); contracts/register-cli.md:486 (the check's N1), since any change would move the contract's digest again.
- Readers' `test_an_expectation_2_at_lane_starts_last_write_dies` (lane 3, #165 6871338814): waits for lane 2's build; T217's and T428's lines are not edited for it.

Digests after the edits: tasks.md ff6b2768cef53c321327e2e1926c75b772d994665c198265e3a34dd3e45611b7 (2,862 lines, 35 changed in place), research.md 31a81dec8d242e7ac1114564fdad1725eea5ba1bd74dfb65abe5f429ae6c00fc (1,801 lines, 4 changed), test-map.tsv 7f8241570dec61e678bea34d3b212fec614d250d75d2f7409e591ffff7fd7c40 (598 lines, 597 rows: 512 `v3f`, 85 new since v3f; 1 changed in place, 4 appended), test-plan.md 6cb2cdca103f5be44d7389fbf7da7b631b1ab5b5d56bc14bcfc974486e6d549e (9,221 lines, 1 changed), design.md ebf061733fb1eae56c290ca746336be9723c197bf1b1fe4a4bbe6108be12c3b5 (6,792 lines, 1 changed), plan.md a5a14e6b43a5a5d1dbf8b3aaeb328e6159b0d1f0cb1fc3d57f96bb58e6e68375 (867 lines, 4 changed), contracts/README.md bdf74d83d1d3104f706d93408496d6950c1d041333cc728d4ad1c74ebec1273b (274 lines, 11 changed), contracts/config.md 445bc5f54bfa5881e8c5cc5ef7176153094f2fda58ddcbe738c862c8ffe859de (254 lines, 1 changed), contracts/exit-codes.md 7a80372eea7593b7a1864fb9faa38dedc491b1ef4ff415d8c600071217058bc4 (305 lines, 1 changed); spec.md (b0a349f9…, 1,632 lines) and contracts/register-cli.md (b6597236…, 1,023 lines) are unchanged.

Checks, run on the scratch export of this variant (git archive of bc4a66b plus the builder's export, byte for byte the files of this commit) against bc4a66b, the same tools on each (scratch-fold-1114b-c15/run-s2r1.log, sha256 9811f2ab6775a69c3eca1d531b00ba413e81d580d5233b4817281f7e7f4a5862):
- Cites (check_cites_f23.py): 885 occurrences, all resolved, 69 quotes, RESULT: PASS, as at bc4a66b. `openspec validate add-sql-register --strict` exits 0.
- Edges: `edges.py` 834 and `edges_v2.py` 847, unchanged and acyclic (Kahn and DFS); `check_cycles2.py` 157 tasks, 65 Orders, no cycle; `check_deps.py` 740, no cycle.
- Fails-until keys: 1,209, 539 and 845, unchanged, none added or removed; the inline scanner 49 statements and 0 reach-back hits; the flat scanner 23 clauses, the same text; per-id clauses 256, unchanged.
- `unmet.py`: 2,772 lines, unchanged.
- `kselect.py`, one call per map row: 593 rows become 597; none of the 593 moves; each new row is selected by T425's `-k 'append_line_subject_cut'` (tasks:1310) alone.
- T204's verify, run as tasks:1900 writes it against this map: passes.
- The hazards scan (a bare `<word>` outside a code span, `|` in a table row's code span, ASCII stand-ins): 0 flags; inside code spans, lane 2's verbatim `lanes-edit.sh:15276-15365`.
- `git diff --check`: four flags, test-map.tsv:595–598's trailing tab, the empty `new_ids` column, as 505 of the map's 594 lines at bc4a66b end.

Lane: openRepoTools-3
Co-Authored-By: Claude Opus 5.5 <[email protected]>
brettheap added a commit that referenced this pull request Nov 14, 2026
…view: T236's task line, FR-018's 64 for request-handoff, T512's eight cases and T240's cache-path case in the test plan with its map row, SC-005's 50 ms gated at the release in T343's run, v1.3.0 in the proposal and design, and the pseudo-targets; with lane 2's wordings (tasks:289–290, :882–883, :887, :1344–1345, :1347, :1598–1599, :1650, :1663, :1716, :1720, :1755, :1805, :1900–1901, :1917, :2000, :2054, :2285, :2361, :2395, :2543, :2772, :2781, :2790, :2832, :2834, :2842, :2863–2871; research.md:117, :136, :174, :1226, :1235; spec.md:724, :1131, :1540–1541; test-plan.md:618, :1893, :1907, :2007, :2067, :8052, :8056, :8357, :8366–8367, :8530, :8585, :8588, :8601; design.md:301, :337, :3678, :4873, :6335, :6338, :6481; proposal.md:3, :1143, :1209, :2021; specs/register-service/spec.md:279; test-map.tsv:599) (opensoft/openRepoTools#165 6877006381, 6877053562, 6877141830, 6877156333, 6870898118, 6850668854, 6859896678, 6860331260, 6866399242, 6870627096, 6828035829, 6833882556, 6867282580, 6866869421 and 6877326009; part of opensoft/openRepoTools#165)

Fold 1114c, commit 17, on commit 16 (c525d53). It makes the follow-up's fixes for the five BLOCKING findings of the Codex review of spec#17 at 33eb082, which lane 3 ran on Brett's "2a" (briefs/165-review/RULINGS-brett-20261114-qeta.md, 61629824…): by the review prompt's own rule a defect the follow-up fixes is graded SHOULD, so spec#17 can land, followed by the follow-up. Lane 3's brief: briefs/165-review/BRIEF-007-fold-1114c-commit17-20261114.md (sha256 6e0efdc00a7f2e111c1810a69d4e3de466b6febd49baf81d371f2baae4787261), with its parts G and H, its stage 2 rulings and lane 1's nit (part I), sent to the fold writer and posted with this commit.

The two review reports, read whole and checked by sha256:
- codex-review-prompts-20261113e/reports/spec17-33eb0829-r2.md, sha256 26015e478df7adf2a881e0edb990ceb5b1a7edb8d4301e4ad5916e7b2f5053db (spec#17 at 33eb082: five BLOCKING, two open SHOULDs, three NITs);
- codex-review-prompts-20261113e/reports/followups-f4591a08.md, sha256 f716e4d39bacbccebe55937bf46d344bd2f86b30453f4f49745698e89d0ce7a2 (the follow-up at f4591a0: three SHOULDs and five NITs, all but NIT 8 already met here; see G).

Sources, by post id (all opensoft/openRepoTools#165), each saved file read by the builder, which asserts the words each edit rests on:
- Lane 3: 6877006381 (the reviews routed; the rulings on FR-018 and SC-005; T236's line drafted for lane 2), 6870898118 (`2000f292` in S007-39).
- Lane 4: 6877053562 (FR-018's code at line R's merge104 `142afd90`: `pw_checkout` exits `pw_pre_rc`'s code, `lanes-edit.sh:8764`, which prints 64 for `request-handoff` and 2 for every other writer, `:8737–8738`; `:8715–8716` and `:8742` at merge101).
- Lane 2: 6859896678, 6860331260 and 6866399242 (T236b `80e323e5`, its cut-suite run and its whole-suite 4874 passed, 0 failed); 6870627096 (RV22's NIT 11 not taken); 6850668854 (T234's head does not hold the `A15_OLD` stub); 6877141830 (its check of commits 15 and 16, with two wordings and the additions for T217zm, T245zh and T206; TX30-commits15-16-check.md, ed36a50b…); 6877156333 (A15 `2000f292` on line R since merge74; T280's call 1 under CI's pytest 8.3.4; PV-24-pytest-834.md, 15c84e2f…).
- Lane 1: 6828035829 and 6833882556 (T511's drafts 8 and 9 pass the U5 gate with no MUST), 6867282580 (drafts 10 and 11, confirmed in #46 comment 6867197476), 6877326009 (commits 15 and 16 confirmed; one nit for commit 17, research.md:173–174).
- Lane 5: 6866869421 (a later draft takes lane 1's check in its PR).
- Lane 2's reports, by sha256: BUILD-W20/REPORT-LINE-T236-20-final.md (1f23d1b5…), BUILD-W21/REPORT-LINE-T236-21.md (626b287f…), BUILD-W23/NT-23b/t236-nit11-conflict-proof.txt (9a4c31a0…).
- Code facts read by object: in lane 3's store b346-20261114/code.git, `2000f292` is an ancestor of merge104 `142afd90` (refs/l1b/tags/l1-007-R-merge104), and merge74 `6cc97753` ("Line R merge74: merge lane 2's A15_OLD stub (2000f292), …") has it as its second parent; in r1114b/code.git, `a15a6b54:tests/conftest.py:573–577` (the parity module's skip without `upstream/openRepoShape`) and `b227d53:.github/ci/full-ci-baseline.json`, whose one `amendments` entry has the keys `jobs`, `reason` and `source_commit`.

Builder and list: /workspace/projects/.lane-worktrees/openRepoTools-3/briefs/165-review/build-fold-1114c-part17s2.py (sha256 a14f4b7aaab0410dd7884bc66673d1313a5078c79900e4f4f32c0f831b8161f7) wrote /workspace/projects/.lane-worktrees/openRepoTools-3/briefs/165-review/fold-1114c-part17s2-edits.json (sha256 ff64898961c4a7afb595a9177074ed037820193e62d6e92acba7ba87452e84a9), 71 entries: A 8, B 3, C 15, D 17, E 11, F 8, H 8, I 1. It is stage 1's builder, build-fold-1114c-part17.py (b2d2b4d2…, kept as it was), with stage 2's rulings 3 and 5 and lane 1's nit applied; fold-1114c-part17-edits.json (435cfe0b…), a first stage 2 list made before lane 1's nit, is superseded and unused. Each base file is read from c525d53's object; each old was found exactly once, on its line, in the base and in the text as the earlier edits left it; every edit is in place, and every file keeps its line count, except tasks.md (+9, T236's block) and test-map.tsv (+1 row).

A. BLOCKING 1, T236 has no task line though T428 depends on "PENDING-L2: … T236":
- tasks:2863–2871: T236's line, under the heading at :2830, after T347 (`[US2] [O]`, files: `tests/test_lane_helpers.sh`, verify in T234's form), with its Source, Phase, Tests (no pytest id, so no map row), what it does, its As builts (T236 `583fa675` on tasks:1347; T236b `80e323e5`, tag `l2-007-T236b`, sha256 `00d068dc…`, 4874 passed, 0 failed on lane 4's T428 `c4a53da3`; NIT 11 not taken), the landing gate's `TASK_IDS`, and its Order: "waits for nothing", landing in T428's pull request. The words are lane 3's, from lane 2's reports, for lane 2 to confirm.
- tasks:1344, T428's Depends: "PENDING-L2: lane 2's T236, the re-points …" → "lane 2's T236: the re-points …", so T236 is ordered before T428; tasks:1345 records it; tasks:1347 "which has no task line and which the `PENDING-L2` marker on the Depends line above names" → "whose task line follows T347 at this file's end and which the Depends line above names"; tasks:2832 notes T236 after the four tasks.
- tasks:1805, :2772 and :2790: lane 2's task lines 65 → 66, FR-059 in all 66 (the review's NIT on "62"). No line states the task total as current: tasks:2265's 153 is round B14's, and tasks:2839 and :2842's 157 is T280's list at `8e8d1b49`. 158 task lines now.

B. BLOCKING 2, FR-018's 2 for a missing `<c>` against `request-handoff`'s 64 (lane 3's ruling, after T415's text):
- spec.md:1131: "and refuses with 2, naming" → "and refuses with 2 (but `request-handoff`, which refuses 64 there, as for each of its refusals before the claim: its missing lane, `LANES_NO_GIT=1`, `pw_lane_given`, a missing `<c>`, a pending hand edit and no author identity (T415, tasks:1155; `pw_checkout` exits `pw_pre_rc`'s code, `lanes-edit.sh:8764` at line R's merge104 `142afd90`, and `pw_pre_rc` prints 64 for `request-handoff` and 2 for every other writer, `:8737–8738`; lane 4, #165 6877053562; lane 3's ruling, commit 17's post)), naming".
- research.md:1226 (DEC-10) the same in short; :1235 gains the 64's sources (Q35, 6780753157; batch c Q67, 6807881675) and this ruling. operations.md:278 already says "(64 for `request-handoff`)"; no delta spec, design or contract line states the rule.

C. BLOCKING 3, nine verify tests absent from the test plan:
- T512's eight (lane 5's, A5 and A7), in AT-10 in place: TP:1893 (Proves), :1907 (Fixture), :2007 (Oracle) and :2067 (Tests, with their parametrize ids); and their rows of section 6.2: TP:8585 (SVC-2 and SVC-5) and :8588 (SVC-4 and the failure stamp).
- T240's `test_rename_lane_commits_the_transaction_only_where_its_handoffs_path_has_no_cache_part_on_primary` (lane 2's, B15's REV422c N1, lane 3's batch c Q56, #165 6807881675): TP:618, AT-1's test list, with its oracle; TP:8530, the `rename-lane` row; test-map.tsv:599, its row (T240, W, new since v3f, row 578's requirements, US2).
- The map's counts: tasks:1755 gains "then T240's cache-path case (`2560802e…`, 598 rows)"; tasks:1900 `len(r) == 597` → `598`; tasks:1901 597 and 85 → 598 and 86, and its list gains the case.
- research.md:117: the test plan's digest `6cb2cdca…` → `1344002a…`; research.md:136 records this commit's in-place hunks with Y's numbers.

D. BLOCKING 4, SC-005's 50 ms never gated (lane 3's ruling: SC-005 keeps "under 50 ms"; each figure names its register):
- The gate: T343's warm p95 on quickstart's scratch database, on a workstation with PostgreSQL 16, from the client's connect to the last byte of a digest-checked answer, over the run's repetitions, rounded up to whole milliseconds; it fails at 50 ms or above. CI's figure: T237's, on the test fixture's register, which only warns, since CI's runners vary too much for a 50 ms gate (Brett's Q6 discussion of 2026-11-13 measured that variance for D7's burst).
- spec.md:1540–1541 (SC-005): "on the fixture register" → "on the scratch database of T343's quickstart run", and it gains the gate and CI's warning; spec.md:724 likewise.
- specs/register-service/spec.md:279: the requirement keeps "under 50 ms, measured as Q10 settles, from the client's connect to the last byte of a digest-checked answer", taken as the warm p95 at the release gate (007's T343) in place of "on the suite's fixture register"; CI records the figure there with a warning.
- TP:8052 and :8056 (section 5.4's "The 50 ms"), :8357 (test 10), :8366–8367 (SVC-7's note) and :8601 (the requirement's row) say where each figure is taken and that only T343's gates.
- tasks:1716 (T343): it times the service's answer, and its verify gains a check that `- service answer p95: <n> ms` is present and under 50; tasks:1720 defines that line; tasks:2285 (T237), :1650 (T512), :1663 (Checkpoint S) and :2781 (the SC-005 row, now T343 and T512) follow.

E. BLOCKING 5, the proposal and design still name v1.2.0 as 007's release (Brett's "v1.2.0 now, 007 later (Recommended)", 2026-11-10T13:22:23Z, #165 6768477034):
- proposal:3 (the milestone, "(`v1.2.0` until Brett's …)"), :1143 and :1209; design:301, :337, :3678, :4873, :6335 and :6338: v1.2.0 → v1.3.0.
- proposal:2021 and design:6481 keep Brett's answer of 2026-11-08 and add that his later answer moved #165 to v1.3.0.
- v1.2.0 is kept where it is history: proposal:39 (as scheduled), :128 (Brett's quotation), :2004–2020 (R3's question as asked and Brett's dated answer, superseded by :2021's note), design:6479 (the answered question, superseded at :6481), and the quotations of Brett's later answer.

F. The review's second open SHOULD and its NIT on tasks:2000:
- tasks:289 (T107): "PENDING-L2: case 6a's replace and remove forms, …" → "lane 2's T221: case 6a's replace and remove forms, …, which T221's step-6 test takes as `[6a-replace]` and `[6a-remove]` (tasks:2124; …)"; tasks:290 records it. T107 already depended on T221.
- tasks:882 (T403): "PENDING-L2: lane 2's change to the helper suite's `A15_OLD` stub, in T234's form …" → "lane 2's A15 `2000f292`, its change to the helper suite's `A15_OLD` stub (`files: tests/test_lane_helpers.sh`), which answers `register-text` from `$LANES_FILE` and lands before or with this task: it has been on line R since merge74 `6cc97753`, and it rides S007-39, this task's set, so it lands with this task (…; lane 3, #165 6870898118; lane 2, #165 6877156333)". It is not T234, whose head does not hold it (lane 2, #165 6850668854). tasks:883 records it, and tasks:887 names the commit.
- tasks:1598 (T511): "PENDING-L1: lane 1's U5 review" → "lane 1's U5 review, which drafts 8 to 11 passed with no MUST (…6828035829 and 6833882556; … spec#46 comment 6867197476, … 6867282580), a later draft taking lane 1's check in its PR, as drafts 10 and 11 did (lane 5, #165 6866869421)"; tasks:1599 records it.
- tasks:2000 (T214, NIT): the stale `test_a_bind_stopped_by_its_bound_leaves_no_process_of_its_group_after_the_sweep` → the canonical `test_a_bind_body_past_its_bound_ends_with_the_bounds_code_and_leaves_no_process[grandchild-ignores-term]`; no selection moves.
- Left, with no confirmation in the saved posts, for lane 3 to ask lane 1: T507's R07 review (tasks:782), T512's U5 gate (:1606) and T513's U5 review (:1654). Open for lane 1's T119: the Git 2.32 floor, the review's first SHOULD.

G. The Codex review of the follow-up at f4591a0: its SHOULDs 1 to 3 and NITs 4 to 7 were already met at c525d53, so nothing changes here:
- SHOULD 1: T217's count, tasks:2030 (34 tests, 18 new since v3f), the map's rows for T217's two `register grep` cases and T245's two-calls case (f0c7d09); T245's verify selects that case, tasks:2351, and its count is 28 with four new, :2352 (8e8d1b4).
- SHOULD 2: T405's join at tasks:903 names `78933393`, `d76e8dc6` and the re-check's `cb268e6e` (f0c7d09).
- SHOULD 3: T432's ERR-36 correction is in its record, tasks:1399 (f0c7d09).
- NIT 4: T504's and T406's ERR-30 records, tasks:716 and :915 (8e8d1b4).
- NIT 5: research.md:578's ERR-30 summary (f0c7d09).
- NIT 6: T221's "only until" wording, tasks:2127 (8e8d1b4).
- NIT 7: the thin-verify ruling's cite on tasks:306, :322 and :552 (8e8d1b4).
- NIT 8, commit messages without a comment id, cannot change without an amend and goes to the PR text's Corrections.

H. Lane 2's wordings and additions (lane 2, #165 6877141830 and 6877156333), taken by lane 3:
- tasks:2543: T276h's report `BUILD-W23/REPORT-LINE-DR-23.md` → `BUILD-W23/REPORT-LINE-DR-23b.md`.
- tasks:2395: T252y's `kc/y1-commit-calls.txt` → `BUILD-W23/BU-23/kc/y1-commit-calls.txt`.
- tasks:2054: T217zm's run was on merge101 + FX + N1, with T217zm, T217zn and T217zo as one tree, 4 passed.
- tasks:2361: T245zh's base names N2 because ID's own copy of the order module imports `lanes/log/README.md`, which merge101's schema refuses.
- tasks:1917: T206's `amendments` entry takes code#51's three keys, with `"jobs": []`, since T206 moves no job's hash, and no test reads `amendments`; and the parity module skips all 12 of its ids where `upstream/openRepoShape` is not checked out (`a15a6b54:tests/conftest.py:573–577`), so T206's verify proves the baseline only with that submodule present.
- tasks:2834: T280's call 1 `bash tests/run.sh tests/test_sql_register_gate.py -k 'sql_register_gate'` → `bash tests/run.sh -k 'sql_register_gate'`, its environment unchanged; call 2 stays (lane 3's ruling on lane 2's proposal). tasks:2842: T280's "9 passed and 4811 deselected" was pytest 9.1.1's with the path; under CI's pinned 8.3.4 the path made the run collect that module alone, and CI's verify passes no path (`verify.yml:263`); without it both versions give 10 passed and 5447 deselected on merge104 + FX + E (lane 2's PV-24). No test id comes of it, and no `-k` selection moves. Of the 129 `run.sh` calls that carried a path at c525d53, the other 128 stand; T236's new call carries one, so 129 do here.

I. Lane 1's nit (lane 1, #165 6877326009): research.md:174 "draft 4.27, #165 6834642319, with lane 3's K9, #165 6870473237) and its block is v4.11" → "lane 1's draft 4.27, #165 6834642319, with lane 3's K9, #165 6870473237; lane 1, #165 6877326009) and its block is v4.11", as every other place names it.

Digests after the edits: tasks.md 8247efb4ab5a2eae203fb3b2e4559d8fc7d5e961897478d48d4c23014ec0d8d4 (2,871 lines: 2,862 plus T236's 9; 31 changed in place), research.md fcffe8fc329ac6d076e13d32368ace9fd89b3856c3cc3aad36d6a6628ae4aa9b (1,801 lines, 5 changed), spec.md c8fbdbe6a9fc8761d3d208d412615cb0fbb9816df30ea107deb997f336a595d6 (1,632 lines, 4 changed), test-map.tsv 2560802e4c490113c2d316ce271a205b48a79d452773dc7ae3a43bf9698aaba8 (599 lines, 598 rows: 512 `v3f`, 86 new since v3f; 1 appended), test-plan.md 1344002a957dcea4d6f9b504908d801370a04b507274fa0628a2176d78556f24 (9,221 lines, 14 changed), design.md c71e81a44fc3013b88ef97d0c16832a08bbb0c32c337c3e33ae2af0f13265ae9 (6,792 lines, 7 changed), proposal.md 20079d410b3136cee32a19f09668619d81deb2948ab6e07e9240f22a0f00b9e1 (2,277 lines, 4 changed), specs/register-service/spec.md 624e06fb810c9d43ff3cf8cb83991921544a070fcdb4fbdd665d675fd70ca301 (303 lines, 1 changed); plan.md (a5a14e6b…) and contracts/register-cli.md (b6597236…) are unchanged.

Checks, run on the scratch export of this commit (git archive of c525d53 plus the builder's export, byte for byte the files of this commit) against c525d53, the same tools on each (scratch-fold-1114c-c17/run-s2b.log, sha256 db3518f807acd603030a9688f1ab7bb954df426e4ecbafdf27629372fb7d6482):
- Cites (check_cites_f23.py): 886 occurrences, all resolved, 69 quotes, RESULT: PASS (885 at c525d53; research.md:136's `svc:278` is the one more). `openspec validate add-sql-register --strict` exits 0.
- Edges: `edges.py` 834 → 835 and `edges_v2.py` 847 → 848, the one edge T428 → T236, acyclic (Kahn and DFS); `check_cycles2.py` 158 tasks, 66 Orders, no cycle; `check_deps.py` 740 → 741, no cycle.
- Fails-until keys: 1,209, 539 and 845, unchanged, none added or removed; the inline scanner 49 statements and 0 reach-back hits; the flat scanner 23 clauses, the same text; per-id clauses 256, unchanged.
- `unmet.py`: 2,772 lines, unchanged.
- `kselect.py`, one call per map row: 597 rows become 598; none of the 597 moves; the new row is selected by T422's `rename_lane_commits_the_transaction` (tasks:1276), as T240's line says, and T240's verify names it by node id. `kprobe.py` (pytest 9.1.1's Expression): the `tests/run.sh -k` calls go from 220 to 221, T236's alone added; its `-k` selects only `test_the_lane_helper_suite_passes` at code main.
- T204's verify, run as tasks:1900 writes it against this map: passes. T343's new verify, run against sample records: a p95 of 49 passes; 50 and a missing line fail.
- The hazards scan (hazards3.py, which does not read a list item's own marker as a dash): 0 flags.
- `git diff --check`: one flag, test-map.tsv:599's trailing tab, the empty `new_ids` column, as the map's other such rows end.

Lane: openRepoTools-3
Co-Authored-By: Claude Opus 5.5 <[email protected]>
brettheap and others added 4 commits November 14, 2026 15:21
… 3 dated by --since, the render set whole, one view of each path, the sidecars' bytes, every failure's answer, and a configuration change that retires the child

Draft 12 folds the Codex review of #46 at
94590d1 (spec-46-94590d11bbc1.md, sha256 ca37391ae41d1279...), which
lane 3 routed to lane 5 for a draft 12 (opensoft/openRepoTools#165
6877006381), with lane 3's ruling 4 on the service's PGPASSFILE
(opensoft/openRepoTools#165 6878977318). Code cites are line R's
merge106 bc9ed80b, whose lanes-index is merge95's byte for byte.

- BLOCKING 1, form 3's refetch trigger (13.9): a .head is dated by
  --since and the generation, never by n'. With --since 10, a .head at
  10, n' 11 and unchanged digests, form 3 prints refetched=0
  (CLI46:733, which is B19-cli:734; lanes-index:7066-7067).
- BLOCKING 2, the render set (13.3): it is named whole, lanes/LANES.md
  and lanes/aliases.tsv included (Y:258-259), and the list holds every
  path of it present at n.
- BLOCKING 3, cross-item consistency (13.4, 13.7, 5.3): a path carries
  one digest across file records, sets and the list; presence and set
  membership agree with the list; a disagreement is Y's "a mismatch",
  unavailable, with no cache file written. T512's client does not check
  this yet, so it gains the checks.
- BLOCKING 4, the trust sidecars (2.4, 8.6, 13.8): register.owner's and
  register.failed's bytes, their whole-file writing and their reading,
  as T512 builds them. OP-17 opens on an owner file the client cannot
  read: T512's reading is taken until lane 3 rules, and the fail-safe
  reading is lane 5's recommendation.
- BLOCKING 5, the error semantics (5.2, 5.3, 13.5, OP-4): no request
  meets a connect, so auth and unreachable are never sent; every
  failure a request meets has its answer, and a lost child, a
  connection lost during the query and every failed statement are
  unavailable. OP-4 gains a Draft 12 line.
- BLOCKING 6, stale connection settings (8.4, 5.3, 13.5): a
  configuration change seen on a request retires the held child and
  starts a new one with the new settings before another answer, which
  is unavailable until it connects; a change that ends the service
  answers unavailable restarting.
- Lane 3's ruling 4 (section 7): PGPASSFILE is the READER's own
  configured 0600 file, with no literal password, no connection URL and
  no PGPASSWORD; config.md:108 stands.
- SHOULD 1 (.paths only as a member), SHOULD 2 (each line once, in one
  order, keys as bytes), SHOULD 3 (svc:43-45 and User Story 8's fourth
  scenario noted in 8.2, for lane 3 to align), SHOULD 4 (no answer sent
  over 16 MiB), SHOULD 5 (the backlog and each connection's time
  bounds), SHOULD 6 (os.fsencode bytes), NIT 1 (where the service stops
  reading) and NIT 2 (section 0's two paths). SHOULD 7 and NIT 3 are
  tasks.md's, outside this file, and 14.11 says so.
- Section 0 gains rows for the review, the two posts, the follow-up's
  commit 18 and line R's merge106; section 14.11 lists every change;
  section 15 opens OP-17.

Lane: openRepoTools-5
Co-Authored-By: Claude Opus 5.5 <[email protected]>
…lings on OP-17 and SHOULDs 4 and 5, and T512's round at 88b50886: the owner file read after the connect, one reader grammar for the stamp, named records that agree, and a rollover in one step

Draft 13 folds the Codex re-review of #46 at
010e88e (spec-46-010e88e289fd.md, sha256 253350969f29601d...), as
lane 3 summed it up (opensoft/openRepoTools#165 6880048797); lane 3's
rulings at 15:28Z (opensoft/openRepoTools#165 6879724890), points 1, 2,
3 and 4; and T512's follow-up round, l5/007-T512-followup-d12 at
88b50886, which "as built" now names, unless a cite names merge106.

- B1, the owner file's read order (2.4, 13.8): step 1 checks only the
  path and the directory; step 2 connects, then reads and checks the
  owner file, then the uid, before a byte is sent; a read that races a
  rename and finds the file unusable is unavailable with no start.
- B2, a configuration rollover (8.4; OP-18): the re-read configuration
  and the child's end in one step, and a configuration epoch on each
  request, whose answer is sent only under its own epoch; T512's
  follow-up. Which files are watched, and by what, is OP-18, open.
- B3, the stamp's grammars (8.6): the writer's and the reader's, each
  as built; the reader's is wider, and both outcomes are safe.
- B4, named records (13.4, 13.7): two records whose names match the
  same paths agree, with a list or a set or without; T512's follow-up.
- S1 (2.4; OP-19, open), S2 (the send deadline, 13.4), S3 (a failed
  connect, the first included, 7), S4 (decimal fields of 1 to 18
  digits, 13.4, 13.7), S5 (the marker as built, \warn, 7) and S6 (the
  timer's kept child, and psql 16.15 ending itself after the cancel,
  6.2). N1 is the follow-up's; its lines go to lane 3 with this draft.
- Lane 3's point 1: OP-17 closes on (b), with .direct, the fallback
  line and no start stated (2.4, 5.3, 8.1, 8.2, 8.4, 11.2, 11.3, 13.7,
  13.8). Point 2: 8.2's note names the erratum. Point 3: the answer is
  counted as it is built (6.3, 13.4). Point 4: at most 16 connections,
  with N's three reasons, and one past them closed with no answer (7).
- Section 0 gains rows for the re-review, the three posts and T512's
  88b50886; section 14.12 lists every change and T512's follow-ups;
  section 15 closes OP-17 and opens OP-18 and OP-19.

Lane: openRepoTools-5
Co-Authored-By: Claude Opus 5.5 <[email protected]>
…its OP-18 (b) and OP-19 (b) rulings: five files watched by identity, an owner file read whole and strictly, B2 and B4 confirmed ahead of the code, and the marker's erratum ERR-57

Draft 14 folds the Codex delta review of #46
at fa613b9 (spec-46-fa613b9d8781.md, sha256 2b515eb5bb1de8a7...), with
lane 3's routing of it and its ruling on S5 (opensoft/openRepoTools#165
6880934796); and lane 3's rulings on OP-18 and OP-19, with its
confirmation of B2 and B4 (opensoft/openRepoTools#165 6880543448), each
with the details lane 5 settles (SETTLED-OP18-OP19-1114e.md). These are
lane 3's rulings.

- OP-18 (b), closed (8.4): up to five files, the configuration, the
  reader password file and each of sslrootcert, sslcert and sslkey that
  the reader URL names; what libpq finds on its own not watched, stated
  as a limit; a path resolved as libpq in the psql child resolves it,
  against the child's working directory, the service's own; a snapshot
  of absent, error <errno name> or (dev, ino, size, mtime_ns, ctime_ns);
  and any difference a configuration change, which starts B2's one step.
- OP-19 (b), closed (2.4, 5.3): at most 4,097 bytes read, and a file
  past 4,096 bytes unusable; the physical last byte a newline; each
  known key once; install= as three runs of digits; and the writer's
  failure path, an empty install=, unusable by rule, with no new exit
  code and no new cause.
- B2 and B4 (8.4, 13.4): requirements lane 3 confirmed ahead of the
  code, in draft 13's words.
- S5 (7): the marker stays \warn ... :SQLSTATE on stderr, by lane 3's
  ruling, with ERR-57 in the follow-up's commit 24 f9d6069, cited as
  lane 3's post gives it (#165 6881380726). Lane 5 cannot read that
  commit: its bundle needs 870ed1f, which no lane 5 repo holds.
- The four NITs: section 0's rulings split from its evidence (:89); the
  status line's "as built" split from what the contract requires (:5);
  14.12's "B3" named in full as the Codex review's BLOCKING 3, since
  "B4" is the rule 460ee02f does not build (:988); and the rename race
  named where a connect succeeds (:142). N1 is lane 3's.
- What the code does: the contract requires B2, B4, OP-18 (b) and
  OP-19 (b); T512 at 88b50886 builds none of them; T512's round 3
  builds them. {T512R3} marks where its head and lines go, for a second
  commit.
- Section 0 gains five rows; section 14.13 lists every change; section
  15 closes OP-18 and OP-19, and no point stays open.

Part of opensoft/openRepoTools#165.

Lane: openRepoTools-5
Co-Authored-By: Claude Opus 5.5 <[email protected]>
… 1's U5 NITs f to j, and ERR-57 pinned at f9d6069

Draft 14's second part states T512's round 3, l5/007-T512-followup-d12
at 26c77534 (14 commits on 88b50886, lanes-index only), as built, in
place of every placeholder the first part left; folds lane 1's U5 NITs
on drafts 12 and 13 (opensoft/openRepoTools#165 6881937840) with lane
5's answers (#165 6881986067), and lane 1's gate notes N3 and N9 (#165
6881993079, 6882025131); checks the text against lane 5's errata to its
OP-18 and OP-19 details; and pins ERR-57.

- B2 (8.4): reload in the worker, one step under cond, the epoch on
  each job, and no answer of an earlier epoch (11ce854d, 85489345),
  with one re-reading thread (lane 1's M1, N1, N7).
- B4 (13.4): named records grouped by name, logs folded (b93c5a3f);
  the third rule against each covering view on its own (97746b38).
- OP-18 (b) (8.4): the watched set, the snapshot, the stamp and the
  load (b9c34674, aea52c9f); the password file only where
  reader_passfile= is set, as lane 5's errata say; the child's
  directory, / for a started service.
- OP-19 (b) (2.4): the owner file read as built (595ccae4), only as a
  regular file (N6, 526c633f); status's line for a file it cannot use;
  the writer unchanged, its failure path pinned by round 3's proof.
- NIT-f (5.2, 13.5), NIT-g (8.4), NIT-h, the uid check wins, as built
  (2.4, 8.1, 13.8; 63f25fe9), NIT-i (8.6) and NIT-j, the rollback only
  where the marker's SQLSTATE is not 00000, with the code's reason
  (6.2).
- N3, the bring cite at each head (8.4); N9, the stamp only under
  register.lock (8.6, bb898de4), and the 2 of a failed launch (9);
  S2's failed connect, failed worker job and ended worker (5.2, 7,
  8.4); the slot hand-off and 257 MiB (7).
- Not yet done at 26c77534, and said so: lane 1's N5 and N8, which lane
  5 leaves to T512's round 4, and unavailable restarting for a change
  that ends the service during a background fetch, named for round 4.
- ERR-57 pinned at the follow-up's commit 24 f9d6069,
  specs/007-sql-register/research.md:1803, with design.md:4031 and
  :4590 aligned (sections 0 and 7, 14.12).
- Section 0 gains six rows; section 14.13 lists the second part's
  changes, items 15 to 30.

Part of opensoft/openRepoTools#165.

Lane: openRepoTools-5
Co-Authored-By: Claude Opus 5.5 <[email protected]>
@brettheap brettheap changed the title 007 T511: contracts/socket-api.md, the register service's socket API (draft 11) 007 T511: contracts/socket-api.md, the register service's socket API (draft 14) Nov 14, 2026
brettheap and others added 2 commits November 14, 2026 20:09
… password file's ~/, and the review's NITs for round 4

Draft 14's third part states B2 as T512's round 3b builds it,
l5/007-T512-followup-d12 at f21ca4a7 (two commits on 26c77534,
lanes-index only), after lane 5's read-only review of round 3 found
that 26c77534 did not hold section 8.4's "once a request has seen a
change, no answer built on the old settings is sent" for a request
already running.

- B2 (8.4; 5.2, 13.5): at 26c77534 the worker re-reads only between its
  jobs, so serve_job's epoch check always passed; round 3b (3f1fc241)
  gives the answer only where no change is waiting (reload_due, set
  under cond at :9024, cleared by the worker at :8621; :8777), and the
  refused request is answered plain unavailable. Part 2's claim that
  B2 was built at 26c77534 now says it held for a queued request only.
- The password file's ~/ (8.4; OP-18): load_config expands a leading
  ~/ in reader_passfile= (:710-711), so the watched file is that path,
  the child's PGPASSFILE too; only the URL's TLS paths are taken as
  written. Lane 5 reads this as settled rule 3 stated whole.
- The review's four NITs, for T512's round 4, each as "T512 at
  f21ca4a7 does not yet ...": the waiting request's word, merged with
  the background-fetch gap (8.4); N9's exception where register.lock
  cannot be opened (8.6); the stamp write's lock race (8.3); and an
  sslkey= in engine:key form, watched as a path that stays absent
  (8.4).
- The per-view check (13.4) is stated as defense in depth.
- ERR-57's design.md lines pinned as lane 5 checked them at f9d6069:
  :4030-4031 and :4590 (sections 0 and 7).
- Section 0 gains a row for round 3b, with how 26c77534's lines read at
  f21ca4a7; section 14.13 lists the third part's changes, items 31 to
  41.

Part of opensoft/openRepoTools#165.

Lane: openRepoTools-5
Co-Authored-By: Claude Opus 5.5 <[email protected]>
…t at bb19b1ad, and lane 1's U5 NITs k to n

Draft 15 states T512's round 4 as built, l5/007-T512-followup-d12 at
bb19b1ad (five commits on f21ca4a7, lanes-index only), where draft 14
said "T512 at f21ca4a7 does not yet ...", and folds lane 1's contract
NITs k to n from its U5 pass of f21ca4a7 and of draft 14, which has no
MUST and no SHOULD (#165 6883749855).

- N5 (2.4; a447ef6a): the starter that holds register.lock and finds
  no live service sweeps each socket of this uid named s. and four
  lower-case hex digits, by lstat, just before its own bind
  (register_serve_sweep :9177-9201, its pattern :9170, called at
  :9262). Draft 14's "never removed" is corrected: at f21ca4a7 a
  colliding start exited 69 and its error path unlinked the leftover
  (:9148-9164 there).
- N8 (13.3; 93e936ff): each distinct request line is planned once
  (text's plan :8855-8864, plan_line :8904-8925).
- NIT-A and the waiting request's word (8.4; 28777868, 7ca56a40): a
  request that sees a change is counted and woken once a take_change
  that began after it asked has finished, one finding no change among
  them; its wait is held to its own timer while the worker is busy;
  and it hears "unavailable restarting" only where change_ends is set
  when its wait ends (answer :9025-9075, take_change :9077-9107,
  :9073-9074, :9104). Two limits are stated: (i) a request that sees
  a change while the worker is busy hears "restarting" only where the
  worker ends its job and takes the change within that request's
  timer, so where the job outlasts it, even a change that ends the
  service is plain "unavailable"; (ii) a change that ends the service
  but that the worker reaches after the wait's limit is plain
  "unavailable".
- NIT-B (8.3; bb19b1ad): REGISTER_SERVE_LOCK_WAITS (:9174), five
  attempts over 100 ms (:9229-9245); a stamp write holding the lock
  past them still turns a start away, accepted as a limit.
- NIT-k: every gap sections 1 to 13 named now states its rule or is
  accepted as a limit. N9's exception (8.6): where register.lock
  cannot be opened, the stamp is written without it (:7605-7617,
  unchanged since 26c77534); the code's comment gives no reason but
  "as before", so lane 5's reason is given, and "status" showing a
  stamp beside a live service is accepted as a limit.
- NIT-l (8.4; OP-18): the service does not tell an sslkey= in libpq's
  engine:key form from a path; it watches the value as a path, whose
  snapshot is absent every time, and a change inside the engine is not
  seen: a limit. libpq's documentation (PostgreSQL 16, sslkey, fetched
  and hashed) gives the colon-separated form but no test; the ":" test
  is named as lane 1's recollection.
- NIT-m (8.4): B2's bullet says "is given", where it said "is sent";
  round 3b's check (:8780) is where the answer is given, before the
  send.
- NIT-n (13.8): step 2's "the client starts one" gains "where the uid
  check that follows passes".
- Not in this draft: lane 1's own CLI430:734 and the exit-codes.md
  section 3.5 row, which wait for lane 3's next commit.
- Section 0 gains rows for round 4 (with how f21ca4a7's lines read at
  bb19b1ad), lane 1's 6883749855 and libpq's documentation; "Whose
  rulings" names 6883749855; section 14.14 lists the changes; OP-18
  gains a "Draft 15" line. No point opens or closes, and none stays
  open.

Lines cited are lanes-index's at T512's bb19b1ad unless named.

Part of opensoft/openRepoTools#165.

Lane: openRepoTools-5
Co-Authored-By: Claude Opus 5.5 <[email protected]>
@brettheap brettheap changed the title 007 T511: contracts/socket-api.md, the register service's socket API (draft 14) 007 T511: contracts/socket-api.md, the register service's socket API (draft 15) Nov 14, 2026
…q on draft 15

Draft 16 folds the three optional NITs of lane 1's U5 pass of T512 at
bb19b1ad and of draft 15 at 44d3dfb, which has no MUST and no SHOULD
(#165 6885309342). It changes nothing the contract says of the code.

- NIT-o (8.4; OP-18): libpq's test of an sslkey= in engine form,
  which draft 15 named as lane 1's recollection, is checked in
  libpq's source and cited: src/interfaces/libpq/fe-secure-openssl.c
  at PostgreSQL's REL_16_4, :1249-1262 and :1340-1345. Where libpq is
  built with USE_SSL_ENGINE, a value with a ":" in it is an engine's
  name and key (on Windows, not where the ":" is the second
  character); any other value is a file name. The watched path's
  snapshot is now "normally absent", where draft 15 said "every
  time": a file that does exist at that path, under / for a relative
  value, is watched, harmlessly. OP-18 gains a "Draft 16" line.
- NIT-p (13.5): the "unavailable restarting" line gains "within
  section 8.4's two limits".
- NIT-q (section 0): the row for lane 1's gate, #165 6881993079,
  gains "(both built at bb19b1ad)" after N5 and N8's round 4.
- Section 0 gains rows for the libpq source (fetched from the
  project's GitHub mirror at REL_16_4, sha256 e9944579d9cc0fc9...,
  2,087 lines, git blob ee518d5b, as GitHub's contents API gives it)
  and for lane 1's 6885309342; "Whose rulings" names 6885309342;
  section 14.15 lists the changes. No point opens or closes, and none
  stays open.
- Not in this draft, as before: lane 1's own CLI430:734 and the
  exit-codes.md section 3.5 rows, which wait for lane 3's next commit.

Part of opensoft/openRepoTools#165.

Lane: openRepoTools-5
Co-Authored-By: Claude Opus 5.5 <[email protected]>
@brettheap brettheap changed the title 007 T511: contracts/socket-api.md, the register service's socket API (draft 15) 007 T511: contracts/socket-api.md, the register service's socket API (draft 16) Nov 14, 2026
…eview of draft 16

Draft 17 folds lane 3's Codex delta review of draft 16
(spec-46-94a18adf.md, sha256 275afd5b78ff928c..., over
fa613b9..94a18ad, checked against T512 at bb19b1ad), which finds no
BLOCKING, with the three SHOULDs and two NITs lane 3 routes
(#165 6885771975). It asks for no change to T512's code. Lines cited
are lanes-index's at T512's bb19b1ad.

- SHOULD 1 (5.2, 5.3): "unavailable restarting" for a change that ends
  the service is now given within section 8.4's two limits, where the
  request hears plain "unavailable", as 13.5 says.
- SHOULD 2 (6.1, 6.2, 8.4, 13.8): lane 5 states the order rather than
  change the protocol. The client's deadline is set before its
  directory and path checks and its connect() (:9867; :9521-9531);
  the service's timer starts at the request's arrival (:8985-8990;
  :9061-9072). The timer is 100 ms shorter, but the client's wait can
  end first, and the client then reads directly, which is safe.
  "Inside the client's wait" and "set at the connect() call" are
  corrected, and section 6.1's guard deadline with them.
- SHOULD 3 (8.4; OP-18's "Closed" line): the one exception is
  sslrootcert=system, exactly, beside a parameter left out or empty;
  every other value is watched literally as a path, as pg_url_env
  gives it (PGSSLROOTCERT, PGSSLCERT, PGSSLKEY), engine-form sslkey
  included (register_serve_watched :8167-8173). OP-18 gains a "Draft
  17" line.
- NIT (2.5, 8.3): a stale socket is replaced by renaming the new
  socket over it (:9263-9271), not unlinked; Y's unlink is kept as
  Y's.
- NIT (status line, 14.13): round 3 built B2's one step and epoch for
  a queued request; round 3b finished it for a running request.
- For T512's round 5 (comments only): :9056-9058 and :9209-9212; the
  contract does not cite them as wrong.
- Section 0 gains rows for the review and lane 3's routing; "Whose
  rulings" names both; section 14.16 lists the changes. No point opens
  or closes, and none stays open. The review's sixth finding, a
  source row's line count, is not routed and not in this draft.

Part of opensoft/openRepoTools#165.

Lane: openRepoTools-5
Co-Authored-By: Claude Opus 5.5 <[email protected]>
@brettheap brettheap changed the title 007 T511: contracts/socket-api.md, the register service's socket API (draft 16) 007 T511: contracts/socket-api.md, the register service's socket API (draft 17) Nov 14, 2026
… draft 17, lane 1's NIT-r and NIT-s, one line-count convention, and T512's open SHOULDs at bb19b1ad

Draft 18 follows Codex's delta re-review of draft 17 (READY, no
BLOCKING; spec-46-640f5cc32707.md, sha256 0f28640c6a843bec...) and
Codex's review of T512 at bb19b1ad (lane5-T512-r4-bb19b1ad.md, sha256
8e669b0ac37dc4db...), both routed in #165 6886976981, and lane 1's U5
passes of drafts 16 and 17 (#165 6885968900, 6886039744). It changes
no rule.

- SHOULD 2, finished: section 13's frame line and 13.4's send
  deadline set the client's deadline once the request is built,
  before its checks and connect(), as 13.8 does; 13.3 marks Y:4393's
  "from the connect() call" as older wording 13.8 supersedes; 14.16's
  SHOULD 2 bullet says draft 17 corrected four passages only.
- One line-count convention: section 0's head states it (wc -l, for
  saved files, reports and comment bodies alike). Twelve body rows
  counted newlines plus one and now count one less: 6877006381,
  6878977318, 6880934796, 6880543448, 6881380726, 6883749855,
  6885309342, 6885771975, 6881937840, 6881986067, 6881993079,
  6882025131. Sixty-two rows checked against their saved sources.
- Lane 1's NIT-r (8.4; OP-18's "Draft 16" line): libpq reads a key
  only where it has loaded a client certificate
  (fe-secure-openssl.c:1255).
- Lane 1's NIT-s (13.8 step 4): "T512 starts it a little earlier,
  which only shortens it."
- 14.15: "changes nothing this contract says of the code" narrowed.
- T512 at bb19b1ad stated plainly, each fix round 5's, no rule
  changed: S1 (8.4 B2, 5.2, status line, 14.13), the gap between a
  request's stamp comparison and its publishing the change; S2 (5.2,
  6.2, 13.5), a queued request not answered at its own expiry while
  the worker is busy; S3 and NIT 6 (2.4), the sweep's ignored failures
  and the bind error path's unlink; S4 (13.4), the agreement check's
  cost; NIT 5 (8.4), change_ends kept for the service; NIT 8 (8.3),
  any flock failure taken for a held lock.
- Section 0 gains rows for both reports, lane 1's two posts and lane
  3's routing; "Whose rulings" names them; section 14.17 lists the
  changes. No point opens or closes, and none stays open.

Part of opensoft/openRepoTools#165.

Lane: openRepoTools-5
Co-Authored-By: Claude Opus 5.5 <[email protected]>
@brettheap brettheap changed the title 007 T511: contracts/socket-api.md, the register service's socket API (draft 17) 007 T511: contracts/socket-api.md, the register service's socket API (draft 18) Nov 15, 2026
@brettheap
brettheap changed the base branch from 007-sql-register to main November 15, 2026 01:29
…t, with the gate, the bind's retry and two new rules

Draft 19 states T512's round 5 as built at 1e1846e3 (six commits on
bb19b1ad, lanes-index only, +250 -77; sha256 b7051e5f375bd048...,
24,595 lines), where draft 18 said what T512 at bb19b1ad did not yet
do, and takes lane 1's U5 pass of draft 18 (#165 6887224050). Lines
cited are lanes-index's at 1e1846e3.

- The gate (8.4; 5.2; status line; 14.13; 0fa293f9): a request has
  seen a change from the moment it starts its comparison of the
  stamps; it raises config_checking under cond before it compares
  (:8270, :9056-9058), lets it go after (:9064-9067, or :9097-9101 with
  reload_due), and serve_job gives an answer only where no check is
  open, the epoch holds and no change waits (:8782-8796).
- S2 (5.2, 6.2, 13.5; ba1d4a4d): a job still queued at its timer is
  removed and answered "unavailable slow" with no SIGINT (:9206-9225);
  serve_job skips a job already given (:8774-8775).
- The bind (2.4, 8.3; 6cc950f8, 30ee202f): the sweep logs a leftover
  it cannot remove (:9259-9296); on EADDRINUSE the start draws another
  name, up to REGISTER_SERVE_BIND_TRIES = 8 (:9236, :9377-9403), then
  exits 69; it unlinks only a name this attempt bound (:9392-9396).
- S4 (13.4; 0cf57988): each distinct name and set prefix checked once
  (:9858-9985).
- NIT 5 (8.4): change_ends per take, (taken, upto] (:9143-9146,
  :9109-9110). NIT 8 (8.3): register_serve_try_lock (:9239-9256).
- New rule, 13.4: two sets of one prefix that name different paths are
  a mismatch, as two lists that differ are (:9913-9924).
- New rule, 8.3: a register.lock that opens but cannot be taken for
  any reason but contention is logged and the start exits 69, as for
  one that cannot be opened (:9338-9351); a held lock still exits 0.
- Section 0 gains rows for lanes-index at 1e1846e3 and lane 1's
  6887224050; "Whose rulings" names it; section 14.18 lists the
  changes. No point opens or closes, and none stays open.

Part of opensoft/openRepoTools#165.

Lane: openRepoTools-5
Co-Authored-By: Claude Opus 5.5 <[email protected]>
@brettheap brettheap changed the title 007 T511: contracts/socket-api.md, the register service's socket API (draft 18) 007 T511: contracts/socket-api.md, the register service's socket API (draft 19) Nov 15, 2026
…draft 19, one also lane 1's

Draft 20 takes the three NITs against this contract in lane 3's Codex
delta review of draft 19 (spec-46-be4bcf196610.md, sha256
ca7b8a3fba8cb930..., READY, no BLOCKING and no SHOULD), one of them
also lane 1's optional NIT in its U5 pass of draft 19 (#165
6887632287). Lane 3 had not posted its verdict when this was written,
so each review is cited by its report. It changes no rule.

- 2.4, the bind-error cite at bb19b1ad (open since lane 3's Codex
  delta review of draft 18, spec-46-48aa6bb2d4ba.md): lanes-index
  :9188-9201 and :9262-9277 is now :9188-9201, :9262-9279 and :11412,
  the return at :9279 and EXIT_UNAVAILABLE = 69 at :11412, each
  checked at bb19b1ad.
- 13.7's mismatch row adds lane 1's words: "; or two lists, or two
  sets of one prefix, that name different paths (13.4, new in draft
  19)", citing both reviewers.
- 14.16's "For T512's round 5, which corrects comments only" is now
  "For the comment-only round then proposed as T512's round 5", and
  says the bullet records only those comment corrections, which the
  broader round 5 at 1e1846e3 later included.
- Section 0 gains rows for the two reports and lane 1's 6887632287,
  counted by wc -l; "Whose rulings" names them; section 14.19 lists the
  changes. No point opens or closes, and none stays open.

The review's NITs outside this PR (T512's docstring; lane 5's posts)
are not in this draft.

Part of opensoft/openRepoTools#165.

Lane: openRepoTools-5
Co-Authored-By: Claude Opus 5.5 <[email protected]>
@brettheap brettheap changed the title 007 T511: contracts/socket-api.md, the register service's socket API (draft 19) 007 T511: contracts/socket-api.md, the register service's socket API (draft 20) Nov 15, 2026
@brettheap
brettheap marked this pull request as ready for review November 15, 2026 11:58
@sourcery-ai

sourcery-ai Bot commented Nov 15, 2026

Copy link
Copy Markdown

Sorry @brettheap, your pull request is larger than the review limit of 150,000 diff characters

@brettheap

Copy link
Copy Markdown
Contributor Author
{
  "schema_version": 1,
  "repository": "opensoft/openRepoTools-spec",
  "pull_request": 46,
  "head_sha": "feabc022ce565b38613f3fb8bfef1cf0ed0b2c93",
  "base_sha": "be4bcf196610023bd6b9edc86bf585d6c752ba7d",
  "reviewer": "codex-local",
  "skill": "pr-review",
  "status": "accepted",
  "unresolved_findings": 0,
  "findings": "No BLOCKING or SHOULD finding remains.\n\n- NIT, new in draft 20: `socket-api.md:675` contains the correct repeated-view rule but not lane 1\u2019s exact quoted parenthetical.\n- NIT, new in draft 20: `socket-api.md:1261` misidentifies the T512 finding\u2019s ranges and falsely says lane 5\u2019s next post answers the post NITs.\n- T512 NIT, outside this PR: `lanes-index:9307\u20139309` at `1e1846e3dd548c10d4bd65ba94aa16dc504bfa45` overstates removal of temporary sockets.\n- Post-only NITs remain in the two earlier posts, the draft-20 lane-5 post, and saved PR body.\n\nNone stops lane 3\u2019s receipt.",
  "resolution": "Before the next review:\n\n1. At `socket-api.md:675`, close the rule-origin parenthetical immediately after `draft 19`; place the review citations separately.\n2. At `socket-api.md:1261`, name only the start-docstring NIT at `lanes-index:9307\u20139309`, cite `:9271\u20139296` as its contradiction, and leave the post NITs described as unchanged unless an actual answering post is cited.\n3. In T512, qualify the start docstring to say eligible leftovers are removed where possible and failures are logged and left.\n4. If the posts and PR body are maintained, fix the gate scope, sweep-log line, S1/S2 swap, old comment-only-round wording, report-versus-comment claim, and incomplete bookkeeping list.\n\nNo change is required before lane 3 issues its receipt.",
  "validation": "I checked the spec clone and worktree, code clone and worktree, cleanliness, detached heads, branch refs, parent, ancestry, exact commit sequence and count, merge base, author times and subjects, shortstat, numstat, all eight hunks, word-level changes, file hashes, line counts, blobs, heading counts, line shifts, commit message, saved source hashes and counts, and the locally recorded PR title/body.\n\nI read both prior reviews in full; checked the three fixes against draft 19, draft 20, their whole-file duplicate searches, lane 1\u2019s U5 source, \u00a713.4, \u00a7\u00a714.13\u201314.19, section 15, and the cited T512 code at `bb19b1ada6650459cd05b93cfda4c450f60d6731` and `1e1846e3dd548c10d4bd65ba94aa16dc504bfa45`.\n\nT511\u2019s exact 14-string grep verification passed; `git diff --check` passed; section 14 has nineteen lists; \u00a713.9, form 3 and `PGPASSFILE` are untouched; and spec#48 has no unpinned numeric reverse cite.\n\nThe required expert panel independently covered architecture, performance, security, QA, static analysis, API contract, data integrity, reliability, maintainability, provenance, Git-delta accounting, claim auditing, and spec#48/T511 verification.\n\nNo network or GitHub operation was attempted. Nothing was written in either clone, any worktree, or the source folder. No test, suite, `lanes-index` command, fetch, push, or other service execution was run.\n\nReviewed head: feabc022ce565b38613f3fb8bfef1cf0ed0b2c93\nReviewed base: be4bcf196610023bd6b9edc86bf585d6c752ba7d\nVerdict: READY"
}

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.

1 participant