Skip to content

cases: gt-web-client (WEB OPEN / CONVERSE / CLOSE to a stated origin peer) (gitgalaxy#4767 C5) - #44

Merged
squid-protocol merged 1 commit into
mainfrom
churn/4767-20261017T0101Z
Oct 17, 2026
Merged

squid-protocol merged 1 commit into
mainfrom
churn/4767-20261017T0101Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Step C5 of gitgalaxy#4767: the client role on the C2 peer model.

Case gt-web-client (GT85 / GTWCLI): WEB OPEN host, WEB CONVERSE GET /gt/item, WEB CLOSE, result shown by SEND TEXT.

  • ok: orders.example answers 200, item=42 (TOLENGTH 7).
  • notfound: gone.example answers 404, no such item; a 404 is NORMAL, the status is data.
  • CONVERSE after CLOSE is designed out (AGENTS rule 4, as C4 did). IBM's WEB CONVERSE page has NOTOPEN RESP2 27 "invalid session token" and, separately, INVREQ RESP2 41 / 74 for a closed connection; the WEB CLOSE page names NOTOPEN without a RESP2. No sentence ties a closed token to either. Listed under Avoided ambiguities.

Format (additive, no major bump): peers.<id>.host makes a peer an origin server; new events WEB-OPEN, WEB-CONVERSE, WEB-CLOSE. tools/validate.py checks OPEN host -> stated peer, the nth CONVERSE against the peer script (status, body), session pairing, and script length. SPEC sections 2/5/6/9, both schemas and the README table updated.

Checks: python3 tools/validate.py 48/48; --self-test ok; tools/syntax_check.py all programs compile; negative mutations (unstated host, status/body mismatch, no CLOSE, CONVERSE without OPEN, extra scripted response) are each rejected.

Cross-repo: no companion PR. When gitgalaxy's cics_crucible runner arrives it must handle the three events and origin peers. No tag, no pin change. Note: README's "43 cases and 158 scenarios" was already stale and is untouched.

🤖 Generated with Claude Code

…peer: 200 round trip, 404; CONVERSE after CLOSE designed out); peers gain optional host, new WEB-OPEN / WEB-CONVERSE / WEB-CLOSE events (gitgalaxy#4767 C5)

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@squid-protocol
squid-protocol marked this pull request as ready for review October 17, 2026 01:07
@squid-protocol
squid-protocol merged commit c9e5d36 into main Oct 17, 2026
4 checks passed
@squid-protocol
squid-protocol deleted the churn/4767-20261017T0101Z branch October 17, 2026 01:07
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